-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: enable TS intellisense in cross library projects for better/consistent DX #26605
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
Merged
Hotell
merged 19 commits into
microsoft:master
from
Hotell:hotell/build/ts/path-aliases-for-all-3
Apr 27, 2023
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8e3fd0f
generate change files
Hotell 6d0df39
chore(public-docsite-v9): enable whole monorepo TS path aliases for i…
Hotell 3acdb80
chore(public-docsite-v9): migrate to solution config and type-check .…
Hotell 0b59fcf
chore(react-migration-v8-v9): enable cross project TS path aliases f…
Hotell c27facc
chore(react-migration-v0-v9): enable cross project TS path aliases f…
Hotell 9bd7a30
feat(scripts-tasks): enable ts processing on projects with path alias…
Hotell 48e8bb7
fix(typings): make transformSource optional in sb addons type extensions
Hotell 142453b
chore: use tsconfig.base.all.json directly for TS path webpack plugin…
Hotell 0cfba4d
feat(scripts-storybook): make createPathAliasesConfigconfigurable and…
Hotell 900317a
feat(scripts-generators): update tsconfig.base.all.json after creatin…
Hotell d2f259f
feat(scripts-generators): incorporate base all generation to create-p…
Hotell 10edcea
chore: update tsconfig.base.all after rebase
Hotell 6c773b8
feat(scripts-tasks): implement type-check alias, update generate-api,…
Hotell 136a5e7
chore: use new type-check task for cross project TS path aliases + en…
Hotell 1674faa
fix(scripts-tasks): dont invoke api-extractor logic on every just-scr…
Hotell 5b843e2
scaffold tsconfig-base-all generator
Hotell cae14c6
feat(tools): implement tsconfig-base-all generator
Hotell 5735d61
refactor(ci): use nx workspace generator for tsconfib.base.all.json c…
Hotell 272bb18
fixup! chore: update tsconfig.base.all after rebase
Hotell 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,4 +1,5 @@ | ||
| import { create } from '@storybook/theming'; | ||
|
|
||
| import logo from '../public/fluentui-logo.svg'; | ||
|
|
||
| /** | ||
|
|
||
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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "extends": "../tsconfig.json", | ||
| "compilerOptions": { | ||
| "allowJs": true, | ||
| "checkJs": true, | ||
| "types": ["node", "static-assets", "storybook__addons"] | ||
| }, | ||
| "include": ["*.js"] | ||
| } |
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 |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
|
Hotell marked this conversation as resolved.
|
||
| "extends": "./tsconfig.json", | ||
| "compilerOptions": { | ||
| "module": "ESNext", | ||
| "target": "ES2019", | ||
| "noEmit": false, | ||
| "outDir": "lib", | ||
| "jsx": "react", | ||
| "sourceMap": true, | ||
| "types": ["webpack-env"] | ||
| }, | ||
| "include": ["src"] | ||
| } | ||
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,21 +1,23 @@ | ||
| { | ||
| "extends": "../../tsconfig.base.all.json", | ||
| "compilerOptions": { | ||
| "target": "es5", | ||
| "outDir": "lib", | ||
| "module": "commonjs", | ||
| "jsx": "react", | ||
| "declaration": true, | ||
| "sourceMap": true, | ||
| "module": "ESNext", | ||
| "target": "ES2019", | ||
| "noEmit": true, | ||
| "experimentalDecorators": true, | ||
| "noUnusedLocals": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
| "strictNullChecks": true, | ||
| "noImplicitAny": true, | ||
| "moduleResolution": "node", | ||
| "preserveConstEnums": true, | ||
| "skipLibCheck": true, | ||
| "types": ["webpack-env", "@storybook/react"] | ||
| "types": ["webpack-env"] | ||
| }, | ||
| "include": ["src"] | ||
| "include": [], | ||
| "files": [], | ||
| "references": [ | ||
| { | ||
| "path": "./tsconfig.app.json" | ||
| }, | ||
| { | ||
| "path": "./.storybook/tsconfig.json" | ||
| } | ||
| ] | ||
| } |
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
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-migration-v8-v9-ca54b58c-216f-4a2c-bc44-b19249dd8d16.json
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable build-less DX for storybook", | ||
| "packageName": "@fluentui/react-migration-v8-v9", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
6 changes: 4 additions & 2 deletions
6
packages/react-components/react-migration-v0-v9/.storybook/main.js
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
6 changes: 4 additions & 2 deletions
6
packages/react-components/react-migration-v8-v9/.storybook/main.js
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
6 changes: 4 additions & 2 deletions
6
packages/react-components/react-migration-v8-v9/tsconfig.json
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
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.