Skip to content

Commit 22269bb

Browse files
committed
feat(build): add semantic-release
1 parent eda1f07 commit 22269bb

File tree

6 files changed

+10884
-817
lines changed

6 files changed

+10884
-817
lines changed

.releaserc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
["@semantic-release/github", {
6+
"assets": ["./**/*.{js,css}", "package.json"]
7+
}],
8+
["@semantic-release/git", {
9+
"assets": ["dist/**/*.{js,css}", "docs", "package.json"],
10+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
11+
}]
12+
]
13+
}

.travis.yml

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
language: node_js
2+
cache:
3+
directories:
4+
- ~/.npm
5+
notifications:
6+
email: false
27
node_js:
3-
- "8"
4-
- "9"
5-
- "10"
8+
- '10'
9+
- '9'
10+
- '8'
611
script:
7-
- npm run lint
12+
- npm run lint
13+
after_success:
14+
- npm run travis-deploy-once "npm run semantic-release"
15+
branches:
16+
except:
17+
- /^v\d+\.\d+\.\d+$/

.vscode/launch.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Program",
11+
"program": "${workspaceFolder}/cli.js",
12+
"args": ["--image-version", "7", "express", "-vv"]
13+
}
14+
]
15+
}

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
".releaserc": "json"
4+
}
5+
}

0 commit comments

Comments
 (0)