@teispace/next-maker 5.0.6 → 5.1.0
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 +14 -0
- package/README.md +7 -1
- package/dist/index.js +163 -158
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.1.0](https://github.com/teispace/npm-packages/compare/next-maker-v5.0.7...next-maker-v5.1.0) (2026-09-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **next-maker:** compose Markdown, not just code ([#176](https://github.com/teispace/npm-packages/issues/176)) ([b3c35ff](https://github.com/teispace/npm-packages/commit/b3c35ffd0cd18ac928b8116be99468487798acea))
|
|
9
|
+
|
|
10
|
+
## [5.0.7](https://github.com/teispace/npm-packages/compare/next-maker-v5.0.6...next-maker-v5.0.7) (2026-09-06)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **next-maker:** shape an app added to an existing workspace like its siblings ([#174](https://github.com/teispace/npm-packages/issues/174)) ([81f2bde](https://github.com/teispace/npm-packages/commit/81f2bdec94b7f45d39eba1966af0b8a89ce04cb0))
|
|
16
|
+
|
|
3
17
|
## [5.0.6](https://github.com/teispace/npm-packages/compare/next-maker-v5.0.5...next-maker-v5.0.6) (2026-09-06)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -67,6 +67,12 @@ The starter declares its options in `next-maker.json`; the CLI asks those questi
|
|
|
67
67
|
|
|
68
68
|
Presets: `default`, `minimal`, `full`, `zustand`, `spa`. A `--config` file holds identity fields (`name`, `description`, `author`, `version`, `email`, `gitRemote`) plus `packageManager`, `preset`, and `options`.
|
|
69
69
|
|
|
70
|
+
The manifest's `always` block holds what never reaches a project: `remove`
|
|
71
|
+
for starter-only files, and `anchors` for ids stripped regardless of the
|
|
72
|
+
answers, which is how a documentation paragraph that links those files
|
|
73
|
+
disappears with them. Anchors work in Markdown as well as code, so a table
|
|
74
|
+
row pointing at an optional feature's guide leaves with the feature.
|
|
75
|
+
|
|
70
76
|
What `init` does, in order: fetch the pinned starter (or `--starter-path` / `NEXT_MAKER_STARTER_PATH`), read its manifest, resolve answers (constraints such as `ws` needing Redux are enforced), apply the package-manager overlay, delete the files of features that are off, copy overlays for chosen variants, strip anchor comments and unwrap provider wrappers, prune `package.json` and `.env.example`, rewrite package-manager commands, stamp the identity, write `README.md` and `.next-maker.json`, install, format, copy `.env`, and initialise git.
|
|
71
77
|
|
|
72
78
|
Every generated project passes the starter's own gates (`lint`, `type-check`, `check:deprecated`, `test`, `build`); the `smoke` script composes a matrix of option combinations and runs them.
|
|
@@ -94,7 +100,7 @@ acme/
|
|
|
94
100
|
.github/workflows/ci.yml (--no-ci to skip)
|
|
95
101
|
```
|
|
96
102
|
|
|
97
|
-
Git hooks, CI, Docker, community files, and the lockfile are root concerns, so those options are forced off inside the apps. The generated root README explains how to add a shared package (`pnpm add @acme/ui --workspace`), add another app, and build one app's Docker image with `turbo prune`. Only pnpm is supported for workspaces.
|
|
103
|
+
Git hooks, CI, Docker, community files, and the lockfile are root concerns, so those options are forced off inside the apps. The generated root README explains how to add a shared package (`pnpm add @acme/ui --workspace`), add another app, and build one app's Docker image with `turbo prune`. Only pnpm is supported for workspaces. Running `init` inside an existing workspace is enough to add an app later: it detects the root, forces the root-owned options off, drops the app-level package-manager pin, lockfile and npm config, points shared ranges at the root catalog, and installs from the root.
|
|
98
104
|
|
|
99
105
|
## setup, remove, doctor, upgrade
|
|
100
106
|
|