create-grist-widget 0.3.17 → 0.3.18

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,11 +1,11 @@
1
1
  {
2
2
  "name": "create-grist-widget",
3
- "version": "0.3.17",
3
+ "version": "0.3.18",
4
4
  "description": "Scaffold a new Grist custom widget from the grist-widget-sdk Vite template",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "engines": {
8
- "node": ">=18"
8
+ "node": "^22.22.0 || >=24.15.0"
9
9
  },
10
10
  "bin": {
11
11
  "create-grist-widget": "./bin/create-grist-widget.mjs"
@@ -62,16 +62,23 @@ jobs:
62
62
  env:
63
63
  REPO_NAME: ${{ github.event.repository.name }}
64
64
  steps:
65
+ # Action majors track the monorepo's own workflows (Dependabot watches
66
+ # this file via the template's directory in .github/dependabot.yml);
67
+ # the v4s here ran on the deprecated Node 20 action runtime.
65
68
  - name: Checkout
66
- uses: actions/checkout@v4
69
+ uses: actions/checkout@v7
67
70
 
68
71
  - name: Setup pnpm
69
- uses: pnpm/action-setup@v4
72
+ uses: pnpm/action-setup@v6
70
73
 
71
74
  - name: Setup Node
72
- uses: actions/setup-node@v4
75
+ uses: actions/setup-node@v7
73
76
  with:
74
77
  node-version: 22
78
+ # Never cache: a freshly scaffolded repo has no pnpm-lock.yaml (see
79
+ # the install step below), and a pnpm cache hard-requires one.
80
+ # Explicit rather than relying on setup-node's npm-only default.
81
+ package-manager-cache: false
75
82
 
76
83
  # Not --frozen-lockfile, and no `cache: pnpm` above: a freshly
77
84
  # scaffolded repo never has a committed pnpm-lock.yaml (the CLI's
@@ -171,12 +178,13 @@ jobs:
171
178
  runs-on: ubuntu-latest
172
179
  steps:
173
180
  - name: Checkout (default branch — for scripts/deploy.mjs)
174
- uses: actions/checkout@v4
181
+ uses: actions/checkout@v7
175
182
 
176
183
  - name: Setup Node
177
- uses: actions/setup-node@v4
184
+ uses: actions/setup-node@v7
178
185
  with:
179
186
  node-version: 22
187
+ package-manager-cache: false
180
188
 
181
189
  - name: Clone gh-pages into ./site (skip if it does not exist)
182
190
  id: clone