Skip to content

Commit cf9c49f

Browse files
Claudehotlong
andauthored
Fix @objectstack/server build - skip tsc type-checking for imports from examples
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/aa8caead-3c47-4d6d-bc7b-24df517824b9 Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent a020a4c commit cf9c49f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

apps/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"dev": "objectstack serve --dev",
99
"start": "objectstack serve",
10-
"build": "tsc && objectstack compile",
10+
"build": "objectstack compile",
1111
"typecheck": "tsc --noEmit",
1212
"test": "objectstack test",
1313
"test:e2e": "tsx test/e2e.test.ts",

apps/server/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
"compilerOptions": {
44
"outDir": "./dist",
55
"rootDir": ".",
6-
"module": "NodeNext"
6+
"module": "NodeNext",
7+
"skipLibCheck": true
78
},
8-
"include": ["**/*.ts"],
9+
"include": ["*.ts", "lib/**/*.ts", "server/**/*.ts", "api/**/*.ts"],
910
"exclude": ["node_modules", "dist", "test"]
1011
}

0 commit comments

Comments
 (0)