@fluentui-react-native/tester 0.170.51 → 0.170.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cache/tsconfig.tsbuildinfo +1 -0
- package/CHANGELOG.md +10 -0
- package/android/app/build/generated/rnta/src/main/AndroidManifest.xml +16 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/babel.config.js +1 -1
- package/ios/Podfile +20 -2
- package/ios/Podfile.lock +1704 -486
- package/lib/index.d.ts.map +1 -1
- package/macos/Podfile +20 -2
- package/macos/Podfile.lock +1722 -498
- package/metro.config.js +8 -26
- package/package.json +46 -56
- package/tsconfig.json +50 -3
- package/lib-commonjs/index.d.ts +0 -3
- package/lib-commonjs/index.d.ts.map +0 -1
- package/lib-commonjs/index.js +0 -10
- package/lib-commonjs/index.js.map +0 -1
package/metro.config.js
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Metro configuration for React Native
|
|
3
|
-
* https://github.com/facebook/react-native
|
|
4
|
-
*
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
const path = require('node:path');
|
|
9
|
-
const {
|
|
2
|
+
const { makeMetroConfig, exclusionList } = require('@rnx-kit/metro-config');
|
|
10
3
|
const MetroSymlinksResolver = require('@rnx-kit/metro-resolver-symlinks');
|
|
11
4
|
|
|
12
5
|
// ensure regex paths are merged, normalized, use forward slashes and end with a /
|
|
@@ -18,38 +11,27 @@ function pathForRegex(...parts) {
|
|
|
18
11
|
return result.replace(/[/\\]+/g, '/');
|
|
19
12
|
}
|
|
20
13
|
|
|
21
|
-
const excludeMixins = [];
|
|
22
|
-
const extraNodeModules = {};
|
|
23
|
-
|
|
24
|
-
function ensureUniqueModule(moduleName) {
|
|
25
|
-
const [nmEntry, excludePattern] = resolveUniqueModule(moduleName);
|
|
26
|
-
excludeMixins.push(excludePattern);
|
|
27
|
-
extraNodeModules[moduleName] = nmEntry;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// build up the added excludes and extraNodeModules
|
|
31
|
-
['react-native-svg'].forEach((moduleName) => ensureUniqueModule(moduleName));
|
|
32
|
-
|
|
33
14
|
const blockList = exclusionList([
|
|
34
15
|
// Exclude other test apps
|
|
35
16
|
new RegExp(pathForRegex(__dirname, '../win32')),
|
|
36
|
-
|
|
17
|
+
new RegExp(pathForRegex(__dirname, '../win32-81')),
|
|
37
18
|
// Exclude build output directory
|
|
38
19
|
new RegExp(pathForRegex(__dirname, 'dist')),
|
|
39
|
-
|
|
40
|
-
...excludeMixins,
|
|
41
20
|
]);
|
|
42
21
|
|
|
43
|
-
|
|
22
|
+
const config = makeMetroConfig({
|
|
44
23
|
resolver: {
|
|
45
24
|
blockList,
|
|
46
|
-
extraNodeModules,
|
|
47
25
|
resolveRequest: MetroSymlinksResolver({
|
|
48
26
|
resolver: 'oxc-resolver',
|
|
49
27
|
}),
|
|
28
|
+
unstable_enablePackageExports: true,
|
|
29
|
+
unstable_conditionNames: ['react-native', 'import', 'require'],
|
|
30
|
+
|
|
31
|
+
disableHierarchicalLookup: true,
|
|
32
|
+
enableSymlinks: true,
|
|
50
33
|
},
|
|
51
34
|
transformer: {
|
|
52
|
-
// This transformer selects between the regular transformer and svg transformer depending on the file type
|
|
53
35
|
babelTransformerPath: require.resolve('react-native-svg-transformer'),
|
|
54
36
|
},
|
|
55
37
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.170.
|
|
3
|
+
"version": "0.170.52",
|
|
4
4
|
"description": "A test app to test FluentUI React Native Components during development",
|
|
5
5
|
"homepage": "https://github.com/microsoft/fluentui-react-native",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,22 +10,20 @@
|
|
|
10
10
|
"url": "https://github.com/microsoft/fluentui-react-native.git",
|
|
11
11
|
"directory": "apps/fluent-tester"
|
|
12
12
|
},
|
|
13
|
-
"main": "lib
|
|
13
|
+
"main": "lib/index.js",
|
|
14
14
|
"module": "lib/index.js",
|
|
15
15
|
"types": "lib/index.d.ts",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
18
|
"types": "./lib/index.d.ts",
|
|
19
|
+
"react-native": "./src/index.ts",
|
|
19
20
|
"import": "./lib/index.js",
|
|
20
|
-
"
|
|
21
|
-
"default": "./src/index.ts"
|
|
21
|
+
"default": "./src/index.tsx"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"android": "rnx-cli run --platform android",
|
|
26
|
-
"build": "
|
|
27
|
-
"build-cjs": "tsgo --outDir lib-commonjs",
|
|
28
|
-
"build-core": "tsgo --outDir lib --module esnext --moduleResolution bundler",
|
|
26
|
+
"build": "tsgo -b",
|
|
29
27
|
"bundle": "rnx-cli bundle --dev false",
|
|
30
28
|
"bundle:android": "rnx-cli bundle --dev false --platform android",
|
|
31
29
|
"bundle:ios": "rnx-cli bundle --dev false --platform ios",
|
|
@@ -33,59 +31,56 @@
|
|
|
33
31
|
"bundle:windows": "rnx-cli bundle --dev false --platform windows",
|
|
34
32
|
"clean": "fluentui-scripts clean",
|
|
35
33
|
"depcheck": "fluentui-scripts depcheck",
|
|
34
|
+
"format": "fluentui-scripts format",
|
|
36
35
|
"ios": "rnx-cli run --platform ios",
|
|
37
36
|
"lint": "fluentui-scripts lint",
|
|
38
|
-
"lint-package": "fluentui-scripts lint-package",
|
|
39
37
|
"macos": "rnx-cli run --platform macos",
|
|
40
|
-
"format": "fluentui-scripts format",
|
|
41
38
|
"start": "rnx-cli start",
|
|
42
39
|
"windows": "react-native run-windows --arch x64 --sln windows/FluentTester.sln"
|
|
43
40
|
},
|
|
44
41
|
"dependencies": {
|
|
45
42
|
"@types/node": "^22.19.7",
|
|
46
|
-
"@types/react": "~
|
|
47
|
-
"react": "
|
|
48
|
-
"react-native": "^0.
|
|
49
|
-
"react-native-macos": "^0.
|
|
50
|
-
"react-native-svg": "
|
|
51
|
-
"react-native-windows": "^0.
|
|
43
|
+
"@types/react": "~19.1.4",
|
|
44
|
+
"react": "19.1.4",
|
|
45
|
+
"react-native": "^0.81.6",
|
|
46
|
+
"react-native-macos": "^0.81.0",
|
|
47
|
+
"react-native-svg": "^15.12.1",
|
|
48
|
+
"react-native-windows": "^0.81.0"
|
|
52
49
|
},
|
|
53
50
|
"devDependencies": {
|
|
54
51
|
"@babel/core": "^7.20.0",
|
|
55
52
|
"@babel/runtime": "^7.20.0",
|
|
56
|
-
"@fluentui-react-native/
|
|
57
|
-
"@fluentui-react-native/
|
|
58
|
-
"@fluentui-react-native/experimental-
|
|
59
|
-
"@fluentui-react-native/experimental-
|
|
60
|
-
"@fluentui-react-native/experimental-
|
|
61
|
-
"@fluentui-react-native/experimental-
|
|
62
|
-
"@fluentui-react-native/experimental-
|
|
63
|
-
"@fluentui-react-native/
|
|
64
|
-
"@fluentui-react-native/
|
|
65
|
-
"@fluentui-react-native/
|
|
66
|
-
"@fluentui-react-native/kit-config": "0.1.2",
|
|
67
|
-
"@fluentui-react-native/lint-config-rules": "0.1.3",
|
|
68
|
-
"@fluentui-react-native/menu-button": "0.14.3",
|
|
69
|
-
"@fluentui-react-native/radio-group": "0.22.3",
|
|
53
|
+
"@fluentui-react-native/callout": "0.28.4",
|
|
54
|
+
"@fluentui-react-native/experimental-appearance-additions": "0.8.4",
|
|
55
|
+
"@fluentui-react-native/experimental-avatar": "0.22.4",
|
|
56
|
+
"@fluentui-react-native/experimental-checkbox": "0.18.4",
|
|
57
|
+
"@fluentui-react-native/experimental-native-date-picker": "0.12.4",
|
|
58
|
+
"@fluentui-react-native/experimental-native-font-metrics": "0.7.4",
|
|
59
|
+
"@fluentui-react-native/experimental-shimmer": "0.14.4",
|
|
60
|
+
"@fluentui-react-native/focus-zone": "0.22.4",
|
|
61
|
+
"@fluentui-react-native/menu-button": "0.14.4",
|
|
62
|
+
"@fluentui-react-native/radio-group": "0.22.4",
|
|
70
63
|
"@fluentui-react-native/scripts": "0.1.0",
|
|
71
64
|
"@fluentui-react-native/tester-core": "0.1.0",
|
|
72
|
-
"@fluentui-react-native/tooltip": "0.5.
|
|
73
|
-
"@fluentui-react-native/vibrancy-view": "0.4.
|
|
74
|
-
"@react-native-community/cli": "^
|
|
75
|
-
"@react-native-community/cli-platform-android": "^
|
|
76
|
-
"@react-native-community/cli-platform-ios": "^
|
|
77
|
-
"@react-native-windows/cli": "^0.
|
|
78
|
-
"@react-native/babel-preset": "^0.
|
|
79
|
-
"@react-native/metro-babel-transformer": "^0.
|
|
80
|
-
"@react-native/metro-config": "^0.
|
|
81
|
-
"@rnx-kit/
|
|
65
|
+
"@fluentui-react-native/tooltip": "0.5.4",
|
|
66
|
+
"@fluentui-react-native/vibrancy-view": "0.4.4",
|
|
67
|
+
"@react-native-community/cli": "^20.0.0",
|
|
68
|
+
"@react-native-community/cli-platform-android": "^20.0.0",
|
|
69
|
+
"@react-native-community/cli-platform-ios": "^20.0.0",
|
|
70
|
+
"@react-native-windows/cli": "^0.81.0",
|
|
71
|
+
"@react-native/babel-preset": "^0.81.0",
|
|
72
|
+
"@react-native/metro-babel-transformer": "^0.81.0",
|
|
73
|
+
"@react-native/metro-config": "^0.81.0",
|
|
74
|
+
"@rnx-kit/babel-preset-metro-react-native": "^4.0.0",
|
|
75
|
+
"@rnx-kit/cli": "^2.0.1",
|
|
82
76
|
"@rnx-kit/metro-config": "^2.2.4",
|
|
83
|
-
"@rnx-kit/metro-resolver-symlinks": "^0.
|
|
77
|
+
"@rnx-kit/metro-resolver-symlinks": "^0.3.1",
|
|
78
|
+
"@rnx-kit/metro-serializer-esbuild": "^0.4.1",
|
|
84
79
|
"@svgr/core": "^8.1.0",
|
|
85
80
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
86
81
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
87
82
|
"@types/jasmine": "5.1.13",
|
|
88
|
-
"@types/react-test-renderer": "^
|
|
83
|
+
"@types/react-test-renderer": "^19.1.0",
|
|
89
84
|
"@wdio/cli": "^9.24.0",
|
|
90
85
|
"@wdio/globals": "^9.23.0",
|
|
91
86
|
"@wdio/jasmine-framework": "^9.24.0",
|
|
@@ -93,24 +88,20 @@
|
|
|
93
88
|
"@wdio/runner": "^9.24.0",
|
|
94
89
|
"expect-webdriverio": "^5.6.1",
|
|
95
90
|
"flow-bin": "^0.113.0",
|
|
96
|
-
"metro
|
|
91
|
+
"metro": "^0.83.1",
|
|
92
|
+
"metro-config": "0.83.1",
|
|
93
|
+
"metro-core": "0.83.1",
|
|
94
|
+
"metro-runtime": "0.83.1",
|
|
97
95
|
"oxc-resolver": "^11.17.0",
|
|
98
96
|
"path-dirname": "^1.0.2",
|
|
99
97
|
"react-native-svg-transformer": "^1.0.0",
|
|
100
|
-
"react-native-test-app": "^
|
|
101
|
-
"react-test-renderer": "
|
|
98
|
+
"react-native-test-app": "^5.2.3",
|
|
99
|
+
"react-test-renderer": "19.1.4",
|
|
102
100
|
"webdriverio": "^9.24.0"
|
|
103
101
|
},
|
|
104
102
|
"jest": {
|
|
105
103
|
"preset": "react-native"
|
|
106
104
|
},
|
|
107
|
-
"furn": {
|
|
108
|
-
"depcheck": {
|
|
109
|
-
"ignoreMatches": [
|
|
110
|
-
"@fluentui-react-native/experimental-expander"
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
105
|
"rnx-kit": {
|
|
115
106
|
"kitType": "app",
|
|
116
107
|
"bundle": [
|
|
@@ -162,7 +153,7 @@
|
|
|
162
153
|
"alignDeps": {
|
|
163
154
|
"requirements": {
|
|
164
155
|
"production": [
|
|
165
|
-
"react-native@0.
|
|
156
|
+
"react-native@0.81"
|
|
166
157
|
]
|
|
167
158
|
},
|
|
168
159
|
"capabilities": [
|
|
@@ -174,13 +165,12 @@
|
|
|
174
165
|
"core-windows",
|
|
175
166
|
"core/metro-config",
|
|
176
167
|
"metro-react-native-babel-transformer",
|
|
168
|
+
"metro",
|
|
177
169
|
"react",
|
|
178
170
|
"react-test-renderer",
|
|
179
|
-
"svg"
|
|
180
|
-
"test-app",
|
|
181
|
-
"tools-core"
|
|
171
|
+
"svg"
|
|
182
172
|
]
|
|
183
173
|
},
|
|
184
|
-
"extends": "@fluentui-react-native/kit-config"
|
|
174
|
+
"extends": "@fluentui-react-native/scripts/kit-config"
|
|
185
175
|
}
|
|
186
176
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends": "@fluentui-react-native/scripts/
|
|
2
|
+
"extends": "@fluentui-react-native/scripts/tsconfig",
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"outDir": "lib",
|
|
5
5
|
"allowSyntheticDefaultImports": true,
|
|
6
|
-
"types": ["@types/jasmine", "@wdio/globals/types", "@wdio/jasmine-framework", "node"]
|
|
6
|
+
"types": ["@types/jasmine", "@wdio/globals/types", "@wdio/jasmine-framework", "node"],
|
|
7
|
+
"rootDir": "src",
|
|
8
|
+
"composite": true,
|
|
9
|
+
"tsBuildInfoFile": ".cache/tsconfig.tsbuildinfo"
|
|
7
10
|
},
|
|
8
|
-
"include": ["src"]
|
|
11
|
+
"include": ["src"],
|
|
12
|
+
"references": [
|
|
13
|
+
{
|
|
14
|
+
"path": "../../packages/components/Callout/tsconfig.json"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"path": "../../packages/experimental/AppearanceAdditions/tsconfig.json"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"path": "../../packages/experimental/Avatar/tsconfig.json"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"path": "../../packages/experimental/Checkbox/tsconfig.json"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"path": "../../packages/experimental/NativeDatePicker/tsconfig.json"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"path": "../../packages/experimental/NativeFontMetrics/tsconfig.json"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"path": "../../packages/experimental/Shimmer/tsconfig.json"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"path": "../../packages/components/FocusZone/tsconfig.json"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"path": "../../packages/components/MenuButton/tsconfig.json"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"path": "../../packages/components/RadioGroup/tsconfig.json"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"path": "../../scripts/tsconfig.json"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"path": "../tester-core/tsconfig.json"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"path": "../../packages/experimental/Tooltip/tsconfig.json"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"path": "../../packages/experimental/VibrancyView/tsconfig.json"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
9
56
|
}
|
package/lib-commonjs/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAQrE,eAAe,eAAe,CAAC"}
|
package/lib-commonjs/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const react_native_1 = require("react-native");
|
|
4
|
-
const tester_core_1 = require("@fluentui-react-native/tester-core");
|
|
5
|
-
// When selecting a test page, the test page button might be under the yellowbox,
|
|
6
|
-
//so we have to ensure that no yellowboxes are shown on boot that could affect test selection
|
|
7
|
-
react_native_1.LogBox.ignoreLogs([/.*deprecated.*/, /.*Platform is not supported.*/]);
|
|
8
|
-
react_native_1.AppRegistry.registerComponent('FluentTester', () => tester_core_1.FluentTesterApp);
|
|
9
|
-
exports.default = tester_core_1.FluentTesterApp;
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,+CAAmD;AAEnD,oEAAqE;AAErE,iFAAiF;AACjF,6FAA6F;AAC7F,qBAAM,CAAC,UAAU,CAAC,CAAC,gBAAgB,EAAE,+BAA+B,CAAC,CAAC,CAAC;AAEvE,0BAAW,CAAC,iBAAiB,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC,6BAAe,CAAC,CAAC;kBAEtD,6BAAe"}
|