8000 sort package.json files that have no PRs active toward them · backstage/backstage@c66a99c · GitHub
[go: up one dir, main page]

Skip to content

Commit c66a99c

Browse files
committed
sort package.json files that have no PRs active toward them
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
1 parent 04ad90e commit c66a99c

File tree

176 files changed

+3424
-3384
lines changed

Some content is hidden

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

176 files changed

+3424
-3384
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"package.json": [
7676
"yarn backstage-repo-tools generate-catalog-info",
7777
"git add */catalog-info.yaml",
78-
"yarn sort-package-json"
78+
"node ./scripts/sort-package-json.mjs"
7979
],
8080
"yarn.lock": [
8181
"node ./scripts/verify-lockfile-duplicates --fix"

packages/app-defaults/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
11
{
22
"name": "@backstage/app-defaults",
3-
"description": "Provides the default wiring of a Backstage App",
43
"version": "1.5.0",
4+
"description": "Provides the default wiring of a Backstage App",
5+
"backstage": {
6+
"role": "web-library"
7+
},
58
"publishConfig": {
69
"access": "public",
710
"main": "dist/index.esm.js",
811
"types": "dist/index.d.ts"
912
},
10-
"backstage": {
11-
"role": "web-library"
12-
},
13+
"keywords": [
14+
"backstage"
15+
],
1316
"homepage": "https://backstage.io",
1417
"repository": {
1518
"type": "git",
1619
"url": "https://github.com/backstage/backstage",
1720
"directory": "packages/app-defaults"
1821
},
19-
"keywords": [
20-
"backstage"
21-
],
2222
"license": "Apache-2.0",
23+
"sideEffects": false,
2324
"main": "src/index.ts",
2425
"types": "src/index.ts",
25-
"sideEffects": false,
26+
"files": [
27+
"dist"
28+
],
2629
"scripts": {
2730
"build": "backstage-cli package build",
31+
"clean": "backstage-cli package clean",
2832
"lint": "backstage-cli package lint",
29-
"test": "backstage-cli package test",
3033
"prepack": "backstage-cli package prepack",
3134
"postpack": "backstage-cli package postpack",
32-
"clean": "backstage-cli package clean",
33-
"start": "backstage-cli package start"
35+
"start": "backstage-cli package start",
36+
"test": "backstage-cli package test"
3437
},
3538
"dependencies": {
3639
"@backstage/core-app-api": "workspace:^",
@@ -41,19 +44,16 @@
4144
"@material-ui/core": "^4.12.2",
4245
"@material-ui/icons": "^4.9.1"
4346
},
44-
"peerDependencies": {
45-
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
46-
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
47-
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
48-
},
4947
"devDependencies": {
5048
"@backstage/cli": "workspace:^",
5149
"@backstage/test-utils": "workspace:^",
5250
"@testing-library/jest-dom": "^6.0.0",
5351
"@testing-library/react": "^14.0.0",
5452
"@types/react": "^16.13.1 || ^17.0.0"
5553
},
56-
"files": [
57-
"dist"
58-
]
54+
"peerDependencies": {
55+
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
56+
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
57+
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
58+
}
5959
}
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
{
22
"name": "app-next-example-plugin",
3-
"description": "Backstage internal example plugin",
43
"version": "0.0.6",
4+
"description": "Backstage internal example plugin",
5+
"backstage": {
6+
"role": "frontend-plugin"
7+
},
58
"publishConfig": {
69
"access": "public",
710
"main": "dist/index.esm.js",
811
"types": "dist/index.d.ts"
912
},
1013
"private": true,
11-
"backstage": {
12-
"role": "frontend-plugin"
13-
},
14+
"keywords": [
15+
"backstage"
16+
],
1417
"homepage": "https://backstage.io",
1518
"repository": {
1619
"type": "git",
1720
"url": "https://github.com/backstage/backstage",
1821
"directory": "packages/app-next-example-plugin"
1922
},
20-
"keywords": [
21-
"backstage"
22-
],
2323
"license": "Apache-2.0",
24+
"sideEffects": false,
2425
"main": "src/index.ts",
2526
"types": "src/index.ts",
26-
"sideEffects": false,
27+
"files": [
28+
"dist"
29+
],
2730
"scripts": {
2831
"build": "backstage-cli package build",
29-
"start": "backstage-cli package start",
32+
"clean": "backstage-cli package clean",
3033
"lint": "backstage-cli package lint",
31-
"test": "backstage-cli package test",
3234
"prepack": "backstage-cli package prepack",
3335
"postpack": "backstage-cli package postpack",
34-
"clean": "backstage-cli package clean"
36+
"start": "backstage-cli package start",
37+
"test": "backstage-cli package test"
3538
},
3639
"dependencies": {
3740
"@backstage/core-components": "workspace:^",
3841
"@backstage/frontend-plugin-api": "workspace:^",
3942
"@material-ui/icons": "^4.9.1"
4043
},
41-
"peerDependencies": {
42-
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
43-
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
44-
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
45-
},
4644
"devDependencies": {
4745
"@backstage/cli": "workspace:^",
4846
"cross-fetch": "^4.0.0",
4947
"msw": "^1.0.0"
5048
},
51-
"files": [
52-
"dist"
53-
]
49+
"peerDependencies": {
50+
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
51+
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
52+
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
53+
}
5454
}
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
{
22
"name": "@backstage/backend-dev-utils",
33
"version": "0.1.4",
4-
"main": "src/index.ts",
5-
"types": "src/index.ts",
6-
"license": "Apache-2.0",
4+
"backstage": {
5+
"role": "node-library"
6+
},
77
"publishConfig": {
88
"access": "public",
99
"main": "dist/index.cjs.js",
1010
"types": "dist/index.d.ts"
1111
},
12-
"backstage": {
13-
"role": "node-library"
14-
},
1512
"homepage": "https://backstage.io",
1613
"repository": {
1714
"type": "git",
1815
"url": "https://github.com/backstage/backstage",
1916
"directory": "packages/backend-dev-utils"
2017
},
18+
"license": "Apache-2.0",
19+
"main": "src/index.ts",
20+
"types": "src/index.ts",
21+
"files": [
22+
"dist"
23+
],
2124
"scripts": {
22-
"start": "backstage-cli package start",
2325
"build": "backstage-cli package build",
24-
"lint": "backstage-cli package lint",
25-
"test": "backstage-cli package test",
2626
"clean": "backstage-cli package clean",
27+
"lint": "backstage-cli package lint",
2728
"prepack": "backstage-cli package prepack",
28-
"postpack": "backstage-cli package postpack"
29+
"postpack": "backstage-cli package postpack",
30+
"start": "backstage-cli package start",
31+
"test": "backstage-cli package test"
2932
},
3033
"devDependencies": {
3134
"@backstage/cli": "workspace:^"
32-
},
33-
"files": [
34-
"dist"
35-
]
35+
}
3636
}

