node-package-release-action 1.0.12 → 1.0.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/README.md CHANGED
@@ -91,7 +91,7 @@ Let's start with the easy ones. `major`, `minor` and `patch` increase their corr
91
91
  - `2.3.4` + `minor` => `2.4.0`
92
92
  - `2.3.4` + `patch` => `2.3.5`
93
93
 
94
- `prerelease` is an interesting one. It increases the prerelease part if it exists. Otherwise, it increases the minor part and append a prerelease zero suffix.
94
+ `prerelease` is an interesting one. It increases the prerelease part if it exists. Otherwise, it increases the patch part and append a prerelease zero suffix.
95
95
 
96
96
  - `2.3.4-0` + `prerelease` => `2.3.4-1`
97
97
  - `2.3.4` + `prerelease` => `2.3.5-0`
@@ -1,2 +1,2 @@
1
1
  export declare const RELEASE_TYPES: readonly ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"];
2
- export type ReleaseType = typeof RELEASE_TYPES[number];
2
+ export type ReleaseType = (typeof RELEASE_TYPES)[number];
package/lib/checkDiff.js CHANGED
@@ -23,7 +23,7 @@ function checkDiff(tag) {
23
23
  tag,
24
24
  '--name-only',
25
25
  '--',
26
- ...(0, glob_1.sync)((0, node_path_1.join)(directory, diffTargets)),
26
+ ...(0, glob_1.globSync)((0, node_path_1.join)(directory, diffTargets)),
27
27
  ]);
28
28
  if (diffOutput.exitCode !== core_1.ExitCode.Success) {
29
29
  throw new Error(diffOutput.stderr);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-package-release-action",
3
- "version": "1.0.12",
3
+ "version": "1.0.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",
@@ -22,10 +22,11 @@
22
22
  "url": "https://github.com/CatChen/node-package-release-action/issues"
23
23
  },
24
24
  "homepage": "https://github.com/CatChen/node-package-release-action#readme",
25
+ "funding": "https://github.com/CatChen/node-package-release-action?sponsor=1",
25
26
  "devDependencies": {
26
- "@octokit/graphql-schema": "^12.24.0",
27
+ "@octokit/graphql-schema": "^13.0.1",
27
28
  "@octokit/webhooks-definitions": "^3.67.3",
28
- "@serverless-guru/prettier-plugin-import-order": "^0.3.0",
29
+ "@serverless-guru/prettier-plugin-import-order": "^0.4.1",
29
30
  "@types/glob": "^8.0.0",
30
31
  "@types/node": "^18.11.9",
31
32
  "@types/semver": "^7.3.13",
@@ -38,15 +39,15 @@
38
39
  "husky": "^8.0.2",
39
40
  "prettier": "^2.7.1",
40
41
  "pretty-quick": "^3.1.3",
41
- "typescript": "^4.8.4"
42
+ "typescript": "^5.0.2"
42
43
  },
43
44
  "dependencies": {
44
45
  "@actions/core": "^1.10.0",
45
46
  "@actions/exec": "^1.1.1",
46
47
  "@actions/github": "^5.1.1",
47
48
  "@octokit/plugin-retry": "^4.0.3",
48
- "@octokit/plugin-throttling": "^4.3.2",
49
- "glob": "^8.0.3",
49
+ "@octokit/plugin-throttling": "^5.0.1",
50
+ "glob": "^9.0.1",
50
51
  "semver": "^7.3.8"
51
52
  }
52
53
  }