Skip to content

Commit 9154b22

Browse files
committed
refactor: fixed all script and upgraded node version
1 parent bad76c6 commit 9154b22

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ branding:
44
icon: 'git-merge'
55
color: 'blue'
66
runs:
7-
using: 'node20'
8-
main: 'dist/index.cjs'
7+
using: 'node22'
8+
main: 'dist/index.js'
99
inputs:
1010
token:
1111
required: true

dist/index.cjs renamed to dist/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

tsconfig.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"compilerOptions": {
3-
"target": "ESNext", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
4-
"module": "ESNext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
3+
"target": "ESNext",
4+
"module": "ESNext",
55
"moduleResolution": "Bundler",
6-
"outDir": "./lib", /* Redirect output structure to the directory. */
7-
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
8-
"strict": true, /* Enable all strict type-checking options. */
9-
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
10-
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
6+
"outDir": "./lib",
7+
"rootDir": "./src",
8+
"strict": true,
9+
"noImplicitAny": true,
10+
"esModuleInterop": true,
11+
"allowSyntheticDefaultImports": true,
1112
"noEmit": true,
1213
"isolatedModules": true,
1314
"allowImportingTsExtensions": true,
@@ -16,4 +17,4 @@
1617
},
1718
"include": ["src/**/*.ts"],
1819
"exclude": ["node_modules", "lib"]
19-
}
20+
}

0 commit comments

Comments
 (0)