node-package-release-action 2.1.14 → 2.1.16-22

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.
Files changed (32) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/{lib → dist}/index.js +1 -0
  3. package/package.json +15 -9
  4. package/lib/index.d.ts +0 -1
  5. /package/{lib → dist}/ReleaseType.d.ts +0 -0
  6. /package/{lib → dist}/ReleaseType.js +0 -0
  7. /package/{lib → dist}/checkDiff.d.ts +0 -0
  8. /package/{lib → dist}/checkDiff.js +0 -0
  9. /package/{lib → dist}/configGit.d.ts +0 -0
  10. /package/{lib → dist}/configGit.js +0 -0
  11. /package/{lib → dist}/createRelease.d.ts +0 -0
  12. /package/{lib → dist}/createRelease.js +0 -0
  13. /package/{lib → dist}/fetchEverything.d.ts +0 -0
  14. /package/{lib → dist}/fetchEverything.js +0 -0
  15. /package/{lib → dist}/findLastSameReleaseTypeVersion.d.ts +0 -0
  16. /package/{lib → dist}/findLastSameReleaseTypeVersion.js +0 -0
  17. /package/{lib → dist}/getAllGitTags.d.ts +0 -0
  18. /package/{lib → dist}/getAllGitTags.js +0 -0
  19. /package/{lib → dist}/getLastGitTag.d.ts +0 -0
  20. /package/{lib → dist}/getLastGitTag.js +0 -0
  21. /package/{lib → dist}/getLatestReleaseTag.d.ts +0 -0
  22. /package/{lib → dist}/getLatestReleaseTag.js +0 -0
  23. /package/{lib → dist}/getOctokit.d.ts +0 -0
  24. /package/{lib → dist}/getOctokit.js +0 -0
  25. /package/{lib → dist}/getPackageVersion.d.ts +0 -0
  26. /package/{lib → dist}/getPackageVersion.js +0 -0
  27. /package/{lib → dist}/pushBranch.d.ts +0 -0
  28. /package/{lib → dist}/pushBranch.js +0 -0
  29. /package/{lib → dist}/setVersion.d.ts +0 -0
  30. /package/{lib → dist}/setVersion.js +0 -0
  31. /package/{lib → dist}/updateTags.d.ts +0 -0
  32. /package/{lib → dist}/updateTags.js +0 -0
@@ -0,0 +1 @@
1
+ export declare function run(): Promise<void>;
@@ -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,16 +1,19 @@
1
1
  {
2
2
  "name": "node-package-release-action",
3
- "version": "2.1.14",
3
+ "version": "2.1.16-22",
4
4
  "description": "A template to create custom GitHub Action with TypeScript/JavaScript.",
5
- "main": "lib/index.js",
6
- "types": "lib/index.d.js",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.js",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "build": "rm -rf lib && yarn tsc",
10
- "package": "rm -rf dist && yarn ncc build src/index.ts --external eslint --source-map --license licenses.txt",
9
+ "build": "rm -rf dist && yarn tsc",
10
+ "bundle": "rm -rf bundle && yarn ncc build src/index.ts --external eslint --source-map --license licenses.txt --out bundle",
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "lint": "eslint -c eslint.config.js",
13
- "preversion": "yarn && yarn build && yarn package"
13
+ "_postinstall": "is-ci || husky install",
14
+ "prepublishOnly": "pinst --disable && yarn build",
15
+ "postpublish": "pinst --enable",
16
+ "preversion": "yarn && yarn build && yarn bundle"
14
17
  },
15
18
  "repository": {
16
19
  "type": "git",
@@ -39,7 +42,9 @@
39
42
  "eslint-config-prettier": "^9.0.0",
40
43
  "eslint-plugin-prettier": "5",
41
44
  "husky": "^9.0.11",
45
+ "is-ci": "^3.0.1",
42
46
  "lint-staged": "^15.0.2",
47
+ "pinst": "^3.0.0",
43
48
  "prettier": "^3.0.2",
44
49
  "typescript": "^5.0.2",
45
50
  "typescript-eslint": "^7.8.0"
@@ -48,13 +53,14 @@
48
53
  "@actions/core": "^1.10.0",
49
54
  "@actions/exec": "^1.1.1",
50
55
  "@actions/github": "^6.0.0",
51
- "@octokit/plugin-retry": "^6.0.1",
52
- "@octokit/plugin-throttling": "^8.2.0",
56
+ "@octokit/plugin-retry": "^7.1.1",
57
+ "@octokit/plugin-throttling": "^9.3.0",
53
58
  "glob": "^10.2.3",
54
59
  "semver": "^7.3.8"
55
60
  },
56
61
  "resolutions": {
57
- "strip-ansi": "6.0.1"
62
+ "strip-ansi": "6.0.1",
63
+ "@octokit/core": "^6.0.0"
58
64
  },
59
65
  "lint-staged": {
60
66
  "*.(ts,js)": "yarn lint --fix",
package/lib/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes