Skip to content

Commit

Permalink
Add clean script (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
guidanoli authored Jul 18, 2024
1 parent 9f14f8a commit 43abd0e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-masks-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"site": patch
---

Add clean script
2 changes: 2 additions & 0 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"private": true,
"type": "module",
"scripts": {
"clean": "rimraf dist",
"dev": "vocs dev",
"build": "vocs build -o dist",
"preview": "vocs preview"
},
"devDependencies": {
"@guidanoli/cmioc": "workspace:*",
"rimraf": "^5.0.5",
"vocs": "1.0.0-alpha.52"
}
}
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
"private": true,
"scripts": {
"build": "run-s build:packages build:apps",
"build:packages": "run-s build:core build:testsuite",
"build:apps": "run-p build:cli build:site",
"build:core": "pnpm run --filter @guidanoli/cmioc build",
"build:cli": "pnpm run --filter @guidanoli/cmioc-cli build",
"build:core": "pnpm run --filter @guidanoli/cmioc build",
"build:packages": "run-s build:core build:testsuite",
"build:site": "pnpm run --filter site build",
"build:testsuite": "pnpm run --filter testsuite build",
"check-format": "prettier --check .",
"clean": "run-s clean:packages clean:apps",
"clean:apps": "run-s clean:cli clean:site",
"clean:cli": "pnpm run --filter @guidanoli/cmioc-cli clean",
"clean:core": "pnpm run --filter @guidanoli/cmioc clean",
"clean:packages": "run-s clean:core clean:testsuite",
"clean:site": "pnpm run --filter site clean",
"clean:testsuite": "pnpm run --filter testsuite clean",
"format": "prettier --check --write .",
"publish": "changeset publish",
"release": "run-s build publish",
Expand Down
3 changes: 3 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 43abd0e

Please sign in to comment.