stackkit 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 +2 -2
- package/dist/cli/create.js +7 -4
- package/package.json +4 -8
- package/templates/react/README.md +1 -1
- package/templates/react-vite/README.md +1 -1
package/README.md
CHANGED
|
@@ -31,11 +31,11 @@ npx stackkit doctor
|
|
|
31
31
|
|
|
32
32
|
## Supported Technologies
|
|
33
33
|
|
|
34
|
-
- **Frameworks**: Next.js, React
|
|
34
|
+
- **Frameworks**: Next.js, React, Express
|
|
35
35
|
- **Databases**: Prisma (PostgreSQL, MySQL, SQLite), Mongoose (MongoDB)
|
|
36
36
|
- **Auth**: Better Auth, Auth.js
|
|
37
37
|
|
|
38
38
|
## Documentation
|
|
39
39
|
|
|
40
|
-
- [StackKit Docs](https://stack-kit.dev
|
|
40
|
+
- [StackKit Docs](https://stack-kit.com)[https://stackkit.tariqul.dev]
|
|
41
41
|
- [GitHub Repository](https://github.com/tariqul420/stackkit)
|
package/dist/cli/create.js
CHANGED
|
@@ -151,10 +151,13 @@ async function getProjectConfig(projectName, options) {
|
|
|
151
151
|
type: "list",
|
|
152
152
|
name: "framework",
|
|
153
153
|
message: "Select framework:",
|
|
154
|
-
choices: discoveredModules.frameworks.
|
|
155
|
-
name: f.displayName,
|
|
156
|
-
|
|
157
|
-
|
|
154
|
+
choices: (discoveredModules.frameworks && discoveredModules.frameworks.length > 0)
|
|
155
|
+
? discoveredModules.frameworks.map(f => ({ name: f.displayName, value: f.name }))
|
|
156
|
+
: [
|
|
157
|
+
{ name: 'Next.js', value: 'nextjs' },
|
|
158
|
+
{ name: 'Express.js', value: 'express' },
|
|
159
|
+
{ name: 'React (Vite)', value: 'react' },
|
|
160
|
+
],
|
|
158
161
|
},
|
|
159
162
|
{
|
|
160
163
|
type: "list",
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stackkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Production-ready CLI to create and extend JavaScript or TypeScript apps with modular stacks.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"stackkit": "
|
|
7
|
+
"stackkit": "bin/stackkit.js"
|
|
8
8
|
},
|
|
9
9
|
"type": "commonjs",
|
|
10
10
|
"files": [
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
],
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
|
-
"url": "https://github.com/tariqul420/stackkit.git",
|
|
19
|
-
"directory": "apps/
|
|
18
|
+
"url": "git+https://github.com/tariqul420/stackkit.git",
|
|
19
|
+
"directory": "apps/stackkit"
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://stackkit.tariqul.dev",
|
|
22
22
|
"bugs": {
|
|
@@ -36,20 +36,16 @@
|
|
|
36
36
|
"project-generator",
|
|
37
37
|
"scaffold",
|
|
38
38
|
"boilerplate",
|
|
39
|
-
|
|
40
39
|
"javascript",
|
|
41
40
|
"typescript",
|
|
42
|
-
|
|
43
41
|
"nextjs",
|
|
44
42
|
"react",
|
|
45
43
|
"vite",
|
|
46
44
|
"express",
|
|
47
|
-
|
|
48
45
|
"prisma",
|
|
49
46
|
"mongoose",
|
|
50
47
|
"mongodb",
|
|
51
48
|
"postgresql",
|
|
52
|
-
|
|
53
49
|
"authentication"
|
|
54
50
|
],
|
|
55
51
|
"author": "Tariqul Islam",
|