create-next-shadcn-kit 0.1.0 → 0.1.2

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # create-next-shadcn-kit
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/create-next-shadcn-kit.svg?color=cb3837&logo=npm)](https://www.npmjs.com/package/create-next-shadcn-kit)
4
+ [![npm downloads](https://img.shields.io/npm/dm/create-next-shadcn-kit.svg)](https://www.npmjs.com/package/create-next-shadcn-kit)
5
+ [![license](https://img.shields.io/npm/l/create-next-shadcn-kit.svg)](./LICENSE)
6
+
3
7
  > Create a Next.js app with **shadcn/ui** pre-integrated — zero config.
4
8
 
5
9
  One command, a fresh Next.js project, Tailwind configured, shadcn/ui initialized, and your favorite components already installed. No juggling two CLIs.
@@ -53,18 +57,23 @@ npx create-next-shadcn-kit my-app --pnpm
53
57
 
54
58
  ## Requirements
55
59
 
56
- - Node.js **18.17+**
60
+ - Node.js **20+** (Next.js 16 requires it)
57
61
  - Network access (to fetch `create-next-app` and `shadcn`)
62
+ - Works with **npm, pnpm, yarn, bun**. All are tested end-to-end.
58
63
 
59
64
  ## Development
60
65
 
61
66
  ```bash
62
- git clone <this-repo>
67
+ git clone https://github.com/NikunjSonigara/create-next-shadcn-kit.git
63
68
  cd create-next-shadcn-kit
64
69
  npm install
65
70
  node bin/index.js test-app --yes
66
71
  ```
67
72
 
73
+ ## Contributing
74
+
75
+ Issues and PRs welcome at [github.com/NikunjSonigara/create-next-shadcn-kit](https://github.com/NikunjSonigara/create-next-shadcn-kit).
76
+
68
77
  ## License
69
78
 
70
79
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next-shadcn-kit",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Create a Next.js app with shadcn/ui pre-integrated — zero config.",
5
5
  "keywords": [
6
6
  "nextjs",
@@ -11,10 +11,20 @@
11
11
  "scaffold",
12
12
  "starter",
13
13
  "create-next-app",
14
- "tailwind"
14
+ "tailwind",
15
+ "redux-toolkit",
16
+ "zustand"
15
17
  ],
16
18
  "author": "Nikunj Sonigara <nikunjsonigara987@gmail.com>",
17
19
  "license": "MIT",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/NikunjSonigara/create-next-shadcn-kit.git"
23
+ },
24
+ "homepage": "https://github.com/NikunjSonigara/create-next-shadcn-kit#readme",
25
+ "bugs": {
26
+ "url": "https://github.com/NikunjSonigara/create-next-shadcn-kit/issues"
27
+ },
18
28
  "type": "module",
19
29
  "bin": {
20
30
  "create-next-shadcn-kit": "bin/index.js"
@@ -26,7 +36,7 @@
26
36
  "LICENSE"
27
37
  ],
28
38
  "engines": {
29
- "node": ">=18.17.0"
39
+ "node": ">=20.0.0"
30
40
  },
31
41
  "scripts": {
32
42
  "start": "node bin/index.js",
package/src/index.js CHANGED
@@ -47,8 +47,8 @@ function devCommand(pm) {
47
47
 
48
48
  function assertNodeVersion() {
49
49
  const major = Number(process.versions.node.split(".")[0]);
50
- if (major < 18) {
51
- throw new Error(`Node.js 18.17+ is required. You are running ${process.versions.node}.`);
50
+ if (major < 20) {
51
+ throw new Error(`Node.js 20+ is required (Next.js 16 requires it). You are running ${process.versions.node}.`);
52
52
  }
53
53
  }
54
54
 
package/src/scaffold.js CHANGED
@@ -367,16 +367,6 @@ function installerFor(pm, dev = true) {
367
367
  }
368
368
  }
369
369
 
370
- function runnerFor(pm) {
371
- switch (pm) {
372
- case "pnpm":
373
- return { cmd: "pnpm", args: ["dlx"] };
374
- case "yarn":
375
- return { cmd: "yarn", args: ["dlx"] };
376
- case "bun":
377
- return { cmd: "bunx", args: [] };
378
- case "npm":
379
- default:
380
- return { cmd: "npx", args: [] };
381
- }
370
+ function runnerFor(_pm) {
371
+ return { cmd: "npx", args: [] };
382
372
  }