Skip to content

Commit 35652d5

Browse files
authored
Merge pull request #16 from objectstack-ai/copilot/update-repository-actions
2 parents d1f51bd + ff6570c commit 35652d5

File tree

5 files changed

+23
-11
lines changed

5 files changed

+23
-11
lines changed

packages/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",
88
"scripts": {
9-
"build": "tsc",
10-
"dev": "tsc --watch",
11-
"clean": "rm -rf dist",
12-
"type-check": "tsc --noEmit"
9+
"build": "tsc --build",
10+
"dev": "tsc --build --watch",
11+
"clean": "tsc --build --clean && rm -rf dist",
12+
"type-check": "tsc --build --dry"
1313
},
1414
"dependencies": {
1515
"@objectstack/spec": "^0.3.3"

packages/core/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"skipLibCheck": true,
1515
"forceConsistentCasingInFileNames": true,
1616
"resolveJsonModule": true,
17-
"allowSyntheticDefaultImports": true
17+
"allowSyntheticDefaultImports": true,
18+
"composite": true
1819
},
1920
"include": ["src/**/*"],
2021
"exclude": ["node_modules", "dist"]

packages/examples/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",
88
"scripts": {
9-
"build": "tsc",
10-
"dev": "tsc --watch",
11-
"clean": "rm -rf dist",
12-
"type-check": "tsc --noEmit",
9+
"build": "tsc --build",
10+
"dev": "tsc --build --watch",
11+
"clean": "tsc --build --clean && rm -rf dist",
12+
"type-check": "tsc --build --dry",
1313
"example:basic": "node dist/basic-example.js",
1414
"example:ecommerce": "node dist/ecommerce-example.js",
1515
"example:blog": "node dist/blog-example.js",

packages/examples/tsconfig.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@
1414
"skipLibCheck": true,
1515
"forceConsistentCasingInFileNames": true,
1616
"resolveJsonModule": true,
17-
"allowSyntheticDefaultImports": true
17+
"allowSyntheticDefaultImports": true,
18+
"composite": true
1819
},
1920
"include": ["src/**/*"],
20-
"exclude": ["node_modules", "dist"]
21+
"exclude": ["node_modules", "dist"],
22+
"references": [
23+
{ "path": "../core" }
24+
]
2125
}

tsconfig.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"files": [],
3+
"references": [
4+
{ "path": "./packages/core" },
5+
{ "path": "./packages/examples" }
6+
]
7+
}

0 commit comments

Comments
 (0)