create-sc 0.0.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 +32 -0
- package/bin.js +2 -0
- package/package.json +38 -0
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# create-sc
|
|
2
|
+
|
|
3
|
+
The create-sc CLI allow you to create a new application using different templates.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx create-sc@latest -n "<name>" -t "<template>"
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
1. Enter the name of your project.
|
|
10
|
+
2. Do you wish to make a polyrepo or monorepo
|
|
11
|
+
1. Polyrepo
|
|
12
|
+
1. Select example to build from
|
|
13
|
+
1. Blank NextJS app
|
|
14
|
+
2. Cubics CMS app
|
|
15
|
+
2. Select packages to install in app
|
|
16
|
+
1. @studiocubics/cms
|
|
17
|
+
2. @studiocubics/hooks
|
|
18
|
+
3. @studiocubics/next
|
|
19
|
+
4. @studiocubics/types
|
|
20
|
+
5. @studiocubics/components
|
|
21
|
+
6. @studiocubics/utils
|
|
22
|
+
2. Monorepo
|
|
23
|
+
1. Select apps to include in apps directory
|
|
24
|
+
1. Blank NextJS app
|
|
25
|
+
2. Cubics CMS app
|
|
26
|
+
2. Select packages to include in packages directory
|
|
27
|
+
1. @studiocubics/cms
|
|
28
|
+
2. @studiocubics/hooks
|
|
29
|
+
3. @studiocubics/next
|
|
30
|
+
4. @studiocubics/types
|
|
31
|
+
5. @studiocubics/components
|
|
32
|
+
6. @studiocubics/utils
|
package/bin.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-sc",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"private": false,
|
|
7
|
+
"version": "0.0.2",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "bun build src/index.ts --outdir dist --target node",
|
|
11
|
+
"dev": "bun run src/index.ts",
|
|
12
|
+
"start": "bun run ./bin.js"
|
|
13
|
+
},
|
|
14
|
+
"bin": {
|
|
15
|
+
"create-sc": "./bin.js"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"bin",
|
|
19
|
+
"templates"
|
|
20
|
+
],
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@types/bun": "latest"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"typescript": "^5"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@inquirer/prompts": "^8.2.0",
|
|
29
|
+
"commander": "^14.0.2",
|
|
30
|
+
"figlet": "^1.10.0"
|
|
31
|
+
},
|
|
32
|
+
"author": {
|
|
33
|
+
"name": "Studio Cubics",
|
|
34
|
+
"email": "studiocubics7@gmail.com",
|
|
35
|
+
"url": "https://studio-cubics.vercel.app"
|
|
36
|
+
},
|
|
37
|
+
"license": "MIT"
|
|
38
|
+
}
|