Skip to content

Commit 440345a

Browse files
committed
build(release-it): add package to release new builds
update dependencies
1 parent 2f891b0 commit 440345a

File tree

5 files changed

+1226
-407
lines changed

5 files changed

+1226
-407
lines changed

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
example/
22
src/
33
tests/
4-
coverage/
4+
coverage/
5+
.release-it.json

.release-it.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"git": {
3+
"commitMessage": "chore: release %s",
4+
"tagName": "v%s"
5+
},
6+
"npm": {
7+
"publish": true
8+
},
9+
"github": {
10+
"release": true
11+
},
12+
"plugins": {
13+
"@release-it/conventional-changelog": {
14+
"preset": "angular"
15+
}
16+
}
17+
}

example/documentation/code/test.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: test
33
---
44
# grid
5-
65
This is an example of creating a reusable grid component and using it with external data.
76

87
::: tip Tags

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"description": "Generate jsdoc markdown files for vuepress",
55
"main": "index.js",
66
"scripts": {
7+
"release": "release-it",
78
"test": "jest",
89
"test-coverage": "cross-env NODE_ENV=test jest --coverage",
910
"test-watch": "cross-env NODE_ENV=test jest --watchAll",
10-
"lint": "eslint ./*/*.js",
11-
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
11+
"lint": "eslint ./*/*.js"
1212
},
1313
"husky": {
1414
"hooks": {
@@ -76,11 +76,12 @@
7676
"yargs": "^15.0.2"
7777
},
7878
"devDependencies": {
79-
"conventional-changelog-cli": "^2.0.28",
80-
"eslint": "^6.6.0",
79+
"@release-it/conventional-changelog": "^1.1.0",
80+
"eslint": "^6.7.1",
8181
"husky": "^3.1.0",
8282
"jest": "^24.9.0",
83-
"lint-staged": "^9.4.3"
83+
"lint-staged": "^9.4.3",
84+
"release-it": "^12.4.3"
8485
},
8586
"lint-staged": {
8687
"**/*.{css,scss,json}": [

0 commit comments

Comments
 (0)