Skip to content

Commit 5500f8c

Browse files
committed
feat(template): constraint version number and change log
Standard version number and CHANGE_LOG by standard-version.
1 parent b6ddf5f commit 5500f8c

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

template/assist-plugin/package.json.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"prepublishOnly": "npm test; npm run build",
1212
"ca": "git add -A && git-cz -av",
1313
"commit": "git-cz",
14+
"release": "standard-version",
1415
"postpublish": "git push"
1516
},
1617
"engines": {
@@ -60,7 +61,8 @@
6061
"commitizen": "^2.10.1",
6162
"cz-conventional-changelog": "^2.1.0",
6263
"@commitlint/cli": "^7.1.2",
63-
"@commitlint/config-conventional": "^7.1.2"
64+
"@commitlint/config-conventional": "^7.1.2",
65+
"standard-version": "^4.4.0"
6466
},
6567
"dependencies": {},
6668
"postcss": {

template/component/package.json.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"prepublishOnly": "npm test; npm run build",
1414
"ca": "git add -A && git-cz -av",
1515
"commit": "git-cz",
16+
"release": "standard-version",
1617
"postpublish": "git push"
1718
},
1819
"engines": { "node": ">=8.9.4" },
@@ -51,7 +52,8 @@
5152
"commitizen": "^2.10.1",
5253
"cz-conventional-changelog": "^2.1.0",
5354
"@commitlint/cli": "^7.1.2",
54-
"@commitlint/config-conventional": "^7.1.2"
55+
"@commitlint/config-conventional": "^7.1.2",
56+
"standard-version": "^4.4.0"
5557
},
5658
"dependencies": {}
5759
}

template/pwa/package.json.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"deploy:prod": "pm2 deploy ecosystem.config.js prod",
2020
"analyzer": "NODE_ENV=production ANALYZER=true webpack",
2121
"ca": "git add -A && git-cz -av",
22+
"release": "standard-version",
2223
"commit": "git-cz"
2324
},
2425
"engines": { "node": ">=8.9.4" },
@@ -68,7 +69,8 @@
6869
"commitizen": "^2.10.1",
6970
"cz-conventional-changelog": "^2.1.0",
7071
"@commitlint/cli": "^7.1.2",
71-
"@commitlint/config-conventional": "^7.1.2"
72+
"@commitlint/config-conventional": "^7.1.2",
73+
"standard-version": "^4.4.0"
7274
},
7375
"dependencies": {
7476
"babel-polyfill": "^6.26.0",

template/web/package.json.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"deploy:prod": "pm2 deploy ecosystem.config.js prod",
2020
"analyzer": "NODE_ENV=production ANALYZER=true webpack",
2121
"ca": "git add -A && git-cz -av",
22+
"release": "standard-version",
2223
"commit": "git-cz"
2324
},
2425
"engines": { "node": ">=8.9.4" },
@@ -68,7 +69,8 @@
6869
"commitizen": "^2.10.1",
6970
"cz-conventional-changelog": "^2.1.0",
7071
"@commitlint/cli": "^7.1.2",
71-
"@commitlint/config-conventional": "^7.1.2"
72+
"@commitlint/config-conventional": "^7.1.2",
73+
"standard-version": "^4.4.0"
7274
},
7375
"dependencies": {
7476
"babel-polyfill": "^6.26.0",

0 commit comments

Comments
 (0)