node-package-release-action 2.1.15 → 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.
package/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "name": "node-package-release-action",
3
- "version": "2.1.15",
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
- "postinstall": "is-ci || husky install",
14
- "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"
15
17
  },
16
18
  "repository": {
17
19
  "type": "git",
@@ -42,6 +44,7 @@
42
44
  "husky": "^9.0.11",
43
45
  "is-ci": "^3.0.1",
44
46
  "lint-staged": "^15.0.2",
47
+ "pinst": "^3.0.0",
45
48
  "prettier": "^3.0.2",
46
49
  "typescript": "^5.0.2",
47
50
  "typescript-eslint": "^7.8.0"
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
File without changes
File without changes