Skip to content

Commit a953c7b

Browse files
committed
build: prepare pnpm 0.6.0 release
Bump the package version for the pnpm migration release and remove the remaining Yarn workflow references from project metadata. Modernize the Travis fallback to use a frozen pnpm install so release validation stays reproducible across CI entry points. Fixes: #172
1 parent 0ef7b0f commit a953c7b

4 files changed

Lines changed: 15 additions & 21 deletions

File tree

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
# Yarn/Node
1+
# Node/pnpm
22
node_modules/
33
dist/
4-
yarn.lock
54
package-lock.json
6-
yarn-error.log
7-
.yarn
8-
.yarnrc.yml
95

106
# Idea metadata
117
.idea/

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- "12"
5-
script: npm test
4+
- "22"
5+
- "24"
6+
- "26"
67
install:
7-
- npm run yarn
8-
cache:
9-
yarn: true
10-
directories:
11-
- node_modules
8+
- npm exec --yes pnpm@10.25.0 install --frozen-lockfile
9+
script:
10+
- npm exec --yes pnpm@10.25.0 run build
11+
- npm exec --yes pnpm@10.25.0 test

AGENTS.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,16 @@ The current build and CI setup needs supply-chain hardening before release autom
5454

5555
TODO:
5656

57-
- Replace the mutable Yarn CI install flow with a reproducible package-manager workflow.
58-
- Current GitHub Actions disables immutable installs and runs `npm run yarn`, which deletes and regenerates `yarn.lock`, `.yarnrc.yml`, and `node_modules`.
59-
- Prefer a committed lockfile and an immutable install command.
60-
- The project may migrate from Yarn to pnpm, but the migration must preserve reproducibility.
57+
- Keep the pnpm install flow reproducible.
58+
- GitHub Actions and Travis CI should use the committed `pnpm-lock.yaml` with `pnpm install --frozen-lockfile`.
59+
- Do not reintroduce mutable install scripts that delete and regenerate lockfiles during CI.
6160
- Add explicit least-privilege permissions to GitHub Actions.
6261
- The test workflow should start with `permissions: contents: read` unless a job needs more.
6362
- Decide whether to pin GitHub Actions by SHA.
64-
- Current workflow uses tag references such as `actions/checkout@v4` and `actions/setup-node@v4`.
63+
- Current workflow uses tag references such as `actions/checkout@v7`, `actions/setup-node@v6`, and `pnpm/action-setup@v6`.
6564
- Pinning by SHA reduces tag-compromise risk.
66-
- Retire or modernize Travis CI.
67-
- `.travis.yml` still targets Node.js 12 and caches `node_modules`.
68-
- If Travis is no longer used, remove it to avoid stale CI behavior.
65+
- Decide whether Travis CI is still required.
66+
- `.travis.yml` is modernized for pnpm and current Node.js versions, but should be removed if Travis is no longer used.
6967
- Decide release sourcemap policy.
7068
- `build.mjs` currently emits sourcemaps into `dist/js`.
7169
- Keep them intentionally for open-source/debuggability or disable them for release builds.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "faz",
3-
"version": "0.5.3",
3+
"version": "0.6.0",
44
"description": "JS HTML Web Components",
55
"main": "dist/js/index.js",
66
"module": "dist/js/index.js",

0 commit comments

Comments
 (0)