@se-studio/project-build 1.3.1 → 1.3.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +8 -14
  3. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @se-studio/project-build
2
2
 
3
+ ## 1.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 34b0830: Dependency refresh (Biome 2.6.4, contentful-management 12.20, workflow 5.2, upstash/redis 1.40, js-yaml 5.5 and others). Route handler factories return `handleGet` instead of `GET`, the HubSpot form renderer is a lowercase inner function, and the showcase Controls fields share a context instead of being redefined on every render. No behavior change for consumers.
8
+
9
+ ## 1.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 1a4de9f: Customer docs and templates describe one way to get skills into a site: an exact `@se-studio/skills` devDependency linked by `skills-npm --yes` in `prepare`. They no longer tell sites to run `skills update`, `skills@latest`, a per-repo `sync-skills.sh` or third-party packs, or to strip `AGENTS.md` after a sync. The bundled cms-edit setup skill matches.
14
+
3
15
  ## 1.3.1
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -89,27 +89,21 @@ pnpm skills:sync
89
89
 
90
90
  See [`packages/skills/README.md`](../skills/README.md) for frontmatter rules.
91
91
 
92
- **In external projects**, install skills via the `skills` CLI:
93
-
94
- ```bash
95
- npx skills add @se-studio/skills
96
- ```
97
-
98
- Add to your project’s `package.json` to auto-sync on `pnpm install` (skips on CI/Vercel):
92
+ **In a customer site**, add the package as an exact-version devDependency and link its skills in `prepare` (skipped on CI/Vercel):
99
93
 
100
94
  ```json
101
95
  "devDependencies": {
102
- "@se-studio/skills": "^1.0.0",
103
- "skills-npm": "^1.1.1"
96
+ "@se-studio/skills": "<exact version>",
97
+ "skills-npm": "^4.1.0"
104
98
  },
105
99
  "scripts": {
106
- "prepare": "node -e \"if(process.env.VERCEL||process.env.CI)process.exit(0);process.exit(1)\" || (husky && skills-npm --yes && pnpm skills:update)",
107
- "skills:sync": "bash scripts/sync-skills.sh",
108
- "skills:update": "npx -y skills@latest update -y"
100
+ "prepare": "node -e \"if(process.env.VERCEL||process.env.CI)process.exit(0);process.exit(1)\" || (git config core.hooksPath .githooks && skills-npm --yes)"
109
101
  }
110
102
  ```
111
103
 
112
- Commit `skills-lock.json` after the first `pnpm skills:sync`. Use `pnpm skills:sync` manually when adding or updating third-party skills (e.g. Vercel packs) from GitHub. After sync, strip `AGENTS.md` next to `SKILL.md` (`node scripts/strip-skill-always-on-docs.mjs` in core; customer `scripts/sync-skills.sh` does this automatically).
104
+ `skills-npm --yes` links the package's skills from `node_modules` into `.agents/skills` (and the agent directories). The version is pinned by the lockfile, so the skills match the installed package. Do not run `skills update` or `skills@latest`, do not keep a per-repo `scripts/sync-skills.sh`, and do not add third-party skill packs (a skill a site needs goes into `@se-studio/skills` through core). Track `skills-npm-lock.json`; ignore the linked skill directories (`.agents/skills`, `.claude/skills`, `.cursor/skills`, `.grok/skills`) except the repo's own authored skills. Use the `dir/*` form with `!dir/<name>` exceptions (as eagle-website does), not `dir/`, which cannot take exceptions. Hooks come from `customer-guardrails/` (see `packages/skills/references/agent-session/customer-guardrails/README.md`); replace `git config core.hooksPath .githooks` with `husky` if the repo uses husky.
105
+
106
+ `npx skills add @se-studio/skills` is only for a one-off project that does not depend on the package.
113
107
 
114
108
  ## API Reference
115
109
 
@@ -148,7 +142,7 @@ setup-colours
148
142
  ```
149
143
 
150
144
  #### `seskills sync [target-dir]`
151
- Deprecated. Use `npx skills add @se-studio/skills` instead. See `packages/skills/` for the canonical skill sources.
145
+ Deprecated. Depend on `@se-studio/skills` and link it with `skills-npm` (see above). See `packages/skills/` for the canonical skill sources.
152
146
 
153
147
  For detailed JSDoc documentation on all exports, see the TypeScript declaration files (`.d.ts`) in the package.
154
148
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@se-studio/project-build",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "Build tools and management scripts for SE Studio projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,19 +67,19 @@
67
67
  "url": "https://github.com/Something-Else-Studio/se-core-product/issues"
68
68
  },
69
69
  "dependencies": {
70
- "@biomejs/biome": "^2.5.15",
71
- "@biomejs/js-api": "^6.0.0",
72
- "@biomejs/wasm-nodejs": "^2.5.15",
70
+ "@biomejs/biome": "^2.6.4",
71
+ "@biomejs/js-api": "^6.1.0",
72
+ "@biomejs/wasm-nodejs": "^2.6.4",
73
73
  "change-case": "^5.4.4",
74
74
  "chroma-js": "^3.2.0",
75
- "contentful-management": "^12.19.0",
76
- "dotenv": "^18.0.5"
75
+ "contentful-management": "^12.20.0",
76
+ "dotenv": "^18.0.9"
77
77
  },
78
78
  "devDependencies": {
79
- "@types/chroma-js": "^3.1.2",
79
+ "@types/chroma-js": "^3.1.3",
80
80
  "@types/node": "^24.13.3",
81
81
  "typescript": "^7.0.2",
82
- "vitest": "^5.0.3"
82
+ "vitest": "^5.0.5"
83
83
  },
84
84
  "scripts": {
85
85
  "build": "tsc --project tsconfig.build.json && cp src/patch-next-dev.cjs src/patch-next-dev.d.ts src/patch-next-browser-debug.cjs dist/ && cp ../../scripts/generate-marketing-routes.mjs ../../scripts/marketing-routes.mjs ../../scripts/marketing-routes-cms.mjs dist/",