Skip to content

Commit ebc7bb1

Browse files
committed
Sort manifest files
1 parent 0f1e7c8 commit ebc7bb1

File tree

29 files changed

+332
-332
lines changed

29 files changed

+332
-332
lines changed

_templates/create-package/library/files/package.json.t

+20-20
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,19 @@ to: packages/<%=package%>/package.json
55
"name": "@rocket.chat/<%=package%>",
66
"version": "<%=version%>",
77
"description": "<%=description%>",
8-
"author": {
9-
"name": "Rocket.Chat",
10-
"url": "https://rocket.chat/"
11-
},
128
"homepage": "https://github.com/RocketChat/fuselage#readme",
13-
"license": "MIT",
14-
"publishConfig": {
15-
"access": "public"
9+
"bugs": {
10+
"url": "https://github.com/RocketChat/fuselage/issues"
1611
},
1712
"repository": {
1813
"type": "git",
1914
"url": "git+https://github.com/RocketChat/fuselage.git",
2015
"directory": "packages/<%=package%>"
2116
},
22-
"bugs": {
23-
"url": "https://github.com/RocketChat/fuselage/issues"
17+
"license": "MIT",
18+
"author": {
19+
"name": "Rocket.Chat",
20+
"url": "https://rocket.chat/"
2421
},
2522
"main": "dist/cjs/index.js",
2623
"module": "dist/esm/index.js",
@@ -29,14 +26,21 @@ to: packages/<%=package%>/package.json
2926
"/dist"
3027
],
3128
"scripts": {
32-
"clean": "rimraf dist",
33-
"build": "run .:build:esm && run .:build:cjs",
34-
".:build:esm": "tsc -p tsconfig.esm.json",
3529
".:build:cjs": "tsc -p tsconfig.cjs.json",
30+
".:build:esm": "tsc -p tsconfig.esm.json",
31+
"build": "run .:build:esm && run .:build:cjs",
32+
"clean": "rimraf dist",
33+
"docs": "typedoc",
3634
"lint": "lint",
3735
"lint-and-fix": "lint-and-fix",
38-
"test": "jest --runInBand",
39-
"docs": "typedoc"
36+
"test": "jest --runInBand"
37+
},
38+
"jest": {
39+
"errorOnDeprecated": true,
40+
"preset": "ts-jest",
41+
"testMatch": [
42+
"<rootDir>/src/**/*.spec.[jt]s?(x)"
43+
]
4044
},
4145
"devDependencies": {
4246
"@types/jest": "~27.4.0",
@@ -49,11 +53,7 @@ to: packages/<%=package%>/package.json
4953
"typedoc": "~0.24.1",
5054
"typescript": "~5.5.4"
5155
},
52-
"jest": {
53-
"preset": "ts-jest",
54-
"errorOnDeprecated": true,
55-
"testMatch": [
56-
"<rootDir>/src/**/*.spec.[jt]s?(x)"
57-
]
56+
"publishConfig": {
57+
"access": "public"
5858
}
5959
}

package.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,29 @@
55
"packages/*",
66
"tools/*"
77
],
8+
"scripts": {
9+
"build": "yarn turbo run build",
10+
"build-storybook": "yarn turbo run build-storybook --cache-dir=\".turbo\"",
11+
"changeset": "changeset",
12+
"ci": "yarn turbo run build lint test build-storybook --cache-dir=\".turbo\"",
13+
"clean": "yarn workspaces foreach -vA run clean",
14+
"create-package": "hygen create-package",
15+
"docs": "yarn turbo run docs",
16+
"postinstall": "husky install && yarn build",
17+
"lint": "yarn turbo run lint",
18+
"lint-and-fix": "yarn workspaces foreach -v --topological-dev --all run lint-and-fix",
19+
"prepack": "pinst --disable",
20+
"postpack": "pinst --enable",
21+
"prettier": "prettier --plugin=@prettier/plugin-xml",
22+
"release": "yarn changeset publish",
23+
"release-next": "yarn workspaces foreach --no-private -v npm publish --tag next --tolerate-republish",
24+
"resolve-workspace-deps": "yarn workspace scripts run resolve-workspace-deps",
25+
"test": "yarn turbo run test",
26+
"update-readme": "update-readme"
27+
},
28+
"resolutions": {
29+
"jsdom": "25.0.1"
30+
},
831
"devDependencies": {
932
"@changesets/changelog-github": "~0.5.1",
1033
"@changesets/cli": "~2.28.1",
@@ -29,35 +52,12 @@
2952
"typescript-eslint": "~8.26.0",
3053
"update-readme": "workspace:~"
3154
},
32-
"scripts": {
33-
"postinstall": "husky install && yarn build",
34-
"prepack": "pinst --disable",
35-
"postpack": "pinst --enable",
36-
"ci": "yarn turbo run build lint test build-storybook --cache-dir=\".turbo\"",
37-
"clean": "yarn workspaces foreach -vA run clean",
38-
"build": "yarn turbo run build",
39-
"lint": "yarn turbo run lint",
40-
"lint-and-fix": "yarn workspaces foreach -v --topological-dev --all run lint-and-fix",
41-
"test": "yarn turbo run test",
42-
"docs": "yarn turbo run docs",
43-
"build-storybook": "yarn turbo run build-storybook --cache-dir=\".turbo\"",
44-
"update-readme": "update-readme",
45-
"resolve-workspace-deps": "yarn workspace scripts run resolve-workspace-deps",
46-
"create-package": "hygen create-package",
47-
"release": "yarn changeset publish",
48-
"changeset": "changeset",
49-
"release-next": "yarn workspaces foreach --no-private -v npm publish --tag next --tolerate-republish",
50-
"prettier": "prettier --plugin=@prettier/plugin-xml"
51-
},
55+
"packageManager": "[email protected]",
5256
"engines": {
5357
"node": "22.14.0"
5458
},
5559
"volta": {
5660
"node": "22.14.0",
5761
"yarn": "4.5.1"
58-
},
59-
"packageManager": "[email protected]",
60-
"resolutions": {
61-
"jsdom": "25.0.1"
6262
}
6363
}

