-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: split v9 migration packages to follow our /library /story stru…
…cture (#32173)
- Loading branch information
Showing
225 changed files
with
500 additions
and
282 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-migration-v0-v9-a8b27f19-8898-4f86-aa30-948bfc565727.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 @@ | ||
{ | ||
"type": "none", | ||
"comment": "chore: split migraton packages to follow our /library /story structure", | ||
"packageName": "@fluentui/react-migration-v0-v9", | ||
"email": "martinhochel@microsoft.com", | ||
"dependentChangeType": "none" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-migration-v8-v9-04a2d3bc-375d-493d-b3da-8a3443303797.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 @@ | ||
{ | ||
"type": "none", | ||
"comment": "chore: split migraton packages to follow our /library /story structure", | ||
"packageName": "@fluentui/react-migration-v8-v9", | ||
"email": "martinhochel@microsoft.com", | ||
"dependentChangeType": "none" | ||
} |
2 changes: 1 addition & 1 deletion
2
...nents/react-migration-v0-v9/.babelrc.json → ...act-migration-v0-v9/library/.babelrc.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,4 +1,4 @@ | ||
{ | ||
"extends": "../../../.babelrc-v9.json", | ||
"extends": "../../../../.babelrc-v9.json", | ||
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
200 changes: 100 additions & 100 deletions
200
...onents/react-migration-v0-v9/CHANGELOG.md → ...eact-migration-v0-v9/library/CHANGELOG.md
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion
3
...migration-v0-v9/config/api-extractor.json → ...n-v0-v9/library/config/api-extractor.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,4 +1,5 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"extends": "@fluentui/scripts-api-extractor/api-extractor.common.v-next.json" | ||
"extends": "@fluentui/scripts-api-extractor/api-extractor.common.v-next.json", | ||
"mainEntryPointFilePath": "<projectRoot>/../../../../../../dist/out-tsc/types/packages/react-components/<unscopedPackageName>/library/src/index.d.ts" | ||
} |
File renamed without changes.
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
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
8 changes: 8 additions & 0 deletions
8
packages/react-components/react-migration-v0-v9/library/project.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,8 @@ | ||
{ | ||
"name": "react-migration-v0-v9", | ||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"sourceRoot": "packages/react-components/react-migration-v0-v9/library/src", | ||
"tags": ["vNext", "react-northstar", "platform:web"], | ||
"implicitDependencies": [] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
packages/react-components/react-migration-v0-v9/library/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,23 @@ | ||
{ | ||
"extends": "../../../../tsconfig.base.all.json", | ||
"compilerOptions": { | ||
"strict": true, | ||
"target": "ES2019", | ||
"noEmit": true, | ||
"isolatedModules": true, | ||
"importHelpers": true, | ||
"jsx": "react", | ||
"noUnusedLocals": true, | ||
"preserveConstEnums": true | ||
}, | ||
"include": [], | ||
"files": [], | ||
"references": [ | ||
{ | ||
"path": "./tsconfig.lib.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.spec.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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
packages/react-components/react-migration-v0-v9/stories/.eslintrc.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,12 @@ | ||
{ | ||
"extends": ["plugin:@fluentui/eslint-plugin/react"], | ||
"root": true, | ||
"rules": { | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"packageDir": [".", "../../../../"] | ||
} | ||
] | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
.../react-migration-v0-v9/.storybook/main.js → ...igration-v0-v9/stories/.storybook/main.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
2 changes: 1 addition & 1 deletion
2
...act-migration-v8-v9/.storybook/preview.js → ...ation-v0-v9/stories/.storybook/preview.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
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
17 changes: 17 additions & 0 deletions
17
packages/react-components/react-migration-v0-v9/stories/README.md
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,17 @@ | ||
# @fluentui/react-migration-v0-v9-stories | ||
|
||
Storybook stories for packages/react-components/react-migration-v0-v9 | ||
|
||
## Usage | ||
|
||
To include within storybook specify stories globs: | ||
|
||
\`\`\`js | ||
module.exports = { | ||
stories: ['../packages/react-components/react-migration-v0-v9/stories/src/**/*.stories.mdx', '../packages/react-components/react-migration-v0-v9/stories/src/**/index.stories.@(ts|tsx)'], | ||
} | ||
\`\`\` | ||
|
||
## API | ||
|
||
no public API available |
3 changes: 3 additions & 0 deletions
3
packages/react-components/react-migration-v0-v9/stories/just.config.ts
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,3 @@ | ||
import { preset, task } from '@fluentui/scripts-tasks'; | ||
|
||
preset(); |
23 changes: 23 additions & 0 deletions
23
packages/react-components/react-migration-v0-v9/stories/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,23 @@ | ||
{ | ||
"name": "@fluentui/react-migration-v0-v9-stories", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"start": "yarn storybook", | ||
"storybook": "start-storybook", | ||
"type-check": "just-scripts type-check", | ||
"lint": "eslint src/", | ||
"format": "just-scripts prettier" | ||
}, | ||
"devDependencies": { | ||
"@fluentui/react-migration-v0-v9": "*", | ||
"@fluentui/react-northstar": "*", | ||
"@fluentui/react-components": "*", | ||
"@fluentui/react-icons-northstar": "*", | ||
"@fluentui/react-storybook-addon": "*", | ||
"@fluentui/react-storybook-addon-export-to-sandbox": "*", | ||
"@fluentui/scripts-storybook": "*", | ||
"@fluentui/eslint-plugin": "*", | ||
"@fluentui/scripts-tasks": "*" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/react-components/react-migration-v0-v9/stories/project.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,8 @@ | ||
{ | ||
"name": "react-migration-v0-v9-stories", | ||
"$schema": "../../../../node_modules/nx/schemas/project-schema.json", | ||
"projectType": "library", | ||
"sourceRoot": "packages/react-components/react-migration-v0-v9/stories/src", | ||
"tags": ["vNext", "platform:web", "type:stories"], | ||
"implicitDependencies": [] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
packages/react-components/react-migration-v0-v9/stories/src/index.ts
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 @@ | ||
export {}; |
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: 10 additions & 0 deletions
10
packages/react-components/react-migration-v0-v9/stories/tsconfig.lib.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 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"lib": ["ES2019", "dom"], | ||
"outDir": "../../../../dist/out-tsc", | ||
"inlineSources": true, | ||
"types": ["static-assets", "environment"] | ||
}, | ||
"include": ["./src/**/*.ts", "./src/**/*.tsx"] | ||
} |
2 changes: 1 addition & 1 deletion
2
...nents/react-migration-v8-v9/.babelrc.json → ...act-migration-v8-v9/library/.babelrc.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,4 +1,4 @@ | ||
{ | ||
"extends": "../../../.babelrc-v9.json", | ||
"extends": "../../../../.babelrc-v9.json", | ||
"plugins": ["annotate-pure-calls", "@babel/transform-react-pure-annotations"] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.