Skip to content

Commit

Permalink
chore: add reset script for development (#5709)
Browse files Browse the repository at this point in the history
* chore: add reset script for development

* Update package.json
  • Loading branch information
joshblack authored Feb 26, 2025
1 parent 9d82cda commit 65a197b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"test:type-check": "tsc --noEmit",
"type-check": "tsc --noEmit && npm run type-check -ws --if-present",
"release": "npm run build && changeset publish",
"reset": "script/reset",
"size": "size-limit"
},
"author": "GitHub, Inc.",
Expand Down
10 changes: 10 additions & 0 deletions script/reset
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# Remove all build folders, node_modules folders
npm run clean:all

# Install latest dependencies from lockfile
npm install

# Build packages
npm build

0 comments on commit 65a197b

Please sign in to comment.