diff --git a/.changeset/lovely-beans-warn.md b/.changeset/lovely-beans-warn.md new file mode 100644 index 00000000000..f17fa4421c3 --- /dev/null +++ b/.changeset/lovely-beans-warn.md @@ -0,0 +1,77 @@ +--- +"@uifabricshared/foundation-composable": patch +"@fluentui-react-native/experimental-appearance-additions": patch +"@uifabricshared/theming-react-native": patch +"@uifabricshared/foundation-settings": patch +"@fluentui-react-native/experimental-activity-indicator": patch +"@fluentui-react-native/experimental-native-font-metrics": patch +"@uifabricshared/foundation-compose": patch +"@fluentui-react-native/experimental-native-date-picker": patch +"@uifabricshared/foundation-tokens": patch +"@fluentui-react-native/themed-stylesheet": patch +"@uifabricshared/themed-settings": patch +"@fluentui-react-native/contextual-menu": patch +"@uifabricshared/theme-registry": patch +"@fluentui-react-native/vibrancy-view": patch +"@fluentui-react-native/focus-trap-zone": patch +"@fluentui-react-native/notification": patch +"@uifabricshared/theming-ramp": patch +"@fluentui-react-native/experimental-menu-button": patch +"@fluentui-react-native/interactive-hooks": patch +"@fluentui-react-native/persona-coin": patch +"@fluentui-react-native/menu-button": patch +"@fluentui-react-native/radio-group": patch +"@fluentui-react-native/experimental-checkbox": patch +"@fluentui-react-native/dropdown": patch +"@fluentui-react-native/experimental-expander": patch +"@fluentui-react-native/overflow": patch +"@fluentui-react-native/composition": patch +"@fluentui-react-native/use-styling": patch +"@fluentui-react-native/android-theme": patch +"@fluentui-react-native/default-theme": patch +"@fluentui-react-native/theming-utils": patch +"@fluentui-react-native/focus-zone": patch +"@fluentui-react-native/pressable": patch +"@fluentui-react-native/separator": patch +"@fluentui-react-native/popover": patch +"@fluentui-react-native/experimental-shimmer": patch +"@fluentui-react-native/spinner": patch +"@fluentui-react-native/tooltip": patch +"@fluentui-react-native/use-tokens": patch +"@fluentui-react-native/theme-tokens": patch +"@fluentui-react-native/checkbox": patch +"@fluentui-react-native/experimental-avatar": patch +"@fluentui-react-native/drawer": patch +"@fluentui-react-native/experimental-shadow": patch +"@fluentui-react-native/framework": patch +"@fluentui-react-native/use-slots": patch +"@fluentui-react-native/apple-theme": patch +"@fluentui-react-native/theme-types": patch +"@fluentui-react-native/win32-theme": patch +"@fluentui-react-native/callout": patch +"@fluentui-react-native/divider": patch +"@fluentui-react-native/persona": patch +"@fluentui-react-native/tablist": patch +"@fluentui-react-native/use-slot": patch +"@fluentui-react-native/avatar": patch +"@fluentui-react-native/button": patch +"@fluentui-react-native/switch": patch +"@fluentui-react-native/badge": patch +"@fluentui-react-native/input": patch +"@fluentui-react-native/stack": patch +"@fluentui-react-native/chip": patch +"@fluentui-react-native/icon": patch +"@fluentui-react-native/link": patch +"@fluentui-react-native/menu": patch +"@fluentui-react-native/text": patch +"@fluentui-react-native/theme": patch +"@fluentui-react-native/framework-base": patch +"@fluentui/react-native": patch +"@fluentui-react-native/adapters": patch +"@fluentui-react-native/styling-utils": patch +"@fluentui-react-native/tokens": patch +"@fluentui-react-native/tester": patch +"@fluentui-react-native/codemods": patch +--- + +Configuration and dependency changes diff --git a/apps/E2E/package.json b/apps/E2E/package.json index f174bc53d69..8879204d999 100644 --- a/apps/E2E/package.json +++ b/apps/E2E/package.json @@ -115,8 +115,7 @@ "core-win32", "core-windows", "metro-react-native-babel-transformer", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/apps/component-generator/component-templates/ComponentTemplate/babel.config.js b/apps/component-generator/component-templates/ComponentTemplate/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/apps/component-generator/component-templates/ComponentTemplate/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/apps/component-generator/component-templates/ComponentTemplate/jest.config.cjs b/apps/component-generator/component-templates/ComponentTemplate/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/apps/component-generator/component-templates/ComponentTemplate/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/apps/component-generator/component-templates/ComponentTemplate/jest.config.js b/apps/component-generator/component-templates/ComponentTemplate/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/apps/component-generator/component-templates/ComponentTemplate/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/apps/component-generator/component-templates/ComponentTemplate/just.config.js b/apps/component-generator/component-templates/ComponentTemplate/just.config.js deleted file mode 100644 index 4f26f8acb52..00000000000 --- a/apps/component-generator/component-templates/ComponentTemplate/just.config.js +++ /dev/null @@ -1,3 +0,0 @@ -const { preset } = require('@fluentui-react-native/scripts'); - -preset(); diff --git a/apps/component-generator/component-templates/ComponentTemplate/package.json b/apps/component-generator/component-templates/ComponentTemplate/package.json index 86245f50d2f..53377855cab 100644 --- a/apps/component-generator/component-templates/ComponentTemplate/package.json +++ b/apps/component-generator/component-templates/ComponentTemplate/package.json @@ -27,10 +27,7 @@ }, "dependencies": {}, "devDependencies": { - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/lint-config-rules": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", "react": "18.2.0", @@ -40,6 +37,9 @@ "react": "18.2.0", "react-native": "^0.71.0" }, + "furn": { + "jestPlatform": "ios" + }, "rnx-kit": { "extends": "@fluentui-react-native/kit-config", "kitType": "library", diff --git a/apps/component-generator/component-templates/ComponentTemplate/tsconfig.json b/apps/component-generator/component-templates/ComponentTemplate/tsconfig.json index f3424b1ff4f..07b157e5c62 100644 --- a/apps/component-generator/component-templates/ComponentTemplate/tsconfig.json +++ b/apps/component-generator/component-templates/ComponentTemplate/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@fluentui-react-native/scripts/tsconfig", "compilerOptions": { + "rootDir": "src", "outDir": "lib" }, "include": ["src"] diff --git a/apps/fluent-tester/babel.config.js b/apps/fluent-tester/babel.config.js index aa7d482ebf2..c330013387f 100644 --- a/apps/fluent-tester/babel.config.js +++ b/apps/fluent-tester/babel.config.js @@ -1 +1 @@ -module.exports = require('@fluentui-react-native/babel-config'); +module.exports = require('@fluentui-react-native/scripts/babel-config'); diff --git a/apps/fluent-tester/package.json b/apps/fluent-tester/package.json index 9e3edccaf03..9ddbf203bcb 100644 --- a/apps/fluent-tester/package.json +++ b/apps/fluent-tester/package.json @@ -53,7 +53,6 @@ "devDependencies": { "@babel/core": "catalog:", "@babel/runtime": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/callout": "workspace:*", "@fluentui-react-native/experimental-appearance-additions": "workspace:*", "@fluentui-react-native/experimental-avatar": "workspace:*", @@ -176,8 +175,7 @@ "react", "react-test-renderer", "svg", - "test-app", - "tools-core" + "test-app" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/apps/tester-core/babel.config.js b/apps/tester-core/babel.config.js index aa7d482ebf2..c330013387f 100644 --- a/apps/tester-core/babel.config.js +++ b/apps/tester-core/babel.config.js @@ -1 +1 @@ -module.exports = require('@fluentui-react-native/babel-config'); +module.exports = require('@fluentui-react-native/scripts/babel-config'); diff --git a/apps/tester-core/package.json b/apps/tester-core/package.json index 6225c9c4347..84c72d2404d 100644 --- a/apps/tester-core/package.json +++ b/apps/tester-core/package.json @@ -94,7 +94,6 @@ "devDependencies": { "@babel/core": "catalog:", "@babel/runtime": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.81.0", @@ -223,8 +222,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/apps/win32-81/babel.config.js b/apps/win32-81/babel.config.js index aa7d482ebf2..c330013387f 100644 --- a/apps/win32-81/babel.config.js +++ b/apps/win32-81/babel.config.js @@ -1 +1 @@ -module.exports = require('@fluentui-react-native/babel-config'); +module.exports = require('@fluentui-react-native/scripts/babel-config'); diff --git a/apps/win32-81/package.json b/apps/win32-81/package.json index 8e5fb3ff81b..46c2ec34ced 100644 --- a/apps/win32-81/package.json +++ b/apps/win32-81/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@babel/core": "catalog:", "@babel/runtime": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/rex-win32": "0.81.0-preview.0", @@ -130,8 +129,7 @@ "react", "react-test-renderer", "svg", - "test-app", - "tools-core" + "test-app" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/apps/win32/babel.config.js b/apps/win32/babel.config.js index aa7d482ebf2..c330013387f 100644 --- a/apps/win32/babel.config.js +++ b/apps/win32/babel.config.js @@ -1 +1 @@ -module.exports = require('@fluentui-react-native/babel-config'); +module.exports = require('@fluentui-react-native/scripts/babel-config'); diff --git a/apps/win32/package.json b/apps/win32/package.json index c2c2e541387..21dc4f3d4cd 100644 --- a/apps/win32/package.json +++ b/apps/win32/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@babel/core": "catalog:", "@babel/runtime": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/rex-win32": "0.73.11-devmain.16.0.17615.15030", @@ -122,8 +121,7 @@ "react", "react-test-renderer", "svg", - "test-app", - "tools-core" + "test-app" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/codemods/babel.config.js b/packages/codemods/babel.config.js deleted file mode 100644 index 20d94cf2545..00000000000 --- a/packages/codemods/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/babel.react.config.js'); diff --git a/packages/codemods/jest.config.cjs b/packages/codemods/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/codemods/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/codemods/jest.config.js b/packages/codemods/jest.config.js deleted file mode 100644 index 2029e9d4b29..00000000000 --- a/packages/codemods/jest.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/jest.config.js'); diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 164a198fb14..a903c5f347e 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -43,7 +43,6 @@ "@babel/core": "catalog:", "@babel/preset-env": "catalog:", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/react-configs": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", "@types/jscodeshift": "^0.11.11", @@ -57,16 +56,14 @@ "ignorePatterns": [ "src/transforms/__testfixtures__/*" ] - } + }, + "jestPlatform": "react" }, "rnx-kit": { "kitType": "library", "extends": "@fluentui-react-native/kit-config", "alignDeps": { - "capabilities": [ - "tools-core", - "tools-jest-react" - ] + "capabilities": [] } } } diff --git a/packages/components/Avatar/babel.config.js b/packages/components/Avatar/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Avatar/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Avatar/jest.config.cjs b/packages/components/Avatar/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Avatar/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Avatar/jest.config.js b/packages/components/Avatar/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/Avatar/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/Avatar/package.json b/packages/components/Avatar/package.json index 0d7196418c2..a18a28d689a 100644 --- a/packages/components/Avatar/package.json +++ b/packages/components/Avatar/package.json @@ -46,9 +46,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -89,6 +87,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -101,9 +102,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Badge/babel.config.js b/packages/components/Badge/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Badge/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Badge/jest.config.cjs b/packages/components/Badge/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Badge/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Badge/jest.config.js b/packages/components/Badge/jest.config.js deleted file mode 100644 index 012dd1d9c5b..00000000000 --- a/packages/components/Badge/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('ios'); diff --git a/packages/components/Badge/package.json b/packages/components/Badge/package.json index 07a0615c9b2..03e80a6f584 100644 --- a/packages/components/Badge/package.json +++ b/packages/components/Badge/package.json @@ -44,9 +44,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -88,6 +86,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "ios" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -100,9 +101,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Button/babel.config.js b/packages/components/Button/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Button/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Button/jest.config.cjs b/packages/components/Button/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Button/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Button/jest.config.js b/packages/components/Button/jest.config.js deleted file mode 100644 index 012dd1d9c5b..00000000000 --- a/packages/components/Button/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('ios'); diff --git a/packages/components/Button/package.json b/packages/components/Button/package.json index e4126f627dc..26c8ce7d1a6 100644 --- a/packages/components/Button/package.json +++ b/packages/components/Button/package.json @@ -54,9 +54,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -98,6 +96,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "ios" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -110,9 +111,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Callout/babel.config.js b/packages/components/Callout/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Callout/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Callout/jest.config.cjs b/packages/components/Callout/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Callout/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Callout/jest.config.js b/packages/components/Callout/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/Callout/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/Callout/package.json b/packages/components/Callout/package.json index d0526a6df45..25566050db4 100644 --- a/packages/components/Callout/package.json +++ b/packages/components/Callout/package.json @@ -42,8 +42,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -87,6 +85,9 @@ "type": "components", "jsSrcsDir": "lib" }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -98,9 +99,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Checkbox/babel.config.js b/packages/components/Checkbox/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Checkbox/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Checkbox/jest.config.cjs b/packages/components/Checkbox/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Checkbox/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Checkbox/jest.config.js b/packages/components/Checkbox/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/Checkbox/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/Checkbox/package.json b/packages/components/Checkbox/package.json index 0bca9ba0409..4d5d3eac737 100644 --- a/packages/components/Checkbox/package.json +++ b/packages/components/Checkbox/package.json @@ -50,9 +50,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -94,6 +92,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -106,9 +107,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Chip/babel.config.js b/packages/components/Chip/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Chip/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Chip/jest.config.cjs b/packages/components/Chip/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Chip/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Chip/jest.config.js b/packages/components/Chip/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/components/Chip/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/components/Chip/package.json b/packages/components/Chip/package.json index ab64f1750cb..d6e2405ef3e 100644 --- a/packages/components/Chip/package.json +++ b/packages/components/Chip/package.json @@ -40,9 +40,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -84,6 +82,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -96,9 +97,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/ContextualMenu/babel.config.js b/packages/components/ContextualMenu/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/ContextualMenu/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/ContextualMenu/jest.config.cjs b/packages/components/ContextualMenu/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/ContextualMenu/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/ContextualMenu/jest.config.js b/packages/components/ContextualMenu/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/ContextualMenu/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/ContextualMenu/package.json b/packages/components/ContextualMenu/package.json index b23002973e5..c9761268caa 100644 --- a/packages/components/ContextualMenu/package.json +++ b/packages/components/ContextualMenu/package.json @@ -47,9 +47,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/pressable": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -94,6 +92,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -107,9 +108,7 @@ "core/metro-config", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Divider/babel.config.js b/packages/components/Divider/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Divider/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Divider/jest.config.cjs b/packages/components/Divider/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Divider/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Divider/jest.config.js b/packages/components/Divider/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/Divider/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/Divider/package.json b/packages/components/Divider/package.json index b61201c32cb..86091cdce46 100644 --- a/packages/components/Divider/package.json +++ b/packages/components/Divider/package.json @@ -41,9 +41,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -85,6 +83,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -97,9 +98,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/FocusTrapZone/babel.config.js b/packages/components/FocusTrapZone/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/FocusTrapZone/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/FocusTrapZone/jest.config.cjs b/packages/components/FocusTrapZone/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/FocusTrapZone/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/FocusTrapZone/jest.config.js b/packages/components/FocusTrapZone/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/FocusTrapZone/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/FocusTrapZone/package.json b/packages/components/FocusTrapZone/package.json index e447fd30847..473dc79c0b5 100644 --- a/packages/components/FocusTrapZone/package.json +++ b/packages/components/FocusTrapZone/package.json @@ -40,8 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -80,6 +78,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -91,9 +92,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/FocusZone/babel.config.js b/packages/components/FocusZone/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/FocusZone/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/FocusZone/jest.config.cjs b/packages/components/FocusZone/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/FocusZone/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/FocusZone/jest.config.js b/packages/components/FocusZone/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/FocusZone/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/FocusZone/package.json b/packages/components/FocusZone/package.json index de477adde03..4c0a4a2c377 100644 --- a/packages/components/FocusZone/package.json +++ b/packages/components/FocusZone/package.json @@ -40,8 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -81,6 +79,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -93,9 +94,7 @@ "core-windows", "metro-react-native-babel-transformer", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Icon/babel.config.js b/packages/components/Icon/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Icon/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Icon/jest.config.cjs b/packages/components/Icon/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Icon/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Icon/jest.config.js b/packages/components/Icon/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/Icon/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/Icon/package.json b/packages/components/Icon/package.json index 0aebb4626f0..8637b9dd16a 100644 --- a/packages/components/Icon/package.json +++ b/packages/components/Icon/package.json @@ -40,8 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -83,6 +81,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -95,9 +96,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Input/babel.config.js b/packages/components/Input/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Input/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Input/jest.config.cjs b/packages/components/Input/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Input/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Input/jest.config.js b/packages/components/Input/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/components/Input/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/components/Input/package.json b/packages/components/Input/package.json index 9ba52de7372..8553f186cd4 100644 --- a/packages/components/Input/package.json +++ b/packages/components/Input/package.json @@ -44,9 +44,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -87,6 +85,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -99,9 +100,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Link/babel.config.js b/packages/components/Link/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Link/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Link/jest.config.cjs b/packages/components/Link/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Link/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Link/jest.config.js b/packages/components/Link/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/components/Link/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/components/Link/package.json b/packages/components/Link/package.json index dd3ed0062c1..4916a8accf3 100644 --- a/packages/components/Link/package.json +++ b/packages/components/Link/package.json @@ -45,9 +45,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -86,6 +84,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -97,9 +98,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Menu/babel.config.js b/packages/components/Menu/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Menu/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Menu/jest.config.cjs b/packages/components/Menu/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Menu/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Menu/jest.config.js b/packages/components/Menu/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/Menu/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/Menu/package.json b/packages/components/Menu/package.json index e44d673e301..e78a9955f39 100644 --- a/packages/components/Menu/package.json +++ b/packages/components/Menu/package.json @@ -49,10 +49,8 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/button": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -95,6 +93,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -107,9 +108,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/MenuButton/babel.config.js b/packages/components/MenuButton/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/MenuButton/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/MenuButton/jest.config.cjs b/packages/components/MenuButton/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/MenuButton/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/MenuButton/jest.config.js b/packages/components/MenuButton/jest.config.js deleted file mode 100644 index 012dd1d9c5b..00000000000 --- a/packages/components/MenuButton/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('ios'); diff --git a/packages/components/MenuButton/package.json b/packages/components/MenuButton/package.json index cef3c66a6e2..6522dc6a21d 100644 --- a/packages/components/MenuButton/package.json +++ b/packages/components/MenuButton/package.json @@ -44,9 +44,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -87,6 +85,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "ios" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -99,9 +100,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Notification/babel.config.js b/packages/components/Notification/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Notification/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Notification/jest.config.cjs b/packages/components/Notification/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Notification/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Notification/jest.config.js b/packages/components/Notification/jest.config.js deleted file mode 100644 index 012dd1d9c5b..00000000000 --- a/packages/components/Notification/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('ios'); diff --git a/packages/components/Notification/package.json b/packages/components/Notification/package.json index 54cf37ccfe6..85abc260089 100644 --- a/packages/components/Notification/package.json +++ b/packages/components/Notification/package.json @@ -49,9 +49,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -93,6 +91,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "ios" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -105,9 +106,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Persona/babel.config.js b/packages/components/Persona/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Persona/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Persona/package.json b/packages/components/Persona/package.json index c5d4e34dc41..411f2aa220f 100644 --- a/packages/components/Persona/package.json +++ b/packages/components/Persona/package.json @@ -44,7 +44,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -89,8 +88,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/PersonaCoin/babel.config.js b/packages/components/PersonaCoin/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/PersonaCoin/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/PersonaCoin/package.json b/packages/components/PersonaCoin/package.json index b481b415265..bf65d94e135 100644 --- a/packages/components/PersonaCoin/package.json +++ b/packages/components/PersonaCoin/package.json @@ -44,7 +44,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -90,8 +89,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Pressable/babel.config.js b/packages/components/Pressable/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Pressable/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Pressable/package.json b/packages/components/Pressable/package.json index 95a6147ab83..736c61b8a38 100644 --- a/packages/components/Pressable/package.json +++ b/packages/components/Pressable/package.json @@ -40,7 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -84,8 +83,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/RadioGroup/babel.config.js b/packages/components/RadioGroup/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/RadioGroup/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/RadioGroup/jest.config.cjs b/packages/components/RadioGroup/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/RadioGroup/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/RadioGroup/jest.config.js b/packages/components/RadioGroup/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/components/RadioGroup/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/components/RadioGroup/package.json b/packages/components/RadioGroup/package.json index ccd72841291..26a153b1e56 100644 --- a/packages/components/RadioGroup/package.json +++ b/packages/components/RadioGroup/package.json @@ -49,9 +49,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -93,6 +91,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -105,9 +106,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Separator/babel.config.js b/packages/components/Separator/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Separator/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Separator/jest.config.cjs b/packages/components/Separator/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Separator/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Separator/jest.config.js b/packages/components/Separator/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/components/Separator/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/components/Separator/package.json b/packages/components/Separator/package.json index 33d5256f0f4..55671c93ef6 100644 --- a/packages/components/Separator/package.json +++ b/packages/components/Separator/package.json @@ -39,9 +39,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -80,6 +78,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -91,9 +92,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Stack/babel.config.js b/packages/components/Stack/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Stack/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Stack/jest.config.cjs b/packages/components/Stack/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Stack/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Stack/jest.config.js b/packages/components/Stack/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/components/Stack/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/components/Stack/package.json b/packages/components/Stack/package.json index 3d0c87b86ed..b53e15ad162 100644 --- a/packages/components/Stack/package.json +++ b/packages/components/Stack/package.json @@ -43,9 +43,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/text": "workspace:*", @@ -84,6 +82,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -95,9 +96,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Switch/babel.config.js b/packages/components/Switch/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Switch/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Switch/jest.config.cjs b/packages/components/Switch/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Switch/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Switch/jest.config.js b/packages/components/Switch/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/components/Switch/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/components/Switch/package.json b/packages/components/Switch/package.json index 58cc3785e3b..3b02531b8ca 100644 --- a/packages/components/Switch/package.json +++ b/packages/components/Switch/package.json @@ -43,9 +43,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -85,6 +83,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -96,9 +97,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/TabList/babel.config.js b/packages/components/TabList/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/TabList/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/TabList/jest.config.cjs b/packages/components/TabList/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/TabList/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/TabList/jest.config.js b/packages/components/TabList/jest.config.js deleted file mode 100644 index 012dd1d9c5b..00000000000 --- a/packages/components/TabList/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('ios'); diff --git a/packages/components/TabList/package.json b/packages/components/TabList/package.json index 37b381b5a76..9ed277d1622 100644 --- a/packages/components/TabList/package.json +++ b/packages/components/TabList/package.json @@ -45,9 +45,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -89,6 +87,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "ios" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -101,9 +102,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/components/Text/babel.config.js b/packages/components/Text/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/components/Text/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/components/Text/jest.config.cjs b/packages/components/Text/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/components/Text/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/components/Text/jest.config.js b/packages/components/Text/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/components/Text/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/components/Text/package.json b/packages/components/Text/package.json index 9f467505d33..c42adcc39d6 100644 --- a/packages/components/Text/package.json +++ b/packages/components/Text/package.json @@ -42,9 +42,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -83,6 +81,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -94,9 +95,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/configs/babel-config/README.md b/packages/configs/babel-config/README.md deleted file mode 100644 index 58af27fc715..00000000000 --- a/packages/configs/babel-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@fluentui-react-native/babel-config` - -Common babel configuration for the fluentui-react-native repository. diff --git a/packages/configs/babel-config/babel.config.js b/packages/configs/babel-config/babel.config.js deleted file mode 100644 index 6f267f69e0d..00000000000 --- a/packages/configs/babel-config/babel.config.js +++ /dev/null @@ -1,22 +0,0 @@ -module.exports = { - presets: [ - [ - '@babel/preset-env', - { - modules: 'auto', - targets: { node: 'current' }, - }, - ], - ['@babel/preset-react', { runtime: 'automatic' }], - ['@babel/preset-typescript', { allowSyntheticDefaultImports: true }], - ['module:@react-native/babel-preset', { runtime: 'automatic' }], - ], - overrides: [ - { - plugins: [ - [require('@babel/plugin-transform-react-jsx'), { runtime: 'automatic' }], - [require('@babel/plugin-transform-react-jsx-source')], - ], - }, - ], -}; diff --git a/packages/configs/babel-config/package.json b/packages/configs/babel-config/package.json deleted file mode 100644 index 0942d809e38..00000000000 --- a/packages/configs/babel-config/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@fluentui-react-native/babel-config", - "version": "0.1.1", - "private": true, - "description": "Babel configuration for Fluent UI React Native packages built for React Native 0.74", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/microsoft/fluentui-react-native", - "directory": "packages/configs/babel-config" - }, - "main": "./babel.config.js", - "exports": { - ".": "./babel.config.js", - "./babel.config.js": "./babel.config.js" - }, - "dependencies": { - "@babel/plugin-transform-react-jsx": "catalog:", - "@babel/plugin-transform-react-jsx-source": "catalog:", - "@babel/plugin-transform-typescript": "catalog:", - "@babel/preset-env": "catalog:", - "@babel/preset-react": "catalog:", - "@babel/preset-typescript": "catalog:" - }, - "devDependencies": { - "@babel/core": "catalog:", - "@babel/runtime": "catalog:", - "@react-native/babel-preset": "catalog:0.81", - "@rnx-kit/babel-preset-metro-react-native": "catalog:" - }, - "peerDependencies": { - "@babel/core": "*", - "@react-native/babel-preset": "*", - "@rnx-kit/babel-preset-metro-react-native": "*" - }, - "furn": { - "packageType": "tooling" - } -} diff --git a/packages/configs/jest-config/README.md b/packages/configs/jest-config/README.md deleted file mode 100644 index 58af27fc715..00000000000 --- a/packages/configs/jest-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@fluentui-react-native/babel-config` - -Common babel configuration for the fluentui-react-native repository. diff --git a/packages/configs/jest-config/package.json b/packages/configs/jest-config/package.json deleted file mode 100644 index 26def381c63..00000000000 --- a/packages/configs/jest-config/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@fluentui-react-native/jest-config", - "version": "0.1.0", - "private": true, - "description": "Jest configuration for UI Fabric React Native", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/microsoft/fluentui-react-native", - "directory": "packages/framework/jest-config" - }, - "type": "module", - "main": "./src/index.js", - "module": "./src/index.js", - "exports": { - ".": { - "import": "./src/index.js", - "require": "./src/index.js", - "default": "./src/index.js" - }, - "./package.json": "./package.json" - }, - "scripts": { - "build": "tsgo", - "build-core": "tsgo", - "depcheck": "fluentui-scripts depcheck", - "lint": "fluentui-scripts lint", - "lint-package": "fluentui-scripts lint-package" - }, - "dependencies": { - "@rnx-kit/jest-preset": "catalog:" - }, - "devDependencies": { - "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/scripts": "workspace:*", - "@react-native/babel-preset": "^0.81.0", - "@types/node": "catalog:", - "babel-jest": "^29.0.0", - "jest": "^29.2.1", - "jest-transform-stub": "^2.0.0", - "typescript": "^5.8.0" - }, - "furn": { - "packageType": "tooling" - }, - "rnx-kit": { - "extends": "@fluentui-react-native/kit-config", - "kitType": "library", - "alignDeps": { - "capabilities": [ - "tools-babel", - "tools-core" - ] - } - } -} diff --git a/packages/configs/jest-config/src/configureJest.js b/packages/configs/jest-config/src/configureJest.js deleted file mode 100644 index 2c3a7bd9973..00000000000 --- a/packages/configs/jest-config/src/configureJest.js +++ /dev/null @@ -1,92 +0,0 @@ -// @ts-check - -/** - * @typedef {import('jest').Config} JestConfig - */ - -/** - * Jest configuration for pure React packages (non-React Native). - * Uses babel-jest for TypeScript transpilation with the babel configuration - * from @fluentui-react-native/babel-config/babel.react.config.js - * - * @param {JestConfig} [customConfig] - Optional custom configuration to merge - * @returns {JestConfig} - The Jest configuration object - */ -export function configureJest(customConfig) { - /** @type {JestConfig} */ - const baseConfig = { - // File patterns - roots: ['/src'], - testMatch: ['**/__tests__/**/*.(ts|tsx|js|jsx)', '**/*.(test|spec).(ts|tsx|js|jsx)'], - - // Module file extensions - moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'], - - // Module name mapping for non-JS assets - moduleNameMapper: { - // Handle static assets - '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': 'jest-transform-stub', - }, - - // Transform configuration using babel-jest - transform: { - '^.+\\.(ts|tsx|js|jsx)$': [ - 'babel-jest', - { - configFile: '@fluentui-react-native/babel-config/babel.react.config.js', - }, - ], - }, - - // Files to ignore during transformation - // Allow ES modules in node_modules to be transformed - transformIgnorePatterns: ['node_modules/(?!(.*\\.mjs$))'], - - // Setup files (optional - packages can override this) - setupFilesAfterEnv: [], - - // Coverage configuration - collectCoverageFrom: [ - 'src/**/*.{ts,tsx,js,jsx}', - '!src/**/*.d.ts', - '!src/**/*.stories.{ts,tsx,js,jsx}', - '!src/**/index.{ts,tsx,js,jsx}', - '!src/setupTests.{ts,js}', - ], - - // Coverage thresholds (can be overridden) - coverageThreshold: undefined, - - // Output configuration - verbose: false, - silent: false, - - // Clear mocks between tests - clearMocks: true, - - // Restore mocks after each test - restoreMocks: true, - - // Handle ES modules properly with Yarn v4 PnP - extensionsToTreatAsEsm: ['.ts', '.tsx'], - - // Module resolution for Yarn v4 PnP - resolver: undefined, - - // Error handling - errorOnDeprecated: false, - - // Test timeout - testTimeout: 10000, - }; - - return { - ...baseConfig, - ...customConfig, - }; -} - -/** - * Default export for convenience - */ -export default configureJest; diff --git a/packages/configs/jest-config/src/configureReactNativeJest.js b/packages/configs/jest-config/src/configureReactNativeJest.js deleted file mode 100644 index 0e6102c7673..00000000000 --- a/packages/configs/jest-config/src/configureReactNativeJest.js +++ /dev/null @@ -1,36 +0,0 @@ -// @ts-check - -// @ts-expect-error no types available for jest-preset -import jestPreset from '@rnx-kit/jest-preset'; -import { ensurePlatform } from './platforms.js'; -import { isPnpmMode } from '@fluentui-react-native/scripts'; - -/** - * @typedef {import('jest').Config} JestConfig - */ - -/** - * - * @param {import('./platforms.js').PlatformValue} [platform] - * @param {JestConfig} [customConfig] - * @returns {JestConfig} - */ -export function configureReactNativeJest(platform, customConfig) { - const config = jestPreset(ensurePlatform(platform, 'ios'), { - roots: ['/src'], - verbose: false, - // React 19 requires this global to be set for act() to work properly - globals: { - IS_REACT_ACT_ENVIRONMENT: true, - }, - ...customConfig, - }); - if (isPnpmMode()) { - // In pnpm mode, we need to ensure that the transformIgnorePatterns - // are set correctly to avoid issues with hoisted packages. - config.transformIgnorePatterns = [ - '/node_modules/.store/(?!((jest-)?react-native(-macos)?|@react-native(-community)?|@office-iss-react-native-win32|@?react-native-windows))', - ]; - } - return config; -} diff --git a/packages/configs/jest-config/src/index.js b/packages/configs/jest-config/src/index.js deleted file mode 100644 index 379012529d2..00000000000 --- a/packages/configs/jest-config/src/index.js +++ /dev/null @@ -1,5 +0,0 @@ -// Export React Native Jest configurations -export { configureReactNativeJest } from './configureReactNativeJest.js'; - -// Export pure React Jest configuration -export { configureJest } from './configureJest.js'; diff --git a/packages/configs/jest-config/src/jest-mock.js b/packages/configs/jest-config/src/jest-mock.js deleted file mode 100644 index 26741d20f73..00000000000 --- a/packages/configs/jest-config/src/jest-mock.js +++ /dev/null @@ -1,101 +0,0 @@ -export const KeyCodes = { - backspace: 8, - tab: 9, - enter: 13, - shift: 16, - ctrl: 17, - alt: 18, - pauseBreak: 19, - capslock: 20, - escape: 27, - space: 32, - pageUp: 33, - pageDown: 34, - end: 35, - home: 36, - left: 37, - up: 38, - right: 39, - down: 40, - insert: 45, - del: 46, - zero: 48, - one: 49, - two: 50, - three: 51, - four: 52, - five: 53, - six: 54, - seven: 55, - eight: 56, - nine: 57, - a: 65, - b: 66, - c: 67, - d: 68, - e: 69, - f: 70, - g: 71, - h: 72, - i: 73, - j: 74, - k: 75, - l: 76, - m: 77, - n: 78, - o: 79, - p: 80, - q: 81, - r: 82, - s: 83, - t: 84, - u: 85, - v: 86, - w: 87, - x: 88, - y: 89, - z: 90, - leftWindow: 91, - rightWindow: 92, - select: 93, - zero_numpad: 96, - one_numpad: 97, - two_numpad: 98, - three_numpad: 99, - four_numpad: 100, - five_numpad: 101, - six_numpad: 102, - seven_numpad: 103, - eight_numpad: 104, - nine_numpad: 105, - multiply: 106, - add: 107, - subtract: 109, - decimalPoint: 110, - divide: 111, - f1: 112, - f2: 113, - f3: 114, - f4: 115, - f5: 116, - f6: 117, - f7: 118, - f8: 119, - f9: 120, - f10: 121, - f11: 122, - f12: 123, - numlock: 144, - scrollLock: 145, - semicolon: 186, - equalSign: 187, - comma: 188, - dash: 189, - period: 190, - forwardSlash: 191, - graveAccent: 192, - openBracket: 219, - backSlash: 220, - closeBracket: 221, - singleQuote: 222, -}; diff --git a/packages/configs/jest-config/src/platforms.js b/packages/configs/jest-config/src/platforms.js deleted file mode 100644 index dd8f33856d1..00000000000 --- a/packages/configs/jest-config/src/platforms.js +++ /dev/null @@ -1,59 +0,0 @@ -// @ts-check - -/** - * @typedef {'win32' | 'ios' | 'android' | 'windows' | 'macos' } AllPlatforms - * @typedef {'default' | AllPlatforms} PlatformValue - * @typedef {Record} RnVersions - */ - -const _defaultPlatform = 'default'; -const _defaultVersion = 'react-native'; - -/** @type {Record} */ -const _rnVersions = { - default: _defaultVersion, - android: _defaultVersion, - ios: _defaultVersion, - macos: 'react-native-macos', - win32: '@office-iss/react-native-win32', - windows: 'react-native-windows', -}; - -/** - * Find the platform from the command line arguments. - * @param {PlatformValue} [toSet] - Optional platform value to override the args. - * @returns {PlatformValue | undefined} - The found platform or undefined. - */ -export function findPlatformFromArgv(toSet) { - const platformValueIndex = process.argv.indexOf('--platform') + 1; - if (platformValueIndex > 0 && platformValueIndex < process.argv.length) { - if (toSet) { - process.argv[platformValueIndex] = toSet; - } - const platformArg = process.argv[platformValueIndex]; - if (platformArg && Object.prototype.hasOwnProperty.call(_rnVersions, platformArg)) { - const typedValue = /** @type {PlatformValue} */ (platformArg); - return typedValue; - } - } - return undefined; -} - -export function findPlatform() { - return findPlatformFromArgv() || _defaultPlatform; -} - -/** - * Ensure the platform is set from the command line arguments or defaults. - * @param {PlatformValue} [platform] - * @param {PlatformValue} [defaultOverride] - * @returns {PlatformValue} - */ -export function ensurePlatform(platform, defaultOverride) { - const found = findPlatformFromArgv(platform); - platform = found || platform; - if (platform && !found) { - process.argv.push('--platform', platform); - } - return platform || defaultOverride || _defaultPlatform; -} diff --git a/packages/configs/jest-config/tsconfig.json b/packages/configs/jest-config/tsconfig.json deleted file mode 100644 index eae9bb1e073..00000000000 --- a/packages/configs/jest-config/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "@fluentui-react-native/scripts/tsconfig-strict", - "compilerOptions": { - "noEmit": true - }, - "include": ["src"] -} diff --git a/packages/configs/kit-config/furn-preset.ts b/packages/configs/kit-config/furn-preset.ts index 7a2dc7eb73f..4a252f32648 100644 --- a/packages/configs/kit-config/furn-preset.ts +++ b/packages/configs/kit-config/furn-preset.ts @@ -20,13 +20,7 @@ type Capability = | 'core-macos-dev-only' | 'react-types' | 'react-test-renderer-types' - | 'babel-preset-react-native' - | 'babel-core' - | 'tools-babel' - | 'tools-jest' - | 'tools-jest-react' - | 'tools-core' - | 'tools-react-configs'; + | 'babel-preset-react-native'; /** Remove the hard Capability type from Package as we are adding custom capabilities */ type Package = Omit & { @@ -106,40 +100,6 @@ function formFurnPreset(rnPreset: VersionPreset, _version: number): VersionPrese version: presetWindows.version, capabilities: ['core'], }, - 'tools-babel': { - name: '@fluentui-react-native/babel-config', - version: `workspace:*`, - devOnly: true, - capabilities: ['babel-preset-react-native', 'babel-core'], - }, - 'tools-react-configs': { - name: '@fluentui-react-native/react-configs', - version: `workspace:*`, - devOnly: true, - capabilities: ['babel-core'], - }, - 'tools-core': { - name: '@fluentui-react-native/scripts', - version: 'workspace:*', - devOnly: true, - }, - 'tools-jest': { - name: '@fluentui-react-native/jest-config', - version: 'workspace:*', - devOnly: true, - capabilities: ['tools-core', 'tools-babel'], - }, - 'tools-jest-react': { - name: '@fluentui-react-native/react-configs', - version: 'workspace:*', - devOnly: true, - capabilities: ['tools-core', 'babel-core'], - }, - 'babel-core': { - name: '@babel/core', - version: 'catalog:', - devOnly: true, - }, }; // now add the dev capabilities and link to catalogs diff --git a/packages/configs/react-configs/README.md b/packages/configs/react-configs/README.md deleted file mode 100644 index 9e9676685e0..00000000000 --- a/packages/configs/react-configs/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# `@fluentui-react-native/react-configs` - -Common babel and jest configuration for pure react package in the fluentui-react-native repository. - -This is a separate package to avoid the peer requirements from the react-native versions. diff --git a/packages/configs/react-configs/babel.react.config.js b/packages/configs/react-configs/babel.react.config.js deleted file mode 100644 index 6dcf6634a9a..00000000000 --- a/packages/configs/react-configs/babel.react.config.js +++ /dev/null @@ -1,21 +0,0 @@ -module.exports = { - presets: [ - [ - '@babel/preset-env', - { - modules: 'auto', - targets: { node: 'current' }, - }, - ], - ['@babel/preset-react', { runtime: 'automatic' }], - ['@babel/preset-typescript', { allowSyntheticDefaultImports: true }], - ], - overrides: [ - { - plugins: [ - [require('@babel/plugin-transform-react-jsx'), { runtime: 'automatic' }], - [require('@babel/plugin-transform-react-jsx-source')], - ], - }, - ], -}; diff --git a/packages/configs/react-configs/package.json b/packages/configs/react-configs/package.json deleted file mode 100644 index f448f332329..00000000000 --- a/packages/configs/react-configs/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@fluentui-react-native/react-configs", - "version": "0.1.1", - "private": true, - "description": "Babel and Jest configurations for pure React testing", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/microsoft/fluentui-react-native", - "directory": "packages/configs/react-configs" - }, - "main": "./babel.react.config.js", - "exports": { - ".": "./babel.react.config.js", - "./babel.react.config.js": "./babel.react.config.js", - "./jest.config.js": "./jest.config.js" - }, - "dependencies": { - "@babel/core": "catalog:", - "@babel/plugin-transform-react-jsx": "catalog:", - "@babel/plugin-transform-react-jsx-source": "catalog:", - "@babel/plugin-transform-typescript": "catalog:", - "@babel/preset-env": "catalog:", - "@babel/preset-react": "catalog:", - "@babel/preset-typescript": "catalog:", - "@babel/runtime": "catalog:", - "babel-jest": "^29.0.0" - }, - "devDependencies": { - "@babel/core": "catalog:" - }, - "peerDependencies": { - "@babel/core": "*" - }, - "furn": { - "packageType": "tooling" - } -} diff --git a/packages/deprecated/foundation-composable/package.json b/packages/deprecated/foundation-composable/package.json index 82481cf1b69..3a5e7aa04d3 100644 --- a/packages/deprecated/foundation-composable/package.json +++ b/packages/deprecated/foundation-composable/package.json @@ -60,8 +60,7 @@ "kitType": "library", "alignDeps": { "capabilities": [ - "core", - "tools-core" + "core" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/deprecated/foundation-compose/package.json b/packages/deprecated/foundation-compose/package.json index 1aba956ce38..92f8f145677 100644 --- a/packages/deprecated/foundation-compose/package.json +++ b/packages/deprecated/foundation-compose/package.json @@ -93,8 +93,7 @@ "core", "core-macos", "core-win32", - "core-windows", - "tools-core" + "core-windows" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/deprecated/foundation-settings/babel.config.js b/packages/deprecated/foundation-settings/babel.config.js deleted file mode 100644 index 20d94cf2545..00000000000 --- a/packages/deprecated/foundation-settings/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/babel.react.config.js'); diff --git a/packages/deprecated/foundation-settings/jest.config.cjs b/packages/deprecated/foundation-settings/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/deprecated/foundation-settings/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/deprecated/foundation-settings/jest.config.js b/packages/deprecated/foundation-settings/jest.config.js deleted file mode 100644 index 2029e9d4b29..00000000000 --- a/packages/deprecated/foundation-settings/jest.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/jest.config.js'); diff --git a/packages/deprecated/foundation-settings/package.json b/packages/deprecated/foundation-settings/package.json index f00873ab43b..ea88539dfb8 100644 --- a/packages/deprecated/foundation-settings/package.json +++ b/packages/deprecated/foundation-settings/package.json @@ -41,7 +41,6 @@ "devDependencies": { "@babel/core": "catalog:", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/react-configs": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@types/jest": "^29.0.0", "@types/react": "~19.1.4", @@ -57,13 +56,14 @@ "optional": true } }, + "furn": { + "jestPlatform": "react" + }, "rnx-kit": { "kitType": "library", "alignDeps": { "capabilities": [ - "core-dev-only", - "tools-core", - "tools-jest-react" + "core-dev-only" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/deprecated/foundation-tokens/babel.config.js b/packages/deprecated/foundation-tokens/babel.config.js deleted file mode 100644 index 20d94cf2545..00000000000 --- a/packages/deprecated/foundation-tokens/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/babel.react.config.js'); diff --git a/packages/deprecated/foundation-tokens/jest.config.cjs b/packages/deprecated/foundation-tokens/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/deprecated/foundation-tokens/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/deprecated/foundation-tokens/jest.config.js b/packages/deprecated/foundation-tokens/jest.config.js deleted file mode 100644 index 2029e9d4b29..00000000000 --- a/packages/deprecated/foundation-tokens/jest.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/jest.config.js'); diff --git a/packages/deprecated/foundation-tokens/package.json b/packages/deprecated/foundation-tokens/package.json index 883014bbde1..271b9fb25bd 100644 --- a/packages/deprecated/foundation-tokens/package.json +++ b/packages/deprecated/foundation-tokens/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@babel/core": "catalog:", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/react-configs": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.81.0", "@react-native-community/cli": "^20.0.0", @@ -81,6 +80,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "react" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -91,9 +93,7 @@ "core-ios", "core-macos", "core-win32", - "core-windows", - "tools-core", - "tools-jest-react" + "core-windows" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/deprecated/theme-registry/babel.config.js b/packages/deprecated/theme-registry/babel.config.js deleted file mode 100644 index 20d94cf2545..00000000000 --- a/packages/deprecated/theme-registry/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/babel.react.config.js'); diff --git a/packages/deprecated/theme-registry/jest.config.cjs b/packages/deprecated/theme-registry/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/deprecated/theme-registry/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/deprecated/theme-registry/jest.config.js b/packages/deprecated/theme-registry/jest.config.js deleted file mode 100644 index 2029e9d4b29..00000000000 --- a/packages/deprecated/theme-registry/jest.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/jest.config.js'); diff --git a/packages/deprecated/theme-registry/package.json b/packages/deprecated/theme-registry/package.json index a76bd4660b0..ab08230915d 100644 --- a/packages/deprecated/theme-registry/package.json +++ b/packages/deprecated/theme-registry/package.json @@ -39,7 +39,6 @@ "@babel/core": "catalog:", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/react-configs": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native/babel-preset": "^0.74.0", "@react-native/metro-config": "^0.74.0", @@ -57,13 +56,14 @@ "optional": true } }, + "furn": { + "jestPlatform": "react" + }, "rnx-kit": { "kitType": "library", "alignDeps": { "capabilities": [ - "core-dev-only", - "tools-core", - "tools-jest-react" + "core-dev-only" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/deprecated/themed-settings/babel.config.js b/packages/deprecated/themed-settings/babel.config.js deleted file mode 100644 index 20d94cf2545..00000000000 --- a/packages/deprecated/themed-settings/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/babel.react.config.js'); diff --git a/packages/deprecated/themed-settings/jest.config.cjs b/packages/deprecated/themed-settings/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/deprecated/themed-settings/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/deprecated/themed-settings/jest.config.js b/packages/deprecated/themed-settings/jest.config.js deleted file mode 100644 index 2029e9d4b29..00000000000 --- a/packages/deprecated/themed-settings/jest.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/jest.config.js'); diff --git a/packages/deprecated/themed-settings/package.json b/packages/deprecated/themed-settings/package.json index ed632cbf7e0..9d5b2e95fd6 100644 --- a/packages/deprecated/themed-settings/package.json +++ b/packages/deprecated/themed-settings/package.json @@ -42,7 +42,6 @@ "devDependencies": { "@babel/core": "catalog:", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/react-configs": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native/babel-preset": "^0.81.0", "@types/jest": "^29.0.0", @@ -60,14 +59,15 @@ "optional": true } }, + "furn": { + "jestPlatform": "react" + }, "rnx-kit": { "kitType": "library", "alignDeps": { "capabilities": [ "babel-preset-react-native", - "core-dev-only", - "tools-core", - "tools-jest-react" + "core-dev-only" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/deprecated/theming-ramp/babel.config.js b/packages/deprecated/theming-ramp/babel.config.js deleted file mode 100644 index 20d94cf2545..00000000000 --- a/packages/deprecated/theming-ramp/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/babel.react.config.js'); diff --git a/packages/deprecated/theming-ramp/jest.config.cjs b/packages/deprecated/theming-ramp/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/deprecated/theming-ramp/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/deprecated/theming-ramp/jest.config.js b/packages/deprecated/theming-ramp/jest.config.js deleted file mode 100644 index 2029e9d4b29..00000000000 --- a/packages/deprecated/theming-ramp/jest.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/jest.config.js'); diff --git a/packages/deprecated/theming-ramp/package.json b/packages/deprecated/theming-ramp/package.json index 70627e4a965..c786a26aff0 100644 --- a/packages/deprecated/theming-ramp/package.json +++ b/packages/deprecated/theming-ramp/package.json @@ -43,7 +43,6 @@ "devDependencies": { "@babel/core": "catalog:", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/react-configs": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", "@types/jest": "^29.0.0", @@ -61,13 +60,14 @@ "optional": true } }, + "furn": { + "jestPlatform": "react" + }, "rnx-kit": { "kitType": "library", "alignDeps": { "capabilities": [ - "core-dev-only", - "tools-core", - "tools-jest-react" + "core-dev-only" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/deprecated/theming-react-native/package.json b/packages/deprecated/theming-react-native/package.json index 23943a0a164..f744a3ad5c4 100644 --- a/packages/deprecated/theming-react-native/package.json +++ b/packages/deprecated/theming-react-native/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -88,8 +87,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/ActivityIndicator/package.json b/packages/experimental/ActivityIndicator/package.json index 621f33567e4..7ace347a439 100644 --- a/packages/experimental/ActivityIndicator/package.json +++ b/packages/experimental/ActivityIndicator/package.json @@ -86,8 +86,7 @@ "core-macos", "core-windows", "react", - "svg", - "tools-core" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/AppearanceAdditions/babel.config.js b/packages/experimental/AppearanceAdditions/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/AppearanceAdditions/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/AppearanceAdditions/package.json b/packages/experimental/AppearanceAdditions/package.json index b8ffa4debb1..110abc2a509 100644 --- a/packages/experimental/AppearanceAdditions/package.json +++ b/packages/experimental/AppearanceAdditions/package.json @@ -39,7 +39,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -84,8 +83,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Avatar/babel.config.js b/packages/experimental/Avatar/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Avatar/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Avatar/package.json b/packages/experimental/Avatar/package.json index 280bd3e5c0a..391ff6697da 100644 --- a/packages/experimental/Avatar/package.json +++ b/packages/experimental/Avatar/package.json @@ -38,7 +38,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -86,8 +85,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Checkbox/babel.config.js b/packages/experimental/Checkbox/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Checkbox/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Checkbox/package.json b/packages/experimental/Checkbox/package.json index 24f7903e881..33c5ea7eb50 100644 --- a/packages/experimental/Checkbox/package.json +++ b/packages/experimental/Checkbox/package.json @@ -38,7 +38,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -88,8 +87,7 @@ "core-macos", "core-windows", "react", - "svg", - "tools-core" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Drawer/babel.config.js b/packages/experimental/Drawer/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Drawer/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Drawer/jest.config.cjs b/packages/experimental/Drawer/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/experimental/Drawer/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/experimental/Drawer/jest.config.js b/packages/experimental/Drawer/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/experimental/Drawer/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/experimental/Drawer/package.json b/packages/experimental/Drawer/package.json index ea9afcb3e8f..3a40c7539ec 100644 --- a/packages/experimental/Drawer/package.json +++ b/packages/experimental/Drawer/package.json @@ -40,9 +40,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -80,6 +78,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -91,9 +92,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Dropdown/babel.config.js b/packages/experimental/Dropdown/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Dropdown/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Dropdown/package.json b/packages/experimental/Dropdown/package.json index 08f04b64ca0..7d6f046501f 100644 --- a/packages/experimental/Dropdown/package.json +++ b/packages/experimental/Dropdown/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -93,8 +92,7 @@ "core-macos", "core-windows", "react", - "svg", - "tools-core" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Expander/babel.config.js b/packages/experimental/Expander/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Expander/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Expander/package.json b/packages/experimental/Expander/package.json index bb2b2024114..fb9b2524a92 100644 --- a/packages/experimental/Expander/package.json +++ b/packages/experimental/Expander/package.json @@ -40,7 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -85,8 +84,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/MenuButton/babel.config.js b/packages/experimental/MenuButton/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/MenuButton/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/MenuButton/jest.config.cjs b/packages/experimental/MenuButton/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/experimental/MenuButton/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/experimental/MenuButton/jest.config.js b/packages/experimental/MenuButton/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/experimental/MenuButton/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/experimental/MenuButton/package.json b/packages/experimental/MenuButton/package.json index 397f5bb8171..d3b34817fa6 100644 --- a/packages/experimental/MenuButton/package.json +++ b/packages/experimental/MenuButton/package.json @@ -40,9 +40,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -83,6 +81,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -95,9 +96,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/NativeDatePicker/babel.config.js b/packages/experimental/NativeDatePicker/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/NativeDatePicker/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/NativeDatePicker/package.json b/packages/experimental/NativeDatePicker/package.json index 982d899899b..e85ee2124cf 100644 --- a/packages/experimental/NativeDatePicker/package.json +++ b/packages/experimental/NativeDatePicker/package.json @@ -35,7 +35,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -63,8 +62,7 @@ "core", "core-android", "core-ios", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/NativeFontMetrics/babel.config.js b/packages/experimental/NativeFontMetrics/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/NativeFontMetrics/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/NativeFontMetrics/package.json b/packages/experimental/NativeFontMetrics/package.json index d2403a103f3..44f827826c4 100644 --- a/packages/experimental/NativeFontMetrics/package.json +++ b/packages/experimental/NativeFontMetrics/package.json @@ -38,7 +38,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -66,8 +65,7 @@ "capabilities": [ "core", "core-ios", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Overflow/babel.config.js b/packages/experimental/Overflow/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Overflow/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Overflow/jest.config.cjs b/packages/experimental/Overflow/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/experimental/Overflow/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/experimental/Overflow/jest.config.js b/packages/experimental/Overflow/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/experimental/Overflow/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/experimental/Overflow/package.json b/packages/experimental/Overflow/package.json index 134c1eb7147..90050b94429 100644 --- a/packages/experimental/Overflow/package.json +++ b/packages/experimental/Overflow/package.json @@ -38,9 +38,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/button": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/menu": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -79,6 +77,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -89,9 +90,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Popover/babel.config.js b/packages/experimental/Popover/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Popover/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Popover/package.json b/packages/experimental/Popover/package.json index a0418370cd7..a6acb269a1c 100644 --- a/packages/experimental/Popover/package.json +++ b/packages/experimental/Popover/package.json @@ -38,7 +38,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -83,8 +82,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Shadow/babel.config.js b/packages/experimental/Shadow/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Shadow/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Shadow/jest.config.cjs b/packages/experimental/Shadow/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/experimental/Shadow/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/experimental/Shadow/jest.config.js b/packages/experimental/Shadow/jest.config.js deleted file mode 100644 index 012dd1d9c5b..00000000000 --- a/packages/experimental/Shadow/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('ios'); diff --git a/packages/experimental/Shadow/package.json b/packages/experimental/Shadow/package.json index 1295592c425..41f264c2dfd 100644 --- a/packages/experimental/Shadow/package.json +++ b/packages/experimental/Shadow/package.json @@ -40,8 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -80,6 +78,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "ios" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -91,9 +92,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Shimmer/babel.config.js b/packages/experimental/Shimmer/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Shimmer/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Shimmer/jest.config.cjs b/packages/experimental/Shimmer/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/experimental/Shimmer/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/experimental/Shimmer/jest.config.js b/packages/experimental/Shimmer/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/experimental/Shimmer/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/experimental/Shimmer/package.json b/packages/experimental/Shimmer/package.json index 9570218f506..087d8ab6c00 100644 --- a/packages/experimental/Shimmer/package.json +++ b/packages/experimental/Shimmer/package.json @@ -41,9 +41,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -83,6 +81,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -94,9 +95,7 @@ "core-macos", "core-windows", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Spinner/babel.config.js b/packages/experimental/Spinner/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Spinner/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Spinner/package.json b/packages/experimental/Spinner/package.json index 6620bd90d7e..f519d2f1aea 100644 --- a/packages/experimental/Spinner/package.json +++ b/packages/experimental/Spinner/package.json @@ -40,7 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/framework-base": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", @@ -89,8 +88,7 @@ "core-macos", "core-windows", "react", - "svg", - "tools-core" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/Tooltip/babel.config.js b/packages/experimental/Tooltip/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/Tooltip/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/Tooltip/jest.config.cjs b/packages/experimental/Tooltip/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/experimental/Tooltip/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/experimental/Tooltip/jest.config.js b/packages/experimental/Tooltip/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/experimental/Tooltip/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/experimental/Tooltip/package.json b/packages/experimental/Tooltip/package.json index 1d06cefc220..716923f1ac2 100644 --- a/packages/experimental/Tooltip/package.json +++ b/packages/experimental/Tooltip/package.json @@ -38,9 +38,7 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/button": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -78,6 +76,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -88,9 +89,7 @@ "core-windows", "react", "react-test-renderer", - "svg", - "tools-core", - "tools-jest" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/experimental/VibrancyView/babel.config.js b/packages/experimental/VibrancyView/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/experimental/VibrancyView/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/experimental/VibrancyView/package.json b/packages/experimental/VibrancyView/package.json index bd1db7fd4a1..017ac37d30b 100644 --- a/packages/experimental/VibrancyView/package.json +++ b/packages/experimental/VibrancyView/package.json @@ -38,7 +38,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.81.0", @@ -84,8 +83,7 @@ "core-macos", "core-win32", "core-windows", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/framework-base/babel.config.js b/packages/framework-base/babel.config.js deleted file mode 100644 index 20d94cf2545..00000000000 --- a/packages/framework-base/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/babel.react.config.js'); diff --git a/packages/framework-base/jest.config.cjs b/packages/framework-base/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework-base/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework-base/jest.config.js b/packages/framework-base/jest.config.js deleted file mode 100644 index 2029e9d4b29..00000000000 --- a/packages/framework-base/jest.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/jest.config.js'); diff --git a/packages/framework-base/package.json b/packages/framework-base/package.json index f273b6564b0..0238c4934a6 100644 --- a/packages/framework-base/package.json +++ b/packages/framework-base/package.json @@ -44,7 +44,6 @@ "devDependencies": { "@babel/core": "catalog:", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/react-configs": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@types/jest": "^29.0.0", "@types/node": "catalog:", @@ -61,15 +60,16 @@ "optional": true } }, + "furn": { + "jestPlatform": "react" + }, "rnx-kit": { "extends": "@fluentui-react-native/kit-config", "kitType": "library", "alignDeps": { "capabilities": [ "core-dev-only", - "react", - "tools-core", - "tools-jest-react" + "react" ] } } diff --git a/packages/framework/composition/babel.config.js b/packages/framework/composition/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/framework/composition/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/framework/composition/jest.config.cjs b/packages/framework/composition/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework/composition/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework/composition/jest.config.js b/packages/framework/composition/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/framework/composition/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/framework/composition/package.json b/packages/framework/composition/package.json index 7e1c7d2d1ef..1b29956bc61 100644 --- a/packages/framework/composition/package.json +++ b/packages/framework/composition/package.json @@ -42,8 +42,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native/babel-preset": "^0.81.0", @@ -62,14 +60,15 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { "capabilities": [ "core-dev-only", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/framework/framework/babel.config.js b/packages/framework/framework/babel.config.js deleted file mode 100644 index 4f4b7171c4a..00000000000 --- a/packages/framework/framework/babel.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - presets: [['module:@react-native/babel-preset', { runtime: 'automatic' }]], - babelrcRoots: ['experiments/*'], -}; diff --git a/packages/framework/framework/jest.config.cjs b/packages/framework/framework/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework/framework/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework/framework/jest.config.js b/packages/framework/framework/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/framework/framework/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/framework/framework/package.json b/packages/framework/framework/package.json index ff5340a499e..30ca2406267 100644 --- a/packages/framework/framework/package.json +++ b/packages/framework/framework/package.json @@ -47,8 +47,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -87,6 +85,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -98,9 +99,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/framework/theme/babel.config.js b/packages/framework/theme/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/framework/theme/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/framework/theme/jest.config.cjs b/packages/framework/theme/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework/theme/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework/theme/jest.config.js b/packages/framework/theme/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/framework/theme/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/framework/theme/package.json b/packages/framework/theme/package.json index 97cea5b1a98..fa5636d1993 100644 --- a/packages/framework/theme/package.json +++ b/packages/framework/theme/package.json @@ -41,8 +41,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -65,6 +63,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -73,9 +74,7 @@ "core", "core-android", "core-ios", - "react", - "tools-core", - "tools-jest" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/framework/themed-stylesheet/babel.config.js b/packages/framework/themed-stylesheet/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/framework/themed-stylesheet/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/framework/themed-stylesheet/jest.config.cjs b/packages/framework/themed-stylesheet/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework/themed-stylesheet/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework/themed-stylesheet/jest.config.js b/packages/framework/themed-stylesheet/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/framework/themed-stylesheet/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/framework/themed-stylesheet/package.json b/packages/framework/themed-stylesheet/package.json index 4cfc8a4e76f..f32eaff1ca3 100644 --- a/packages/framework/themed-stylesheet/package.json +++ b/packages/framework/themed-stylesheet/package.json @@ -40,8 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -63,6 +61,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -70,9 +71,7 @@ "babel-preset-react-native", "core", "core-android", - "core-ios", - "tools-core", - "tools-jest" + "core-ios" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/framework/use-slot/babel.config.js b/packages/framework/use-slot/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/framework/use-slot/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/framework/use-slot/jest.config.cjs b/packages/framework/use-slot/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework/use-slot/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework/use-slot/jest.config.js b/packages/framework/use-slot/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/framework/use-slot/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/framework/use-slot/package.json b/packages/framework/use-slot/package.json index b438a90bfb7..93e006c222a 100644 --- a/packages/framework/use-slot/package.json +++ b/packages/framework/use-slot/package.json @@ -40,8 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -65,6 +63,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -73,9 +74,7 @@ "core-dev-only", "core-ios-dev-only", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/framework/use-slots/babel.config.js b/packages/framework/use-slots/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/framework/use-slots/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/framework/use-slots/jest.config.cjs b/packages/framework/use-slots/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework/use-slots/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework/use-slots/jest.config.js b/packages/framework/use-slots/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/framework/use-slots/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/framework/use-slots/package.json b/packages/framework/use-slots/package.json index 3b10ca224ca..cfb21f95a9b 100644 --- a/packages/framework/use-slots/package.json +++ b/packages/framework/use-slots/package.json @@ -41,8 +41,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -65,6 +63,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -73,9 +74,7 @@ "core-dev-only", "core-ios-dev-only", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/framework/use-styling/babel.config.js b/packages/framework/use-styling/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/framework/use-styling/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/framework/use-styling/jest.config.cjs b/packages/framework/use-styling/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework/use-styling/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework/use-styling/jest.config.js b/packages/framework/use-styling/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/framework/use-styling/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/framework/use-styling/package.json b/packages/framework/use-styling/package.json index be06a8c7524..3d36e25adf1 100644 --- a/packages/framework/use-styling/package.json +++ b/packages/framework/use-styling/package.json @@ -41,8 +41,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -66,6 +64,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -74,9 +75,7 @@ "core-dev-only", "core-ios-dev-only", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/framework/use-tokens/babel.config.js b/packages/framework/use-tokens/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/framework/use-tokens/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/framework/use-tokens/jest.config.cjs b/packages/framework/use-tokens/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/framework/use-tokens/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/framework/use-tokens/jest.config.js b/packages/framework/use-tokens/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/framework/use-tokens/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/framework/use-tokens/package.json b/packages/framework/use-tokens/package.json index 4e3bb971455..99dd6d73312 100644 --- a/packages/framework/use-tokens/package.json +++ b/packages/framework/use-tokens/package.json @@ -40,8 +40,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -65,6 +63,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -73,9 +74,7 @@ "core-dev-only", "core-ios-dev-only", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/libraries/core/babel.config.js b/packages/libraries/core/babel.config.js deleted file mode 100644 index 4f4b7171c4a..00000000000 --- a/packages/libraries/core/babel.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - presets: [['module:@react-native/babel-preset', { runtime: 'automatic' }]], - babelrcRoots: ['experiments/*'], -}; diff --git a/packages/libraries/core/package.json b/packages/libraries/core/package.json index 8d8d3829966..f635bc52025 100644 --- a/packages/libraries/core/package.json +++ b/packages/libraries/core/package.json @@ -54,7 +54,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -103,8 +102,7 @@ "core-macos", "core-windows", "react", - "svg", - "tools-core" + "svg" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/theming/android-theme/babel.config.js b/packages/theming/android-theme/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/theming/android-theme/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/theming/android-theme/jest.config.cjs b/packages/theming/android-theme/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/theming/android-theme/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/theming/android-theme/jest.config.js b/packages/theming/android-theme/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/theming/android-theme/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/theming/android-theme/package.json b/packages/theming/android-theme/package.json index bba068c7a83..02fb06b737d 100644 --- a/packages/theming/android-theme/package.json +++ b/packages/theming/android-theme/package.json @@ -44,8 +44,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -81,6 +79,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -91,9 +92,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core", - "tools-jest" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/theming/apple-theme/babel.config.js b/packages/theming/apple-theme/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/theming/apple-theme/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/theming/apple-theme/jest.config.cjs b/packages/theming/apple-theme/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/theming/apple-theme/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/theming/apple-theme/jest.config.js b/packages/theming/apple-theme/jest.config.js deleted file mode 100644 index e8751194f7d..00000000000 --- a/packages/theming/apple-theme/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('macos'); diff --git a/packages/theming/apple-theme/package.json b/packages/theming/apple-theme/package.json index e2b3341b3cd..21621c4b8b4 100644 --- a/packages/theming/apple-theme/package.json +++ b/packages/theming/apple-theme/package.json @@ -49,8 +49,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -86,6 +84,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "macos" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -96,9 +97,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core", - "tools-jest" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/theming/default-theme/babel.config.js b/packages/theming/default-theme/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/theming/default-theme/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/theming/default-theme/jest.config.cjs b/packages/theming/default-theme/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/theming/default-theme/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/theming/default-theme/jest.config.js b/packages/theming/default-theme/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/theming/default-theme/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/theming/default-theme/package.json b/packages/theming/default-theme/package.json index 0bac0ab99af..546384694b9 100644 --- a/packages/theming/default-theme/package.json +++ b/packages/theming/default-theme/package.json @@ -45,8 +45,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -83,6 +81,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -93,9 +94,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core", - "tools-jest" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/theming/theme-tokens/babel.config.js b/packages/theming/theme-tokens/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/theming/theme-tokens/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/theming/theme-tokens/package.json b/packages/theming/theme-tokens/package.json index 63518c48464..ddb8b40e287 100644 --- a/packages/theming/theme-tokens/package.json +++ b/packages/theming/theme-tokens/package.json @@ -45,7 +45,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -73,8 +72,7 @@ "core", "core-android", "core-ios", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/theming/theme-types/babel.config.js b/packages/theming/theme-types/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/theming/theme-types/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/theming/theme-types/package.json b/packages/theming/theme-types/package.json index d0402c09019..bb51b79183a 100644 --- a/packages/theming/theme-types/package.json +++ b/packages/theming/theme-types/package.json @@ -37,7 +37,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -65,8 +64,7 @@ "core", "core-android", "core-ios", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/theming/theming-utils/babel.config.js b/packages/theming/theming-utils/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/theming/theming-utils/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/theming/theming-utils/jest.config.cjs b/packages/theming/theming-utils/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/theming/theming-utils/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/theming/theming-utils/jest.config.js b/packages/theming/theming-utils/jest.config.js deleted file mode 100644 index ae7531f1cb7..00000000000 --- a/packages/theming/theming-utils/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('windows'); diff --git a/packages/theming/theming-utils/package.json b/packages/theming/theming-utils/package.json index 9ad6e505b06..9528a518324 100644 --- a/packages/theming/theming-utils/package.json +++ b/packages/theming/theming-utils/package.json @@ -38,10 +38,8 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/design-tokens-win32": "^0.53.0", "@fluentui-react-native/design-tokens-windows": "^0.53.0", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -77,6 +75,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "windows" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -87,9 +88,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core", - "tools-jest" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/theming/win32-theme/babel.config.js b/packages/theming/win32-theme/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/theming/win32-theme/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/theming/win32-theme/jest.config.cjs b/packages/theming/win32-theme/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/theming/win32-theme/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/theming/win32-theme/jest.config.js b/packages/theming/win32-theme/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/theming/win32-theme/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/theming/win32-theme/package.json b/packages/theming/win32-theme/package.json index b1bd3393097..6eaa7046544 100644 --- a/packages/theming/win32-theme/package.json +++ b/packages/theming/win32-theme/package.json @@ -46,8 +46,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.74.0", @@ -84,6 +82,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -94,9 +95,7 @@ "core-ios", "core-macos", "core-windows", - "react", - "tools-core", - "tools-jest" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/utils/adapters/babel.config.js b/packages/utils/adapters/babel.config.js deleted file mode 100644 index 20d94cf2545..00000000000 --- a/packages/utils/adapters/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/react-configs/babel.react.config.js'); diff --git a/packages/utils/adapters/package.json b/packages/utils/adapters/package.json index 1b14115c7b2..a4f17096082 100644 --- a/packages/utils/adapters/package.json +++ b/packages/utils/adapters/package.json @@ -35,7 +35,6 @@ "devDependencies": { "@babel/core": "catalog:", "@fluentui-react-native/kit-config": "workspace:*", - "@fluentui-react-native/react-configs": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@office-iss/react-native-win32": "^0.81.0", "@react-native-community/cli": "^20.0.0", @@ -79,8 +78,7 @@ "core-ios", "core-macos", "core-win32", - "core-windows", - "tools-core" + "core-windows" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/utils/interactive-hooks/babel.config.js b/packages/utils/interactive-hooks/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/utils/interactive-hooks/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/utils/interactive-hooks/jest.config.cjs b/packages/utils/interactive-hooks/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/utils/interactive-hooks/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/utils/interactive-hooks/jest.config.js b/packages/utils/interactive-hooks/jest.config.js deleted file mode 100644 index e35d4a0faae..00000000000 --- a/packages/utils/interactive-hooks/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('win32'); diff --git a/packages/utils/interactive-hooks/package.json b/packages/utils/interactive-hooks/package.json index 7eb47b62b2b..6a8faa320e7 100644 --- a/packages/utils/interactive-hooks/package.json +++ b/packages/utils/interactive-hooks/package.json @@ -38,8 +38,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/test-tools": "workspace:*", @@ -81,6 +79,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "win32" + }, "rnx-kit": { "kitType": "library", "alignDeps": { @@ -92,9 +93,7 @@ "core-macos", "core-windows", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/utils/styling/babel.config.js b/packages/utils/styling/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/utils/styling/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/utils/styling/package.json b/packages/utils/styling/package.json index 4ade2710ff5..afb9a07ab8f 100644 --- a/packages/utils/styling/package.json +++ b/packages/utils/styling/package.json @@ -34,7 +34,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -62,8 +61,7 @@ "core", "core-android", "core-ios", - "react", - "tools-core" + "react" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/packages/utils/test-tools/babel.config.js b/packages/utils/test-tools/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/utils/test-tools/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/utils/test-tools/jest.config.cjs b/packages/utils/test-tools/jest.config.cjs new file mode 100644 index 00000000000..b391f5b6623 --- /dev/null +++ b/packages/utils/test-tools/jest.config.cjs @@ -0,0 +1 @@ +module.exports = require('@fluentui-react-native/scripts/jest-config'); diff --git a/packages/utils/test-tools/jest.config.js b/packages/utils/test-tools/jest.config.js deleted file mode 100644 index 92f4643e49a..00000000000 --- a/packages/utils/test-tools/jest.config.js +++ /dev/null @@ -1,2 +0,0 @@ -const { configureReactNativeJest } = require('@fluentui-react-native/jest-config'); -module.exports = configureReactNativeJest('android'); diff --git a/packages/utils/test-tools/package.json b/packages/utils/test-tools/package.json index a8ebb3ffc78..40a75e1c07b 100644 --- a/packages/utils/test-tools/package.json +++ b/packages/utils/test-tools/package.json @@ -34,8 +34,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", - "@fluentui-react-native/jest-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@fluentui-react-native/theme-types": "workspace:*", @@ -57,6 +55,9 @@ "optional": true } }, + "furn": { + "jestPlatform": "android" + }, "rnx-kit": { "kitType": "library", "extends": "@fluentui-react-native/kit-config", @@ -64,9 +65,7 @@ "capabilities": [ "core", "react", - "react-test-renderer", - "tools-core", - "tools-jest" + "react-test-renderer" ] } } diff --git a/packages/utils/tokens/babel.config.js b/packages/utils/tokens/babel.config.js deleted file mode 100644 index aa7d482ebf2..00000000000 --- a/packages/utils/tokens/babel.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@fluentui-react-native/babel-config'); diff --git a/packages/utils/tokens/package.json b/packages/utils/tokens/package.json index ffff37b8204..fad2c59d90a 100644 --- a/packages/utils/tokens/package.json +++ b/packages/utils/tokens/package.json @@ -38,7 +38,6 @@ }, "devDependencies": { "@babel/core": "catalog:", - "@fluentui-react-native/babel-config": "workspace:*", "@fluentui-react-native/kit-config": "workspace:*", "@fluentui-react-native/scripts": "workspace:*", "@react-native-community/cli": "^20.0.0", @@ -81,8 +80,7 @@ "core-android", "core-ios", "core-macos", - "core-windows", - "tools-core" + "core-windows" ] }, "extends": "@fluentui-react-native/kit-config" diff --git a/scripts/configs/jest/babel.config.cjs b/scripts/configs/jest/babel.config.cjs new file mode 100644 index 00000000000..9974e8e31d2 --- /dev/null +++ b/scripts/configs/jest/babel.config.cjs @@ -0,0 +1,4 @@ +module.exports = { + // @ts-expect-error - No types, which is fine since this is only used by Metro, which doesn't use types + presets: [[require('@rnx-kit/babel-preset-metro-react-native'), { runtime: 'automatic' }]], +}; diff --git a/scripts/configs/jest/babel.react.config.cjs b/scripts/configs/jest/babel.react.config.cjs new file mode 100644 index 00000000000..059c4135fa9 --- /dev/null +++ b/scripts/configs/jest/babel.react.config.cjs @@ -0,0 +1,7 @@ +module.exports = { + presets: [ + ['@babel/preset-env', { targets: { node: 'current' } }], + ['@babel/preset-react', { runtime: 'automatic' }], + ['@babel/preset-typescript', { allowSyntheticDefaultImports: true }], + ], +}; diff --git a/scripts/configs/jest/jest.config.cjs b/scripts/configs/jest/jest.config.cjs new file mode 100644 index 00000000000..0cc0644743c --- /dev/null +++ b/scripts/configs/jest/jest.config.cjs @@ -0,0 +1,59 @@ +const fs = require('fs'); +const path = require('path'); + +const projectManifestPath = path.resolve(process.cwd(), 'package.json'); +const foundProject = fs.existsSync(projectManifestPath); +const projectManifest = foundProject ? require(projectManifestPath) : null; +const platform = projectManifest?.furn?.jestPlatform ?? 'ios'; + +const rnPlatforms = ['ios', 'android', 'windows', 'macos', 'win32']; + +/** + * @typedef {import('jest').Config} JestConfig + */ + +/** + * @param {string | undefined} value + * @returns {string} + */ +function asPlatformValue(value) { + if (value && rnPlatforms.includes(value)) { + return value; + } + return 'ios'; +} + +/** + * + * @param {string} [platform] + * @returns {Record} + */ +function configureReactNativeJest(platform) { + // @ts-expect-error no types available for jest-preset + const jestPreset = require('@rnx-kit/jest-preset'); + const config = jestPreset(asPlatformValue(platform), { + roots: ['/src'], + verbose: false, + // React 19 requires this global to be set for act() to work properly + globals: { + IS_REACT_ACT_ENVIRONMENT: true, + }, + }); + // In pnpm mode, we need to ensure that the transformIgnorePatterns + // are set correctly to avoid issues with hoisted packages. + config.transformIgnorePatterns = [ + '/node_modules/.store/(?!((jest-)?react-native(-macos)?|@react-native(-community)?|@office-iss-react-native-win32|@?react-native-windows))', + ]; + // Transform configuration using babel-jest, pointing to our babel config + config.transform = { + '^.+\\.(ts|tsx|js|jsx)$': [ + 'babel-jest', + { + configFile: require.resolve('./babel.config.cjs'), + }, + ], + }; + return config; +} + +module.exports = platform === 'react' ? require('./jest.react.config.cjs') : configureReactNativeJest(platform); diff --git a/packages/configs/react-configs/jest.config.js b/scripts/configs/jest/jest.react.config.cjs similarity index 95% rename from packages/configs/react-configs/jest.config.js rename to scripts/configs/jest/jest.react.config.cjs index 6d72ea279bc..00628f1421c 100644 --- a/packages/configs/react-configs/jest.config.js +++ b/scripts/configs/jest/jest.react.config.cjs @@ -17,7 +17,7 @@ module.exports = { '^.+\\.(ts|tsx|js|jsx)$': [ 'babel-jest', { - configFile: '@fluentui-react-native/react-configs/babel.react.config.js', + configFile: require.resolve('./babel.react.config.cjs'), }, ], }, diff --git a/scripts/dynamic.extensions.mjs b/scripts/dynamic.extensions.mjs index 7223e09006b..f1635d5cbaa 100644 --- a/scripts/dynamic.extensions.mjs +++ b/scripts/dynamic.extensions.mjs @@ -2,7 +2,7 @@ import fs from 'node:fs'; import path from 'node:path'; -import { getToolVersion } from './src/preinstall/tool-versions.js'; +import { getToolVersion, hasJestConfig } from './src/preinstall/tool-versions.js'; /** * @typedef {() => boolean} ConditionalCheck @@ -50,7 +50,7 @@ function addOxfmt(manifest) { * @returns {boolean} - True if Jest should be added, false otherwise. */ function addJest(cwd, manifest) { - return Boolean(manifest.scripts?.test && fs.existsSync(path.join(cwd, 'jest.config.js'))); + return Boolean(manifest.scripts?.test && hasJestConfig(cwd)); } /** diff --git a/scripts/package.json b/scripts/package.json index 6c573b8d8ae..5f939174fce 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -18,6 +18,8 @@ "require": "./src/index.js", "default": "./src/index.js" }, + "./babel-config": "./configs/jest/babel.config.cjs", + "./jest-config": "./configs/jest/jest.config.cjs", "./lint-config": "./configs/oxlint/oxlint.config.ts", "./package.json": "./package.json", "./tsconfig": "./configs/tsconfig/tsconfig.json", @@ -33,12 +35,33 @@ "lint-package": "node ./src/cli.mjs lint-package" }, "dependencies": { + "@babel/core": "catalog:", + "@babel/plugin-transform-react-jsx": "catalog:", + "@babel/plugin-transform-react-jsx-source": "catalog:", + "@babel/plugin-transform-typescript": "catalog:", + "@babel/preset-env": "catalog:", + "@babel/preset-react": "catalog:", + "@babel/preset-typescript": "catalog:", + "@babel/runtime": "catalog:", + "@microsoft/eslint-plugin-sdl": "^1.1.0", + "@rnx-kit/align-deps": "catalog:", + "@rnx-kit/babel-preset-metro-react-native": "catalog:", + "@rnx-kit/config": "catalog:", + "@rnx-kit/eslint-plugin": "catalog:", + "@rnx-kit/jest-preset": "catalog:", "@rnx-kit/oxlint-config": "^1.0.3", + "@rnx-kit/tsconfig": "catalog:", + "@rnx-kit/types-kit-config": "catalog:", + "babel-jest": "^29.0.0", "oxlint": "^1.57.0" }, "devDependencies": { + "@babel/core": "catalog:", + "@babel/runtime": "catalog:", "@fluentui-react-native/kit-config": "workspace:*", + "@fluentui-react-native/scripts": "workspace:*", "@rnx-kit/align-deps": "catalog:", + "@rnx-kit/babel-preset-metro-react-native": "catalog:", "@rnx-kit/config": "catalog:", "@rnx-kit/jest-preset": "catalog:", "@rnx-kit/lint-json": "^0.1.0", @@ -56,6 +79,7 @@ "depcheck": "^1.0.0", "find-up": "^5.0.0", "jest": "^29.2.1", + "jest-transform-stub": "^2.0.0", "knip": "catalog:", "lage": "catalog:", "micromatch": "^4.0.8", @@ -74,6 +98,19 @@ } ], "furn": { - "packageType": "tooling" + "packageType": "tooling", + "depcheck": { + "ignoreMatches": [ + "@babel/plugin-transform-react-jsx", + "@babel/plugin-transform-react-jsx-source", + "@babel/preset-env", + "@babel/preset-react", + "@babel/preset-typescript", + "@microsoft/eslint-plugin-sdl", + "@rnx-kit/align-deps", + "@rnx-kit/config", + "@rnx-kit/eslint-plugin" + ] + } } } diff --git a/scripts/src/preinstall/tool-versions.js b/scripts/src/preinstall/tool-versions.js index e93017b81bf..f3cdedec8d3 100644 --- a/scripts/src/preinstall/tool-versions.js +++ b/scripts/src/preinstall/tool-versions.js @@ -60,8 +60,6 @@ const devToolVersions = { /** @type {Record} */ const workspaceToolVersions = { - '@fluentui-react-native/babel-config': 'workspace:*', - '@fluentui-react-native/jest-config': 'workspace:*', '@fluentui-react-native/scripts': 'workspace:*', }; @@ -73,3 +71,18 @@ const workspaceToolVersions = { export function getToolVersion(packageName) { return devToolVersions[packageName] ?? workspaceToolVersions[packageName] ?? null; } + +const CONFIG_EXTENSIONS = ['.js', '.cjs', '.mjs', '.ts', '.cts', '.mts']; + +/** + * @param {string} cwd - The current working directory. + * @returns {boolean} - True if a Jest config file exists in the cwd, false otherwise. + */ +export function hasJestConfig(cwd) { + for (const ext of CONFIG_EXTENSIONS) { + if (fs.existsSync(path.join(cwd, `jest.config${ext}`))) { + return true; + } + } + return false; +} diff --git a/scripts/src/tasks/jest.js b/scripts/src/tasks/jest.js index 640d4269349..97c8d33c43c 100644 --- a/scripts/src/tasks/jest.js +++ b/scripts/src/tasks/jest.js @@ -1,8 +1,7 @@ // @ts-check import { Command, Option } from 'clipanion'; import { runScript } from '../utils/runScript.js'; -import fs from 'node:fs'; -import path from 'node:path'; +import { hasJestConfig } from '../preinstall/tool-versions.js'; export class JestCommand extends Command { /** @override */ @@ -18,7 +17,7 @@ export class JestCommand extends Command { args = Option.Proxy(); async execute() { - if (!fs.existsSync(path.join(process.cwd(), './jest.config.js'))) { + if (!hasJestConfig(process.cwd())) { console.warn('No jest configuration found, skipping jest.'); return; } diff --git a/scripts/src/tasks/lintPackage.ts b/scripts/src/tasks/lintPackage.ts index cd377a62f7b..36880e06c07 100644 --- a/scripts/src/tasks/lintPackage.ts +++ b/scripts/src/tasks/lintPackage.ts @@ -31,7 +31,6 @@ export class LintPackageCommand extends Command { private changed = false; private issues = 0; private isScripts = false; - private isLibrary = false; private projRoot: ProjectRoot = getProjectRoot(process.cwd()); private result = 0; private removedDevDeps: string[] = []; @@ -44,7 +43,6 @@ export class LintPackageCommand extends Command { this.fix = isFixMode(this.fix); const manifest = this.projRoot.manifest; this.isScripts = manifest.name === '@fluentui-react-native/scripts'; - this.isLibrary = !(manifest['rnx-kit']?.kitType === 'app') && manifest.furn?.packageType !== 'tooling'; const runningOps: Promise[] = []; @@ -67,7 +65,6 @@ export class LintPackageCommand extends Command { this.checkPrivateVersion(); this.checkManifest(); - this.checkUsage(); this.checkScripts(); this.checkEntryPoints(buildConfig); this.checkBuildConfig(buildConfig); @@ -144,25 +141,6 @@ export class LintPackageCommand extends Command { }); } - private checkUsage() { - const rootDir = this.projRoot.root; - if (this.isLibrary) { - this.ensuredCapabilities.push('tools-core'); - const hasJestConfig = fs.existsSync(path.join(rootDir, 'jest.config.js')) || fs.existsSync(path.join(rootDir, 'jest.config.ts')); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const hasReactJest = this.projRoot.manifest['rnx-kit']?.alignDeps?.capabilities?.includes('tools-jest-react' as any); - if (!hasReactJest) { - if (hasJestConfig) { - this.ensuredCapabilities.push('tools-jest'); - this.addedDevDeps['@fluentui-react-native/jest-config'] = 'workspace:*'; - } else { - this.removedCapabilities.push('tools-jest', 'babel-preset-react-native', 'tools-babel'); - this.removedDevDeps.push('@fluentui-react-native/jest-config', '@types/jest', 'jest', 'ts-jest'); - } - } - } - } - private checkDependencies() { const manifest = this.projRoot.manifest; if (manifest['rnx-kit']?.kitType === 'app') { diff --git a/scripts/src/utils/projectRoot.ts b/scripts/src/utils/projectRoot.ts index 2519a2fbe1e..f94e1c39830 100644 --- a/scripts/src/utils/projectRoot.ts +++ b/scripts/src/utils/projectRoot.ts @@ -16,9 +16,11 @@ export type ExportEntry = string | ExportSet; export type Exports = Record; export type PackageType = 'library' | 'component' | 'app' | 'tooling'; +export type PlatformTarget = 'react' | 'win32' | 'macos' | 'ios' | 'android' | 'windows'; export type ResolvedBuildConfig = { packageType: PackageType; + jestPlatform?: PlatformTarget; typescript: { /** whether to use tsc or tsgo to build this package */ engine: 'tsc' | 'tsgo'; diff --git a/yarn.lock b/yarn.lock index 1f958b3d5c1..d58e8f824e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -316,20 +316,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.20.0, @babel/generator@npm:^7.25.0, @babel/generator@npm:^7.28.6, @babel/generator@npm:^7.7.2": - version: 7.28.6 - resolution: "@babel/generator@npm:7.28.6" - dependencies: - "@babel/parser": "npm:^7.28.6" - "@babel/types": "npm:^7.28.6" - "@jridgewell/gen-mapping": "npm:^0.3.12" - "@jridgewell/trace-mapping": "npm:^0.3.28" - jsesc: "npm:^3.0.2" - checksum: 10c0/162fa358484a9a18e8da1235d998f10ea77c63bab408c8d3e327d5833f120631a77ff022c5ed1d838ee00523f8bb75df1f08196d3657d0bca9f2cfeb8503cc12 - languageName: node - linkType: hard - -"@babel/generator@npm:^7.29.0, @babel/generator@npm:^7.29.1": +"@babel/generator@npm:^7.20.0, @babel/generator@npm:^7.25.0, @babel/generator@npm:^7.28.6, @babel/generator@npm:^7.29.0, @babel/generator@npm:^7.29.1, @babel/generator@npm:^7.7.2": version: 7.29.1 resolution: "@babel/generator@npm:7.29.1" dependencies: @@ -552,18 +539,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.3, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.28.6": - version: 7.28.6 - resolution: "@babel/parser@npm:7.28.6" - dependencies: - "@babel/types": "npm:^7.28.6" - bin: - parser: ./bin/babel-parser.js - checksum: 10c0/d6bfe8aa8e067ef58909e9905496157312372ca65d8d2a4f2b40afbea48d59250163755bba8ae626a615da53d192b084bcfc8c9dad8b01e315b96967600de581 - languageName: node - linkType: hard - -"@babel/parser@npm:^7.29.0": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.3, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.7, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.28.6, @babel/parser@npm:^7.29.0": version: 7.29.2 resolution: "@babel/parser@npm:7.29.2" dependencies: @@ -1886,7 +1862,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse--for-generate-function-map@npm:@babel/traverse@^7.25.3, @babel/traverse@npm:^7.16.0, @babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.27.1, @babel/traverse@npm:^7.28.5, @babel/traverse@npm:^7.28.6": +"@babel/traverse--for-generate-function-map@npm:@babel/traverse@^7.25.3": version: 7.28.6 resolution: "@babel/traverse@npm:7.28.6" dependencies: @@ -1901,7 +1877,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.29.0": +"@babel/traverse@npm:^7.16.0, @babel/traverse@npm:^7.20.0, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.27.1, @babel/traverse@npm:^7.28.5, @babel/traverse@npm:^7.28.6, @babel/traverse@npm:^7.29.0": version: 7.29.0 resolution: "@babel/traverse@npm:7.29.0" dependencies: @@ -1916,17 +1892,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.2, @babel/types@npm:^7.27.1, @babel/types@npm:^7.27.3, @babel/types@npm:^7.28.5, @babel/types@npm:^7.28.6, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": - version: 7.28.6 - resolution: "@babel/types@npm:7.28.6" - dependencies: - "@babel/helper-string-parser": "npm:^7.27.1" - "@babel/helper-validator-identifier": "npm:^7.28.5" - checksum: 10c0/54a6a9813e48ef6f35aa73c03b3c1572cad7fa32b61b35dd07e4230bc77b559194519c8a4d8106a041a27cc7a94052579e238a30a32d5509aa4da4d6fd83d990 - languageName: node - linkType: hard - -"@babel/types@npm:^7.29.0": +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.2, @babel/types@npm:^7.27.1, @babel/types@npm:^7.27.3, @babel/types@npm:^7.28.5, @babel/types@npm:^7.28.6, @babel/types@npm:^7.29.0, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": version: 7.29.0 resolution: "@babel/types@npm:7.29.0" dependencies: @@ -2640,7 +2606,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/react-configs": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@office-iss/react-native-win32": "npm:^0.81.0" "@react-native-community/cli": "npm:^20.0.0" @@ -2676,9 +2641,7 @@ __metadata: resolution: "@fluentui-react-native/android-theme@workspace:packages/theming/android-theme" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme": "workspace:*" @@ -2719,13 +2682,11 @@ __metadata: resolution: "@fluentui-react-native/apple-theme@workspace:packages/theming/apple-theme" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/default-theme": "workspace:*" "@fluentui-react-native/design-tokens-ios": "npm:^0.53.0" "@fluentui-react-native/design-tokens-macos": "npm:^0.53.0" "@fluentui-react-native/experimental-appearance-additions": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme": "workspace:*" @@ -2768,12 +2729,10 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/badge": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme-tokens": "workspace:*" @@ -2815,39 +2774,16 @@ __metadata: languageName: unknown linkType: soft -"@fluentui-react-native/babel-config@workspace:*, @fluentui-react-native/babel-config@workspace:packages/configs/babel-config": - version: 0.0.0-use.local - resolution: "@fluentui-react-native/babel-config@workspace:packages/configs/babel-config" - dependencies: - "@babel/core": "catalog:" - "@babel/plugin-transform-react-jsx": "catalog:" - "@babel/plugin-transform-react-jsx-source": "catalog:" - "@babel/plugin-transform-typescript": "catalog:" - "@babel/preset-env": "catalog:" - "@babel/preset-react": "catalog:" - "@babel/preset-typescript": "catalog:" - "@babel/runtime": "catalog:" - "@react-native/babel-preset": "catalog:0.81" - "@rnx-kit/babel-preset-metro-react-native": "catalog:" - peerDependencies: - "@babel/core": "*" - "@react-native/babel-preset": "*" - "@rnx-kit/babel-preset-metro-react-native": "*" - languageName: unknown - linkType: soft - "@fluentui-react-native/badge@workspace:*, @fluentui-react-native/badge@workspace:packages/components/Badge": version: 0.0.0-use.local resolution: "@fluentui-react-native/badge@workspace:packages/components/Badge" dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/experimental-shadow": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -2897,14 +2833,12 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/experimental-activity-indicator": "workspace:*" "@fluentui-react-native/experimental-shadow": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/pressable": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -2959,8 +2893,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/tokens": "workspace:*" @@ -3005,11 +2937,9 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/pressable": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -3063,12 +2993,10 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -3117,7 +3045,6 @@ __metadata: "@babel/core": "catalog:" "@babel/preset-env": "catalog:" "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/react-configs": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" "@types/jscodeshift": "npm:^0.11.11" @@ -3134,9 +3061,7 @@ __metadata: resolution: "@fluentui-react-native/composition@workspace:packages/framework/composition" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/use-slots": "workspace:*" @@ -3162,13 +3087,11 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/callout": "workspace:*" "@fluentui-react-native/focus-zone": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/pressable": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -3219,9 +3142,7 @@ __metadata: resolution: "@fluentui-react-native/default-theme@workspace:packages/theming/default-theme" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme": "workspace:*" @@ -3529,11 +3450,9 @@ __metadata: resolution: "@fluentui-react-native/divider@workspace:packages/components/Divider" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -3579,11 +3498,9 @@ __metadata: resolution: "@fluentui-react-native/drawer@workspace:packages/experimental/Drawer" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme-tokens": "workspace:*" @@ -3625,7 +3542,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/callout": "workspace:*" "@fluentui-react-native/framework": "workspace:*" @@ -3772,7 +3688,6 @@ __metadata: resolution: "@fluentui-react-native/experimental-appearance-additions@workspace:packages/experimental/AppearanceAdditions" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -3811,7 +3726,6 @@ __metadata: resolution: "@fluentui-react-native/experimental-avatar@workspace:packages/experimental/Avatar" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" @@ -3851,7 +3765,6 @@ __metadata: resolution: "@fluentui-react-native/experimental-checkbox@workspace:packages/experimental/Checkbox" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/checkbox": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" @@ -3894,7 +3807,6 @@ __metadata: resolution: "@fluentui-react-native/experimental-expander@workspace:packages/experimental/Expander" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" @@ -3932,12 +3844,10 @@ __metadata: resolution: "@fluentui-react-native/experimental-menu-button@workspace:packages/experimental/MenuButton" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/contextual-menu": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/tokens": "workspace:*" @@ -3980,7 +3890,6 @@ __metadata: resolution: "@fluentui-react-native/experimental-native-date-picker@workspace:packages/experimental/NativeDatePicker" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native-community/cli": "npm:^20.0.0" @@ -4005,7 +3914,6 @@ __metadata: resolution: "@fluentui-react-native/experimental-native-font-metrics@workspace:packages/experimental/NativeFontMetrics" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native-community/cli": "npm:^20.0.0" @@ -4032,10 +3940,8 @@ __metadata: resolution: "@fluentui-react-native/experimental-shadow@workspace:packages/experimental/Shadow" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/pressable": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -4077,10 +3983,8 @@ __metadata: resolution: "@fluentui-react-native/experimental-shimmer@workspace:packages/experimental/Shimmer" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theming-utils": "workspace:*" @@ -4126,9 +4030,7 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@office-iss/react-native-win32": "npm:^0.74.0" @@ -4171,9 +4073,7 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@office-iss/react-native-win32": "npm:^0.74.0" @@ -4217,7 +4117,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/react-configs": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@types/jest": "npm:^29.0.0" "@types/node": "catalog:" @@ -4238,11 +4137,9 @@ __metadata: resolution: "@fluentui-react-native/framework@workspace:packages/framework/framework" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/composition": "workspace:*" "@fluentui-react-native/default-theme": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme-types": "workspace:*" @@ -4289,10 +4186,8 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -4336,12 +4231,10 @@ __metadata: resolution: "@fluentui-react-native/input@workspace:packages/components/Input" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/styling-utils": "workspace:*" @@ -4389,9 +4282,7 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -4429,24 +4320,6 @@ __metadata: languageName: unknown linkType: soft -"@fluentui-react-native/jest-config@workspace:*, @fluentui-react-native/jest-config@workspace:packages/configs/jest-config": - version: 0.0.0-use.local - resolution: "@fluentui-react-native/jest-config@workspace:packages/configs/jest-config" - dependencies: - "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" - "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/scripts": "workspace:*" - "@react-native/babel-preset": "npm:^0.81.0" - "@rnx-kit/jest-preset": "catalog:" - "@types/node": "catalog:" - babel-jest: "npm:^29.0.0" - jest: "npm:^29.2.1" - jest-transform-stub: "npm:^2.0.0" - typescript: "npm:^5.8.0" - languageName: unknown - linkType: soft - "@fluentui-react-native/kit-config@workspace:*, @fluentui-react-native/kit-config@workspace:packages/configs/kit-config": version: 0.0.0-use.local resolution: "@fluentui-react-native/kit-config@workspace:packages/configs/kit-config" @@ -4464,11 +4337,9 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -4514,12 +4385,10 @@ __metadata: resolution: "@fluentui-react-native/menu-button@workspace:packages/components/MenuButton" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/contextual-menu": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/tokens": "workspace:*" @@ -4566,7 +4435,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/callout": "workspace:*" "@fluentui-react-native/focus-zone": "workspace:*" @@ -4574,7 +4442,6 @@ __metadata: "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -4624,7 +4491,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/experimental-appearance-additions": "workspace:*" "@fluentui-react-native/experimental-shadow": "workspace:*" @@ -4632,7 +4498,6 @@ __metadata: "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/pressable": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -4681,11 +4546,9 @@ __metadata: resolution: "@fluentui-react-native/overflow@workspace:packages/experimental/Overflow" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/menu": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -4726,7 +4589,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" @@ -4772,7 +4634,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" @@ -4817,7 +4678,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" @@ -4856,7 +4716,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -4896,12 +4755,10 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/focus-zone": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/pressable": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" @@ -4947,24 +4804,6 @@ __metadata: languageName: unknown linkType: soft -"@fluentui-react-native/react-configs@workspace:*, @fluentui-react-native/react-configs@workspace:packages/configs/react-configs": - version: 0.0.0-use.local - resolution: "@fluentui-react-native/react-configs@workspace:packages/configs/react-configs" - dependencies: - "@babel/core": "catalog:" - "@babel/plugin-transform-react-jsx": "catalog:" - "@babel/plugin-transform-react-jsx-source": "catalog:" - "@babel/plugin-transform-typescript": "catalog:" - "@babel/preset-env": "catalog:" - "@babel/preset-react": "catalog:" - "@babel/preset-typescript": "catalog:" - "@babel/runtime": "catalog:" - babel-jest: "npm:^29.0.0" - peerDependencies: - "@babel/core": "*" - languageName: unknown - linkType: soft - "@fluentui-react-native/root@workspace:.": version: 0.0.0-use.local resolution: "@fluentui-react-native/root@workspace:." @@ -4995,9 +4834,21 @@ __metadata: version: 0.0.0-use.local resolution: "@fluentui-react-native/scripts@workspace:scripts" dependencies: + "@babel/core": "catalog:" + "@babel/plugin-transform-react-jsx": "catalog:" + "@babel/plugin-transform-react-jsx-source": "catalog:" + "@babel/plugin-transform-typescript": "catalog:" + "@babel/preset-env": "catalog:" + "@babel/preset-react": "catalog:" + "@babel/preset-typescript": "catalog:" + "@babel/runtime": "catalog:" "@fluentui-react-native/kit-config": "workspace:*" + "@fluentui-react-native/scripts": "workspace:*" + "@microsoft/eslint-plugin-sdl": "npm:^1.1.0" "@rnx-kit/align-deps": "catalog:" + "@rnx-kit/babel-preset-metro-react-native": "catalog:" "@rnx-kit/config": "catalog:" + "@rnx-kit/eslint-plugin": "catalog:" "@rnx-kit/jest-preset": "catalog:" "@rnx-kit/lint-json": "npm:^0.1.0" "@rnx-kit/oxlint-config": "npm:^1.0.3" @@ -5009,11 +4860,13 @@ __metadata: "@types/micromatch": "npm:^4.0.9" "@types/node": "catalog:" "@typescript/native-preview": "npm:7.0.0-dev.20260113.1" + babel-jest: "npm:^29.0.0" chalk: "npm:^4.0.0" clipanion: "npm:^4.0.0-rc.4" depcheck: "npm:^1.0.0" find-up: "npm:^5.0.0" jest: "npm:^29.2.1" + jest-transform-stub: "npm:^2.0.0" knip: "catalog:" lage: "catalog:" micromatch: "npm:^4.0.8" @@ -5034,10 +4887,8 @@ __metadata: resolution: "@fluentui-react-native/separator@workspace:packages/components/Separator" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme-tokens": "workspace:*" @@ -5079,7 +4930,6 @@ __metadata: resolution: "@fluentui-react-native/spinner@workspace:packages/experimental/Spinner" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" @@ -5124,10 +4974,8 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/text": "workspace:*" @@ -5172,7 +5020,6 @@ __metadata: resolution: "@fluentui-react-native/styling-utils@workspace:packages/utils/styling" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native-community/cli": "npm:^20.0.0" @@ -5197,11 +5044,9 @@ __metadata: resolution: "@fluentui-react-native/switch@workspace:packages/components/Switch" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -5247,13 +5092,11 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/focus-zone": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/icon": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -5300,8 +5143,6 @@ __metadata: resolution: "@fluentui-react-native/test-tools@workspace:packages/utils/test-tools" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme-types": "workspace:*" @@ -5332,7 +5173,6 @@ __metadata: "@fluentui-react-native/android-theme": "workspace:*" "@fluentui-react-native/apple-theme": "workspace:*" "@fluentui-react-native/avatar": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/badge": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/callout": "workspace:*" @@ -5483,7 +5323,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@babel/runtime": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/tester-core": "workspace:*" @@ -5525,7 +5364,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@babel/runtime": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/tester-core": "workspace:*" @@ -5562,7 +5400,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@babel/runtime": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/callout": "workspace:*" "@fluentui-react-native/experimental-appearance-additions": "workspace:*" "@fluentui-react-native/experimental-avatar": "workspace:*" @@ -5624,11 +5461,9 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/interactive-hooks": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -5671,7 +5506,6 @@ __metadata: resolution: "@fluentui-react-native/theme-tokens@workspace:packages/theming/theme-tokens" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/design-tokens-android": "npm:^0.53.0" "@fluentui-react-native/design-tokens-ios": "npm:^0.53.0" "@fluentui-react-native/design-tokens-win32": "npm:^0.53.0" @@ -5702,7 +5536,6 @@ __metadata: resolution: "@fluentui-react-native/theme-types@workspace:packages/theming/theme-types" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native-community/cli": "npm:^20.0.0" @@ -5727,9 +5560,7 @@ __metadata: resolution: "@fluentui-react-native/theme@workspace:packages/framework/theme" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -5757,9 +5588,7 @@ __metadata: resolution: "@fluentui-react-native/themed-stylesheet@workspace:packages/framework/themed-stylesheet" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native-community/cli": "npm:^20.0.0" @@ -5785,10 +5614,8 @@ __metadata: resolution: "@fluentui-react-native/theming-utils@workspace:packages/theming/theming-utils" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/design-tokens-win32": "npm:^0.53.0" "@fluentui-react-native/design-tokens-windows": "npm:^0.53.0" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme-types": "workspace:*" @@ -5828,7 +5655,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme-types": "workspace:*" @@ -5865,11 +5691,9 @@ __metadata: resolution: "@fluentui-react-native/tooltip@workspace:packages/experimental/Tooltip" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/callout": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" @@ -5908,9 +5732,7 @@ __metadata: resolution: "@fluentui-react-native/use-slot@workspace:packages/framework/use-slot" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native-community/cli": "npm:^20.0.0" @@ -5938,9 +5760,7 @@ __metadata: resolution: "@fluentui-react-native/use-slots@workspace:packages/framework/use-slots" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/use-slot": "workspace:*" @@ -5968,9 +5788,7 @@ __metadata: resolution: "@fluentui-react-native/use-styling@workspace:packages/framework/use-styling" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/use-tokens": "workspace:*" @@ -5999,9 +5817,7 @@ __metadata: resolution: "@fluentui-react-native/use-tokens@workspace:packages/framework/use-tokens" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native-community/cli": "npm:^20.0.0" @@ -6030,7 +5846,6 @@ __metadata: dependencies: "@babel/core": "catalog:" "@fluentui-react-native/adapters": "workspace:*" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@office-iss/react-native-win32": "npm:^0.81.0" @@ -6067,11 +5882,9 @@ __metadata: resolution: "@fluentui-react-native/win32-theme@workspace:packages/theming/win32-theme" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/default-theme": "workspace:*" "@fluentui-react-native/design-tokens-win32": "npm:^0.53.0" "@fluentui-react-native/framework-base": "workspace:*" - "@fluentui-react-native/jest-config": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/theme": "workspace:*" @@ -6126,7 +5939,6 @@ __metadata: resolution: "@fluentui/react-native@workspace:packages/libraries/core" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/button": "workspace:*" "@fluentui-react-native/callout": "workspace:*" "@fluentui-react-native/checkbox": "workspace:*" @@ -7229,7 +7041,7 @@ __metadata: languageName: node linkType: hard -"@microsoft/eslint-plugin-sdl@npm:^1.0.0": +"@microsoft/eslint-plugin-sdl@npm:^1.0.0, @microsoft/eslint-plugin-sdl@npm:^1.1.0": version: 1.1.0 resolution: "@microsoft/eslint-plugin-sdl@npm:1.1.0" dependencies: @@ -10914,7 +10726,6 @@ __metadata: "@babel/core": "catalog:" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/react-configs": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@types/jest": "npm:^29.0.0" "@types/react": "npm:~19.1.4" @@ -10936,7 +10747,6 @@ __metadata: "@babel/core": "catalog:" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/react-configs": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/tokens": "workspace:*" "@office-iss/react-native-win32": "npm:^0.81.0" @@ -10979,7 +10789,6 @@ __metadata: "@babel/core": "catalog:" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/react-configs": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native/babel-preset": "npm:^0.74.0" "@react-native/metro-config": "npm:^0.74.0" @@ -11003,7 +10812,6 @@ __metadata: "@babel/core": "catalog:" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/react-configs": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@react-native/babel-preset": "npm:^0.81.0" "@types/jest": "npm:^29.0.0" @@ -11028,7 +10836,6 @@ __metadata: "@babel/core": "catalog:" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" - "@fluentui-react-native/react-configs": "workspace:*" "@fluentui-react-native/scripts": "workspace:*" "@fluentui-react-native/test-tools": "workspace:*" "@fluentui-react-native/theme-types": "workspace:*" @@ -11052,7 +10859,6 @@ __metadata: resolution: "@uifabricshared/theming-react-native@workspace:packages/deprecated/theming-react-native" dependencies: "@babel/core": "catalog:" - "@fluentui-react-native/babel-config": "workspace:*" "@fluentui-react-native/default-theme": "workspace:*" "@fluentui-react-native/framework-base": "workspace:*" "@fluentui-react-native/kit-config": "workspace:*" @@ -16366,13 +16172,6 @@ __metadata: languageName: node linkType: hard -"hermes-estree@npm:0.32.0": - version: 0.32.0 - resolution: "hermes-estree@npm:0.32.0" - checksum: 10c0/3b67d1fe44336240ef7f9c40ecbf363279ba263d51efe120570c3862cc109e652fc09aebddfe6b73d0f0246610bee130e4064c359f1f4cbf002bdb1d99717ef2 - languageName: node - linkType: hard - "hermes-estree@npm:0.35.0": version: 0.35.0 resolution: "hermes-estree@npm:0.35.0" @@ -16416,15 +16215,6 @@ __metadata: languageName: node linkType: hard -"hermes-parser@npm:0.32.0": - version: 0.32.0 - resolution: "hermes-parser@npm:0.32.0" - dependencies: - hermes-estree: "npm:0.32.0" - checksum: 10c0/5902d2c5d347c0629fba07a47eaad5569590ac69bc8bfb2e454e08d2dfbe1ebd989d88518dca2cba64061689b5eac5960ae6bd15a4a66600bbf377498a3234b7 - languageName: node - linkType: hard - "hermes-parser@npm:0.35.0": version: 0.35.0 resolution: "hermes-parser@npm:0.35.0" @@ -18975,18 +18765,6 @@ __metadata: languageName: node linkType: hard -"metro-babel-transformer@npm:0.83.3": - version: 0.83.3 - resolution: "metro-babel-transformer@npm:0.83.3" - dependencies: - "@babel/core": "npm:^7.25.2" - flow-enums-runtime: "npm:^0.0.6" - hermes-parser: "npm:0.32.0" - nullthrows: "npm:^1.1.1" - checksum: 10c0/b0107f86cdc9ef9419d669b5b3dac22e35b02c67c480563a63d98f5fb50953587938769efc854bfc09c225557790cd6488dbe3fed6f05c2b3f322cfb2e5ff577 - languageName: node - linkType: hard - "metro-babel-transformer@npm:0.83.7": version: 0.83.7 resolution: "metro-babel-transformer@npm:0.83.7" @@ -19018,15 +18796,6 @@ __metadata: languageName: node linkType: hard -"metro-cache-key@npm:0.83.3": - version: 0.83.3 - resolution: "metro-cache-key@npm:0.83.3" - dependencies: - flow-enums-runtime: "npm:^0.0.6" - checksum: 10c0/403a2ca5b5bbb31a979effaa31fba0c47e2eb3830428c39c99db58aa0739a6fcc386f5a56c91495c53a4569065f0bda29e3038e9c41ca17af443971395f257dc - languageName: node - linkType: hard - "metro-cache-key@npm:0.83.7": version: 0.83.7 resolution: "metro-cache-key@npm:0.83.7" @@ -19059,18 +18828,6 @@ __metadata: languageName: node linkType: hard -"metro-cache@npm:0.83.3": - version: 0.83.3 - resolution: "metro-cache@npm:0.83.3" - dependencies: - exponential-backoff: "npm:^3.1.1" - flow-enums-runtime: "npm:^0.0.6" - https-proxy-agent: "npm:^7.0.5" - metro-core: "npm:0.83.3" - checksum: 10c0/608e85d819092c0b472c9adabb5de58e88355739de71833230626c1af7f3ce5dd1dca9f1ff3a836d995201f717315fd769c4c646a818c1f490ea2ec29417e32a - languageName: node - linkType: hard - "metro-cache@npm:0.83.7": version: 0.83.7 resolution: "metro-cache@npm:0.83.7" @@ -19115,23 +18872,7 @@ __metadata: languageName: node linkType: hard -"metro-config@npm:0.83.3, metro-config@npm:^0.83.1": - version: 0.83.3 - resolution: "metro-config@npm:0.83.3" - dependencies: - connect: "npm:^3.6.5" - flow-enums-runtime: "npm:^0.0.6" - jest-validate: "npm:^29.7.0" - metro: "npm:0.83.3" - metro-cache: "npm:0.83.3" - metro-core: "npm:0.83.3" - metro-runtime: "npm:0.83.3" - yaml: "npm:^2.6.1" - checksum: 10c0/c53e4a061cfc776a65cdb5055c0be840055f9741dae25e7d407835988618b15f1407270dbd957c7333d01e9c79eccbf8e6bcb76421b2145bd134b53df459a033 - languageName: node - linkType: hard - -"metro-config@npm:0.83.7": +"metro-config@npm:0.83.7, metro-config@npm:^0.83.1": version: 0.83.7 resolution: "metro-config@npm:0.83.7" dependencies: @@ -19169,17 +18910,6 @@ __metadata: languageName: node linkType: hard -"metro-core@npm:0.83.3": - version: 0.83.3 - resolution: "metro-core@npm:0.83.3" - dependencies: - flow-enums-runtime: "npm:^0.0.6" - lodash.throttle: "npm:^4.1.1" - metro-resolver: "npm:0.83.3" - checksum: 10c0/d44c1f117c4b27f18abd27110e9536abf3105733e8fccaa522bd0e008248cce0260130517840c4914d7ce5df498f39ecfd43b6046a0f0b1c0f8ada7de38e52c4 - languageName: node - linkType: hard - "metro-core@npm:0.83.7, metro-core@npm:^0.83.1": version: 0.83.7 resolution: "metro-core@npm:0.83.7" @@ -19231,23 +18961,6 @@ __metadata: languageName: node linkType: hard -"metro-file-map@npm:0.83.3": - version: 0.83.3 - resolution: "metro-file-map@npm:0.83.3" - dependencies: - debug: "npm:^4.4.0" - fb-watchman: "npm:^2.0.0" - flow-enums-runtime: "npm:^0.0.6" - graceful-fs: "npm:^4.2.4" - invariant: "npm:^2.2.4" - jest-worker: "npm:^29.7.0" - micromatch: "npm:^4.0.4" - nullthrows: "npm:^1.1.1" - walker: "npm:^1.0.7" - checksum: 10c0/4bf9c0fcdb5a5c08851f7370d6427fb68a770f156c4eabbddf20bd3583fb25ae428507eaeb8dc525e792db41d048620209750f33735055863abc909cbb6ef71a - languageName: node - linkType: hard - "metro-file-map@npm:0.83.7": version: 0.83.7 resolution: "metro-file-map@npm:0.83.7" @@ -19285,16 +18998,6 @@ __metadata: languageName: node linkType: hard -"metro-minify-terser@npm:0.83.3": - version: 0.83.3 - resolution: "metro-minify-terser@npm:0.83.3" - dependencies: - flow-enums-runtime: "npm:^0.0.6" - terser: "npm:^5.15.0" - checksum: 10c0/9158e3199c0ea647776a7ed5c68ec1bb493f5347ac979f1ca75020cf1c39f907bd29983d60f8cb24dca17053d6b5c35f140c6d720fad0bd0fa9728e8c51e95c6 - languageName: node - linkType: hard - "metro-minify-terser@npm:0.83.7": version: 0.83.7 resolution: "metro-minify-terser@npm:0.83.7" @@ -19323,15 +19026,6 @@ __metadata: languageName: node linkType: hard -"metro-resolver@npm:0.83.3": - version: 0.83.3 - resolution: "metro-resolver@npm:0.83.3" - dependencies: - flow-enums-runtime: "npm:^0.0.6" - checksum: 10c0/1d6c030a00b987fbee38e5c632219b2be602e38c9aa9628bb4b591f646e64130d08adb8dcb35076c5c8cc151135557b655f3dee514c0df9f26d3416629eb006b - languageName: node - linkType: hard - "metro-resolver@npm:0.83.7": version: 0.83.7 resolution: "metro-resolver@npm:0.83.7" @@ -19361,16 +19055,6 @@ __metadata: languageName: node linkType: hard -"metro-runtime@npm:0.83.3": - version: 0.83.3 - resolution: "metro-runtime@npm:0.83.3" - dependencies: - "@babel/runtime": "npm:^7.25.0" - flow-enums-runtime: "npm:^0.0.6" - checksum: 10c0/1d788483b6c2f13e0ea9ff4564996154754d3de84f683812ac848053eaea9243144adee3e8ffe90789e6c253f7402211d72b1b5ebf09e6c23841bc956a680253 - languageName: node - linkType: hard - "metro-runtime@npm:0.83.7, metro-runtime@npm:^0.83.1": version: 0.83.7 resolution: "metro-runtime@npm:0.83.7" @@ -19434,25 +19118,7 @@ __metadata: languageName: node linkType: hard -"metro-source-map@npm:0.83.3, metro-source-map@npm:^0.83.1": - version: 0.83.3 - resolution: "metro-source-map@npm:0.83.3" - dependencies: - "@babel/traverse": "npm:^7.25.3" - "@babel/traverse--for-generate-function-map": "npm:@babel/traverse@^7.25.3" - "@babel/types": "npm:^7.25.2" - flow-enums-runtime: "npm:^0.0.6" - invariant: "npm:^2.2.4" - metro-symbolicate: "npm:0.83.3" - nullthrows: "npm:^1.1.1" - ob1: "npm:0.83.3" - source-map: "npm:^0.5.6" - vlq: "npm:^1.0.0" - checksum: 10c0/47e984bde1f8f06348298771f44b5803657c9cfa387df8ff36a359cc72ae3bc0e9c4ea6141345609b183ac8c63dcc997000d3626006e388c24779abb57c6f82c - languageName: node - linkType: hard - -"metro-source-map@npm:0.83.7": +"metro-source-map@npm:0.83.7, metro-source-map@npm:^0.83.1": version: 0.83.7 resolution: "metro-source-map@npm:0.83.7" dependencies: @@ -19518,22 +19184,6 @@ __metadata: languageName: node linkType: hard -"metro-symbolicate@npm:0.83.3": - version: 0.83.3 - resolution: "metro-symbolicate@npm:0.83.3" - dependencies: - flow-enums-runtime: "npm:^0.0.6" - invariant: "npm:^2.2.4" - metro-source-map: "npm:0.83.3" - nullthrows: "npm:^1.1.1" - source-map: "npm:^0.5.6" - vlq: "npm:^1.0.0" - bin: - metro-symbolicate: src/index.js - checksum: 10c0/bd3d234c7581466a9a78f952caa25816666753f6b560fe41502727b3e59931ac65225c9909635dc7c25d4dfaf392631366ef3ec5fa8490413385d60f8d900112 - languageName: node - linkType: hard - "metro-symbolicate@npm:0.83.7": version: 0.83.7 resolution: "metro-symbolicate@npm:0.83.7" @@ -19578,20 +19228,6 @@ __metadata: languageName: node linkType: hard -"metro-transform-plugins@npm:0.83.3": - version: 0.83.3 - resolution: "metro-transform-plugins@npm:0.83.3" - dependencies: - "@babel/core": "npm:^7.25.2" - "@babel/generator": "npm:^7.25.0" - "@babel/template": "npm:^7.25.0" - "@babel/traverse": "npm:^7.25.3" - flow-enums-runtime: "npm:^0.0.6" - nullthrows: "npm:^1.1.1" - checksum: 10c0/df3c6db6a69d4888e1b6aad40d48ffec0c3c3faa38e89c07633432fc107ef12c47d55598904c91aadfe0751c5bcb7ec191f8a5ee70c18d253201150fc617ca37 - languageName: node - linkType: hard - "metro-transform-plugins@npm:0.83.7": version: 0.83.7 resolution: "metro-transform-plugins@npm:0.83.7" @@ -19648,27 +19284,6 @@ __metadata: languageName: node linkType: hard -"metro-transform-worker@npm:0.83.3": - version: 0.83.3 - resolution: "metro-transform-worker@npm:0.83.3" - dependencies: - "@babel/core": "npm:^7.25.2" - "@babel/generator": "npm:^7.25.0" - "@babel/parser": "npm:^7.25.3" - "@babel/types": "npm:^7.25.2" - flow-enums-runtime: "npm:^0.0.6" - metro: "npm:0.83.3" - metro-babel-transformer: "npm:0.83.3" - metro-cache: "npm:0.83.3" - metro-cache-key: "npm:0.83.3" - metro-minify-terser: "npm:0.83.3" - metro-source-map: "npm:0.83.3" - metro-transform-plugins: "npm:0.83.3" - nullthrows: "npm:^1.1.1" - checksum: 10c0/bea0cbcc7d13cd2b97a2159257b3a53b9ecfb15da18ace82ae05bf2d0ac7cc1806c0bd77ed3b8f4c82c9532773fb99f3938e4b1480e2673f5eda69575ee1d7ef - languageName: node - linkType: hard - "metro-transform-worker@npm:0.83.7": version: 0.83.7 resolution: "metro-transform-worker@npm:0.83.7" @@ -19792,56 +19407,6 @@ __metadata: languageName: node linkType: hard -"metro@npm:0.83.3": - version: 0.83.3 - resolution: "metro@npm:0.83.3" - dependencies: - "@babel/code-frame": "npm:^7.24.7" - "@babel/core": "npm:^7.25.2" - "@babel/generator": "npm:^7.25.0" - "@babel/parser": "npm:^7.25.3" - "@babel/template": "npm:^7.25.0" - "@babel/traverse": "npm:^7.25.3" - "@babel/types": "npm:^7.25.2" - accepts: "npm:^1.3.7" - chalk: "npm:^4.0.0" - ci-info: "npm:^2.0.0" - connect: "npm:^3.6.5" - debug: "npm:^4.4.0" - error-stack-parser: "npm:^2.0.6" - flow-enums-runtime: "npm:^0.0.6" - graceful-fs: "npm:^4.2.4" - hermes-parser: "npm:0.32.0" - image-size: "npm:^1.0.2" - invariant: "npm:^2.2.4" - jest-worker: "npm:^29.7.0" - jsc-safe-url: "npm:^0.2.2" - lodash.throttle: "npm:^4.1.1" - metro-babel-transformer: "npm:0.83.3" - metro-cache: "npm:0.83.3" - metro-cache-key: "npm:0.83.3" - metro-config: "npm:0.83.3" - metro-core: "npm:0.83.3" - metro-file-map: "npm:0.83.3" - metro-resolver: "npm:0.83.3" - metro-runtime: "npm:0.83.3" - metro-source-map: "npm:0.83.3" - metro-symbolicate: "npm:0.83.3" - metro-transform-plugins: "npm:0.83.3" - metro-transform-worker: "npm:0.83.3" - mime-types: "npm:^2.1.27" - nullthrows: "npm:^1.1.1" - serialize-error: "npm:^2.1.0" - source-map: "npm:^0.5.6" - throat: "npm:^5.0.0" - ws: "npm:^7.5.10" - yargs: "npm:^17.6.2" - bin: - metro: src/cli.js - checksum: 10c0/9513c05725c3984ce3b72896c4f7d019ad4fd024a1231b8b84c5c655a0563fc7f26725f28c20c5d3511e3825d64fec3a1e68621f6a6af34d785c5e714ed7da89 - languageName: node - linkType: hard - "metro@npm:0.83.7, metro@npm:^0.83.1": version: 0.83.7 resolution: "metro@npm:0.83.7" @@ -20599,15 +20164,6 @@ __metadata: languageName: node linkType: hard -"ob1@npm:0.83.3": - version: 0.83.3 - resolution: "ob1@npm:0.83.3" - dependencies: - flow-enums-runtime: "npm:^0.0.6" - checksum: 10c0/9231315de39cf0612a01e283c7d7ef31d16618e598de96e44ae1ab3007629296ce1a3d5d02ef60ff22d9fefe33050358c10e7fcba8278861157b89befe13cb3d - languageName: node - linkType: hard - "ob1@npm:0.83.7": version: 0.83.7 resolution: "ob1@npm:0.83.7" @@ -23698,14 +23254,7 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2": - version: 1.0.2 - resolution: "source-map-js@npm:1.0.2" - checksum: 10c0/32f2dfd1e9b7168f9a9715eb1b4e21905850f3b50cf02cf476e47e4eebe8e6b762b63a64357896aa29b37e24922b4282df0f492e0d2ace572b43d15525976ff8 - languageName: node - linkType: hard - -"source-map-js@npm:^1.2.1": +"source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.1": version: 1.2.1 resolution: "source-map-js@npm:1.2.1" checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf