@ramme-io/create-app 3.4.0 → 3.4.1
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/index.js +21 -7
- package/package.json +1 -1
- package/template/AGENTS.md +4 -2
- package/template/CHANGELOG.md +8 -0
- package/template/README.md +3 -2
- package/template/package.json +1 -1
package/index.js
CHANGED
|
@@ -61,14 +61,15 @@ const appSlug =
|
|
|
61
61
|
// satisfied by 3.1.0. Per-package ranges make that failure impossible to
|
|
62
62
|
// express.
|
|
63
63
|
//
|
|
64
|
-
//
|
|
65
|
-
//
|
|
66
|
-
//
|
|
67
|
-
//
|
|
64
|
+
// Each is ^ the version this scaffolder was released with, written by
|
|
65
|
+
// scripts/sync-release-pins.mjs at every release — not only when a major moves.
|
|
66
|
+
// A caret accepts later minors but does not require them: 3.4.0 pinned shared
|
|
67
|
+
// at ^4.0.0 while its home server needed 4.1.0, pnpm 12 (which skips versions
|
|
68
|
+
// published in the last day) installed 4.0.0, and the server crashed on start.
|
|
68
69
|
const RELEASE_VERSIONS = {
|
|
69
|
-
'@ramme-io/ui': '^5.0.
|
|
70
|
-
'@ramme-io/kernel': '^8.
|
|
71
|
-
'@ramme-io/shared': '^4.
|
|
70
|
+
'@ramme-io/ui': '^5.0.2',
|
|
71
|
+
'@ramme-io/kernel': '^8.1.1',
|
|
72
|
+
'@ramme-io/shared': '^4.1.0',
|
|
72
73
|
};
|
|
73
74
|
|
|
74
75
|
try {
|
|
@@ -218,6 +219,19 @@ try {
|
|
|
218
219
|
fs.renameSync(gitignorePath, path.join(destinationPath, '.gitignore'));
|
|
219
220
|
}
|
|
220
221
|
|
|
222
|
+
// 6b. LET esbuild INSTALL — pnpm 10 and later refuse a dependency's install
|
|
223
|
+
// script unless the project allows it, and pnpm 11+ makes that an error:
|
|
224
|
+
// `pnpm install` in a fresh app ended in ERR_PNPM_IGNORED_BUILDS (found by
|
|
225
|
+
// following ramme.io/agent.md end to end, 2026-11-01). Vite and vitest need
|
|
226
|
+
// esbuild's. Written here rather than shipped in the template because a
|
|
227
|
+
// pnpm-workspace.yaml inside the monorepo would make the template a
|
|
228
|
+
// workspace of its own. `allowBuilds` is pnpm 10.26+; `onlyBuiltDependencies`
|
|
229
|
+
// is the older spelling. Both verified on pnpm 10.12 and 12.16.
|
|
230
|
+
fs.writeFileSync(
|
|
231
|
+
path.join(destinationPath, 'pnpm-workspace.yaml'),
|
|
232
|
+
'allowBuilds:\n esbuild: true\nonlyBuiltDependencies:\n - esbuild\n',
|
|
233
|
+
);
|
|
234
|
+
|
|
221
235
|
// 7. ONBOARDING INSTRUCTIONS — Premium Unboxing Experience
|
|
222
236
|
console.log('\n╔═══════════════════════════════════════╗');
|
|
223
237
|
console.log('║ ║');
|
package/package.json
CHANGED
package/template/AGENTS.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# Agent-Ready Architecture
|
|
2
2
|
|
|
3
|
-
> **Start here.**
|
|
4
|
-
>
|
|
3
|
+
> **Start here.** This file is the rules for this project and for the coding agents
|
|
4
|
+
> working in it. `.rammerules`, `.cursorrules`, `.clinerules` and `.windsurfrules` are
|
|
5
|
+
> copies of it, written when the project was made, for agents that look for those
|
|
6
|
+
> names; `CLAUDE.md` imports it.
|
|
5
7
|
|
|
6
8
|
## Package Manager
|
|
7
9
|
|
package/template/CHANGELOG.md
CHANGED
package/template/README.md
CHANGED
|
@@ -32,8 +32,9 @@ See `AGENTS.md` for copy-pastable code and the full Golden Path recipe.
|
|
|
32
32
|
|
|
33
33
|
## For Coding Agents
|
|
34
34
|
|
|
35
|
-
Read
|
|
36
|
-
|
|
35
|
+
Read `AGENTS.md` first — it is the rules for this project. `.rammerules`,
|
|
36
|
+
`.cursorrules`, `.clinerules` and `.windsurfrules` are copies of it for agents
|
|
37
|
+
that look for those names.
|
|
37
38
|
|
|
38
39
|
## Architecture
|
|
39
40
|
|