Skip to content

Commit

Permalink
build: fix clean command fail on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 29, 2024
1 parent a92c710 commit cd8078c
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion plugins/plugin-active-header-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"ts-debounce": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"@types/markdown-it": "^13.0.7",
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"execa": "^8.0.1"
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"peerDependencies": {
"vuepress": "2.0.0-rc.2"
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-palette/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"chokidar": "^3.5.3"
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-prismjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"prismjs": "^1.29.0"
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"mitt": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-shiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"shikiji": "^0.10.1"
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin-toc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"vue": "^3.4.15",
Expand Down
2 changes: 1 addition & 1 deletion tools/create-vuepress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"cac": "^6.7.14",
Expand Down
2 changes: 1 addition & 1 deletion tools/helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
],
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo"
"clean": "rimraf --glob ./lib ./*.tsbuildinfo"
},
"dependencies": {
"@vue/shared": "^3.4.15",
Expand Down

0 comments on commit cd8078c

Please sign in to comment.