Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions packages/cli/tsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/core/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ await mergePackageJson();

async function buildVite() {
const newViteRolldownConfig = viteRolldownConfig.map((config) => {
config.tsconfig = join(projectDir, 'tsconfig.json');
config.tsconfig = join(projectDir, '..', '..', 'tsconfig.json');
config.cwd = projectDir;

if (Array.isArray(config.external)) {
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"./types/internal/*": null
},
"scripts": {
"build": "oxnode -C dev ./build.ts"
"build": "cross-env OXC_TSCONFIG_PATH=../../tsconfig.json oxnode -C dev ./build.ts"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

},
"dependencies": {
"@oxc-project/runtime": "catalog:",
Expand All @@ -116,6 +116,7 @@
"@oxc-node/cli": "catalog:",
"@oxc-node/core": "catalog:",
"@vitejs/devtools": "^0.1.15",
"cross-env": "catalog:",
"es-module-lexer": "^1.7.0",
"hookable": "^6.0.1",
"magic-string": "^0.30.21",
Expand Down
9 changes: 0 additions & 9 deletions packages/core/tsconfig.json

This file was deleted.

3 changes: 2 additions & 1 deletion packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
}
},
"scripts": {
"build": "oxnode -C dev ./build.ts"
"build": "cross-env OXC_TSCONFIG_PATH=../../tsconfig.json oxnode -C dev ./build.ts"
},
"dependencies": {
"@standard-schema/spec": "^1.1.0",
Expand Down Expand Up @@ -306,6 +306,7 @@
"@vitest/utils": "4.1.5",
"chai": "^6.2.1",
"convert-source-map": "^2.0.0",
"cross-env": "catalog:",
"estree-walker": "^3.0.3",
"expect-type": "^1.2.2",
"magic-string": "^0.30.21",
Expand Down
9 changes: 0 additions & 9 deletions packages/test/tsconfig.json

This file was deleted.

24 changes: 24 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ catalog:
change-case: ^5.4.4
connect: ^3.7.0
consola: ^3.4.2
cross-env: ^10.1.0
cross-spawn: ^7.0.5
debug: ^4.4.3
dedent: ^1.5.3
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"strict": true,
"target": "esnext",
"types": ["node"],
"verbatimModuleSyntax": true
"verbatimModuleSyntax": true,
"experimentalDecorators": true
},
"exclude": [
"ecosystem-ci",
Expand Down
Loading