@codfish/actions 3.3.1 → 4.0.0

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
@@ -73,6 +73,7 @@ OIDC trusted publishing, and automatically comments on PR
73
73
  | `tarball` | Path to pre-built tarball to publish (e.g., '\*.tgz'). When provided, publishes the tarball with --ignore-scripts for security. Recommended for pull_request_target workflows to prevent execution of malicious lifecycle scripts. | No | - |
74
74
  | `comment` | Whether to comment on the PR with the published version (true/false) | No | `true` |
75
75
  | `comment-tag` | Tag to use for PR comments (for comment identification and updates) | No | `npm-publish-pr` |
76
+ | `dev` | If true, use dev dependency install syntax in the PR comment (e.g. npm install -D, pnpm add -D). | No | `false` |
76
77
 
77
78
  **Outputs:**
78
79
 
@@ -267,6 +267,7 @@ The package is published under the `pr` tag, so it won't interfere with your reg
267
267
  | `tarball` | Path to pre-built tarball to publish (e.g., '\*.tgz'). When provided, publishes the tarball with --ignore-scripts for security. Recommended for pull_request_target workflows to prevent execution of malicious lifecycle scripts. | No | - |
268
268
  | `comment` | Whether to comment on the PR with the published version (true/false) | No | `true` |
269
269
  | `comment-tag` | Tag to use for PR comments (for comment identification and updates) | No | `npm-publish-pr` |
270
+ | `dev` | If true, use dev dependency install syntax in the PR comment (e.g. npm install -D, pnpm add -D). | No | `false` |
270
271
 
271
272
  <!-- end inputs -->
272
273
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Composite GitHub Actions for my projects.",
5
5
  "author": "Chris O'Donnell <chris@codfish.dev>",
6
6
  "license": "MIT",
7
- "version": "3.3.1",
7
+ "version": "4.0.0",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/codfish/actions.git"
@@ -20,9 +20,8 @@
20
20
  "README.md"
21
21
  ],
22
22
  "scripts": {
23
- "lint": "eslint .",
24
- "fix": "eslint . --fix",
25
- "format": "prettier --write \"**/*.{json,css,md,yml}\" --config ./node_modules/@codfish/eslint-config/prettier.js",
23
+ "lint": "eslint",
24
+ "format": "eslint --fix",
26
25
  "test": "bash tests/scripts/test-runner.sh",
27
26
  "test:integration": "bash tests/scripts/test-runner.sh integration",
28
27
  "test:unit": "bash tests/scripts/test-runner.sh unit",
@@ -30,16 +29,16 @@
30
29
  "prepare": "husky"
31
30
  },
32
31
  "devDependencies": {
33
- "@codfish/eslint-config": "12.3.0",
32
+ "@codfish/eslint-config": "13.1.2",
34
33
  "bats": "^1.13.0",
35
- "doctoc": "^2.2.1",
36
- "eslint": "^9.39.2",
34
+ "doctoc": "^2.3.0",
35
+ "eslint": "^10.0.3",
37
36
  "husky": "^9.1.7",
38
37
  "js-yaml": "^4.1.0",
39
- "lint-staged": "^16.2.7",
38
+ "lint-staged": "^16.3.2",
40
39
  "prettier": "^3.8.1"
41
40
  },
42
- "packageManager": "pnpm@10.29.3",
41
+ "packageManager": "pnpm@10.33.0",
43
42
  "commitlint": {
44
43
  "extends": [
45
44
  "./node_modules/@codfish/eslint-config/commitlint.js"
@@ -53,5 +52,16 @@
53
52
  "prettier --write --config ./node_modules/@codfish/eslint-config/prettier.js",
54
53
  "doctoc --title '## Table of Contents'"
55
54
  ]
55
+ },
56
+ "pnpm": {
57
+ "overrides": {
58
+ "ajv@>=7.0.0-alpha.0 <8.18.0": ">=8.18.0",
59
+ "minimatch@<3.1.3": ">=3.1.3",
60
+ "minimatch@<3.1.4": ">=3.1.4",
61
+ "minimatch@>=9.0.0 <9.0.6": ">=9.0.6",
62
+ "minimatch@>=9.0.0 <9.0.7": ">=9.0.7",
63
+ "underscore@<=1.13.7": ">=1.13.8",
64
+ "flatted@<3.4.0": ">=3.4.0"
65
+ }
56
66
  }
57
67
  }
@@ -26,7 +26,7 @@ inputs:
26
26
  description:
27
27
  Whether to upgrade npm to v11.5.1. This is required for OIDC trusted publishing but can be disabled if you want to
28
28
  shave off some run time and you are still using token-based authentication.
29
- default: true
29
+ default: false
30
30
 
31
31
  outputs:
32
32
  node-version:
@@ -83,7 +83,7 @@ runs:
83
83
 
84
84
  - name: Install pnpm
85
85
  if: steps.detect-package-manager.outputs.package-manager == 'pnpm'
86
- uses: pnpm/action-setup@v4
86
+ uses: pnpm/action-setup@v5
87
87
  id: pnpm-setup
88
88
  with:
89
89
  run_install: false