@deneb-ui/create-template 2.0.22 → 2.0.23
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 +48 -51
- package/package.json +12 -4
package/README.md
CHANGED
|
@@ -1,79 +1,76 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
>
|
|
6
|
-
|
|
7
|
-
>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://deneb.fivora.site">
|
|
3
|
+
<img src="https://img.shields.io/badge/DENEB_Create--Template-Scaffold_in_Seconds-6366F1?style=for-the-badge&labelColor=0f172a" alt="DENEB create-template" />
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/@deneb-ui/create-template"><img src="https://img.shields.io/npm/v/@deneb-ui/create-template.svg?style=flat-square&color=6366F1" alt="npm version" /></a>
|
|
9
|
+
<img src="https://img.shields.io/badge/Next.js-15-000?style=flat-square&logo=next.js&logoColor=white" alt="Next.js" />
|
|
10
|
+
<img src="https://img.shields.io/badge/Tailwind-Ready-06B6D4?style=flat-square&logo=tailwindcss&logoColor=white" alt="Tailwind CSS" />
|
|
11
|
+
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-emerald?style=flat-square" alt="MIT License" /></a>
|
|
12
|
+
</p>
|
|
13
|
+
|
|
14
|
+
<p align="center">
|
|
15
|
+
<strong>Generate a production-ready DENEB UI storefront template in one command.</strong>
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<p align="center">
|
|
19
|
+
<a href="https://deneb.fivora.site/docs/templates"><strong>Template Guide</strong></a> ·
|
|
20
|
+
<a href="https://deneb.fivora.site/docs/installation"><strong>Installation</strong></a> ·
|
|
21
|
+
<a href="https://github.com/deneb-ui/core"><strong>GitHub</strong></a>
|
|
22
|
+
</p>
|
|
11
23
|
|
|
12
24
|
---
|
|
13
25
|
|
|
14
|
-
## Quick
|
|
15
|
-
|
|
16
|
-
Scaffold a complete storefront in seconds with a single command:
|
|
26
|
+
## Quick start
|
|
17
27
|
|
|
18
28
|
```bash
|
|
19
|
-
# Using npm
|
|
20
29
|
npm create @deneb-ui/template my-store
|
|
21
|
-
|
|
22
|
-
#
|
|
23
|
-
npx @deneb-ui/create-template my-store
|
|
24
|
-
|
|
25
|
-
# Or using yarn / pnpm
|
|
26
|
-
yarn create @deneb-ui/template my-store
|
|
27
|
-
pnpm create @deneb-ui/template my-store
|
|
30
|
+
# npx @deneb-ui/create-template my-store
|
|
31
|
+
# pnpm create @deneb-ui/template my-store
|
|
28
32
|
```
|
|
29
33
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
```text
|
|
33
|
-
⚡ Welcome to DENEB UI Template Creator!
|
|
34
|
-
|
|
35
|
-
? What is your template name? (e.g. my-store):
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Then start developing:
|
|
34
|
+
Then:
|
|
39
35
|
|
|
40
36
|
```bash
|
|
41
37
|
cd my-store
|
|
42
|
-
npm run dev
|
|
43
|
-
npm run lab
|
|
44
|
-
npm run validate
|
|
45
|
-
npm run zip
|
|
38
|
+
npm run dev # Local development
|
|
39
|
+
npm run lab # Visual editing preview lab
|
|
40
|
+
npm run validate # Fivora contract checks
|
|
41
|
+
npm run zip # Upload-ready package
|
|
46
42
|
```
|
|
47
43
|
|
|
48
44
|
---
|
|
49
45
|
|
|
50
|
-
## What
|
|
46
|
+
## What's included
|
|
47
|
+
|
|
48
|
+
Each scaffolded project ships with:
|
|
51
49
|
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
- 📋 **Manifest & Schema**: Pre-configured storefront template contract & visual editing bindings
|
|
58
|
-
- 📦 **`src/data/site-data.json`**: Single source of truth for branding, nav labels, and editable content
|
|
59
|
-
- 📖 **In-App Developer Guide**: Built-in developer guidance right on the homepage (`src/app/page.tsx`)
|
|
50
|
+
- **Next.js 15** App Router + static export support
|
|
51
|
+
- **Tailwind CSS** pre-configured
|
|
52
|
+
- **`@deneb-ui/ui`** — full component library with responsive defaults
|
|
53
|
+
- **`@deneb-ui/cli`** — validate, lab, zip, and add commands
|
|
54
|
+
- **`fivora-template.json`** + **`site-data.json`** — editor-ready from day one
|
|
60
55
|
|
|
61
56
|
---
|
|
62
57
|
|
|
63
|
-
##
|
|
58
|
+
## Options
|
|
64
59
|
|
|
65
60
|
```bash
|
|
66
|
-
npx @deneb-ui/create-template <project-name> [
|
|
61
|
+
npx @deneb-ui/create-template <project-name> [--skip-install]
|
|
67
62
|
```
|
|
68
63
|
|
|
69
|
-
|
|
|
64
|
+
| Flag | Description |
|
|
70
65
|
| :--- | :--- |
|
|
71
|
-
|
|
|
72
|
-
| `--skip-install` | Do not run `npm install` automatically after scaffolding |
|
|
66
|
+
| `--skip-install` | Skip `npm install` after scaffolding |
|
|
73
67
|
|
|
74
68
|
---
|
|
75
69
|
|
|
76
|
-
##
|
|
70
|
+
## Authors
|
|
71
|
+
|
|
72
|
+
Created and maintained by **[Chamika Gayashan](https://github.com/chamikathereal)** and **[Induranga Kawishwara](https://github.com/Induranga-kawishwara)**.
|
|
77
73
|
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
<p align="center">
|
|
75
|
+
<sub>MIT © DENEB UI</sub>
|
|
76
|
+
</p>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deneb-ui/create-template",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Scaffold
|
|
3
|
+
"version": "2.0.23",
|
|
4
|
+
"description": "Scaffold production-ready DENEB UI storefront templates for Next.js in seconds.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-deneb-template": "bin/index.js",
|
|
7
7
|
"create-deneb": "bin/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"url": "git+https://github.com/deneb-ui/core.git",
|
|
16
16
|
"directory": "packages/create-template"
|
|
17
17
|
},
|
|
18
|
-
"homepage": "https://
|
|
18
|
+
"homepage": "https://deneb.fivora.site/docs/templates",
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/deneb-ui/core/issues"
|
|
21
21
|
},
|
|
@@ -35,9 +35,17 @@
|
|
|
35
35
|
"template",
|
|
36
36
|
"scaffold",
|
|
37
37
|
"nextjs",
|
|
38
|
-
"react"
|
|
38
|
+
"react",
|
|
39
|
+
"storefront",
|
|
40
|
+
"fivora",
|
|
41
|
+
"cli",
|
|
42
|
+
"generator"
|
|
39
43
|
],
|
|
40
44
|
"author": "Chamika Gayashan & Induranga Kawishwara",
|
|
45
|
+
"contributors": [
|
|
46
|
+
"Chamika Gayashan <https://github.com/chamikathereal>",
|
|
47
|
+
"Induranga Kawishwara <https://github.com/Induranga-kawishwara>"
|
|
48
|
+
],
|
|
41
49
|
"license": "MIT",
|
|
42
50
|
"dependencies": {}
|
|
43
51
|
}
|