Skip to content

Commit 5176c18

Browse files
committed
🎨 chore: reformat package.json with prettier
1 parent 30c897d commit 5176c18

File tree

7 files changed

+112
-110
lines changed

7 files changed

+112
-110
lines changed

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
const config = require('@umijs/max/prettier');
22

3-
module.exports =config
3+
module.exports = { ...config, printWidth: 100 };

packages/changelog/package.json

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,34 @@
22
"name": "conventional-changelog-gitmoji-config",
33
"version": "1.4.4",
44
"description": "a gitmoji commit style presets for conventional changelog",
5-
"main": "lib/index.js",
6-
"files": [
7-
"lib"
8-
],
9-
"scripts": {
10-
"start": "father dev",
11-
"build": "father build",
12-
"test": "jest",
13-
"cov": "jest --coverage",
14-
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache"
15-
},
16-
"repository": {
17-
"type": "git",
18-
"url": "https://github.com/arvinxx/gitmoji-commit-workflow.git"
19-
},
205
"keywords": [
216
"conventional-changelog",
227
"gitmoji",
238
"preset",
249
"changelog",
2510
"emoji"
2611
],
27-
"author": "Arvin Xu <arvinx@foxmail.com>",
28-
"license": "MIT",
29-
"publishConfig": {
30-
"access": "public",
31-
"registry": "https://registry.npmjs.org/"
32-
},
12+
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/changelog#readme",
3313
"bugs": {
3414
"url": "https://github.com/arvinxx/gitmoji-commit-workflow/issues"
3515
},
36-
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/changelog#readme",
16+
"repository": {
17+
"type": "git",
18+
"url": "https://github.com/arvinxx/gitmoji-commit-workflow.git"
19+
},
20+
"license": "MIT",
21+
"author": "Arvin Xu <arvinx@foxmail.com>",
22+
"main": "lib/index.js",
23+
"files": [
24+
"lib"
25+
],
26+
"scripts": {
27+
"build": "father build",
28+
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
29+
"cov": "jest --coverage",
30+
"start": "father dev",
31+
"test": "jest"
32+
},
3733
"dependencies": {
3834
"@gitmoji/commit-types": "1.1.5",
3935
"@gitmoji/parser-opts": "1.3.1",
@@ -43,8 +39,14 @@
4339
"@types/conventional-changelog-core": "^4.1.1",
4440
"better-than-before": "^1.0.0",
4541
"conventional-changelog-core": "^4.2.2",
42+
"conventional-changelog-writer": "^5",
43+
"conventional-commits-parser": "^3",
4644
"git-dummy-commit": "^1.3.0",
4745
"shelljs": "^0.8.4",
4846
"through2": "^4.0.2"
47+
},
48+
"publishConfig": {
49+
"access": "public",
50+
"registry": "https://registry.npmjs.org/"
4951
}
5052
}

packages/commit-types/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22
"name": "@gitmoji/commit-types",
33
"version": "1.1.5",
44
"description": "gitmoji styles commit types",
5-
"author": "arvinxx <arvinx@foxmail.com>",
65
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/commit-types",
6+
"bugs": {
7+
"url": "https://github.com/arvinxx/gitmoji-commit-workflow/issues"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/arvinxx/gitmoji-commit-workflow.git"
12+
},
713
"license": "MIT",
14+
"author": "arvinxx <arvinx@foxmail.com>",
815
"main": "lib/index.js",
16+
"types": "lib/index.d.ts",
917
"files": [
1018
"lib"
1119
],
@@ -16,12 +24,5 @@
1624
"publishConfig": {
1725
"access": "public",
1826
"registry": "https://registry.npmjs.org/"
19-
},
20-
"repository": {
21-
"type": "git",
22-
"url": "git+https://github.com/arvinxx/gitmoji-commit-workflow.git"
23-
},
24-
"bugs": {
25-
"url": "https://github.com/arvinxx/gitmoji-commit-workflow/issues"
2627
}
2728
}