packages/css-in-js/package.json

+23-23
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,46 @@
22
"name": "@rocket.chat/css-in-js",
33
"version": "0.31.25",
44
"description": "Toolset to transpile and use CSS on runtime",
5+
"keywords": [
6+
"rocket.chat",
7+
"css-in-js"
8+
],
59
"homepage": "https://rocketchat.github.io/Rocket.Chat.Fuselage/",
6-
"author": {
7-
"name": "Rocket.Chat",
8-
"url": "https://rocket.chat/"
10+
"bugs": {
11+
"url": "https://github.com/RocketChat/fuselage/issues"
912
},
10-
"license": "MIT",
1113
"repository": {
1214
"type": "git",
1315
"url": "git+https://github.com/RocketChat/fuselage.git",
1416
"directory": "packages/css-in-js"
1517
},
16-
"bugs": {
17-
"url": "https://github.com/RocketChat/fuselage/issues"
18+
"license": "MIT",
19+
"author": {
20+
"name": "Rocket.Chat",
21+
"url": "https://rocket.chat/"
1822
},
19-
"keywords": [
20-
"rocket.chat",
21-
"css-in-js"
22-
],
23-
"source": "src/index.ts",
2423
"main": "dist/index.js",
25-
"module": "dist/index.module.js",
2624
"unpkg": "dist/index.umd.js",
25+
"module": "dist/index.module.js",
26+
"source": "src/index.ts",
2727
"types": "dist/index.d.ts",
2828
"files": [
2929
"/dist",
3030
"/logicalProperties"
3131
],
32-
"publishConfig": {
33-
"access": "public"
34-
},
3532
"scripts": {
3633
"build": "rollup -c",
34+
"docs": "typedoc",
3735
"lint": "lint",
3836
"lint-and-fix": "lint-and-fix",
39-
"test": "jest --runInBand",
40-
"docs": "typedoc"
37+
"test": "jest --runInBand"
38+
},
39+
"dependencies": {
40+
"@emotion/hash": "^0.9.2",
41+
"@rocket.chat/css-supports": "workspace:~",
42+
"@rocket.chat/memo": "workspace:~",
43+
"@rocket.chat/stylis-logical-props-middleware": "workspace:~",
44+
"stylis": "~4.3.6"
4145
},
4246
"devDependencies": {
4347
"@rollup/plugin-commonjs": "~28.0.3",
@@ -56,11 +60,7 @@
5660
"typedoc": "~0.27.9",
5761
"typescript": "~5.8.2"
5862
},
59-
"dependencies": {
60-
"@emotion/hash": "^0.9.2",
61-
"@rocket.chat/css-supports": "workspace:~",
62-
"@rocket.chat/memo": "workspace:~",
63-
"@rocket.chat/stylis-logical-props-middleware": "workspace:~",
64-
"stylis": "~4.3.6"
63+
"publishConfig": {
64+
"access": "public"
6565
}
6666
}

packages/css-supports/package.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,19 @@
22
"name": "@rocket.chat/css-supports",
33
"version": "0.31.25",
44
"description": "Memoized and SSR-compatible facade of CSS.supports API",
5-
"author": {
6-
"name": "Rocket.Chat",
7-
"url": "https://rocket.chat/"
8-
},
95
"homepage": "https://github.com/RocketChat/fuselage#readme",
10-
"license": "MIT",
11-
"publishConfig": {
12-
"access": "public"
6+
"bugs": {
7+
"url": "https://github.com/RocketChat/fuselage/issues"
138
},
149
"repository": {
1510
"type": "git",
1611
"url": "git+https://github.com/RocketChat/fuselage.git",
1712
"directory": "packages/css-supports"
1813
},
19-
"bugs": {
20-
"url": "https://github.com/RocketChat/fuselage/issues"
14+
"license": "MIT",
15+
"author": {
16+
"name": "Rocket.Chat",
17+
"url": "https://rocket.chat/"
2118
},
2219
"main": "dist/cjs/index.js",
2320
"module": "dist/esm/index.js",
@@ -26,11 +23,14 @@
2623
"/dist"
2724
],
2825
"scripts": {
29-
"clean": "rimraf dist",
3026
"build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
27+
"clean": "rimraf dist",
28+
"docs": "typedoc",
3129
"lint": "lint",
32-
"lint-and-fix": "lint-and-fix",
33-
"docs": "typedoc"
30+
"lint-and-fix": "lint-and-fix"
31+
},
32+
"dependencies": {
33+
"@rocket.chat/memo": "workspace:~"
3434
},
3535
"devDependencies": {
3636
"eslint": "~9.21.0",
@@ -40,7 +40,7 @@
4040
"typedoc": "~0.27.9",
4141
"typescript": "~5.8.2"
4242
},
43-
"dependencies": {
44-
"@rocket.chat/memo": "workspace:~"
43+
"publishConfig": {
44+
"access": "public"
4545
}
4646
}

packages/emitter/package.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,30 @@
22
"name": "@rocket.chat/emitter",
33
"version": "0.31.25",
44
"description": "Event Emitter by Rocket.Chat",
5+
"keywords": [
6+
"rocket.chat"
7+
],
58
"homepage": "https://rocketchat.github.io/Rocket.Chat.Fuselage/",
6-
"author": {
7-
"name": "Rocket.Chat",
8-
"url": "https://rocket.chat/"
9+
"bugs": {
10+
"url": "https://github.com/RocketChat/fuselage/issues"
911
},
10-
"license": "MIT",
1112
"repository": {
1213
"type": "git",
1314
"url": "git+https://github.com/RocketChat/fuselage.git"
1415
},
15-
"bugs": {
16-
"url": "https://github.com/RocketChat/fuselage/issues"
16+
"license": "MIT",
17+
"author": {
18+
"name": "Rocket.Chat",
19+
"url": "https://rocket.chat/"
1720
},
18-
"keywords": [
19-
"rocket.chat"
20-
],
21-
"source": "src/index.ts",
2221
"main": "dist/index.js",
23-
"module": "dist/index.module.js",
2422
"unpkg": "dist/index.umd.js",
23+
"module": "dist/index.module.js",
24+
"source": "src/index.ts",
2525
"types": "dist/index.d.ts",
2626
"files": [
2727
"/dist"
2828
],
29-
"publishConfig": {
30-
"access": "public"
31-
},
3229
"scripts": {
3330
"build": "rollup -c",
3431
"lint": "lint",
@@ -52,5 +49,8 @@
5249
"ts-jest": "~29.2.6",
5350
"typedoc": "~0.27.9",
5451
"typescript": "~5.8.2"
52+
},
53+
"publishConfig": {
54+
"access": "public"
5555
}
5656
}

packages/fuselage-hooks/package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,34 @@
22
"name": "@rocket.chat/fuselage-hooks",
33
"version": "0.35.0",
44
"description": "React hooks for Fuselage, Rocket.Chat's design system and UI toolkit",
5+
"keywords": [
6+
"react",
7+
"hooks",
8+
"fuselage",
9+
"rocket.chat"
10+
],
511
"homepage": "https://rocketchat.github.io/Rocket.Chat.Fuselage/",
6-
"author": {
7-
"name": "Rocket.Chat",
8-
"url": "https://rocket.chat/"
12+
"bugs": {
13+
"url": "https://github.com/RocketChat/fuselage/issues"
914
},
10-
"license": "MIT",
1115
"repository": {
1216
"type": "git",
1317
"url": "git+https://github.com/RocketChat/fuselage.git",
1418
"directory": "packages/fuselage-hooks"
1519
},
16-
"bugs": {
17-
"url": "https://github.com/RocketChat/fuselage/issues"
20+
"license": "MIT",
21+
"author": {
22+
"name": "Rocket.Chat",
23+
"url": "https://rocket.chat/"
1824
},
19-
"keywords": [
20-
"react",
21-
"hooks",
22-
"fuselage",
23-
"rocket.chat"
24-
],
25-
"source": "src/index.ts",
2625
"main": "dist/index.js",
27-
"module": "dist/index.module.js",
2826
"unpkg": "dist/index.umd.js",
27+
"module": "dist/index.module.js",
28+
"source": "src/index.ts",
2929
"types": "dist/index.d.ts",
3030
"files": [
3131
"/dist"
3232
],
33-
"publishConfig": {
34-
"access": "public"
35-
},
3633
"scripts": {
3734
"build": "run-s .:build:clean .:build:rollup",
3835
".:build:clean": "rimraf dist",
@@ -72,5 +69,8 @@
7269
"peerDependencies": {
7370
"@rocket.chat/fuselage-tokens": "*",
7471
"react": "*"
72+
},
73+
"publishConfig": {
74+
"access": "public"
7575
}
7676
}

0 commit comments

Comments
 (0)