This commit is contained in:
pelikhan 2021-05-10 09:35:46 -07:00
Родитель 38884262bd
Коммит d22e9956ea
4 изменённых файлов: 2183 добавлений и 50 удалений

5
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -23,3 +23,8 @@ jobs:
yarn lint
yarn build
yarn test
- run: npx semantic-release
if: ${{ github.ref == 'refs/heads/main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

59
.releaserc.json Normal file
Просмотреть файл

@ -0,0 +1,59 @@
{
"branch": "main",
"branches": ["main"],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "doc",
"release": "patch"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "patch",
"release": "patch"
},
{
"type": "minor",
"release": "minor"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "feature",
"release": "minor"
},
{
"scope": "no-release",
"release": false
}
]
}
],
["@semantic-release/release-notes-generator"],
[
"@semantic-release/github",
{
"successComment": false,
"failComment": false
}
],
["@semantic-release/npm"],
[
"@semantic-release/git",
{
"assets": [
"package.json"
]
}
]
]
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "node-red-contrib-jacdac",
"version": "0.2.3",
"version": "0.0.1",
"description": "Microsoft Jacdac for node-red",
"keywords": [
"node-red",
@ -32,6 +32,9 @@
"webusb": "^2.2.0"
},
"devDependencies": {
"semantic-release": "^17.4.2",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.23",

2164
yarn.lock

Разница между файлами не показана из-за своего большого размера Загрузить разницу