@teispace/next-maker 5.0.0 → 5.0.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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/index.js +170 -161
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.0.1](https://github.com/teispace/npm-packages/compare/next-maker-v5.0.0...next-maker-v5.0.1) (2026-09-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **next-maker:** merge same-line edits by token and format generated files ([#162](https://github.com/teispace/npm-packages/issues/162)) ([54a7619](https://github.com/teispace/npm-packages/commit/54a76195807bf84622b6beffa1b3e77343b652ab))
|
|
9
|
+
|
|
3
10
|
## [5.0.0](https://github.com/teispace/npm-packages/compare/next-maker-v4.0.2...next-maker-v5.0.0) (2026-09-05)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ npx @teispace/next-maker upgrade --dry-run # to the starter tag this CLI
|
|
|
110
110
|
npx @teispace/next-maker upgrade --to v2.1.0
|
|
111
111
|
```
|
|
112
112
|
|
|
113
|
-
`setup` and `upgrade` share one engine: the starter is composed twice (old answers and new answers, or old tag and new tag) with the project's identity, formatted with the project's Biome, and the project is three-way merged against the two trees. Lines the project never touched follow the starter, files a feature adds appear, files it owns disappear, anchored lines in shared files (a reducer registration, a provider import) merge in place, and `package.json` merges key by key.
|
|
113
|
+
`setup` and `upgrade` share one engine: the starter is composed twice (old answers and new answers, or old tag and new tag) with the project's identity, formatted with the project's Biome, and the project is three-way merged against the two trees. Lines the project never touched follow the starter, files a feature adds appear, files it owns disappear, anchored lines in shared files (a reducer registration, a provider import) merge in place, and `package.json` merges key by key. Where the project and the starter changed the same lines (a generator registered a slice on the line a feature toggle rewrites), the block is merged again by token, so a registration the project added survives next to one the starter removed or added. Only edits to the same token conflict; those get `<<<<<<<` markers and are listed. Files a command writes are formatted with the project's Biome before it returns. `--dry-run` shows the file-by-file outcome first.
|
|
114
114
|
|
|
115
115
|
`doctor` compares the project with the footprint of every feature its record says is on (files, packages, scripts), `--fix` restores what is missing from a pristine starter checkout, and `--compile` runs the project's type-check, which is the only honest signal that the pieces still fit.
|
|
116
116
|
|