@teispace/next-maker 1.16.0 → 1.17.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 +15 -0
- package/README.md +3 -1
- package/dist/index.js +217 -211
- package/dist/index.js.map +4 -4
- package/dist/src/commands/app.d.ts.map +1 -1
- package/dist/src/manifests/bundle-analyzer.manifest.d.ts.map +1 -1
- package/dist/src/manifests/dark-theme.manifest.d.ts.map +1 -1
- package/dist/src/manifests/http-client.manifest.d.ts.map +1 -1
- package/dist/src/manifests/i18n.manifest.d.ts.map +1 -1
- package/dist/src/manifests/redux.manifest.d.ts.map +1 -1
- package/dist/src/manifests/runner.d.ts.map +1 -1
- package/dist/src/manifests/tests.manifest.d.ts.map +1 -1
- package/dist/src/manifests/transforms/next-config.d.ts +25 -0
- package/dist/src/manifests/transforms/next-config.d.ts.map +1 -0
- package/dist/src/manifests/transforms/unwrap-jsx.d.ts +32 -0
- package/dist/src/manifests/transforms/unwrap-jsx.d.ts.map +1 -0
- package/dist/src/manifests/types.d.ts +30 -3
- package/dist/src/manifests/types.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.17.0](https://github.com/teispace/npm-packages/compare/next-maker-v1.16.1...next-maker-v1.17.0) (2026-04-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **next-maker:** auto-unwrap provider chains and next.config wraps on remove ([362ccd0](https://github.com/teispace/npm-packages/commit/362ccd0ef3cb98857600bc9def0e77e01f5c1779))
|
|
9
|
+
|
|
10
|
+
## [1.16.1](https://github.com/teispace/npm-packages/compare/next-maker-v1.16.0...next-maker-v1.16.1) (2026-04-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **next-maker:** eliminate concurrent spinners in init flow ([aa0f9d2](https://github.com/teispace/npm-packages/commit/aa0f9d255772b3b76d76a3963e95ecb73ec07d2b))
|
|
16
|
+
* **next-maker:** never auto-delete user-content dirs in remove ([f862698](https://github.com/teispace/npm-packages/commit/f862698fa9ab63e6fde56494a2286e65b45e2afd))
|
|
17
|
+
|
|
3
18
|
## [1.16.0](https://github.com/teispace/npm-packages/compare/next-maker-v1.15.1...next-maker-v1.16.0) (2026-04-26)
|
|
4
19
|
|
|
5
20
|
|
package/README.md
CHANGED
|
@@ -175,7 +175,9 @@ npx @teispace/next-maker remove <feature> [options]
|
|
|
175
175
|
| `--dry-run` | Print the planned changes without writing |
|
|
176
176
|
| `-y, --yes` | Skip the confirmation prompt |
|
|
177
177
|
|
|
178
|
-
|
|
178
|
+
**Auto-removed when possible:** provider chain unwraps (`<NextIntlClientProvider>`, `<StoreProvider>`, `<CustomThemeProvider>`), the `withNextIntl(...)` and `bundleAnalyzer(...)` wraps in `next.config.ts`, and their orphan import statements. The transforms are conservative — if the file shape has drifted from the canonical pattern (e.g. a multi-line opening tag, no matching close at the same indent), the runner bails out and surfaces it as manual cleanup rather than corrupting your code.
|
|
179
|
+
|
|
180
|
+
`remove` will **never recursively delete a directory that may hold user-authored content** — `src/app/[locale]/` (your pages), `src/i18n/` (your translations), `src/store/` (your slices), `src/lib/utils/http/` (your service code), and `test/` (your helpers) are flagged in the manifest with `containsUserContent: true` and surface as manual-cleanup with a hint. Move what you want to keep, then `rm -rf` the rest by hand.
|
|
179
181
|
|
|
180
182
|
```bash
|
|
181
183
|
# Preview the effect
|