-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support different configuration files for different usecases
- Loading branch information
Mirko Kruschke
committed
Mar 27, 2024
1 parent
e67433c
commit b81cfb4
Showing
14 changed files
with
146 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "ts-ref-yaml-workspace", | ||
"version": "0.0.1", | ||
"private": true, | ||
"workspaces": [ | ||
"workspace-b", | ||
"shared/*", | ||
"utils/**/" | ||
], | ||
"devDependencies": { | ||
"typescript": "latest" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"files": [], | ||
"compilerOptions": { | ||
/* Basic Options */ | ||
// "allowJs": true, | ||
"composite": true | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
test-scenarios/ts-options-usecase-yaml/update-ts-references.e2e.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
configName: 'tsconfig.dev.json' | ||
rootConfigName: 'tsconfig.root.json' | ||
createPathMappings: true | ||
packages: | ||
# all packages in subdirs of packages/ and components/ | ||
- 'workspace-a' | ||
# exclude packages that are inside test directories | ||
- '!**/tests/**' | ||
- '!workspace-ignore' |
7 changes: 7 additions & 0 deletions
7
test-scenarios/ts-options-usecase-yaml/workspace-a/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "workspace-a", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"workspace-b": "1.0.0" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
test-scenarios/ts-options-usecase-yaml/workspace-a/tsconfig.dev.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": "src" | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
test-scenarios/ts-options-usecase-yaml/workspace-b/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "workspace-b", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"cross-env": "5.0.5" | ||
}, | ||
"devDependencies": { | ||
"foo-b": "1.0.0" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
test-scenarios/ts-options-usecase-yaml/workspace-b/tsconfig.dev.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": "src" | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
test-scenarios/ts-options-usecase-yaml/workspace-ignore/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "ignore", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"cross-env": "5.0.5" | ||
}, | ||
"devDependencies": { | ||
"foo-b": "1.0.0" | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
test-scenarios/ts-options-usecase-yaml/workspace-ignore/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": "src" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters