Skip to content

Commit

Permalink
chore: Add rimraf to remove dist directory before build (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
7nohe authored Apr 10, 2024
1 parent 26d3a11 commit 3f5f4b3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"examples/*"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"build": "rimraf dist && tsc -p tsconfig.json",
"preview": "npm run build && npm -C examples/react-app run generate:api",
"prepublishOnly": "npm run build",
"release": "npx git-ensure -a && npx bumpp --commit --tag --push"
Expand Down Expand Up @@ -41,6 +41,7 @@
"@types/node": "^20.10.6",
"commander": "^12.0.0",
"glob": "^10.3.10",
"rimraf": "^5.0.5",
"ts-morph": "^22.0.0",
"typescript": "^5.3.3"
},
Expand Down
11 changes: 11 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 3f5f4b3

Please sign in to comment.