create-koppajs 1.2.3 → 1.2.5
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 +31 -0
- package/README.md +5 -6
- package/bin/create-koppajs.js +4 -10
- package/package.json +1 -1
- package/template/README.md +0 -3
- package/template-overlays/router/README.md +0 -3
- package/template-overlays/router/package.json +1 -1
- package/template/_gitattributes +0 -1
- package/template/_gitignore +0 -7
- package/template/_npmrc +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,37 @@ _No unreleased changes yet._
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
+
## [1.2.5] — Router Baseline Refresh
|
|
20
|
+
|
|
21
|
+
**2026-05-13**
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- updated the generated router starter dependency baseline to
|
|
26
|
+
`@koppajs/koppajs-router@0.1.3`
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## [1.2.4] — Starter Dotfile Removal
|
|
31
|
+
|
|
32
|
+
**2026-04-24**
|
|
33
|
+
|
|
34
|
+
Patch release to remove the last generated dotfile defaults from new apps.
|
|
35
|
+
|
|
36
|
+
### Removed
|
|
37
|
+
|
|
38
|
+
- removed generated `.gitattributes`, `.gitignore`, and `.npmrc` files from
|
|
39
|
+
generated minimal and router starters
|
|
40
|
+
- removed the remaining CLI copy-time dotfile rename behavior because the
|
|
41
|
+
generated starter no longer ships underscore-prefixed dotfile placeholders
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- updated pnpm usage examples to `pnpm create koppajs@latest` so users bypass
|
|
46
|
+
stale pnpm create/dlx cache entries after a new release
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
19
50
|
## [1.2.3] — Lean Starter Maintenance
|
|
20
51
|
|
|
21
52
|
**2026-04-24**
|
package/README.md
CHANGED
|
@@ -118,7 +118,6 @@ The stable public contract of this repository is:
|
|
|
118
118
|
target directories
|
|
119
119
|
- recursive copying of the bundled `template/` directory plus any selected
|
|
120
120
|
overlay
|
|
121
|
-
- restoration of publish-safe dotfiles during copy
|
|
122
121
|
- patching of generated `package.json` and `README.md`
|
|
123
122
|
- the generated starter baselines defined by `template/` and
|
|
124
123
|
`template-overlays/`
|
|
@@ -137,13 +136,13 @@ The governing specs for that contract are:
|
|
|
137
136
|
Default starter:
|
|
138
137
|
|
|
139
138
|
```bash
|
|
140
|
-
pnpm create koppajs my-app
|
|
139
|
+
pnpm create koppajs@latest my-app
|
|
141
140
|
```
|
|
142
141
|
|
|
143
142
|
Router starter:
|
|
144
143
|
|
|
145
144
|
```bash
|
|
146
|
-
pnpm create koppajs my-app --template router
|
|
145
|
+
pnpm create koppajs@latest my-app --template router
|
|
147
146
|
```
|
|
148
147
|
|
|
149
148
|
Alternative entrypoints:
|
|
@@ -192,9 +191,9 @@ Every starter also includes:
|
|
|
192
191
|
|
|
193
192
|
The generated project intentionally excludes repository governance files,
|
|
194
193
|
release automation, GitHub workflows, Git hooks, changelog files, lockfiles,
|
|
195
|
-
and lint/format/test tooling. Those files belong to this
|
|
196
|
-
or to project-specific app decisions, not to every new
|
|
197
|
-
it.
|
|
194
|
+
default dotfiles, and lint/format/test tooling. Those files belong to this
|
|
195
|
+
scaffolder repository or to project-specific app decisions, not to every new
|
|
196
|
+
application created from it.
|
|
198
197
|
|
|
199
198
|
The root repository treats those starters as versioned product surface, not
|
|
200
199
|
test data. `template/` plus the supported overlays are the only source of truth
|
package/bin/create-koppajs.js
CHANGED
|
@@ -103,7 +103,7 @@ export function printHelp() {
|
|
|
103
103
|
Scaffold a new KoppaJS project.
|
|
104
104
|
|
|
105
105
|
Usage:
|
|
106
|
-
pnpm create koppajs [project-name]
|
|
106
|
+
pnpm create koppajs@latest [project-name]
|
|
107
107
|
npm create koppajs [project-name]
|
|
108
108
|
npx create-koppajs [project-name]
|
|
109
109
|
|
|
@@ -114,8 +114,8 @@ export function printHelp() {
|
|
|
114
114
|
--router Shortcut for --template router
|
|
115
115
|
|
|
116
116
|
Example:
|
|
117
|
-
pnpm create koppajs my-app
|
|
118
|
-
pnpm create koppajs my-app --template router
|
|
117
|
+
pnpm create koppajs@latest my-app
|
|
118
|
+
pnpm create koppajs@latest my-app --template router
|
|
119
119
|
`);
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -203,13 +203,7 @@ export function ensureTargetDir(targetPath) {
|
|
|
203
203
|
|
|
204
204
|
// ── Copy ────────────────────────────────────────────────────────────
|
|
205
205
|
|
|
206
|
-
|
|
207
|
-
// and rename during scaffolding (same approach as create-vite).
|
|
208
|
-
const RENAME_FILES = {
|
|
209
|
-
_gitattributes: ".gitattributes",
|
|
210
|
-
_gitignore: ".gitignore",
|
|
211
|
-
_npmrc: ".npmrc",
|
|
212
|
-
};
|
|
206
|
+
const RENAME_FILES = {};
|
|
213
207
|
|
|
214
208
|
export function copyDirRecursive(src, dest) {
|
|
215
209
|
mkdirSync(dest, { recursive: true });
|
package/package.json
CHANGED
package/template/README.md
CHANGED
package/template/_gitattributes
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* text=auto eol=lf
|
package/template/_gitignore
DELETED
package/template/_npmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
engine-strict=true
|