Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0d7a3f5

Browse filesBrowse files
committed
fix(ci): build framework declarations before typecheck
1 parent d1d3b7b commit 0d7a3f5
Copy full SHA for 0d7a3f5

4 files changed

+5-4Lines changed: 5 additions & 4 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
run: bun install
7474

7575
- name: Typecheck
76-
run: bunx --bun tsc --noEmit
76+
run: bun run typecheck
7777

7878
test:
7979
runs-on: ${{ matrix.os }}
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"release:major": "./buddy release --bump major",
5454
"changelog": "./buddy changelog",
5555
"generate": "./buddy generate",
56-
"typecheck": "bun x tsc --noEmit",
56+
"build:framework-types": "bun --filter='@stacksjs/types' --filter='@stacksjs/validation' --filter='@stacksjs/orm' --filter='@stacksjs/actions' --filter='@stacksjs/router' --filter='@stacksjs/email' --filter='@stacksjs/logging' --filter='@stacksjs/database' --filter='@stacksjs/env' --filter='@stacksjs/socials' run build",
57+
"typecheck": "bun run build:framework-types && bun x tsc --noEmit",
5758
"types:check": "bun tsc --noEmit",
5859
"types:fix": "./buddy types:fix",
5960
"test": "./buddy test",
Collapse file

‎storage/framework/core/env/build.ts‎

Copy file name to clipboardExpand all lines: storage/framework/core/env/build.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const result = await Bun.build({
1515
external: frameworkExternal(),
1616
plugins: [
1717
dts({
18-
root: '.',
18+
root: './src',
1919
outdir: './dist',
2020
}),
2121
],
Collapse file

‎storage/framework/core/logging/build.ts‎

Copy file name to clipboardExpand all lines: storage/framework/core/logging/build.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const result = await Bun.build({
1515
external: frameworkExternal(),
1616
plugins: [
1717
dts({
18-
root: '.',
18+
root: './src',
1919
outdir: './dist',
2020
}),
2121
],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.