@teispace/next-maker 1.16.1 → 1.17.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 +14 -0
- package/README.md +1 -1
- package/dist/index.js +208 -202
- package/dist/index.js.map +4 -4
- package/dist/src/commands/component.d.ts.map +1 -1
- package/dist/src/commands/locale.d.ts.map +1 -1
- package/dist/src/commands/page.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/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/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 +16 -3
- package/dist/src/manifests/types.d.ts.map +1 -1
- package/dist/src/prompts/component.prompt.d.ts +5 -1
- package/dist/src/prompts/component.prompt.d.ts.map +1 -1
- package/dist/src/prompts/locale.prompt.d.ts +5 -1
- package/dist/src/prompts/locale.prompt.d.ts.map +1 -1
- package/dist/src/prompts/page.prompt.d.ts +7 -1
- package/dist/src/prompts/page.prompt.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.17.1](https://github.com/teispace/npm-packages/compare/next-maker-v1.17.0...next-maker-v1.17.1) (2026-04-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **next-maker:** respect cli flags in prompts; add type=button to error tsx ([2718aad](https://github.com/teispace/npm-packages/commit/2718aad9f74559e854c7332841daca63b4ec503e))
|
|
9
|
+
|
|
10
|
+
## [1.17.0](https://github.com/teispace/npm-packages/compare/next-maker-v1.16.1...next-maker-v1.17.0) (2026-04-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **next-maker:** auto-unwrap provider chains and next.config wraps on remove ([362ccd0](https://github.com/teispace/npm-packages/commit/362ccd0ef3cb98857600bc9def0e77e01f5c1779))
|
|
16
|
+
|
|
3
17
|
## [1.16.1](https://github.com/teispace/npm-packages/compare/next-maker-v1.16.0...next-maker-v1.16.1) (2026-04-26)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -175,7 +175,7 @@ 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
179
|
|
|
180
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.
|
|
181
181
|
|