Skip to content

Commit d0953c5

Browse files
committed
feat: Add workspaces and update CI to use a new web:check script for the playground.
1 parent 9cf6f90 commit d0953c5

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
- name: Install dependencies
2323
run: bun install --frozen-lockfile
2424

25-
- name: Run checks
25+
- name: Run core checks
2626
run: bun run check
2727

2828
- name: Extension check
2929
run: bun run ext:check
3030

31-
- name: Web check
32-
run: bun run web:build
31+
- name: Playground check
32+
run: bun run web:check

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"main": "index.js",
1414
"module": "index.js",
1515
"type": "module",
16+
"workspaces": [
17+
"playground",
18+
"extensions/*"
19+
],
1620
"bin": {
1721
"mimo": "./bin/cli.js"
1822
},
@@ -36,7 +40,8 @@
3640
"ext:package": "bun run --cwd extensions/mimo-vscode package",
3741
"web:dev": "bun run --cwd playground dev --open",
3842
"web:build": "bun run --cwd playground build",
39-
"web:preview": "bun run --cwd playground preview"
43+
"web:preview": "bun run --cwd playground preview",
44+
"web:check": "bun run --cwd playground check"
4045
},
4146
"devDependencies": {
4247
"@types/bun": "latest",
@@ -50,4 +55,4 @@
5055
"bugs": {
5156
"url": "https://github.com/bethropolis/mimo/issues"
5257
}
53-
}
58+
}

0 commit comments

Comments
 (0)