node-package-release-action 2.1.14 → 2.1.15

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/lib/index.d.ts CHANGED
@@ -1 +1 @@
1
- export {};
1
+ export declare function run(): Promise<void>;
package/lib/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.run = run;
3
4
  const core_1 = require("@actions/core");
4
5
  const github_1 = require("@actions/github");
5
6
  const semver_1 = require("semver");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-package-release-action",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
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": "rm -rf dist && yarn ncc build src/index.ts --external eslint --source-map --license licenses.txt",
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "lint": "eslint -c eslint.config.js",
13
+ "postinstall": "is-ci || husky install",
13
14
  "preversion": "yarn && yarn build && yarn package"
14
15
  },
15
16
  "repository": {
@@ -39,6 +40,7 @@
39
40
  "eslint-config-prettier": "^9.0.0",
40
41
  "eslint-plugin-prettier": "5",
41
42
  "husky": "^9.0.11",
43
+ "is-ci": "^3.0.1",
42
44
  "lint-staged": "^15.0.2",
43
45
  "prettier": "^3.0.2",
44
46
  "typescript": "^5.0.2",
@@ -48,13 +50,14 @@
48
50
  "@actions/core": "^1.10.0",
49
51
  "@actions/exec": "^1.1.1",
50
52
  "@actions/github": "^6.0.0",
51
- "@octokit/plugin-retry": "^6.0.1",
52
- "@octokit/plugin-throttling": "^8.2.0",
53
+ "@octokit/plugin-retry": "^7.1.1",
54
+ "@octokit/plugin-throttling": "^9.3.0",
53
55
  "glob": "^10.2.3",
54
56
  "semver": "^7.3.8"
55
57
  },
56
58
  "resolutions": {
57
- "strip-ansi": "6.0.1"
59
+ "strip-ansi": "6.0.1",
60
+ "@octokit/core": "^6.0.0"
58
61
  },
59
62
  "lint-staged": {
60
63
  "*.(ts,js)": "yarn lint --fix",