-
Notifications
You must be signed in to change notification settings - Fork 704
Closed
Labels
Domain: EmitRelated to emit, AST printing, Program emit funcsRelated to emit, AST printing, Program emit funcs
Description
I have the following folder/package structure:
/package.json:
name: @company/main
workspaces: [ game-core/scripts, shared/schema-package ]
/game-core/scripts/package.json:
name: @company/game
dependencies: @company/schema-package
/game-core/scripts/src/tsconfig.json:
outDir: ../dist/scripts
/shared/schema-package/package.json
name: @company/schema-package
files: **/*.*
main: index.js
/shared/schema-package/index.ts/js
In strada, when I build game-core/scripts/tsconfig.json
, in the game-core/scripts/dist/scripts
I only get files from the game-core
package. Such as:
game-core
scripts
dist
scripts
main.js
game_loop.js
...etc
In corsa I instead also get the schema-package
included:
game-core
scripts
dist
scripts
game-core
scripts
src
main.js
game_loop.js
...etc
shared
schema-package
index.js
Also, in corsa the src
directory is not omitted.
My full tsconfig.json is as follows:
{
"compilerOptions": {
"rootDir": ".",
"outDir": "../dist/scripts",
"target": "esnext",
"lib": ["esnext"],
"types": [],
"module": "ESNext",
"moduleResolution": "node",
"sourceMap": true,
"strict": true
},
"include": ["**/*.ts"]
}
Metadata
Metadata
Assignees
Labels
Domain: EmitRelated to emit, AST printing, Program emit funcsRelated to emit, AST printing, Program emit funcs
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
.ts
alongside.js
of the same name, builds are nested #1215jakebailey commentedon Jun 20, 2025
I believe this was fixed in #1234