Skip to content

Commit e3a2ff0

Browse files
committed
reorder package.json files based on standard sort-package-json order
1 parent ca77b52 commit e3a2ff0

File tree

83 files changed

+1563
-1493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1563
-1493
lines changed

apps/E2E/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
"name": "@fluentui-react-native/e2e-testing",
33
"version": "1.43.11",
44
"description": "Package containing E2E testing specs",
5-
"license": "MIT",
65
"repository": {
76
"type": "git",
87
"url": "https://github.com/microsoft/fluentui-react-native.git",
98
"directory": "apps/E2E"
109
},
11-
"main": "lib-commonjs/index.js",
12-
"module": "lib/index.js",
13-
"types": "lib/index.d.ts",
10+
"license": "MIT",
1411
"exports": {
1512
".": {
1613
"types": "./lib/index.d.ts",
1714
"import": "./lib/index.js",
1815
"require": "./lib-commonjs/index.js"
1916
}
2017
},
18+
"main": "lib-commonjs/index.js",
19+
"module": "lib/index.js",
20+
"types": "lib/index.d.ts",
2121
"files": [
2222
"src/**/*",
2323
"dist/*"
@@ -42,24 +42,6 @@
4242
"dependencies": {
4343
"@office-iss/rex-win32": "0.73.11-devmain.16.0.17615.15030"
4444
},
45-
"peerDependencies": {
46-
"@office-iss/react-native-win32": "^0.73.0 || ^0.74.0",
47-
"react": "18.2.0",
48-
"react-native": "^0.73.0 || ^0.74.0",
49-
"react-native-macos": "^0.73.0 || ^0.74.0",
50-
"react-native-windows": "^0.73.0 || ^0.74.0"
51-
},
52-
"peerDependenciesMeta": {
53-
"@office-iss/react-native-win32": {
54-
"optional": true
55-
},
56-
"react-native-macos": {
57-
"optional": true
58-
},
59-
"react-native-windows": {
60-
"optional": true
61-
}
62-
},
6345
"devDependencies": {
6446
"@babel/core": "^7.8.0",
6547
"@babel/runtime": "^7.8.0",
@@ -103,6 +85,24 @@
10385
"installConfig": {
10486
"hoistingLimits": "dependencies"
10587
},
88+
"peerDependencies": {
89+
"@office-iss/react-native-win32": "^0.73.0 || ^0.74.0",
90+
"react": "18.2.0",
91+
"react-native": "^0.73.0 || ^0.74.0",
92+
"react-native-macos": "^0.73.0 || ^0.74.0",
93+
"react-native-windows": "^0.73.0 || ^0.74.0"
94+
},
95+
"peerDependenciesMeta": {
96+
"@office-iss/react-native-win32": {
97+
"optional": true
98+
},
99+
"react-native-macos": {
100+
"optional": true
101+
},
102+
"react-native-windows": {
103+
"optional": true
104+
}
105+
},
106106
"rnx-kit": {
107107
"kitType": "library",
108108
"alignDeps": {

apps/fluent-tester/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
"name": "@fluentui-react-native/tester",
33
"version": "0.170.50",
44
"description": "A test app to test FluentUI React Native Components during development",
5-
"license": "MIT",
6-
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
75
"homepage": "https://github.com/microsoft/fluentui-react-native",
86
"repository": {
97
"type": "git",
108
"url": "https://github.com/microsoft/fluentui-react-native.git",
119
"directory": "apps/fluent-tester"
1210
},
13-
"main": "lib-commonjs/index.js",
14-
"module": "lib/index.js",
15-
"types": "lib/index.d.ts",
11+
"license": "MIT",
12+
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
1613
"exports": {
1714
".": {
1815
"types": "./lib/index.d.ts",
1916
"import": "./lib/index.js",
2017
"require": "./lib-commonjs/index.js"
2118
}
2219
},
20+
"main": "lib-commonjs/index.js",
21+
"module": "lib/index.js",
22+
"types": "lib/index.d.ts",
2323
"scripts": {
2424
"android": "rnx-cli run --platform android",
2525
"build": "fluentui-scripts build",
@@ -40,6 +40,9 @@
4040
"start": "rnx-cli start",
4141
"windows": "react-native run-windows --arch x64 --sln windows/FluentTester.sln"
4242
},
43+
"jest": {
44+
"preset": "react-native"
45+
},
4346
"dependencies": {
4447
"@fluentui-react-native/android-theme": "workspace:*",
4548
"@fluentui-react-native/apple-theme": "workspace:*",
@@ -102,11 +105,6 @@
102105
"react-native-svg": ">=15.4.0 <15.13.0",
103106
"react-native-windows": "^0.74.0"
104107
},
105-
"peerDependenciesMeta": {
106-
"@office-iss/react-native-win32": {
107-
"optional": true
108-
}
109-
},
110108
"devDependencies": {
111109
"@babel/core": "^7.20.0",
112110
"@babel/runtime": "^7.20.0",
@@ -142,6 +140,11 @@
142140
"react-test-renderer": "18.2.0",
143141
"webdriverio": "catalog:"
144142
},
143+
"peerDependenciesMeta": {
144+
"@office-iss/react-native-win32": {
145+
"optional": true
146+
}
147+
},
145148
"furn": {
146149
"depcheck": {
147150
"ignoreMatches": [
@@ -221,8 +224,5 @@
221224
]
222225
},
223226
"extends": "@fluentui-react-native/kit-config"
224-
},
225-
"jest": {
226-
"preset": "react-native"
227227
}
228228
}

apps/win32/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
"url": "https://github.com/microsoft/fluentui-react-native.git",
77
"directory": "apps/win32"
88
},
9-
"main": "lib-commonjs/index.js",
10-
"module": "lib/index.js",
11-
"types": "lib/index.d.ts",
129
"exports": {
1310
".": {
1411
"types": "./lib/index.d.ts",
1512
"import": "./lib/index.js",
1613
"require": "./lib-commonjs/index.js"
1714
}
1815
},
16+
"main": "lib-commonjs/index.js",
17+
"module": "lib/index.js",
18+
"types": "lib/index.d.ts",
1919
"scripts": {
2020
"build": "fluentui-scripts build",
2121
"build-cjs": "tsgo --outDir lib-commonjs",
@@ -33,21 +33,16 @@
3333
"run-win32-devmain-dev": "rex-win32 --bundle index --component FluentTester --basePath ./dist --useDirectDebugger --windowTitle \"FluentUI Tester\" --pluginProps --debugBundlePath index --jsEngine v8 --useFastRefresh --useDevMain",
3434
"start": "rnx-cli start"
3535
},
36+
"jest": {
37+
"preset": "react-native"
38+
},
3639
"dependencies": {
3740
"@fluentui-react-native/tester": "workspace:*",
3841
"@office-iss/react-native-win32": "^0.74.0",
3942
"react": "18.2.0",
4043
"react-native": "^0.74.0",
4144
"react-native-svg": ">=15.4.0 <15.13.0"
4245
},
43-
"peerDependencies": {
44-
"@office-iss/react-native-win32": "^0.74.0"
45-
},
46-
"peerDependenciesMeta": {
47-
"@office-iss/react-native-win32": {
48-
"optional": true
49-
}
50-
},
5146
"devDependencies": {
5247
"@babel/core": "^7.20.0",
5348
"@fluentui-react-native/eslint-config-rules": "workspace:*",
@@ -67,6 +62,14 @@
6762
"react-test-renderer": "18.2.0",
6863
"rimraf": "catalog:"
6964
},
65+
"peerDependencies": {
66+
"@office-iss/react-native-win32": "^0.74.0"
67+
},
68+
"peerDependenciesMeta": {
69+
"@office-iss/react-native-win32": {
70+
"optional": true
71+
}
72+
},
7073
"rnx-kit": {
7174
"kitType": "app",
7275
"bundle": [
@@ -115,8 +118,5 @@
115118
]
116119
},
117120
"extends": "@fluentui-react-native/kit-config"
118-
},
119-
"jest": {
120-
"preset": "react-native"
121121
}
122122
}