packages/catalog-client/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
11
{
22
"name": "@backstage/catalog-client",
3-
"description": "An isomorphic client for the catalog backend",
43
"version": "1.6.0",
5-
"main": "src/index.ts",
6-
"types": "src/index.ts",
7-
"license": "Apache-2.0",
4+
"description": "An isomorphic client for the catalog backend",
5+
"backstage": {
6+
"role": "common-library"
7+
},
88
"publishConfig": {
99
"access": "public",
1010
"main": "dist/index.cjs.js",
1111
"module": "dist/index.esm.js",
1212
"types": "dist/index.d.ts"
1313
},
14-
"backstage": {
15-
"role": "common-library"
16-
},
14+
"keywords": [
15+
"backstage"
16+
],
1717
"homepage": "https://backstage.io",
1818
"repository": {
1919
"type": "git",
2020
"url": "https://github.com/backstage/backstage",
2121
"directory": "packages/catalog-client"
2222
},
23-
"keywords": [
24-
"backstage"
25-
],
23+
"license": "Apache-2.0",
2624
"sideEffects": false,
25+
"main": "src/index.ts",
26+
"types": "src/index.ts",
27+
"files": [
28+
"dist"
29+
],
2730
"scripts": {
2831
"build": "backstage-cli package build",
32+
"clean": "backstage-cli package clean",
2933
"lint": "backstage-cli package lint",
30-
"test": "backstage-cli package test",
3134
"prepack": "backstage-cli package prepack",
3235
"postpack": "backstage-cli package postpack",
33-
"clean": "backstage-cli package clean"
36+
"test": "backstage-cli package test"
3437
},
3538
"dependencies": {
3639
"@backstage/catalog-model": "workspace:^",
@@ -41,8 +44,5 @@
4144
"devDependencies": {
4245
"@backstage/cli": "workspace:^",
4346
"msw": "^1.0.0"
44-
},
45-
"files": [
46-
"dist"
47-
]
47+
}
4848
}

packages/catalog-model/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"name": "@backstage/catalog-model",
3-
"description": "Types and validators that help describe the model of a Backstage Catalog",
43
"version": "1.4.4",
5-
"main": "src/index.ts",
6-
"types": "src/index.ts",
7-
"license": "Apache-2.0",
4+
"description": "Types and validators that help describe the model of a Backstage Catalog",
5+
"backstage": {
6+
"role": "common-library"
7+
},
88
"publishConfig": {
99
"access": "public"
1010
},
11+
"keywords": [
12+
"backstage"
13+
],
14+
"homepage": "https://backstage.io",
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/backstage/backstage",
18+
"directory": "packages/catalog-model"
19+
},
20+
"license": "Apache-2.0",
21+
"sideEffects": false,
1122
"exports": {
1223
".": "./src/index.ts",
1324
"./alpha": "./src/alpha.ts",
1425
"./package.json": "./package.json"
1526
},
27+
"main": "src/index.ts",
28+
"types": "src/index.ts",
1629
"typesVersions": {
1730
"*": {
1831
"alpha": [
@@ -23,26 +36,16 @@
2336
]
2437
}
2538
},
26-
"backstage": {
27-
"role": "common-library"
28-
},
29-
"homepage": "https://backstage.io",
30-
"repository": {
31-
"type": "git",
32-
"url": "https://github.com/backstage/backstage",
33-
"directory": "packages/catalog-model"
34-
},
35-
"keywords": [
36-
"backstage"
39+
"files": [
40+
"dist"
3741
],
38-
"sideEffects": false,
3942
"scripts": {
4043
"build": "backstage-cli package build",
44+
"clean": "backstage-cli package clean",
4145
"lint": "backstage-cli package lint",
42-
"test": "backstage-cli package test",
4346
"prepack": "backstage-cli package prepack",
4447
"postpack": "backstage-cli package postpack",
45-
"clean": "backstage-cli package clean"
48+
"test": "backstage-cli package test"
4649
},
4750
"dependencies": {
4851
"@backstage/errors": "workspace:^",
@@ -55,8 +58,5 @@
5558
"@types/json-schema": "^7.0.5",
5659
"@types/lodash": "^4.14.151",
5760
"yaml": "^2.0.0"
58-
},
59-
"files": [
60-
"dist"
61-
]
61+
}
6262
}

0 commit comments

Comments
 (0)
0