packages/commitlint-config/package.json

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,39 @@
22
"name": "commitlint-config-gitmoji",
33
"version": "2.2.6",
44
"description": "shareable commitlint config enforcing gitmoji commit message",
5-
"main": "lib/index.js",
6-
"scripts": {
7-
"start": "tsc -w",
8-
"build": "tsc",
9-
"test": "jest",
10-
"cov": "jest --coverage",
11-
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache"
12-
},
13-
"files": [
14-
"lib"
15-
],
16-
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/config",
17-
"repository": {
18-
"type": "git",
19-
"url": "https://github.com/arvinxx/gitmoji-commit-workflow.git"
20-
},
21-
"publishConfig": {
22-
"access": "public",
23-
"registry": "https://registry.npmjs.org/"
24-
},
255
"keywords": [
266
"commitlint",
277
"gitmoji",
288
"emoji",
299
"commit",
3010
"git"
3111
],
32-
"author": "Arvin Xu <arvinx@foxmail.com>",
12+
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/config",
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/arvinxx/gitmoji-commit-workflow.git"
16+
},
3317
"license": "MIT",
18+
"author": "Arvin Xu <arvinx@foxmail.com>",
19+
"main": "lib/index.js",
20+
"files": [
21+
"lib"
22+
],
23+
"scripts": {
24+
"build": "father build",
25+
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
26+
"cov": "jest --coverage",
27+
"start": "father dev",
28+
"test": "jest"
29+
},
3430
"dependencies": {
31+
"@commitlint/types": "^17",
3532
"@gitmoji/commit-types": "1.1.5",
3633
"@gitmoji/parser-opts": "1.3.1",
3734
"commitlint-plugin-gitmoji": "2.2.0"
35+
},
36+
"publishConfig": {
37+
"access": "public",
38+
"registry": "https://registry.npmjs.org/"
3839
}
3940
}

packages/commitlint-plugin/package.json

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,41 @@
22
"name": "commitlint-plugin-gitmoji",
33
"version": "2.2.0",
44
"description": "shareable commitlint plugin enforcing gitmoji commit rules",
5+
"keywords": [
6+
"commitlint",
7+
"commitlintplugin",
8+
"gitmoji",
9+
"emoji",
10+
"git"
11+
],
12+
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/plugin",
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/arvinxx/commitlint-config-gitmoji.git"
16+
},
17+
"license": "MIT",
18+
"author": "ArvinX",
519
"main": "lib/index.js",
620
"files": [
721
"lib"
822
],
923
"scripts": {
10-
"start": "father dev",
1124
"build": "father build",
12-
"test": "jest",
25+
"changelog": "conventional-changelog -p gitmoji-config -i CHANGELOG.md -s -r 0",
26+
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
1327
"cov": "jest --coverage",
1428
"release": "yarn build && yarn release:only",
1529
"release:only": "yarn publish",
16-
"changelog": "conventional-changelog -p gitmoji-config -i CHANGELOG.md -s -r 0",
17-
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache"
18-
},
19-
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/plugin",
20-
"repository": {
21-
"type": "git",
22-
"url": "https://github.com/arvinxx/commitlint-config-gitmoji.git"
23-
},
24-
"publishConfig": {
25-
"access": "public",
26-
"registry": "https://registry.npmjs.org/"
27-
},
28-
"keywords": [
29-
"commitlint",
30-
"commitlintplugin",
31-
"gitmoji",
32-
"emoji",
33-
"git"
34-
],
35-
"author": "ArvinX",
36-
"license": "MIT",
37-
"peerDependencies": {
38-
"commitlint": "^12.1.1"
30+
"start": "father dev",
31+
"test": "jest"
3932
},
4033
"dependencies": {
4134
"emoji-name-map": "^1.2.9",
4235
"gitmojis": "^3.11.1"
36+
"@commitlint/types": "^17"
4337
},
44-
"devDependencies": {}
38+
"publishConfig": {
39+
"access": "public",
40+
"registry": "https://registry.npmjs.org/"
41+
}
4542
}

