@teispace/next-maker 1.17.0 → 1.18.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 +29 -1
- package/dist/index.js +186 -186
- package/dist/index.js.map +3 -3
- package/dist/src/commands/app.d.ts.map +1 -1
- 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/prompts/component.prompt.d.ts +5 -1
- package/dist/src/prompts/component.prompt.d.ts.map +1 -1
- package/dist/src/prompts/create-app.prompt.d.ts +9 -0
- package/dist/src/prompts/create-app.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.18.0](https://github.com/teispace/npm-packages/compare/next-maker-v1.17.1...next-maker-v1.18.0) (2026-04-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **next-maker:** add init --yes for one-shot opinionated install ([661bbb2](https://github.com/teispace/npm-packages/commit/661bbb29040b46a60a81fd2775fdc0a3dec56fac))
|
|
9
|
+
|
|
10
|
+
## [1.17.1](https://github.com/teispace/npm-packages/compare/next-maker-v1.17.0...next-maker-v1.17.1) (2026-04-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **next-maker:** respect cli flags in prompts; add type=button to error tsx ([2718aad](https://github.com/teispace/npm-packages/commit/2718aad9f74559e854c7332841daca63b4ec503e))
|
|
16
|
+
|
|
3
17
|
## [1.17.0](https://github.com/teispace/npm-packages/compare/next-maker-v1.16.1...next-maker-v1.17.0) (2026-04-26)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -48,9 +48,37 @@ Run `npx @teispace/next-maker <command> --help` for the full option list of any
|
|
|
48
48
|
### `init` — Create a New App
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
npx @teispace/next-maker init [project-name]
|
|
51
|
+
npx @teispace/next-maker init [project-name] [options]
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
| Flag | Effect |
|
|
55
|
+
| --- | --- |
|
|
56
|
+
| `-y, --yes` | Skip every prompt and bootstrap with the recommended production defaults (see below) |
|
|
57
|
+
| `--package-manager <pm>` | Override the package manager (`npm` \| `yarn` \| `pnpm` \| `bun`). Works with or without `--yes`. |
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Interactive (default)
|
|
61
|
+
npx @teispace/next-maker init my-app
|
|
62
|
+
|
|
63
|
+
# One-shot opinionated install
|
|
64
|
+
npx @teispace/next-maker init my-app --yes
|
|
65
|
+
|
|
66
|
+
# One-shot with a different package manager
|
|
67
|
+
npx @teispace/next-maker init my-app -y --package-manager pnpm
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**`--yes` defaults** — every architecture feature on, heavyweight integrations off:
|
|
71
|
+
|
|
72
|
+
| | |
|
|
73
|
+
| --- | --- |
|
|
74
|
+
| package manager | `yarn` |
|
|
75
|
+
| HTTP client | `fetch` |
|
|
76
|
+
| dark mode, redux, i18n, tests, react-compiler | ✅ on |
|
|
77
|
+
| pre-commit hooks, commitizen, copy `.env` | ✅ on |
|
|
78
|
+
| docker, GitHub Actions, bundle-analyzer, community files (CODE_OF_CONDUCT etc.) | ⏭ off |
|
|
79
|
+
|
|
80
|
+
Anything you don't want? `next-maker remove <feature>` after init.
|
|
81
|
+
|
|
54
82
|
The starter at [`teispace/nextjs-starter`](https://github.com/teispace/nextjs-starter) is cloned via `degit` and trimmed to match your prompt answers. The `cleanup` step strips opted-out features so the generated project compiles end-to-end on first install.
|
|
55
83
|
|
|
56
84
|
**Interactive prompts:**
|