-
Notifications
You must be signed in to change notification settings - Fork 25
feat(tooling): typescript config package #8433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
fd56a6b
chore: add global typescript configurations
yomonom f42b7fb
chore: integrate global typescript config into components package
yomonom 33e9d89
chore: integrate global typescript config into tokens package
yomonom 02af3d9
chore: remove leftover *.tsbuildinfo
yomonom 6c871ae
chore: integrate global typescript config into github-changelog package
yomonom d5075fd
chore: integrate global typescript config into components-angular pacโฆ
yomonom 240fe53
chore: integrate global typescript config into components-react package
yomonom 5ebb8cb
chore: integrate global typescript config into icons package
yomonom a33f8ec
chore: integrate global typescript config into header package
yomonom 0f141e1
chore: integrate global typescript config into eslint package
yomonom 521e310
chore: integrate global typescript config into styles-primeng and theโฆ
yomonom d38cd2f
chore: add `check` script
yomonom a186c18
chore: integrate global typescript into integration apps
yomonom 282cb14
chore: ensure `check` runs with every build
yomonom 8620d7e
feat: add tsconfig package
yomonom 745eaed
docs: fix broken links in READMEs
yomonom 926cc74
Merge branch 'main' into 4500-global-tsconfig
yomonom 574c471
Merge remote-tracking branch 'origin/main' into 4500-global-tsconfig
yomonom 126f01c
chore: make package public and include in changeset
yomonom ce46b2d
chore: add changeset
yomonom e28c929
chore: resolve code smells
yomonom 0e46d4c
refactor: move tsconfig package into `/configs` directory
yomonom 8e9f65d
chore: change name from `configs` to `tooling`
yomonom 46a629d
chore: rename `check` to `typecheck`
yomonom ddb6d62
Merge branch 'main' into 4500-global-tsconfig
yomonom ee79150
chore: remove unnecessary `include` from tsconfig
yomonom 21d459d
Merge remote-tracking branch 'origin/main' into 4500-global-tsconfig
yomonom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,25 +1,22 @@ | ||
| { | ||
| "extends": "@swisspost/design-system-tsconfig/dom.tsconfig.json", | ||
| "compilerOptions": { | ||
| "allowJs": true, | ||
| "noEmit": true, | ||
| "jsx": "react-jsx", | ||
| "experimentalDecorators": true, | ||
| "useDefineForClassFields": false, | ||
| "paths": { | ||
| "@root/*": ["./*"], | ||
| "@/*": ["./src/*"] | ||
| }, | ||
| "target": "es2022", | ||
| "useDefineForClassFields": false, | ||
| "lib": ["DOM", "DOM.Iterable", "es2022"], | ||
| "allowJs": true, | ||
| "skipLibCheck": true, | ||
| "esModuleInterop": true, | ||
| "allowSyntheticDefaultImports": true, | ||
| "strict": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
| "module": "esnext", | ||
| "moduleResolution": "bundler", | ||
| "resolveJsonModule": true, | ||
| "noEmit": true, | ||
| "jsx": "react-jsx", | ||
| "experimentalDecorators": true | ||
|
|
||
| // Pre-existing debt. Drop once sources are clean. | ||
| "noImplicitOverride": false, | ||
| "noImplicitReturns": false, | ||
| "noUnusedLocals": false, | ||
| "noUnusedParameters": false | ||
| }, | ||
| "include": [".storybook/*", "src", "types", "../internet-header/src/components.d.ts"], | ||
| "include": [".storybook/*", "src", "types"], | ||
|
alionazherdetska marked this conversation as resolved.
|
||
| "exclude": ["node_modules", "src/**/*.sample.*"] | ||
| } | ||
This file contains hidden or 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 hidden or 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,26 +1,7 @@ | ||
| { | ||
| "compileOnSave": false, | ||
| "extends": "@swisspost/design-system-tsconfig/angular.tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "./dist/out-tsc", | ||
| "esModuleInterop": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
| "strict": true, | ||
| "noImplicitOverride": true, | ||
| "noPropertyAccessFromIndexSignature": true, | ||
| "noImplicitReturns": true, | ||
| "noFallthroughCasesInSwitch": true, | ||
| "sourceMap": true, | ||
| "declaration": false, | ||
| "moduleResolution": "bundler", | ||
| "importHelpers": true, | ||
| "module": "esnext", | ||
| "target": "es2022", | ||
| "lib": ["es2022", "dom"] | ||
| }, | ||
| "angularCompilerOptions": { | ||
| "enableI18nLegacyMessageIdFormat": false, | ||
| "strictInjectionParameters": true, | ||
| "strictInputAccessModifiers": true, | ||
| "strictTemplates": true | ||
| "declaration": false | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,36 +1,19 @@ | ||
| { | ||
| "compileOnSave": false, | ||
| "extends": "@swisspost/design-system-tsconfig/angular.tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "./out-tsc/lib", | ||
| "esModuleInterop": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
| "strict": true, | ||
| "noImplicitOverride": false, | ||
| "noPropertyAccessFromIndexSignature": true, | ||
| "noImplicitReturns": true, | ||
| "noFallthroughCasesInSwitch": true, | ||
| "sourceMap": true, | ||
| "declaration": true, | ||
| "declarationMap": true, | ||
| "inlineSources": true, | ||
| "moduleResolution": "bundler", | ||
| "importHelpers": true, | ||
| "module": "esnext", | ||
| "target": "es2022", | ||
| "lib": ["es2022", "dom"], | ||
| "types": [] | ||
| }, | ||
| "angularCompilerOptions": { | ||
| "enableI18nLegacyMessageIdFormat": false, | ||
| "extendedDiagnostics": { | ||
| "checks": { | ||
| "nullishCoalescingNotNullable": "suppress", | ||
| "optionalChainNotNullable": "suppress" | ||
| } | ||
| }, | ||
| "strictInjectionParameters": true, | ||
| "strictInputAccessModifiers": true, | ||
| "strictTemplates": true | ||
| } | ||
| }, | ||
| "exclude": ["**/*.spec.ts"] | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -38,5 +38,3 @@ playwright-report/ | |
|
|
||
| /playwright/.cache/ | ||
| /playwright/.auth/ | ||
|
|
||
| *.tsbuildinfo | ||
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.