fix .drone.yml and dependent packages vulnerabilities
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jérémi N ‘EndMove’ 2023-06-28 14:53:19 +02:00
parent c1329ee0ea
commit 578fc242e4
Signed by: EndMove
GPG Key ID: 65C4A02E1F5371A4
3 changed files with 23 additions and 33 deletions

View File

@ -61,7 +61,7 @@ depends_on:
- checkup - checkup
environment: environment:
CHANGE: ${CHANGE} VERSION: ${VERSION}
steps: steps:
- name: publish-release - name: publish-release
@ -69,25 +69,11 @@ steps:
environment: environment:
GITEA_TOKEN: GITEA_TOKEN:
from_secret: gitea_token from_secret: gitea_token
CHANGE: ${CHANGE}
commands: commands:
- git fetch --tags - git fetch --tags
- npm ci - npm ci
- echo $CHANGE - echo $(node -p "require('./package.json').version")
- npm version $CHANGE
- git push --set-upstream origin `git name-rev --name-only HEAD`
- export VERSION=$(node -p "require('./package.json').version") || echo "1.0.0"
- echo $VERSION - echo $VERSION
- npm version $VERSION
- git push --set-upstream origin `git name-rev --name-only HEAD`
- npm publish - npm publish
- name: gitea-release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.endmove.eu
title: Release ${VERSION}
notes: "See the commits diff for more information's"
checksum:
- md5
- sha1
- sha256

View File

@ -51,3 +51,7 @@ Add the following to your `.eslintrc.cjs` file:
```js ```js
module.exports = require('@ioprojects/ui-eslint-base'); module.exports = require('@ioprojects/ui-eslint-base');
``` ```
### Note for developers
When your pull request is merged into the **master** branch, you can promote your build on [drone.endmove.eu](https://drone.endmove.eu) to create a usable version. Use `master` as the target, and add the `VERSION` parameter with one of these values: `major | minor | patch | premajor | preminor | prepatch | prerelease`.

30
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@ioprojects/eslint-config", "name": "@ioprojects/eslint-config",
"version": "1.0.4", "version": "1.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@ioprojects/eslint-config", "name": "@ioprojects/eslint-config",
"version": "1.0.4", "version": "1.0.1",
"license": "SEE LICENSE FILE", "license": "SEE LICENSE FILE",
"dependencies": { "dependencies": {
"@typescript-eslint/eslint-plugin": "^5.60.1", "@typescript-eslint/eslint-plugin": "^5.60.1",
@ -24,6 +24,14 @@
"node": ">=18" "node": ">=18"
} }
}, },
"node_modules/@aashutoshrathi/word-wrap": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
"integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/@eslint-community/eslint-utils": { "node_modules/@eslint-community/eslint-utils": {
"version": "4.4.0", "version": "4.4.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
@ -1915,16 +1923,16 @@
} }
}, },
"node_modules/optionator": { "node_modules/optionator": {
"version": "0.9.1", "version": "0.9.3",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
"integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
"dependencies": { "dependencies": {
"@aashutoshrathi/word-wrap": "^1.2.3",
"deep-is": "^0.1.3", "deep-is": "^0.1.3",
"fast-levenshtein": "^2.0.6", "fast-levenshtein": "^2.0.6",
"levn": "^0.4.1", "levn": "^0.4.1",
"prelude-ls": "^1.2.1", "prelude-ls": "^1.2.1",
"type-check": "^0.4.0", "type-check": "^0.4.0"
"word-wrap": "^1.2.3"
}, },
"engines": { "engines": {
"node": ">= 0.8.0" "node": ">= 0.8.0"
@ -2550,14 +2558,6 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
"integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/wrappy": { "node_modules/wrappy": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",