Skip to content

Commit

Permalink
Add clean steps using rimraf (#525)
Browse files Browse the repository at this point in the history
* Add rimraf to both sub projects

* Add clean script to root and server

* Update changelog
  • Loading branch information
kmcginnes committed Aug 1, 2024
1 parent 33a6f1d commit 13461fa
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
- Run the dev environment `pnpm dev`
- Run the production environment `pnpm start`
- Run the production environment without the proxy server `pnpm start:client`
- Added `pnpm clean` script to delete `*/dist` folders
(<https://github.com/aws/graph-explorer/pull/525>)
- Show errors during search in the search UI
(<https://github.com/aws/graph-explorer/pull/477>)
- Show errors in the Data Explorer UI
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"checks": "pnpm run '/^check:.*/'",
"start": "pnpm --filter \"graph-explorer-proxy-server\" run start",
"start:client": "pnpm --filter \"graph-explorer\" run serve",
"clean": "pnpm --stream -r run clean",
"build": "pnpm --stream -r run build",
"dev": "pnpm --stream -r run dev"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/graph-explorer-proxy-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "dist/node-server.js",
"type": "module",
"scripts": {
"clean": "rimraf dist",
"build": "tsc",
"dev": "tsx watch node-server.ts",
"start": "node dist/node-server.js"
Expand Down Expand Up @@ -34,6 +35,7 @@
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.12.8",
"rimraf": "^6.0.1",
"tsx": "^4.16.2"
}
}
1 change: 1 addition & 0 deletions packages/graph-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
"jsdom": "^24.1.0",
"lint-staged": "^13.3.0",
"react-test-renderer": "^18.3.1",
"rimraf": "^6.0.1",
"serve": "^14.2.3",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
Expand Down
57 changes: 57 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 13461fa

Please sign in to comment.