mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
update settings
This commit is contained in:
parent
237ea58f21
commit
8574e6f286
9 changed files with 488 additions and 596 deletions
124
.gitignore
vendored
124
.gitignore
vendored
|
@ -13,125 +13,5 @@ Thumbs.db
|
||||||
*.orig
|
*.orig
|
||||||
*.rej
|
*.rej
|
||||||
|
|
||||||
# TypeScript intermediate
|
# Node.js modules
|
||||||
|
/node_modules/
|
||||||
lib/
|
|
||||||
|
|
||||||
### Node
|
|
||||||
|
|
||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
npm-debug.log*
|
|
||||||
yarn-debug.log*
|
|
||||||
yarn-error.log*
|
|
||||||
lerna-debug.log*
|
|
||||||
|
|
||||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
||||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
||||||
|
|
||||||
# Runtime data
|
|
||||||
pids
|
|
||||||
*.pid
|
|
||||||
*.seed
|
|
||||||
*.pid.lock
|
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
||||||
lib-cov
|
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
|
||||||
coverage
|
|
||||||
*.lcov
|
|
||||||
|
|
||||||
# nyc test coverage
|
|
||||||
.nyc_output
|
|
||||||
|
|
||||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
||||||
.grunt
|
|
||||||
|
|
||||||
# Bower dependency directory (https://bower.io/)
|
|
||||||
bower_components
|
|
||||||
|
|
||||||
# node-waf configuration
|
|
||||||
.lock-wscript
|
|
||||||
|
|
||||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
||||||
build/Release
|
|
||||||
|
|
||||||
# Dependency directories
|
|
||||||
node_modules/
|
|
||||||
jspm_packages/
|
|
||||||
|
|
||||||
# Snowpack dependency directory (https://snowpack.dev/)
|
|
||||||
web_modules/
|
|
||||||
|
|
||||||
# TypeScript cache
|
|
||||||
*.tsbuildinfo
|
|
||||||
|
|
||||||
# Optional npm cache directory
|
|
||||||
.npm
|
|
||||||
|
|
||||||
# Optional eslint cache
|
|
||||||
.eslintcache
|
|
||||||
|
|
||||||
# Microbundle cache
|
|
||||||
.rpt2_cache/
|
|
||||||
.rts2_cache_cjs/
|
|
||||||
.rts2_cache_es/
|
|
||||||
.rts2_cache_umd/
|
|
||||||
|
|
||||||
# Optional REPL history
|
|
||||||
.node_repl_history
|
|
||||||
|
|
||||||
# Output of 'npm pack'
|
|
||||||
*.tgz
|
|
||||||
|
|
||||||
# Yarn Integrity file
|
|
||||||
.yarn-integrity
|
|
||||||
|
|
||||||
# dotenv environment variables file
|
|
||||||
.env
|
|
||||||
.env.test
|
|
||||||
|
|
||||||
# parcel-bundler cache (https://parceljs.org/)
|
|
||||||
.cache
|
|
||||||
.parcel-cache
|
|
||||||
|
|
||||||
# Next.js build output
|
|
||||||
.next
|
|
||||||
out
|
|
||||||
|
|
||||||
# Nuxt.js build / generate output
|
|
||||||
.nuxt
|
|
||||||
# dist
|
|
||||||
|
|
||||||
# Gatsby files
|
|
||||||
.cache/
|
|
||||||
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
||||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
||||||
# public
|
|
||||||
|
|
||||||
# vuepress build output
|
|
||||||
.vuepress/dist
|
|
||||||
|
|
||||||
# Serverless directories
|
|
||||||
.serverless/
|
|
||||||
|
|
||||||
# FuseBox cache
|
|
||||||
.fusebox/
|
|
||||||
|
|
||||||
# DynamoDB Local files
|
|
||||||
.dynamodb/
|
|
||||||
n
|
|
||||||
# TernJS port file
|
|
||||||
.tern-port
|
|
||||||
|
|
||||||
# Stores VSCode versions used for testing VSCode extensions
|
|
||||||
.vscode-test
|
|
||||||
|
|
||||||
# yarn v2
|
|
||||||
|
|
||||||
.yarn/cache
|
|
||||||
.yarn/unplugged
|
|
||||||
.yarn/build-state.yml
|
|
||||||
.pnp.*
|
|
||||||
|
|
|
@ -23,4 +23,4 @@ inputs:
|
||||||
default: ""
|
default: ""
|
||||||
runs:
|
runs:
|
||||||
using: "node12"
|
using: "node12"
|
||||||
main: "dist/index.js"
|
main: "lib/index.js"
|
||||||
|
|
|
@ -3,7 +3,7 @@ module.exports =
|
||||||
/******/ "use strict";
|
/******/ "use strict";
|
||||||
/******/ var __webpack_modules__ = ({
|
/******/ var __webpack_modules__ = ({
|
||||||
|
|
||||||
/***/ 571:
|
/***/ 351:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
const os = __importStar(__nccwpck_require__(87));
|
const os = __importStar(__nccwpck_require__(87));
|
||||||
const utils_1 = __nccwpck_require__(129);
|
const utils_1 = __nccwpck_require__(278);
|
||||||
/**
|
/**
|
||||||
* Commands
|
* Commands
|
||||||
*
|
*
|
||||||
|
@ -88,7 +88,7 @@ function escapeProperty(s) {
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 496:
|
/***/ 186:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,9 +109,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
const command_1 = __nccwpck_require__(571);
|
const command_1 = __nccwpck_require__(351);
|
||||||
const file_command_1 = __nccwpck_require__(124);
|
const file_command_1 = __nccwpck_require__(717);
|
||||||
const utils_1 = __nccwpck_require__(129);
|
const utils_1 = __nccwpck_require__(278);
|
||||||
const os = __importStar(__nccwpck_require__(87));
|
const os = __importStar(__nccwpck_require__(87));
|
||||||
const path = __importStar(__nccwpck_require__(622));
|
const path = __importStar(__nccwpck_require__(622));
|
||||||
/**
|
/**
|
||||||
|
@ -332,7 +332,7 @@ exports.getState = getState;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 124:
|
/***/ 717:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
|
@ -349,7 +349,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
const fs = __importStar(__nccwpck_require__(747));
|
const fs = __importStar(__nccwpck_require__(747));
|
||||||
const os = __importStar(__nccwpck_require__(87));
|
const os = __importStar(__nccwpck_require__(87));
|
||||||
const utils_1 = __nccwpck_require__(129);
|
const utils_1 = __nccwpck_require__(278);
|
||||||
function issueCommand(command, message) {
|
function issueCommand(command, message) {
|
||||||
const filePath = process.env[`GITHUB_${command}`];
|
const filePath = process.env[`GITHUB_${command}`];
|
||||||
if (!filePath) {
|
if (!filePath) {
|
||||||
|
@ -367,7 +367,7 @@ exports.issueCommand = issueCommand;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 129:
|
/***/ 278:
|
||||||
/***/ ((__unused_webpack_module, exports) => {
|
/***/ ((__unused_webpack_module, exports) => {
|
||||||
|
|
||||||
|
|
||||||
|
@ -392,7 +392,7 @@ exports.toCommandValue = toCommandValue;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 398:
|
/***/ 399:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
|
|
||||||
|
@ -421,7 +421,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
const fs_1 = __importDefault(__nccwpck_require__(747));
|
const fs_1 = __importDefault(__nccwpck_require__(747));
|
||||||
const path_1 = __importDefault(__nccwpck_require__(622));
|
const path_1 = __importDefault(__nccwpck_require__(622));
|
||||||
const core = __importStar(__nccwpck_require__(496));
|
const core = __importStar(__nccwpck_require__(186));
|
||||||
/**
|
/**
|
||||||
* main function
|
* main function
|
||||||
*/
|
*/
|
||||||
|
@ -582,6 +582,6 @@ module.exports = require("path");;
|
||||||
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
||||||
/******/ // startup
|
/******/ // startup
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __nccwpck_require__(398);
|
/******/ return __nccwpck_require__(399);
|
||||||
/******/ })()
|
/******/ })()
|
||||||
;
|
;
|
901
package-lock.json
generated
901
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -3,14 +3,13 @@
|
||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Install SSH key in .ssh",
|
"description": "Install SSH key in .ssh",
|
||||||
"main": "dist/index.js",
|
"main": "lib/index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.0.0",
|
"node": ">=8.0.0",
|
||||||
"npm": ">=5.7.0"
|
"npm": ">=5.7.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "ncc build src/main.ts -o lib",
|
||||||
"release": "ncc build src/main.ts",
|
|
||||||
"check-updates": "ncu",
|
"check-updates": "ncu",
|
||||||
"lint": "run-p lint:*",
|
"lint": "run-p lint:*",
|
||||||
"lint:ts": "eslint ./src --ext .ts",
|
"lint:ts": "eslint ./src --ext .ts",
|
||||||
|
@ -31,13 +30,12 @@
|
||||||
],
|
],
|
||||||
"author": "shimataro",
|
"author": "shimataro",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
|
||||||
"@actions/core": "1.2.6"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@actions/core": "1.2.6",
|
||||||
"@types/node": "14.0.27",
|
"@types/node": "14.0.27",
|
||||||
"@typescript-eslint/eslint-plugin": "3.9.0",
|
"@typescript-eslint/eslint-plugin": "3.9.0",
|
||||||
"@typescript-eslint/parser": "3.9.0",
|
"@typescript-eslint/parser": "3.9.0",
|
||||||
|
"@vercel/ncc": "0.27.0",
|
||||||
"eslint": "7.7.0",
|
"eslint": "7.7.0",
|
||||||
"markdownlint-cli": "0.23.2",
|
"markdownlint-cli": "0.23.2",
|
||||||
"npm-check-updates": "7.1.1",
|
"npm-check-updates": "7.1.1",
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
# - git; I believe you have already installed.
|
# - git; I believe you have already installed.
|
||||||
# - sed; GNU sed is preferred. POSIX sed may not work.
|
# - sed; GNU sed is preferred. POSIX sed may not work.
|
||||||
# - perl; Already installed on most of unix system.
|
# - perl; Already installed on most of unix system.
|
||||||
|
set -eu
|
||||||
set -e
|
|
||||||
|
|
||||||
BASE_BRANCH="develop"
|
BASE_BRANCH="develop"
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
# requires following packages:
|
# requires following packages:
|
||||||
# - git; I believe it's already installed.
|
# - git; I believe it's already installed.
|
||||||
# - sed; GNU sed is preferred. POSIX sed may not work.
|
# - sed; GNU sed is preferred. POSIX sed may not work.
|
||||||
|
set -eu
|
||||||
set -e
|
|
||||||
|
|
||||||
COLOR_ERROR="\e[1;41m"
|
COLOR_ERROR="\e[1;41m"
|
||||||
COLOR_SECTION="\e[1;34m"
|
COLOR_SECTION="\e[1;34m"
|
||||||
|
@ -105,8 +104,7 @@ function commit_changes() {
|
||||||
|
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
npm ci --only=production
|
npm ci --only=production
|
||||||
npm run release
|
git add CHANGELOG.md package.json package-lock.json lib
|
||||||
git add CHANGELOG.md package.json package-lock.json dist
|
|
||||||
git commit -m "version ${VERSION}"
|
git commit -m "version ${VERSION}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -eu
|
||||||
set -e
|
|
||||||
|
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
@ -8,5 +7,4 @@ npm run verify
|
||||||
|
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
npm ci --only=production
|
npm ci --only=production
|
||||||
npm run release
|
git add lib
|
||||||
git add dist
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# update dependencies
|
# update dependencies
|
||||||
|
set -eu
|
||||||
set -e
|
|
||||||
|
|
||||||
DATE=$(date +"%Y%m%d")
|
DATE=$(date +"%Y%m%d")
|
||||||
BRANCH=feature/update-dependencies-${DATE}
|
BRANCH=feature/update-dependencies-${DATE}
|
||||||
|
@ -25,10 +24,7 @@ npm run build
|
||||||
npm run verify
|
npm run verify
|
||||||
|
|
||||||
# commit
|
# commit
|
||||||
rm -rf node_modules
|
git add package.json package-lock.json lib
|
||||||
npm ci --only=production
|
|
||||||
npm run release
|
|
||||||
git add package.json package-lock.json dist
|
|
||||||
git commit -m "update dependencies"
|
git commit -m "update dependencies"
|
||||||
|
|
||||||
# finished!
|
# finished!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue