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:
parent
f848d33143
commit
c858f8173b
7 changed files with 115 additions and 104 deletions
60
dist/main.js
vendored
60
dist/main.js
vendored
File diff suppressed because one or more lines are too long
6
dist/main.js.map
vendored
6
dist/main.js.map
vendored
File diff suppressed because one or more lines are too long
36
dist/post.js
vendored
36
dist/post.js
vendored
File diff suppressed because one or more lines are too long
6
dist/post.js.map
vendored
6
dist/post.js.map
vendored
File diff suppressed because one or more lines are too long
81
package-lock.json
generated
81
package-lock.json
generated
|
@ -10,13 +10,13 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@actions/core": "1.10.1",
|
"@actions/core": "1.10.1",
|
||||||
"@types/node": "20.8.4",
|
"@types/node": "20.8.5",
|
||||||
"@typescript-eslint/eslint-plugin": "6.7.5",
|
"@typescript-eslint/eslint-plugin": "6.7.5",
|
||||||
"@typescript-eslint/parser": "6.7.5",
|
"@typescript-eslint/parser": "6.7.5",
|
||||||
"esbuild": "0.19.4",
|
"esbuild": "0.19.4",
|
||||||
"eslint": "8.51.0",
|
"eslint": "8.51.0",
|
||||||
"markdownlint-cli": "0.37.0",
|
"markdownlint-cli": "0.37.0",
|
||||||
"npm-check-updates": "16.14.5",
|
"npm-check-updates": "16.14.6",
|
||||||
"npm-run-all": "4.1.5",
|
"npm-run-all": "4.1.5",
|
||||||
"typescript": "5.2.2",
|
"typescript": "5.2.2",
|
||||||
"yaml-lint": "1.7.0"
|
"yaml-lint": "1.7.0"
|
||||||
|
@ -908,9 +908,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "20.8.4",
|
"version": "20.8.5",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.4.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.5.tgz",
|
||||||
"integrity": "sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==",
|
"integrity": "sha512-SPlobFgbidfIeOYlzXiEjSYeIJiOCthv+9tSQVpvk4PAdIIc+2SmjNVzWXk9t0Y7dl73Zdf+OgXKHX9XtkqUpw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"undici-types": "~5.25.1"
|
"undici-types": "~5.25.1"
|
||||||
|
@ -2463,10 +2463,13 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/function-bind": {
|
"node_modules/function-bind": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
|
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"node_modules/function.prototype.name": {
|
"node_modules/function.prototype.name": {
|
||||||
"version": "1.1.6",
|
"version": "1.1.6",
|
||||||
|
@ -4186,9 +4189,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/npm-check-updates": {
|
"node_modules/npm-check-updates": {
|
||||||
"version": "16.14.5",
|
"version": "16.14.6",
|
||||||
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.5.tgz",
|
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.6.tgz",
|
||||||
"integrity": "sha512-f7v3YzPUgadtkB2LAVhiWMjrSejJ0N8OM9JjjVfxBz2neHqmPSWQUAUA+U/p3xeXHl9bghRD6knRqBhm9dkRGg==",
|
"integrity": "sha512-sJ6w4AmSDP7YzBXah94Ul2JhiIbjBDfx9XYgib15um2wtiQkOyjE7Lov3MNUSQ84Ry7T81mE4ynMbl/mGbK4HQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^5.3.0",
|
"chalk": "^5.3.0",
|
||||||
|
@ -4196,7 +4199,7 @@
|
||||||
"commander": "^10.0.1",
|
"commander": "^10.0.1",
|
||||||
"fast-memoize": "^2.5.2",
|
"fast-memoize": "^2.5.2",
|
||||||
"find-up": "5.0.0",
|
"find-up": "5.0.0",
|
||||||
"fp-and-or": "^0.1.3",
|
"fp-and-or": "^0.1.4",
|
||||||
"get-stdin": "^8.0.0",
|
"get-stdin": "^8.0.0",
|
||||||
"globby": "^11.0.4",
|
"globby": "^11.0.4",
|
||||||
"hosted-git-info": "^5.1.0",
|
"hosted-git-info": "^5.1.0",
|
||||||
|
@ -4214,11 +4217,11 @@
|
||||||
"prompts-ncu": "^3.0.0",
|
"prompts-ncu": "^3.0.0",
|
||||||
"rc-config-loader": "^4.1.3",
|
"rc-config-loader": "^4.1.3",
|
||||||
"remote-git-tags": "^3.0.0",
|
"remote-git-tags": "^3.0.0",
|
||||||
"rimraf": "^5.0.1",
|
"rimraf": "^5.0.5",
|
||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"semver-utils": "^1.1.4",
|
"semver-utils": "^1.1.4",
|
||||||
"source-map-support": "^0.5.21",
|
"source-map-support": "^0.5.21",
|
||||||
"spawn-please": "^2.0.1",
|
"spawn-please": "^2.0.2",
|
||||||
"strip-ansi": "^7.1.0",
|
"strip-ansi": "^7.1.0",
|
||||||
"strip-json-comments": "^5.0.1",
|
"strip-json-comments": "^5.0.1",
|
||||||
"untildify": "^4.0.0",
|
"untildify": "^4.0.0",
|
||||||
|
@ -5268,9 +5271,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/resolve": {
|
"node_modules/resolve": {
|
||||||
"version": "1.22.6",
|
"version": "1.22.8",
|
||||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz",
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
|
||||||
"integrity": "sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==",
|
"integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"is-core-module": "^2.13.0",
|
"is-core-module": "^2.13.0",
|
||||||
|
@ -6184,9 +6187,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/undici": {
|
"node_modules/undici": {
|
||||||
"version": "5.25.4",
|
"version": "5.26.3",
|
||||||
"resolved": "https://registry.npmjs.org/undici/-/undici-5.25.4.tgz",
|
"resolved": "https://registry.npmjs.org/undici/-/undici-5.26.3.tgz",
|
||||||
"integrity": "sha512-450yJxT29qKMf3aoudzFpIciqpx6Pji3hEWaXqXmanbXF58LTAGCKxcJjxMXWu3iG+Mudgo3ZUfDB6YDFd/dAw==",
|
"integrity": "sha512-H7n2zmKEWgOllKkIUkLvFmsJQj062lSm3uA4EYApG8gLuiOM0/go9bIoC3HVaSnfg4xunowDE2i9p8drkXuvDw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/busboy": "^2.0.0"
|
"@fastify/busboy": "^2.0.0"
|
||||||
|
@ -7196,9 +7199,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@types/node": {
|
"@types/node": {
|
||||||
"version": "20.8.4",
|
"version": "20.8.5",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.4.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.5.tgz",
|
||||||
"integrity": "sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==",
|
"integrity": "sha512-SPlobFgbidfIeOYlzXiEjSYeIJiOCthv+9tSQVpvk4PAdIIc+2SmjNVzWXk9t0Y7dl73Zdf+OgXKHX9XtkqUpw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"undici-types": "~5.25.1"
|
"undici-types": "~5.25.1"
|
||||||
|
@ -8340,9 +8343,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"function-bind": {
|
"function-bind": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
|
"integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"function.prototype.name": {
|
"function.prototype.name": {
|
||||||
|
@ -9621,9 +9624,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"npm-check-updates": {
|
"npm-check-updates": {
|
||||||
"version": "16.14.5",
|
"version": "16.14.6",
|
||||||
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.5.tgz",
|
"resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.6.tgz",
|
||||||
"integrity": "sha512-f7v3YzPUgadtkB2LAVhiWMjrSejJ0N8OM9JjjVfxBz2neHqmPSWQUAUA+U/p3xeXHl9bghRD6knRqBhm9dkRGg==",
|
"integrity": "sha512-sJ6w4AmSDP7YzBXah94Ul2JhiIbjBDfx9XYgib15um2wtiQkOyjE7Lov3MNUSQ84Ry7T81mE4ynMbl/mGbK4HQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"chalk": "^5.3.0",
|
"chalk": "^5.3.0",
|
||||||
|
@ -9631,7 +9634,7 @@
|
||||||
"commander": "^10.0.1",
|
"commander": "^10.0.1",
|
||||||
"fast-memoize": "^2.5.2",
|
"fast-memoize": "^2.5.2",
|
||||||
"find-up": "5.0.0",
|
"find-up": "5.0.0",
|
||||||
"fp-and-or": "^0.1.3",
|
"fp-and-or": "^0.1.4",
|
||||||
"get-stdin": "^8.0.0",
|
"get-stdin": "^8.0.0",
|
||||||
"globby": "^11.0.4",
|
"globby": "^11.0.4",
|
||||||
"hosted-git-info": "^5.1.0",
|
"hosted-git-info": "^5.1.0",
|
||||||
|
@ -9649,11 +9652,11 @@
|
||||||
"prompts-ncu": "^3.0.0",
|
"prompts-ncu": "^3.0.0",
|
||||||
"rc-config-loader": "^4.1.3",
|
"rc-config-loader": "^4.1.3",
|
||||||
"remote-git-tags": "^3.0.0",
|
"remote-git-tags": "^3.0.0",
|
||||||
"rimraf": "^5.0.1",
|
"rimraf": "^5.0.5",
|
||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"semver-utils": "^1.1.4",
|
"semver-utils": "^1.1.4",
|
||||||
"source-map-support": "^0.5.21",
|
"source-map-support": "^0.5.21",
|
||||||
"spawn-please": "^2.0.1",
|
"spawn-please": "^2.0.2",
|
||||||
"strip-ansi": "^7.1.0",
|
"strip-ansi": "^7.1.0",
|
||||||
"strip-json-comments": "^5.0.1",
|
"strip-json-comments": "^5.0.1",
|
||||||
"untildify": "^4.0.0",
|
"untildify": "^4.0.0",
|
||||||
|
@ -10405,9 +10408,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"resolve": {
|
"resolve": {
|
||||||
"version": "1.22.6",
|
"version": "1.22.8",
|
||||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.6.tgz",
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
|
||||||
"integrity": "sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==",
|
"integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"is-core-module": "^2.13.0",
|
"is-core-module": "^2.13.0",
|
||||||
|
@ -11066,9 +11069,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"undici": {
|
"undici": {
|
||||||
"version": "5.25.4",
|
"version": "5.26.3",
|
||||||
"resolved": "https://registry.npmjs.org/undici/-/undici-5.25.4.tgz",
|
"resolved": "https://registry.npmjs.org/undici/-/undici-5.26.3.tgz",
|
||||||
"integrity": "sha512-450yJxT29qKMf3aoudzFpIciqpx6Pji3hEWaXqXmanbXF58LTAGCKxcJjxMXWu3iG+Mudgo3ZUfDB6YDFd/dAw==",
|
"integrity": "sha512-H7n2zmKEWgOllKkIUkLvFmsJQj062lSm3uA4EYApG8gLuiOM0/go9bIoC3HVaSnfg4xunowDE2i9p8drkXuvDw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@fastify/busboy": "^2.0.0"
|
"@fastify/busboy": "^2.0.0"
|
||||||
|
|
|
@ -33,13 +33,13 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@actions/core": "1.10.1",
|
"@actions/core": "1.10.1",
|
||||||
"@types/node": "20.8.4",
|
"@types/node": "20.8.5",
|
||||||
"@typescript-eslint/eslint-plugin": "6.7.5",
|
"@typescript-eslint/eslint-plugin": "6.7.5",
|
||||||
"@typescript-eslint/parser": "6.7.5",
|
"@typescript-eslint/parser": "6.7.5",
|
||||||
"esbuild": "0.19.4",
|
"esbuild": "0.19.4",
|
||||||
"eslint": "8.51.0",
|
"eslint": "8.51.0",
|
||||||
"markdownlint-cli": "0.37.0",
|
"markdownlint-cli": "0.37.0",
|
||||||
"npm-check-updates": "16.14.5",
|
"npm-check-updates": "16.14.6",
|
||||||
"npm-run-all": "4.1.5",
|
"npm-run-all": "4.1.5",
|
||||||
"typescript": "5.2.2",
|
"typescript": "5.2.2",
|
||||||
"yaml-lint": "1.7.0"
|
"yaml-lint": "1.7.0"
|
||||||
|
|
|
@ -3,13 +3,21 @@
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
DATE=$(date +"%Y%m%d")
|
DATE=$(date +"%Y%m%d")
|
||||||
BRANCH=feature/update-dependencies-${DATE}
|
BASE_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
COLOR_SUCCESS="\e[1;32m"
|
TARGET_BRANCH=feature/update-dependencies-${DATE}
|
||||||
COLOR_RESET="\e[m"
|
|
||||||
|
|
||||||
# create branch
|
COLOR_SUCCESS="\033[1;32m"
|
||||||
git checkout develop
|
COLOR_ERROR="\033[1;41m"
|
||||||
git checkout -b ${BRANCH}
|
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
|
# check updates
|
||||||
npm ci
|
npm ci
|
||||||
|
@ -20,7 +28,7 @@ rm -rf package-lock.json node_modules
|
||||||
npm i
|
npm i
|
||||||
npm dedupe
|
npm dedupe
|
||||||
|
|
||||||
# check
|
# test
|
||||||
npm run build
|
npm run build
|
||||||
npm run verify
|
npm run verify
|
||||||
|
|
||||||
|
@ -32,7 +40,7 @@ git commit -m "update dependencies"
|
||||||
echo -e "
|
echo -e "
|
||||||
${COLOR_SUCCESS}🎉All dependencies are updated successfully.🎉${COLOR_RESET}
|
${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}
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue