node-package-release-action 1.0.11 → 1.0.13

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.
@@ -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
  }
@@ -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];
@@ -35,7 +35,7 @@ function getLatestReleaseTag(owner, repo, octokit) {
35
35
  (0, core_1.warning)(`Latest release not found but pre-release may exist`);
36
36
  }
37
37
  else {
38
- throw new Error(`Unexpected status code: ${error.status}`);
38
+ throw new Error(`Unexpected error: [${error.status}] ${error.message}`);
39
39
  }
40
40
  }
41
41
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-package-release-action",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
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",
@@ -25,7 +25,7 @@
25
25
  "devDependencies": {
26
26
  "@octokit/graphql-schema": "^12.24.0",
27
27
  "@octokit/webhooks-definitions": "^3.67.3",
28
- "@serverless-guru/prettier-plugin-import-order": "^0.2.0",
28
+ "@serverless-guru/prettier-plugin-import-order": "^0.3.0",
29
29
  "@types/glob": "^8.0.0",
30
30
  "@types/node": "^18.11.9",
31
31
  "@types/semver": "^7.3.13",