@se-studio/skills 1.7.2 → 1.7.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @se-studio/skills
2
2
 
3
+ ## 1.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Document `supportedArchitectures` so macOS lockfiles include linux-x64/glibc optional natives for hoisted frozen cms-edit installs.
8
+
3
9
  ## 1.7.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-studio/skills",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "SE Studio agent skills for marketing site development with Contentful CMS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,6 +30,17 @@ See [`validate-workflow-snippet.yml`](validate-workflow-snippet.yml). Customer m
30
30
  | Marketing app (monorepo root install) | `cd ../.. && pnpm install --frozen-lockfile` |
31
31
  | cms-edit host | `cd ../.. && pnpm install --frozen-lockfile --config.node-linker=hoisted` |
32
32
 
33
+ ## Linux optional natives (`supportedArchitectures`)
34
+
35
+ cms-edit Vercel and `check-lockfile-sync.sh` (full) run `pnpm install --frozen-lockfile --config.node-linker=hoisted`. That path requires lockfile snapshots for **linux-x64/glibc** optional binaries even when you generate the lockfile on macOS.
36
+
37
+ Every consumer `pnpm-workspace.yaml` must include `supportedArchitectures` (current + linux, current + x64, current + glibc). Canonical copy: skill `site-workflows-deps-update` Step 3. After adding it, run `pnpm install` (not frozen) so the lockfile gains those snapshots, then verify:
38
+
39
+ ```bash
40
+ pnpm install --frozen-lockfile --config.node-linker=hoisted
41
+ pnpm install # restore isolated linker for local workspace packages
42
+ ```
43
+
33
44
  ## After dependency changes
34
45
 
35
46
  ```bash
@@ -105,6 +105,24 @@ overrides:
105
105
  '@types/node': ^24.13.2
106
106
  ```
107
107
 
108
+ Every repo that runs **hoisted frozen install** (cms-edit host on Vercel, `check-lockfile-sync.sh` hoisted job) **must** also record Linux optional natives in the lockfile. Generate the lockfile on macOS with:
109
+
110
+ ```yaml
111
+ # Record linux-x64/glibc optional natives (cms-edit Vercel + hoisted frozen install).
112
+ supportedArchitectures:
113
+ os:
114
+ - current
115
+ - linux
116
+ cpu:
117
+ - current
118
+ - x64
119
+ libc:
120
+ - current
121
+ - glibc
122
+ ```
123
+
124
+ Without this, isolated `pnpm install` on darwin can omit snapshots such as `@rollup/rollup-linux-x64-gnu`. Hoisted `--frozen-lockfile` then fails even though default-linker install succeeded. Vitest/Rollup sites (Brightline) hit this first; Sharp and other optional natives fail the same way on Vercel linux.
125
+
108
126
  - **`minimumReleaseAge: 1440`** — do not install packages published in the last 24 hours (supply-chain guard).
109
127
  - **`@se-studio/*` exclude** — our own packages may update immediately after npm publish.
110
128
  - **Keep repo-specific additional excludes** when present (e.g. vitest pins in se-core-product, `@emnapi/runtime` in se-website-2026, PointMe `mapbox-gl` / `react-day-picker` overrides).