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 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 scaffolder repository
196
- or to project-specific app decisions, not to every new application created from
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
@@ -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
- // npm excludes .gitignore from published packages — ship as _gitignore
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-koppajs",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Scaffold a new KoppaJS project in seconds.",
@@ -26,9 +26,6 @@ pnpm serve
26
26
 
27
27
  ```text
28
28
  __PROJECT_NAME__/
29
- ├── .gitattributes
30
- ├── .gitignore
31
- ├── .npmrc
32
29
  ├── README.md
33
30
  ├── index.html
34
31
  ├── package.json
@@ -36,9 +36,6 @@ The route table contains:
36
36
 
37
37
  ```text
38
38
  __PROJECT_NAME__/
39
- ├── .gitattributes
40
- ├── .gitignore
41
- ├── .npmrc
42
39
  ├── README.md
43
40
  ├── index.html
44
41
  ├── package.json
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@koppajs/koppajs-core": "3.0.7",
29
- "@koppajs/koppajs-router": "0.1.2"
29
+ "@koppajs/koppajs-router": "0.1.3"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@koppajs/koppajs-vite-plugin": "1.0.4",
@@ -1 +0,0 @@
1
- * text=auto eol=lf
@@ -1,7 +0,0 @@
1
- node_modules
2
- dist
3
- .ai
4
- pnpm-debug.log*
5
- *.log
6
- *.local
7
- .DS_Store
package/template/_npmrc DELETED
@@ -1 +0,0 @@
1
- engine-strict=true