packages/codemods/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
"name": "@fluentui-react-native/codemods",
33
"version": "0.5.24",
44
"description": "Transform files to make refactoring FURN code easier",
5-
"license": "MIT",
6-
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
75
"homepage": "https://github.com/microsoft/fluentui-react-native",
86
"repository": {
97
"type": "git",
108
"url": "https://github.com/microsoft/fluentui-react-native.git",
119
"directory": "packages/codemods"
1210
},
13-
"main": "lib-commonjs/index.js",
14-
"module": "lib/index.js",
15-
"types": "lib/index.d.ts",
11+
"license": "MIT",
12+
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
1613
"exports": {
1714
".": {
1815
"types": "./lib/index.d.ts",
1916
"import": "./lib/index.js",
2017
"require": "./lib-commonjs/index.js"
2118
}
2219
},
20+
"main": "lib-commonjs/index.js",
21+
"module": "lib/index.js",
22+
"types": "lib/index.d.ts",
2323
"bin": {
2424
"transform": "./transform.js"
2525
},

packages/components/Avatar/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
"name": "@fluentui-react-native/avatar",
33
"version": "1.12.23",
44
"description": "A cross-platform Avatar component using the Fluent Design System",
5-
"license": "MIT",
6-
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
75
"homepage": "https://github.com/microsoft/fluentui-react-native",
86
"repository": {
97
"type": "git",
108
"url": "https://github.com/microsoft/fluentui-react-native.git",
119
"directory": "packages/components/Avatar"
1210
},
13-
"main": "lib-commonjs/index.js",
14-
"module": "lib/index.js",
15-
"types": "lib/index.d.ts",
11+
"license": "MIT",
12+
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
1613
"exports": {
1714
".": {
1815
"types": "./lib/index.d.ts",
1916
"import": "./lib/index.js",
2017
"require": "./lib-commonjs/index.js"
2118
}
2219
},
20+
"main": "lib-commonjs/index.js",
21+
"module": "lib/index.js",
22+
"types": "lib/index.d.ts",
2323
"scripts": {
2424
"build": "fluentui-scripts build",
2525
"build-cjs": "tsgo --outDir lib-commonjs",
@@ -43,25 +43,6 @@
4343
"@fluentui-react-native/use-styling": "workspace:*",
4444
"unicode-segmenter": "^0.14.4"
4545
},
46-
"peerDependencies": {
47-
"@office-iss/react-native-win32": "^0.74.0",
48-
"react": "18.2.0",
49-
"react-native": "^0.73.0 || ^0.74.0",
50-
"react-native-macos": "^0.73.0 || ^0.74.0",
51-
"react-native-svg": ">=15.0.0 <15.13.0 || >=15.4.0 <15.13.0",
52-
"react-native-windows": "^0.73.0 || ^0.74.0"
53-
},
54-
"peerDependenciesMeta": {
55-
"@office-iss/react-native-win32": {
56-
"optional": true
57-
},
58-
"react-native-macos": {
59-
"optional": true
60-
},
61-
"react-native-windows": {
62-
"optional": true
63-
}
64-
},
6546
"devDependencies": {
6647
"@babel/core": "^7.20.0",
6748
"@fluentui-react-native/babel-config": "workspace:*",
@@ -82,6 +63,25 @@
8263
"react-native-windows": "^0.74.0",
8364
"react-test-renderer": "18.2.0"
8465
},
66+
"peerDependencies": {
67+
"@office-iss/react-native-win32": "^0.74.0",
68+
"react": "18.2.0",
69+
"react-native": "^0.73.0 || ^0.74.0",
70+
"react-native-macos": "^0.73.0 || ^0.74.0",
71+
"react-native-svg": ">=15.0.0 <15.13.0 || >=15.4.0 <15.13.0",
72+
"react-native-windows": "^0.73.0 || ^0.74.0"
73+
},
74+
"peerDependenciesMeta": {
75+
"@office-iss/react-native-win32": {
76+
"optional": true
77+
},
78+
"react-native-macos": {
79+
"optional": true
80+
},
81+
"react-native-windows": {
82+
"optional": true
83+
}
84+
},
8585
"rnx-kit": {
8686
"kitType": "library",
8787
"alignDeps": {

0 commit comments

Comments
 (0)