fix .drone.yml and dependent packages vulnerabilities
Some checks failed
continuous-integration/drone/push Build is failing

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

View File

@ -17,10 +17,9 @@ steps:
GITEA_TOKEN:
from_secret: gitea_token
commands:
- export VERSION=$(node -p "require('./package.json').version") || echo "1.0.0"
- SNAPSHOT="$(echo $VERSION)-snapshot.${DRONE_BUILD_NUMBER}"
- SNAPSHOT="snapshot-build.${DRONE_BUILD_NUMBER}"
- echo $VERSION
- echo $SNAPSHOT
- echo $(node -p "require('./package.json').version")
- npm ci
- npm version $SNAPSHOT
- npm publish --tag snapshot
@ -79,15 +78,3 @@ steps:
- export VERSION=$(node -p "require('./package.json').version") || echo "1.0.0"
- echo $VERSION
- 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
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 `CHANGE` 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",
"version": "1.0.4",
"version": "1.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@ioprojects/eslint-config",
"version": "1.0.4",
"version": "1.0.1",
"license": "SEE LICENSE FILE",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.60.1",
@ -24,6 +24,14 @@
"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": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
@ -1915,16 +1923,16 @@
}
},
"node_modules/optionator": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
"integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",
"version": "0.9.3",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
"integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
"dependencies": {
"@aashutoshrathi/word-wrap": "^1.2.3",
"deep-is": "^0.1.3",
"fast-levenshtein": "^2.0.6",
"levn": "^0.4.1",
"prelude-ls": "^1.2.1",
"type-check": "^0.4.0",
"word-wrap": "^1.2.3"
"type-check": "^0.4.0"
},
"engines": {
"node": ">= 0.8.0"
@ -2550,14 +2558,6 @@
"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": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",