typescript-github-action-template 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +7 -1
- package/package.json +19 -10
package/.vscode/settings.json
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"yaml.schemas": {
|
|
3
|
-
"https://json.schemastore.org/github-action.json": "action.yml"
|
|
3
|
+
"https://json.schemastore.org/github-action.json": "action.yml",
|
|
4
|
+
"https://json.schemastore.org/github-funding.json": ".github/FUNDING.yml",
|
|
5
|
+
"https://json.schemastore.org/github-workflow.json": ".github/workflows/*.yml",
|
|
6
|
+
"https://json.schemastore.org/package.json": "package.json",
|
|
7
|
+
"https://json.schemastore.org/tsconfig.json": "tsconfig.json",
|
|
8
|
+
"https://json.schemastore.org/eslintrc.json": ".eslintrc.json",
|
|
9
|
+
"https://json.schemastore.org/prettierrc.json": ".prettierrc.json"
|
|
4
10
|
}
|
|
5
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-github-action-template",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"package": "yarn ncc build src/index.ts --source-map --license licenses.txt",
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"lint": "eslint -c .eslintrc.json src",
|
|
13
|
+
"postinstall": "is-ci || husky install",
|
|
13
14
|
"preversion": "rm -rf lib && rm -rf dist && yarn && yarn build && yarn package"
|
|
14
15
|
},
|
|
15
16
|
"repository": {
|
|
@@ -22,22 +23,30 @@
|
|
|
22
23
|
"url": "https://github.com/CatChen/typescript-github-action-template/issues"
|
|
23
24
|
},
|
|
24
25
|
"homepage": "https://github.com/CatChen/typescript-github-action-template#readme",
|
|
26
|
+
"funding": "https://github.com/CatChen/typescript-github-action-template?sponsor=1",
|
|
25
27
|
"devDependencies": {
|
|
26
28
|
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
|
|
27
|
-
"@types/node": "^
|
|
28
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
29
|
-
"@typescript-eslint/parser": "^
|
|
30
|
-
"@vercel/ncc": "^0.
|
|
29
|
+
"@types/node": "^20.1.0",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
31
|
+
"@typescript-eslint/parser": "^6.4.1",
|
|
32
|
+
"@vercel/ncc": "^0.38.0",
|
|
31
33
|
"eslint": "^8.28.0",
|
|
32
|
-
"eslint-config-prettier": "^
|
|
33
|
-
"eslint-plugin-prettier": "^
|
|
34
|
+
"eslint-config-prettier": "^9.0.0",
|
|
35
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
34
36
|
"husky": "^8.0.2",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
37
|
+
"is-ci": "^3.0.1",
|
|
38
|
+
"lint-staged": "^14.0.0",
|
|
39
|
+
"prettier": "^3.0.2",
|
|
40
|
+
"typescript": "^5.0.2"
|
|
38
41
|
},
|
|
39
42
|
"dependencies": {
|
|
40
43
|
"@actions/core": "^1.10.0",
|
|
41
44
|
"@actions/github": "^5.1.1"
|
|
45
|
+
},
|
|
46
|
+
"lint-staged": {
|
|
47
|
+
"*.(ts,js)": "yarn lint --fix",
|
|
48
|
+
"*.json": "yarn prettier -w",
|
|
49
|
+
"*.(yml,yaml)": "yarn prettier -w",
|
|
50
|
+
"*.(md,markdown)": "yarn prettier -w"
|
|
42
51
|
}
|
|
43
52
|
}
|