Skip to content

Commit 121e85a

Browse files
chore: run sort-package-json on packages (#8941)
1 parent 3bb0a91 commit 121e85a

File tree

6 files changed

+84
-84
lines changed

6 files changed

+84
-84
lines changed

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,34 @@
11
{
22
"private": true,
3+
"workspaces": {
4+
"packages": [
5+
"packages/react-router",
6+
"packages/react-router-dom",
7+
"packages/react-router-native",
8+
"packages/router"
9+
],
10+
"nohoist": [
11+
"**/react-native",
12+
"**/react-native/**"
13+
]
14+
},
315
"scripts": {
416
"build": "rollup -c && tsc -b",
517
"clean": "git clean -fdX .",
6-
"lint": "eslint --cache .",
718
"format": "prettier --ignore-path .eslintignore --write .",
819
"format:check": "prettier --ignore-path .eslintignore --check .",
20+
"lint": "eslint --cache .",
921
"publish": "node ./scripts/publish.js",
1022
"size": "filesize",
1123
"test": "jest",
1224
"version": "node ./scripts/version.js",
1325
"watch": "rollup -c -w"
1426
},
27+
"jest": {
28+
"projects": [
29+
"<rootDir>/packages/*"
30+
]
31+
},
1532
"dependencies": {
1633
"@ampproject/filesize": "^4.3.0",
1734
"@ampproject/rollup-plugin-closure-compiler": "^0.26.0",
@@ -64,23 +81,6 @@
6481
"ts-jest": "^26.5.6",
6582
"typescript": "^4.3.5"
6683
},
67-
"workspaces": {
68-
"packages": [
69-
"packages/react-router",
70-
"packages/react-router-dom",
71-
"packages/react-router-native",
72-
"packages/router"
73-
],
74-
"nohoist": [
75-
"**/react-native",
76-
"**/react-native/**"
77-
]
78-
},
79-
"jest": {
80-
"projects": [
81-
"<rootDir>/packages/*"
82-
]
83-
},
8484
"filesize": {
8585
"build/node_modules/@remix-run/router/router.production.min.js": {
8686
"none": "21 kB"
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
{
22
"name": "react-router-dom-v5-compat",
33
"version": "6.4.0-pre.2",
4-
"author": "Remix Software <[email protected]>",
54
"description": "Migration path to React Router v6 from v4/5",
5+
"keywords": [
6+
"react",
7+
"router",
8+
"route",
9+
"routing",
10+
"history",
11+
"link"
12+
],
613
"repository": {
714
"type": "git",
8-
"url": "https://github.com/remix-run/react-router.git",
15+
"url": "https://github.com/remix-run/react-router",
916
"directory": "packages/react-router-dom-v5-compat"
1017
},
1118
"license": "MIT",
19+
"author": "Remix Software <[email protected]>",
20+
"sideEffects": false,
1221
"main": "./main.js",
22+
"unpkg": "./umd/react-router.production.min.js",
1323
"module": "./index.js",
1424
"types": "./index.d.ts",
15-
"unpkg": "./umd/react-router.production.min.js",
1625
"dependencies": {
1726
"history": "^5.3.0",
1827
"react-router": "6.4.0-pre.2"
@@ -21,14 +30,5 @@
2130
"react": ">=16.8",
2231
"react-dom": ">=16.8",
2332
"react-router-dom": "4 || 5"
24-
},
25-
"sideEffects": false,
26-
"keywords": [
27-
"react",
28-
"router",
29-
"route",
30-
"routing",
31-
"history",
32-
"link"
33-
]
33+
}
3434
}
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
{
22
"name": "react-router-dom",
33
"version": "6.4.0-pre.2",
4-
"author": "Remix Software <[email protected]>",
54
"description": "Declarative routing for React web applications",
5+
"keywords": [
6+
"react",
7+
"router",
8+
"route",
9+
"routing",
10+
"history",
11+
"link"
12+
],
613
"repository": {
714
"type": "git",
8-
"url": "https://github.com/remix-run/react-router.git",
15+
"url": "https://github.com/remix-run/react-router",
916
"directory": "packages/react-router-dom"
1017
},
1118
"license": "MIT",
19+
"author": "Remix Software <[email protected]>",
20+
"sideEffects": false,
1221
"main": "./main.js",
22+
"unpkg": "./umd/react-router-dom.production.min.js",
1323
"module": "./index.js",
1424
"types": "./index.d.ts",
15-
"unpkg": "./umd/react-router-dom.production.min.js",
1625
"dependencies": {
1726
"react-router": "6.4.0-pre.2"
1827
},
1928
"peerDependencies": {
2029
"react": ">=16.8",
2130
"react-dom": ">=16.8"
22-
},
23-
"sideEffects": false,
24-
"keywords": [
25-
"react",
26-
"router",
27-
"route",
28-
"routing",
29-
"history",
30-
"link"
31-
]
31+
}
3232
}
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
22
"name": "react-router-native",
33
"version": "6.4.0-pre.2",
4-
"author": "Remix Software <[email protected]>",
54
"description": "Declarative routing for React Native applications",
5+
"keywords": [
6+
"react",
7+
"router",
8+
"route",
9+
"routing",
10+
"history",
11+
"link"
12+
],
613
"repository": {
714
"type": "git",
8-
"url": "https://github.com/remix-run/react-router.git",
15+
"url": "https://github.com/remix-run/react-router",
916
"directory": "packages/react-router-native"
1017
},
1118
"license": "MIT",
19+
"author": "Remix Software <[email protected]>",
20+
"sideEffects": false,
1221
"main": "./index.js",
1322
"types": "./index.d.ts",
1423
"dependencies": {
1524
"@ungap/url-search-params": "^0.1.4",
1625
"react-router": "6.4.0-pre.2"
1726
},
18-
"peerDependencies": {
19-
"react": ">=16.8",
20-
"react-native": ">=0.44"
21-
},
2227
"devDependencies": {
2328
"react-native": "^0.61.4"
2429
},
25-
"sideEffects": false,
26-
"keywords": [
27-
"react",
28-
"router",
29-
"route",
30-
"routing",
31-
"history",
32-
"link"
33-
]
30+
"peerDependencies": {
31+
"react": ">=16.8",
32+
"react-native": ">=0.44"
33+
}
3434
}

packages/react-router/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
22
"name": "react-router",
33
"version": "6.4.0-pre.2",
4-
"author": "Remix Software <[email protected]>",
54
"description": "Declarative routing for React",
5+
"keywords": [
6+
"react",
7+
"router",
8+
"route",
9+
"routing",
10+
"history",
11+
"link"
12+
],
613
"repository": {
714
"type": "git",
8-
"url": "https://github.com/remix-run/react-router.git",
15+
"url": "https://github.com/remix-run/react-router",
916
"directory": "packages/react-router"
1017
},
1118
"license": "MIT",
19+
"author": "Remix Software <[email protected]>",
20+
"sideEffects": false,
1221
"main": "./main.js",
22+
"unpkg": "./umd/react-router.production.min.js",
1323
"module": "./index.js",
1424
"types": "./index.d.ts",
15-
"unpkg": "./umd/react-router.production.min.js",
16-
"peerDependencies": {
17-
"react": ">=16.8"
18-
},
1925
"dependencies": {
2026
"@remix-run/router": "0.1.0"
2127
},
22-
"sideEffects": false,
23-
"keywords": [
24-
"react",
25-
"router",
26-
"route",
27-
"routing",
28-
"history",
29-
"link"
30-
]
28+
"peerDependencies": {
29+
"react": ">=16.8"
30+
}
3131
}

packages/router/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"name": "@remix-run/router",
33
"version": "0.1.0",
4-
"author": "Remix Software <[email protected]>",
54
"description": "Nested/Data-driven/Framework-agnostic Routing",
5+
"keywords": [
6+
"remix",
7+
"router",
8+
"location"
9+
],
610
"repository": {
711
"type": "git",
8-
"url": "https://github.com/remix-run/react-router.git",
12+
"url": "https://github.com/remix-run/react-router",
913
"directory": "packages/router"
1014
},
1115
"license": "MIT",
16+
"author": "Remix Software <[email protected]>",
17+
"sideEffects": false,
1218
"main": "./main.js",
13-
"module": "./index.js",
14-
"types": "./index.d.ts",
1519
"unpkg": "./umd/router.production.min.js",
16-
"sideEffects": false,
17-
"keywords": [
18-
"remix",
19-
"router",
20-
"location"
21-
]
20+
"module": "./index.js",
21+
"types": "./index.d.ts"
2222
}

0 commit comments

Comments
 (0)