forked from bitwarden/clients
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PM-16872] Update libs to use explicit dependencies (bitwarden#12770)
Update all libs to use explicit dependencies rather than relying on tsconfig.libs.json. This allows us to more easily understand the dependencies between libs and prevent users from accidentally adding new dependencies. We still use tsconfig.libs (now renamed tsconfig.spec) for tests.
- Loading branch information
Showing
43 changed files
with
308 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../admin-console/src/common"], | ||
"@bitwarden/auth/common": ["../auth/src/common"], | ||
"@bitwarden/common/*": ["../common/src/*"], | ||
"@bitwarden/key-management": ["../key-management/src"] | ||
} | ||
}, | ||
"include": ["src", "spec"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,25 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../admin-console/src/common"], | ||
"@bitwarden/angular/*": ["../angular/src/*"], | ||
"@bitwarden/auth/angular": ["../auth/src/angular"], | ||
"@bitwarden/auth/common": ["../auth/src/common"], | ||
"@bitwarden/common/*": ["../common/src/*"], | ||
"@bitwarden/components": ["../components/src"], | ||
"@bitwarden/generator-components": ["../tools/generator/components/src"], | ||
"@bitwarden/generator-core": ["../tools/generator/core/src"], | ||
"@bitwarden/generator-history": ["../tools/generator/extensions/history/src"], | ||
"@bitwarden/generator-legacy": ["../tools/generator/extensions/legacy/src"], | ||
"@bitwarden/generator-navigation": ["../tools/generator/extensions/navigation/src"], | ||
"@bitwarden/importer/core": ["../importer/src"], | ||
"@bitwarden/key-management": ["../key-management/src"], | ||
"@bitwarden/platform": ["../platform/src"], | ||
"@bitwarden/vault-export-core": ["../tools/export/vault-export/vault-export-core/src"], | ||
"@bitwarden/vault": ["../vault/src"] | ||
} | ||
}, | ||
"include": ["src", "spec"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,22 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": { | ||
"resolveJsonModule": true, | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../admin-console/src/common"], | ||
"@bitwarden/auth/common": ["../auth/src/common"], | ||
"@bitwarden/auth/angular": ["../auth/src/angular"], | ||
"@bitwarden/angular/*": ["../angular/src/*"], | ||
"@bitwarden/common/*": ["../common/src/*"], | ||
"@bitwarden/components": ["../components/src"], | ||
"@bitwarden/key-management": ["../key-management/src"], | ||
"@bitwarden/platform": ["../platform/src"], | ||
"@bitwarden/generator-core": ["../tools/generator/core/src"], | ||
"@bitwarden/generator-history": ["../tools/generator/extensions/history/src"], | ||
"@bitwarden/generator-legacy": ["../tools/generator/extensions/legacy/src"], | ||
"@bitwarden/generator-navigation": ["../tools/generator/extensions/navigation/src"] | ||
} | ||
}, | ||
"include": ["src", "spec"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": {}, | ||
"include": ["src", "spec"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,15 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../admin-console/src/common"], | ||
"@bitwarden/auth/common": ["../auth/src/common"], | ||
"@bitwarden/common/*": ["../common/src/*"], | ||
"@bitwarden/components": ["../components/src"], | ||
"@bitwarden/key-management": ["../key-management/src"], | ||
"@bitwarden/platform": ["../platform/src"] | ||
} | ||
}, | ||
"include": ["src", "spec", "./custom-matchers.d.ts", "../key-management/src/index.ts"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,21 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../admin-console/src/common"], | ||
"@bitwarden/angular/*": ["../angular/src/*"], | ||
"@bitwarden/auth/common": ["../auth/src/common"], | ||
"@bitwarden/common/*": ["../common/src/*"], | ||
"@bitwarden/components": ["../components/src"], | ||
"@bitwarden/generator-core": ["../tools/generator/core/src"], | ||
"@bitwarden/generator-history": ["../tools/generator/extensions/history/src"], | ||
"@bitwarden/generator-legacy": ["../tools/generator/extensions/legacy/src"], | ||
"@bitwarden/generator-navigation": ["../tools/generator/extensions/navigation/src"], | ||
"@bitwarden/key-management": ["../key-management/src"], | ||
"@bitwarden/platform": ["../platform/src"], | ||
"@bitwarden/vault-export-core": ["../tools/export/vault-export/vault-export-core/src"] | ||
} | ||
}, | ||
"include": ["src", "spec"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,21 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../admin-console/src/common"], | ||
"@bitwarden/angular/*": ["../angular/src/*"], | ||
"@bitwarden/auth/angular": ["../auth/src/angular"], | ||
"@bitwarden/auth/common": ["../auth/src/common"], | ||
"@bitwarden/common/*": ["../common/src/*"], | ||
"@bitwarden/components": ["../components/src"], | ||
"@bitwarden/key-management": ["../key-management/src"], | ||
"@bitwarden/generator-core": ["../tools/generator/core/src"], | ||
"@bitwarden/generator-history": ["../tools/generator/extensions/history/src"], | ||
"@bitwarden/generator-legacy": ["../tools/generator/extensions/legacy/src"], | ||
"@bitwarden/generator-navigation": ["../tools/generator/extensions/navigation/src"], | ||
"@bitwarden/platform": ["../platform/src"] | ||
} | ||
}, | ||
"include": ["src", "spec"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../admin-console/src/common"], | ||
"@bitwarden/auth/common": ["../auth/src/common"], | ||
"@bitwarden/common/*": ["../common/src/*"], | ||
"@bitwarden/key-management": ["../key-management/src"] | ||
} | ||
}, | ||
"include": ["src", "spec"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
{ | ||
"extends": "../shared/tsconfig.libs", | ||
"extends": "../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": {} | ||
}, | ||
"include": ["src", "spec"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
File renamed without changes.
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 |
---|---|---|
@@ -1,5 +1,16 @@ | ||
{ | ||
"extends": "../../shared/tsconfig.libs", | ||
"extends": "../../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../../admin-console/src/common"], | ||
"@bitwarden/angular/*": ["../../angular/src/*"], | ||
"@bitwarden/auth/common": ["../../auth/src/common"], | ||
"@bitwarden/common/*": ["../../common/src/*"], | ||
"@bitwarden/components": ["../../components/src"], | ||
"@bitwarden/key-management": ["../../key-management/src"], | ||
"@bitwarden/platform": ["../../platform/src"] | ||
} | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
2 changes: 1 addition & 1 deletion
2
libs/tools/export/vault-export/vault-export-core/jest.config.js
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
10 changes: 9 additions & 1 deletion
10
libs/tools/export/vault-export/vault-export-core/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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
{ | ||
"extends": "../../../../shared/tsconfig.libs", | ||
"extends": "../../../../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../../../../admin-console/src/common"], | ||
"@bitwarden/auth/common": ["../../../../auth/src/common"], | ||
"@bitwarden/common/*": ["../../../../common/src/*"], | ||
"@bitwarden/key-management": ["../../../../key-management/src"] | ||
} | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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
21 changes: 20 additions & 1 deletion
21
libs/tools/export/vault-export/vault-export-ui/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 |
---|---|---|
@@ -1,5 +1,24 @@ | ||
{ | ||
"extends": "../../../../shared/tsconfig.libs", | ||
"extends": "../../../../shared/tsconfig", | ||
"compilerOptions": { | ||
"paths": { | ||
"@bitwarden/admin-console/common": ["../../../../admin-console/src/common"], | ||
"@bitwarden/angular/*": ["../../../../angular/src/*"], | ||
"@bitwarden/auth/angular": ["../../../../auth/src/angular"], | ||
"@bitwarden/auth/common": ["../../../../auth/src/common"], | ||
"@bitwarden/common/*": ["../../../../common/src/*"], | ||
"@bitwarden/components": ["../../../../components/src"], | ||
"@bitwarden/generator-core": ["../../../../tools/generator/core/src"], | ||
"@bitwarden/generator-history": ["../../../../tools/generator/extensions/history/src"], | ||
"@bitwarden/generator-legacy": ["../../../../tools/generator/extensions/legacy/src"], | ||
"@bitwarden/generator-navigation": ["../../../../tools/generator/extensions/navigation/src"], | ||
"@bitwarden/key-management": ["../../../../key-management/src"], | ||
"@bitwarden/platform": ["../../../../platform/src"], | ||
"@bitwarden/vault-export-core": [ | ||
"../../../../tools/export/vault-export/vault-export-core/src" | ||
] | ||
} | ||
}, | ||
"include": ["src"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
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
Oops, something went wrong.