Skip to content

Commit 94d7e45

Browse files
authored
chore: move example commands to /examples (#1771)
1 parent 07c53ee commit 94d7e45

4 files changed

Lines changed: 14 additions & 5 deletions

File tree

examples/package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "solid-start-examples",
3+
"description": "Examples for SolidStart",
4+
"type": "module",
5+
"scripts": {
6+
"build": "pnpm --filter './*' --if-present build",
7+
"clean": "pnpx rimraf ./*/node_modules/ ./*/.vinxi/ ./*/.output/",
8+
"use-workspace-package": "node ./use-workspace-package-in-examples.js"
9+
}
10+
}

examples/pnpm-lock.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,14 @@
1313
"scripts": {
1414
"bump": "node scripts/bump.js",
1515
"build": "pnpm run packages:build",
16-
"build:all": "pnpm run packages:build && pnpm run examples:build && pnpm run lp:build",
16+
"build:all": "pnpm run packages:build && pnpm run lp:build",
1717
"clean": "pnpm run clean:all",
18-
"clean:all": "pnpm run examples:clean && pnpm run packages:clean && pnpm run clean:root",
18+
"clean:all": "pnpm run packages:clean && pnpm run clean:root",
1919
"clean:root": "pnpx rimraf ./node_modules ./.vinxi/ ./.output/",
2020
"lp:dev": "pnpm --filter landing-page dev",
2121
"lp:build": "pnpm --filter landing-page build",
2222
"lp:start": "pnpm --filter landing-page start",
2323
"lp:clean": "pnpx rimraf ./packages/landing-page/node_modules ./packages/landing-page/.vinxi/ ./packages/landing-page/.output/",
24-
"examples:build": "pnpm --filter './examples/*' --if-present build",
25-
"examples:clean": "pnpx rimraf ./examples/*/node_modules/ ./examples/*/.vinxi/ ./examples/*/.output/",
26-
"examples:use-workspace-package": "node ./util/use-workspace-package-in-examples.js",
2724
"packages:build": "pnpm --filter @solidjs/start build",
2825
"packages:clean": "pnpx rimraf ./packages/*/node_modules/ ./packages/*/dist/",
2926
"install:playwright": "pnpm --filter solid-start-tests run install:playwright",

0 commit comments

Comments
 (0)