Skip to content

Commit a1b3b1b

Browse files
committed
chore: add playground to workspace
1 parent 1241a92 commit a1b3b1b

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
],
7878
"scripts": {
7979
"build": "pnpm gen-presets && unbuild",
80-
"dev": "pnpm nitro dev playground",
81-
"dev:build": "pnpm nitro build playground",
80+
"dev": "pnpm -C playground dev",
81+
"dev:build": "pnpm -C playground build",
8282
"dev:start": "node playground/.output/server/index.mjs",
8383
"gen-mirror": "pnpm jiti scripts/gen-mirror.ts",
8484
"gen-node-compat": "pnpm node-ts scripts/gen-node-compat.ts",

playground/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "nitro-playground",
3+
"version": "1.0.0",
4+
"scripts": {
5+
"dev": "nitro dev",
6+
"build": "nitro build"
7+
},
8+
"devDependencies": {
9+
"nitropack": "^2"
10+
}
11+
}

pnpm-lock.yaml

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

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
packages:
2+
- "playground"
23
- "examples/**"

0 commit comments

Comments
 (0)