Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "feat: ship rolluped only dts",
"packageName": "@fluentui/react-card",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "feat: ship rolluped only dts",
"packageName": "@fluentui/react-image",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "feat: ship rolluped only dts",
"packageName": "@fluentui/react-text",
"email": "[email protected]",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions packages/react-components/react-card/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ e2e/
etc/
node_modules/
src/
dist/types/
temp/
__fixtures__
__mocks__
Expand Down
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": "<projectFolder>/dist/types/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/react-components/react-card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Card container components for Fluent UI React.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"typings": "dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/react-components/react-card/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"lib": ["ES2019", "dom"],
"outDir": "dist",
"declaration": true,
"declarationDir": "dist/types",
"inlineSources": true,
"types": ["static-assets", "environment"]
},
"exclude": [
Expand Down
1 change: 1 addition & 0 deletions packages/react-components/react-dialog/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ e2e/
etc/
node_modules/
src/
dist/types/
temp/
__fixtures__
__mocks__
Expand Down
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": "<projectFolder>/dist/types/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/react-components/react-dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Dialog component for Fluent UI React",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"typings": "dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/react-components/react-dialog/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"lib": ["ES2019", "dom"],
"outDir": "dist",
"declaration": true,
"declarationDir": "dist/types",
"inlineSources": true,
"types": ["static-assets", "environment"]
},
"exclude": [
Expand Down
1 change: 1 addition & 0 deletions packages/react-components/react-image/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ e2e/
etc/
node_modules/
src/
dist/types/
temp/
__fixtures__
__mocks__
Expand Down
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": "<projectFolder>/dist/types/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/react-components/react-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Fluent UI React Image component.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"typings": "dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/react-components/react-image/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"lib": ["ES2019", "dom"],
"outDir": "dist",
"declaration": true,
"declarationDir": "dist/types",
"inlineSources": true,
"types": ["static-assets", "environment"]
},
"exclude": [
Expand Down
1 change: 1 addition & 0 deletions packages/react-components/react-text/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ e2e/
etc/
node_modules/
src/
dist/types/
temp/
__fixtures__
__mocks__
Expand Down
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": "<projectFolder>/dist/types/index.d.ts"
}
2 changes: 1 addition & 1 deletion packages/react-components/react-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Text is a typography and styling abstraction component that can be used to ensure the consistency of all text across your application.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"typings": "dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/react-components/react-text/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"lib": ["ES2019", "dom"],
"outDir": "dist",
"declaration": true,
"declarationDir": "dist/types",
"inlineSources": true,
"types": ["static-assets", "environment"]
},
"exclude": [
Expand Down
3 changes: 2 additions & 1 deletion scripts/just.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ export function preset() {
'copy',
'sass',
'ts',
condition('api-extractor', () => !args.min),
// v9 needs to run api-extractor which generates rolluped .d.ts files that are shipped to npm
condition('api-extractor', () => isConvergedPackage() || !args.min),
),
).cached();

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"@fluentui/react-link": ["packages/react-components/react-link/src/index.ts"],
"@fluentui/react-list": ["packages/react-components/react-list/src/index.ts"],
"@fluentui/react-menu": ["packages/react-components/react-menu/src/index.ts"],
"@fluentui/react-overflow": ["packages/react-overflow/src/index.ts"],
"@fluentui/react-popover": ["packages/react-components/react-popover/src/index.ts"],
"@fluentui/react-portal": ["packages/react-components/react-portal/src/index.ts"],
"@fluentui/react-portal-compat": ["packages/react-portal-compat/src/index.ts"],
"@fluentui/react-portal-compat-context": ["packages/react-portal-compat-context/src/index.ts"],
"@fluentui/react-positioning": ["packages/react-positioning/src/index.ts"],
"@fluentui/react-overflow": ["packages/react-overflow/src/index.ts"],
"@fluentui/react-provider": ["packages/react-components/react-provider/src/index.ts"],
"@fluentui/react-radio": ["packages/react-radio/src/index.ts"],
"@fluentui/react-select": ["packages/react-components/react-select/src/index.ts"],
Expand Down
14 changes: 7 additions & 7 deletions workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,13 @@
"projectType": "library",
"implicitDependencies": []
},
"@fluentui/react-overflow": {
"root": "packages/react-overflow",
"projectType": "library",
"implicitDependencies": [],
"sourceRoot": "packages/react-overflow/src",
"tags": ["vNext", "platform:web"]
},
"@fluentui/react-popover": {
"root": "packages/react-components/react-popover",
"projectType": "library",
Expand Down Expand Up @@ -536,13 +543,6 @@
"tags": ["vNext", "platform:web"],
"implicitDependencies": []
},
"@fluentui/react-overflow": {
"root": "packages/react-overflow",
"projectType": "library",
"implicitDependencies": [],
"sourceRoot": "packages/react-overflow/src",
"tags": ["vNext", "platform:web"]
},
"@fluentui/react-proptypes": {
"root": "packages/fluentui/react-proptypes",
"projectType": "library",
Expand Down