Skip to content

Commit 2dc1da0

Browse files
committed
feat: add typecheck and test scripts to package.json for app-crm, app-host, app-react-crud, and app-todo examples
1 parent 73aceac commit 2dc1da0

4 files changed

Lines changed: 8 additions & 1 deletion

File tree

examples/app-crm/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"dev": "objectstack dev",
88
"build": "objectstack compile objectstack.config.ts dist/crm.json",
9+
"typecheck": "tsc --noEmit",
910
"test": "echo \"Error: no test specified\" && exit 1"
1011
},
1112
"dependencies": {

examples/app-host/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"scripts": {
66
"dev": "tsx src/index.ts",
77
"build": "tsc --noEmit",
8+
"typecheck": "tsc --noEmit",
9+
"test": "echo \"Error: no test specified\" && exit 1",
810
"clean": "rm -rf dist node_modules"
911
},
1012
"dependencies": {

examples/app-react-crud/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"msw:init": "msw init -y public",
99
"dev": "pnpm msw:init && vite",
1010
"build": "pnpm msw:init && tsc && vite build",
11+
"typecheck": "tsc --noEmit",
12+
"test": "echo \"Error: no test specified\" && exit 1",
1113
"preview": "vite preview"
1214
},
1315
"dependencies": {

examples/app-todo/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"private": true,
66
"scripts": {
77
"dev": "objectstack dev",
8-
"build": "objectstack compile objectstack.config.ts dist/objectstack.json"
8+
"build": "objectstack compile objectstack.config.ts dist/objectstack.json",
9+
"typecheck": "tsc --noEmit",
10+
"test": "echo \"Error: no test specified\" && exit 1"
911
},
1012
"dependencies": {
1113
"@objectstack/spec": "workspace:*",

0 commit comments

Comments
 (0)