Skip to content

Commit be39ebc

Browse files
committed
Updated pnpm scripts
1 parent 9341256 commit be39ebc

4 files changed

Lines changed: 8 additions & 11 deletions

File tree

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"postinstall": "fumadocs-mdx",
1414
"lint": "vp lint",
1515
"init-db": "pnpx @better-auth/cli migrate",
16-
"test": "pnpm -w run gen && node validate-links.mjs"
16+
"test": "vp run -w gen && node validate-links.mjs"
1717
},
1818
"dependencies": {
1919
"@ai-sdk/groq": "^3.0.2",

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
"dev": "vp run --filter @blocknote/example-editor dev",
1818
"dev:docs": "vp run --filter docs dev",
1919
"build": "vp run -r build",
20-
"build:clean": "pnpm run clean && pnpm run gen && pnpm run clean && pnpm run build",
20+
"build:clean": "vp run clean && vp run gen && vp run clean && vp run build",
2121
"build:site": "vp run -r build:site",
2222
"clean": "vp run -r clean",
2323
"deploy": "nx release --skip-publish",
2424
"gen": "vp run --filter @blocknote/dev-scripts gen",
25-
"install-playwright": "cd tests && pnpm exec playwright install --with-deps",
26-
"e2e": "concurrently --success=first -r --kill-others \"pnpm run start -L\" \"wait-on http://localhost:3000 && cd tests && pnpm exec playwright test $PLAYWRIGHT_CONFIG\"",
27-
"e2e:updateSnaps": "concurrently --success=first -r --kill-others \"pnpm run start -L\" \"wait-on http://localhost:3000 && cd tests && pnpm run test:updateSnaps\"",
25+
"install-playwright": "cd tests && vp exec playwright install --with-deps",
26+
"e2e": "concurrently --success=first -r --kill-others \"vp run start\" \"wait-on http://localhost:3000 && cd tests && vp exec playwright test $PLAYWRIGHT_CONFIG\"",
27+
"e2e:updateSnaps": "concurrently --success=first -r --kill-others \"vp run start\" \"wait-on http://localhost:3000 && cd tests && vp run test:updateSnaps\"",
2828
"lint": "vp lint",
2929
"postpublish": "rm -rf packages/core/README.md && rm -rf packages/react/README.md",
3030
"prebuild": "cp README.md packages/core/README.md && cp README.md packages/react/README.md",
31-
"prestart": "pnpm run build",
32-
"start": "vp preview --filter playground",
31+
"prestart": "vp run build",
32+
"start": "vp preview playground --port 3000",
3333
"test": "vp run -r test",
3434
"format": "vp fmt",
3535
"prepare": "vp config"

packages/dev-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"description": "",
1313
"type": "module",
1414
"scripts": {
15-
"gen": "pnpm run gen:examples && pnpm run gen:docs",
15+
"gen": "vp run gen:examples && vp run gen:docs",
1616
"gen:examples": "tsx examples/gen.ts",
1717
"gen:docs": "tsx examples/genDocs.ts",
1818
"build": "tsc",

playground/serve.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)