packages/parser-opts/package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,29 @@
22
"name": "@gitmoji/parser-opts",
33
"version": "1.3.1",
44
"description": "gitmoji styles commit parser options",
5-
"author": "arvinxx <arvinx@foxmail.com>",
65
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/parser-opts",
6+
"bugs": {
7+
"url": "https://github.com/arvinxx/gitmoji-commit-workflow/issues"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/arvinxx/gitmoji-commit-workflow.git"
12+
},
713
"license": "ISC",
14+
"author": "arvinxx <arvinx@foxmail.com>",
815
"main": "lib/index.js",
916
"files": [
1017
"lib",
1118
"src"
1219
],
1320
"scripts": {
14-
"test": "jest",
21+
"build": "father build",
22+
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
1523
"cov": "jest --coverage",
16-
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache"
24+
"test": "jest"
1725
},
1826
"publishConfig": {
1927
"access": "public",
2028
"registry": "https://registry.npmjs.org/"
21-
},
22-
"repository": {
23-
"type": "git",
24-
"url": "git+https://github.com/arvinxx/gitmoji-commit-workflow.git"
25-
},
26-
"bugs": {
27-
"url": "https://github.com/arvinxx/gitmoji-commit-workflow/issues"
2829
}
2930
}

packages/release-config/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,6 @@
22
"name": "semantic-release-config-gitmoji",
33
"version": "1.2.5",
44
"description": "a gitmoji commit style presets for semantic-release",
5-
"main": "lib/index.js",
6-
"files": [
7-
"lib"
8-
],
9-
"scripts": {
10-
"start": "father dev",
11-
"build": "father build",
12-
"test": "jest",
13-
"cov": "jest --coverage",
14-
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache"
15-
},
16-
"repository": {
17-
"type": "git",
18-
"url": "https://github.com/arvinxx/gitmoji-commit-workflow.git"
19-
},
205
"keywords": [
216
"conventional-changelog",
227
"gitmoji",
@@ -25,21 +10,36 @@
2510
"emoji",
2611
"semantic-release"
2712
],
28-
"author": "Arvin Xu <arvinx@foxmail.com>",
29-
"license": "MIT",
30-
"publishConfig": {
31-
"access": "public",
32-
"registry": "https://registry.npmjs.org/"
33-
},
13+
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/release-config#readme",
3414
"bugs": {
3515
"url": "https://github.com/arvinxx/gitmoji-commit-workflow/issues"
3616
},
37-
"homepage": "https://github.com/arvinxx/gitmoji-commit-workflow/tree/master/packages/release-config#readme",
17+
"repository": {
18+
"type": "git",
19+
"url": "https://github.com/arvinxx/gitmoji-commit-workflow.git"
20+
},
21+
"license": "MIT",
22+
"author": "Arvin Xu <arvinx@foxmail.com>",
23+
"main": "lib/index.js",
24+
"files": [
25+
"lib"
26+
],
27+
"scripts": {
28+
"build": "father build",
29+
"clean": "rm -rf es lib dist build coverage src/.umi* .eslintcache",
30+
"cov": "jest --coverage",
31+
"start": "father dev",
32+
"test": "jest"
33+
},
3834
"dependencies": {
3935
"@gitmoji/commit-types": "1.1.5",
4036
"@semantic-release/changelog": "^5.0.1",
4137
"@semantic-release/git": "^9.0.0",
4238
"@types/semantic-release": "^17.2.0",
4339
"conventional-changelog-gitmoji-config": "1.4.4"
40+
},
41+
"publishConfig": {
42+
"access": "public",
43+
"registry": "https://registry.npmjs.org/"
4444
}
4545
}

0 commit comments

Comments
 (0)