1
0
Fork 0
mirror of https://github.com/shimataro/ssh-key-action.git synced 2025-06-19 22:52:10 +10:00

update dependencies (#262)

This commit is contained in:
shimataro 2023-10-13 09:06:52 +09:00 committed by GitHub
parent f848d33143
commit c858f8173b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 115 additions and 104 deletions

60
dist/main.js vendored

File diff suppressed because one or more lines are too long

6
dist/main.js.map vendored

File diff suppressed because one or more lines are too long

36
dist/post.js vendored

File diff suppressed because one or more lines are too long

6
dist/post.js.map vendored

File diff suppressed because one or more lines are too long

81
package-lock.json generated
View file

@ -10,13 +10,13 @@
"license": "MIT",
"devDependencies": {
"@actions/core": "1.10.1",
"@types/node": "20.8.4",
"@types/node": "20.8.5",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"esbuild": "0.19.4",
"eslint": "8.51.0",
"markdownlint-cli": "0.37.0",
"npm-check-updates": "16.14.5",
"npm-check-updates": "16.14.6",
"npm-run-all": "4.1.5",
"typescript": "5.2.2",
"yaml-lint": "1.7.0"
@ -908,9 +908,9 @@
"dev": true
},
"node_modules/@types/node": {
"version": "20.8.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.4.tgz",
"integrity": "sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==",
"version": "20.8.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.5.tgz",
"integrity": "sha512-SPlobFgbidfIeOYlzXiEjSYeIJiOCthv+9tSQVpvk4PAdIIc+2SmjNVzWXk9t0Y7dl73Zdf+OgXKHX9XtkqUpw==",
"dev": true,
"dependencies": {
"undici-types": "~5.25.1"
@ -2463,10 +2463,13 @@
"dev": true
},
"node_modules/function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"dev": true
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
"dev": true,
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/function.prototype.name": {
"version": "1.1.6",
@ -4186,9 +4189,9 @@
}
},
"node_modules/npm-check-updates": {
"version": "16.14.5",
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.5.tgz",
"integrity": "sha512-f7v3YzPUgadtkB2LAVhiWMjrSejJ0N8OM9JjjVfxBz2neHqmPSWQUAUA+U/p3xeXHl9bghRD6knRqBhm9dkRGg==",
"version": "16.14.6",
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.6.tgz",
"integrity": "sha512-sJ6w4AmSDP7YzBXah94Ul2JhiIbjBDfx9XYgib15um2wtiQkOyjE7Lov3MNUSQ84Ry7T81mE4ynMbl/mGbK4HQ==",
"dev": true,
"dependencies": {
"chalk": "^5.3.0",
@ -4196,7 +4199,7 @@
"commander": "^10.0.1",
"fast-memoize": "^2.5.2",
"find-up": "5.0.0",
"fp-and-or": "^0.1.3",
"fp-and-or": "^0.1.4",
"get-stdin": "^8.0.0",
"globby": "^11.0.4",
"hosted-git-info": "^5.1.0",
@ -4214,11 +4217,11 @@
"prompts-ncu": "^3.0.0",
"rc-config-loader": "^4.1.3",
"remote-git-tags": "^3.0.0",
"rimraf": "^5.0.1",
"rimraf": "^5.0.5",
"semver": "^7.5.4",
"semver-utils": "^1.1.4",
"source-map-support": "^0.5.21",
"spawn-please": "^2.0.1",
"spawn-please": "^2.0.2",
"strip-ansi": "^7.1.0",
"strip-json-comments": "^5.0.1",
"untildify": "^4.0.0",
@ -5268,9 +5271,9 @@
}
},
"node_modules/resolve": {
"version": "1.22.6",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz",
"integrity": "sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==",
"version": "1.22.8",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
"integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
"dev": true,
"dependencies": {
"is-core-module": "^2.13.0",
@ -6184,9 +6187,9 @@
}
},
"node_modules/undici": {
"version": "5.25.4",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.25.4.tgz",
"integrity": "sha512-450yJxT29qKMf3aoudzFpIciqpx6Pji3hEWaXqXmanbXF58LTAGCKxcJjxMXWu3iG+Mudgo3ZUfDB6YDFd/dAw==",
"version": "5.26.3",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.26.3.tgz",
"integrity": "sha512-H7n2zmKEWgOllKkIUkLvFmsJQj062lSm3uA4EYApG8gLuiOM0/go9bIoC3HVaSnfg4xunowDE2i9p8drkXuvDw==",
"dev": true,
"dependencies": {
"@fastify/busboy": "^2.0.0"
@ -7196,9 +7199,9 @@
"dev": true
},
"@types/node": {
"version": "20.8.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.4.tgz",
"integrity": "sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==",
"version": "20.8.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.5.tgz",
"integrity": "sha512-SPlobFgbidfIeOYlzXiEjSYeIJiOCthv+9tSQVpvk4PAdIIc+2SmjNVzWXk9t0Y7dl73Zdf+OgXKHX9XtkqUpw==",
"dev": true,
"requires": {
"undici-types": "~5.25.1"
@ -8340,9 +8343,9 @@
"dev": true
},
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
"dev": true
},
"function.prototype.name": {
@ -9621,9 +9624,9 @@
}
},
"npm-check-updates": {
"version": "16.14.5",
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.5.tgz",
"integrity": "sha512-f7v3YzPUgadtkB2LAVhiWMjrSejJ0N8OM9JjjVfxBz2neHqmPSWQUAUA+U/p3xeXHl9bghRD6knRqBhm9dkRGg==",
"version": "16.14.6",
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.6.tgz",
"integrity": "sha512-sJ6w4AmSDP7YzBXah94Ul2JhiIbjBDfx9XYgib15um2wtiQkOyjE7Lov3MNUSQ84Ry7T81mE4ynMbl/mGbK4HQ==",
"dev": true,
"requires": {
"chalk": "^5.3.0",
@ -9631,7 +9634,7 @@
"commander": "^10.0.1",
"fast-memoize": "^2.5.2",
"find-up": "5.0.0",
"fp-and-or": "^0.1.3",
"fp-and-or": "^0.1.4",
"get-stdin": "^8.0.0",
"globby": "^11.0.4",
"hosted-git-info": "^5.1.0",
@ -9649,11 +9652,11 @@
"prompts-ncu": "^3.0.0",
"rc-config-loader": "^4.1.3",
"remote-git-tags": "^3.0.0",
"rimraf": "^5.0.1",
"rimraf": "^5.0.5",
"semver": "^7.5.4",
"semver-utils": "^1.1.4",
"source-map-support": "^0.5.21",
"spawn-please": "^2.0.1",
"spawn-please": "^2.0.2",
"strip-ansi": "^7.1.0",
"strip-json-comments": "^5.0.1",
"untildify": "^4.0.0",
@ -10405,9 +10408,9 @@
"dev": true
},
"resolve": {
"version": "1.22.6",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz",
"integrity": "sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==",
"version": "1.22.8",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
"integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
"dev": true,
"requires": {
"is-core-module": "^2.13.0",
@ -11066,9 +11069,9 @@
}
},
"undici": {
"version": "5.25.4",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.25.4.tgz",
"integrity": "sha512-450yJxT29qKMf3aoudzFpIciqpx6Pji3hEWaXqXmanbXF58LTAGCKxcJjxMXWu3iG+Mudgo3ZUfDB6YDFd/dAw==",
"version": "5.26.3",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.26.3.tgz",
"integrity": "sha512-H7n2zmKEWgOllKkIUkLvFmsJQj062lSm3uA4EYApG8gLuiOM0/go9bIoC3HVaSnfg4xunowDE2i9p8drkXuvDw==",
"dev": true,
"requires": {
"@fastify/busboy": "^2.0.0"

View file

@ -33,13 +33,13 @@
"license": "MIT",
"devDependencies": {
"@actions/core": "1.10.1",
"@types/node": "20.8.4",
"@types/node": "20.8.5",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"esbuild": "0.19.4",
"eslint": "8.51.0",
"markdownlint-cli": "0.37.0",
"npm-check-updates": "16.14.5",
"npm-check-updates": "16.14.6",
"npm-run-all": "4.1.5",
"typescript": "5.2.2",
"yaml-lint": "1.7.0"

View file

@ -3,13 +3,21 @@
set -eu
DATE=$(date +"%Y%m%d")
BRANCH=feature/update-dependencies-${DATE}
COLOR_SUCCESS="\e[1;32m"
COLOR_RESET="\e[m"
BASE_BRANCH=$(git rev-parse --abbrev-ref HEAD)
TARGET_BRANCH=feature/update-dependencies-${DATE}
# create branch
git checkout develop
git checkout -b ${BRANCH}
COLOR_SUCCESS="\033[1;32m"
COLOR_ERROR="\033[1;41m"
COLOR_RESET="\033[m"
cd $(dirname ${0})/..
# create target branch
if [[ ! ${BASE_BRANCH} =~ ^v[0-9]+$ ]]; then
echo -e "${COLOR_ERROR}Error:${COLOR_RESET} Base branch must match 'v*'; got '${BASE_BRANCH}'."
exit 1
fi
git checkout -b ${TARGET_BRANCH}
# check updates
npm ci
@ -20,7 +28,7 @@ rm -rf package-lock.json node_modules
npm i
npm dedupe
# check
# test
npm run build
npm run verify
@ -32,7 +40,7 @@ git commit -m "update dependencies"
echo -e "
${COLOR_SUCCESS}🎉All dependencies are updated successfully.🎉${COLOR_RESET}
Push changes and merge into 'develop' branch.
Push changes and merge into '${BASE_BRANCH}' branch.
git push --set-upstream origin ${BRANCH}
git push --set-upstream origin ${TARGET_BRANCH}
"