Skip to content

Commit 2b998ee

Browse files
committed
docs: try deploy
1 parent ac21309 commit 2b998ee

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

netlify.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
[build.environment]
2+
NPM_FLAGS="--version"
3+
14
[build]
2-
command = "yarn run docs:build"
5+
command = "npx pnpm@6 i --store=node_modules/.pnpm-store && npx pnpm@6 run docs:build"
36
ignore = "./scripts/docs-check.sh"
47
publish = "packages/docs/.vitepress/dist"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"release": "node scripts/release.mjs",
99
"size": "pnpm run -r size",
1010
"build": "pnpm run -r build",
11-
"docs:build": "pnpm run -r docs:build --filter ./packages/docs",
11+
"docs:build": "pnpm run docs:api && pnpm run -r docs:build --filter ./packages/docs",
1212
"play": "pnpm run -r play",
1313
"build:dts": "pnpm run -r build:dts --parallel",
1414
"lint": "prettier -c --parser typescript \"packages/*/{src,__tests__,e2e}/**/*.[jt]s?(x)\"",

packages/docs/run-typedoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ createTypeDocApp({
99
entryPoints: [
1010
path.resolve(__dirname, '../pinia/src/index.ts'),
1111
path.resolve(__dirname, '../testing/src/index.ts'),
12-
path.resolve(__dirname, '../nuxt/src/index.ts'),
12+
path.resolve(__dirname, '../nuxt/src/module.ts'),
1313
],
1414
}).build()

0 commit comments

Comments
 (0)