Skip to content

Commit

Permalink
Prevent Windows from building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow committed Jan 16, 2024
1 parent 19b4a6e commit 89769a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vitepress dev",
"build": "del .vitepress/dist && vitepress build && cp _redirects .vitepress/dist",
"build": "del \"**/dist\" && vitepress build && cp _redirects .vitepress/dist",
"preview": "vitepress preview"
},
"dependencies": {
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
},
"homepage": "https://cobalt-ui.pages.dev",
"scripts": {
"build": "pnpm run -r --if-present \"build\"",
"build:examples": "pnpm run --parallel --if-present build:tokens",
"build": "pnpm run -r --if-present --filter \"@cobalt-ui/*\" \"build\"",
"build:docs": "pnpm run -r --if-present \"build\"",
"build:examples": "pnpm run -r --parallel --if-present build:tokens",
"changeset": "changeset",
"dev": "pnpm run --parallel --if-present --filter \"@cobalt-ui/*\" dev",
"dev": "pnpm run -r --parallel --if-present --filter \"@cobalt-ui/*\" dev",
"lint": "eslint \"packages/**/*.{ts,js,cjs,mjs}\"",
"test": "pnpm run --parallel --if-present test",
"test": "pnpm run -r --if-present --aggregate-output test",
"prepublishOnly": "pnpm run build",
"version": "pnpm run build && changeset version && pnpm i --no-frozen-lockfile"
},
Expand Down

0 comments on commit 89769a2

Please sign in to comment.