create-next-pro-cli 0.1.0 â 0.1.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/README.md +44 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,16 @@ Initially, changes will be accepted or rejected by the creator, but in a few wee
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
> 𤊠Can't wait and too excited to read more? Just want to try it now?
|
|
14
|
+
>
|
|
15
|
+
> âšī¸ To enable autocompletion automatically, add the `--trust` option when installing globally with Bun:
|
|
16
|
+
>
|
|
17
|
+
> ```bash
|
|
18
|
+
> bun install -g create-next-pro-cli --trust
|
|
19
|
+
> ```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
13
23
|
## đ¯ Purpose
|
|
14
24
|
|
|
15
25
|
Create an enhanced alternative to `bun create next-app` with an interactive interface to generate Next.js projects tailored to real-world professional needs.
|
|
@@ -235,9 +245,9 @@ create-next-pro/
|
|
|
235
245
|
|
|
236
246
|
---
|
|
237
247
|
|
|
238
|
-
## đ Usage
|
|
248
|
+
## đ Install & Usage
|
|
239
249
|
|
|
240
|
-
### Local (dev)
|
|
250
|
+
### Local from git (dev)
|
|
241
251
|
|
|
242
252
|
```bash
|
|
243
253
|
bun install
|
|
@@ -247,18 +257,42 @@ bun dev
|
|
|
247
257
|
### Global (on your machine)
|
|
248
258
|
|
|
249
259
|
```bash
|
|
250
|
-
bun link
|
|
251
|
-
create-next-pro-
|
|
260
|
+
bun link create-next-pro-cli
|
|
261
|
+
create-next-pro my-next-project
|
|
252
262
|
```
|
|
253
263
|
|
|
254
264
|
### From another PC (via bunx or global install)
|
|
255
265
|
|
|
256
266
|
```bash
|
|
257
|
-
bunx create-next-pro-cli
|
|
267
|
+
bunx create-next-pro-cli # to try without install
|
|
258
268
|
# or
|
|
259
269
|
bun install -g create-next-pro-cli
|
|
260
270
|
```
|
|
261
271
|
|
|
272
|
+
> âšī¸ To enable autocompletion automatically, add the `--trust` option when installing globally with Bun:
|
|
273
|
+
>
|
|
274
|
+
> ```bash
|
|
275
|
+
> bun install -g create-next-pro-cli --trust
|
|
276
|
+
> ```
|
|
277
|
+
|
|
278
|
+
> Otherwise, run the autocompletion install script from binary manually:
|
|
279
|
+
>
|
|
280
|
+
> ```bash
|
|
281
|
+
> bash install.sh
|
|
282
|
+
> ```
|
|
283
|
+
|
|
284
|
+
> or add the autocompletion line to your `.bashrc`/`.zshrc` :
|
|
285
|
+
>
|
|
286
|
+
> ```bash
|
|
287
|
+
> source ~/.bun/install/global/node_modules/create-next-pro-cli/create-next-pro-completion.sh
|
|
288
|
+
> ```
|
|
289
|
+
>
|
|
290
|
+
> Then restart your terminal or run
|
|
291
|
+
>
|
|
292
|
+
> ```bash
|
|
293
|
+
> source ~/.bashrc
|
|
294
|
+
> ```
|
|
295
|
+
|
|
262
296
|
---
|
|
263
297
|
|
|
264
298
|
## đŖī¸ Roadmap
|
|
@@ -266,10 +300,11 @@ bun install -g create-next-pro-cli
|
|
|
266
300
|
- [x] Bun config + `tsconfig.json`
|
|
267
301
|
- [x] `bin.ts` CLI entry point
|
|
268
302
|
- [x] CLI project structure `src/index.ts`
|
|
269
|
-
- [
|
|
303
|
+
- [ ] Implementation of interactive prompts
|
|
270
304
|
- [x] Basic Next.js project scaffolding
|
|
271
305
|
- [x] CLI file/page generation
|
|
272
306
|
- [x] Custom alias support
|
|
307
|
+
- [x] Next-auth with custom cookies
|
|
273
308
|
- [x] Full `next-intl` support with `lib/i18n/` and `messages/`
|
|
274
309
|
- [ ] Generation of `.env.*`
|
|
275
310
|
- [ ] Multi-platform testing (`bunx`, `link`, `npm`, etc.)
|
|
@@ -279,8 +314,9 @@ bun install -g create-next-pro-cli
|
|
|
279
314
|
|
|
280
315
|
## ⨠Coming Soon
|
|
281
316
|
|
|
282
|
-
-
|
|
283
|
-
-
|
|
317
|
+
- Additional Components templates (admin panel, landing page, etc.)
|
|
318
|
+
- Library templates
|
|
319
|
+
- API templates
|
|
284
320
|
- Prettier / Husky / Commitlint integration
|
|
285
321
|
- Auto deployment to Vercel
|
|
286
322
|
|