create-nizam-app 1.0.0
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/LICENSE +21 -0
- package/README.md +153 -0
- package/dist/__main__.js +3196 -0
- package/dist/templates/NIZAM_DOC.template +10 -0
- package/dist/templates/env.template +1 -0
- package/dist/templates/react/css/bootstrap.template +127 -0
- package/dist/templates/react/css/index.template +1 -0
- package/dist/templates/react/css/tailwind.template +100 -0
- package/dist/templates/react/js/app.template +11 -0
- package/dist/templates/react/js/data_fetching/axios.template +11 -0
- package/dist/templates/react/js/data_fetching/fetcher.template +5 -0
- package/dist/templates/react/js/data_fetching/http.template +5 -0
- package/dist/templates/react/js/jsconfig.template +8 -0
- package/dist/templates/react/js/layout.template +17 -0
- package/dist/templates/react/js/main.template +41 -0
- package/dist/templates/react/js/react_router-router.template +17 -0
- package/dist/templates/react/js/state_management/context/theme_context.template +3 -0
- package/dist/templates/react/js/state_management/context/theme_provider.template +15 -0
- package/dist/templates/react/js/state_management/context/use_theme.template +14 -0
- package/dist/templates/react/js/state_management/store/counter_slice.template +19 -0
- package/dist/templates/react/js/state_management/store/index.template +1 -0
- package/dist/templates/react/js/state_management/store/store.template +8 -0
- package/dist/templates/react/js/state_management/zustand/index.template +1 -0
- package/dist/templates/react/js/state_management/zustand/use_counter_store.template +11 -0
- package/dist/templates/react/js/tanstack_router-router.template +24 -0
- package/dist/templates/react/js/vite.config.template +16 -0
- package/dist/templates/react/ts/app.template +11 -0
- package/dist/templates/react/ts/data_fetching/axios.template +13 -0
- package/dist/templates/react/ts/data_fetching/fetcher.template +7 -0
- package/dist/templates/react/ts/data_fetching/http.template +7 -0
- package/dist/templates/react/ts/layout.template +17 -0
- package/dist/templates/react/ts/main.template +41 -0
- package/dist/templates/react/ts/react_router-router.template +20 -0
- package/dist/templates/react/ts/state_management/context/theme_context.template +11 -0
- package/dist/templates/react/ts/state_management/context/theme_provider.template +15 -0
- package/dist/templates/react/ts/state_management/context/use_theme.template +14 -0
- package/dist/templates/react/ts/state_management/store/counter_slice.template +25 -0
- package/dist/templates/react/ts/state_management/store/index.template +1 -0
- package/dist/templates/react/ts/state_management/store/store.template +11 -0
- package/dist/templates/react/ts/state_management/zustand/index.template +1 -0
- package/dist/templates/react/ts/state_management/zustand/use_counter_store.template +17 -0
- package/dist/templates/react/ts/tanstack_router-router.template +26 -0
- package/dist/templates/react/ts/vite.config.template +16 -0
- package/dist/templates/vscode/settings.template +14 -0
- package/package.json +93 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Ahmed Abd Alalim
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<br>
|
|
3
|
+
<picture>
|
|
4
|
+
<source media="(prefers-color-scheme: dark)" srcset="./github_assets/nizam-light.svg">
|
|
5
|
+
<source media="(prefers-color-scheme: light)" srcset="./github_assets/nizam-dark.svg">
|
|
6
|
+
<img alt="nizam logo" src="./github_assets/nizam-dark.svg" width=400">
|
|
7
|
+
</picture>
|
|
8
|
+
<br>
|
|
9
|
+
<h3 align="center">Smart setup for a ready to code Frontend project.</h3>
|
|
10
|
+
</p>
|
|
11
|
+
<br/>
|
|
12
|
+
<p align="center">
|
|
13
|
+
<img src="https://img.shields.io/npm/v/create-nizam-app" alt="npm version" />
|
|
14
|
+
<img src="https://img.shields.io/npm/l/create-nizam-app" alt="license" />
|
|
15
|
+
<img src="https://img.shields.io/github/stars/ahmed-abd-alalim/nizam?style=social" alt="GitHub stars" />
|
|
16
|
+
</p>
|
|
17
|
+
<br/>
|
|
18
|
+
<br/>
|
|
19
|
+
|
|
20
|
+
## What Is nizam ?
|
|
21
|
+
|
|
22
|
+
nizam is a CLI tool designed to quickly and efficiently scaffold Frontend projects by generating a clean, well structured, and production ready project setup.
|
|
23
|
+
In addition to creating an organized file structure, nizam allows developers to install any libraries of their choice and automatically apply their required configuration files, making them ready for immediate use without manual setup.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
> nizam standardizes project initialization and improves developer productivity from day one.
|
|
28
|
+
|
|
29
|
+
- 📦 Install selected libraries seamlessly
|
|
30
|
+
- 🔩 Apply library specific configurations out of the box
|
|
31
|
+
- 🪄 Reduce repetitive manual setup
|
|
32
|
+
- 💡 Automatically create essential project files
|
|
33
|
+
- ⚡️ Speed up project initialization and focus on core development
|
|
34
|
+
- 🛠️ Generate a scalable and well organized Frontend project structure
|
|
35
|
+
- 📄 After completing the build, you will find a `NIZAM_DOC.md` file containing instructions and docs link for libraries you selected.
|
|
36
|
+
|
|
37
|
+
## All of this in one place
|
|
38
|
+
|
|
39
|
+
`React + vite`
|
|
40
|
+
|
|
41
|
+
`javaScript` ● `TypeScript`
|
|
42
|
+
|
|
43
|
+
`Bootstrap` ● `Tailwindcss` ● `Bulma` ● `Foundation` ● `Materialize`
|
|
44
|
+
|
|
45
|
+
`Material UI` ● `Ant Design` ● `Headless UI`
|
|
46
|
+
|
|
47
|
+
`React Router` ● `TanStack Router` ● `Wouter`
|
|
48
|
+
|
|
49
|
+
`Classic Router` ● `Data Router`
|
|
50
|
+
|
|
51
|
+
`React Context API` ● `Redux Toolkit` ● `Zustand`
|
|
52
|
+
|
|
53
|
+
`React Icons` ● `Lucide React` ● `Lord Icon` ● `Material Icons`
|
|
54
|
+
|
|
55
|
+
`React Helmet Async` ● `Dr. Pogodin React Helmet` ● `Unhead`
|
|
56
|
+
|
|
57
|
+
`Axios` ● `TanStack Query` ● `SWR`
|
|
58
|
+
|
|
59
|
+
###### _and more coming in next version_
|
|
60
|
+
|
|
61
|
+
## Explanation nizam ui
|
|
62
|
+
|
|
63
|
+
<p align="center">
|
|
64
|
+
<picture>
|
|
65
|
+
<img alt="nizam logo" src="./github_assets/nizam-home.png" width="500">
|
|
66
|
+
</picture>
|
|
67
|
+
</p>
|
|
68
|
+
|
|
69
|
+
### 🔍 Browse Mode
|
|
70
|
+
|
|
71
|
+
- multiple options with the ability to search or browse through comprehensive lists. Useful if you know which tools you'll be using.
|
|
72
|
+
|
|
73
|
+
### ❓ OneShot Mode
|
|
74
|
+
|
|
75
|
+
- a series of questions that suggest suitable options when you are unsure which tools to use.
|
|
76
|
+
|
|
77
|
+
### 🚨 Help
|
|
78
|
+
|
|
79
|
+
- it provides you with support and guidance, with an explanation of each question and the options that will be displayed, to make it easier to understand and use the tool.
|
|
80
|
+
|
|
81
|
+
## Get started with nizam
|
|
82
|
+
|
|
83
|
+
##### using npx:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
npx create-nizam-app
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
<details>
|
|
90
|
+
<summary>using npm</summary>
|
|
91
|
+
<br/>
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
npm i -g create-nizam-app
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
create-nizam-app
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</details>
|
|
102
|
+
|
|
103
|
+
<details>
|
|
104
|
+
<summary>using bun</summary>
|
|
105
|
+
<br/>
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
bun install -g create-nizam-app
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
bun run create-nizam-app
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
</details>
|
|
116
|
+
|
|
117
|
+
<details>
|
|
118
|
+
<summary>using yarn</summary>
|
|
119
|
+
<br/>
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
yarn global add create-nizam-app
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
yarn create-nizam-app
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
</details>
|
|
130
|
+
|
|
131
|
+
<details>
|
|
132
|
+
<summary>using pnpm</summary>
|
|
133
|
+
<br/>
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
pnpm add -g create-nizam-app
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
pnpm create-nizam-app
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
</details>
|
|
144
|
+
|
|
145
|
+
## Project License
|
|
146
|
+
|
|
147
|
+
Copyright (c) Ahmed Abd Alalim. All rights reserved.
|
|
148
|
+
|
|
149
|
+
This program has been licensed under the [MIT](LICENSE) License. If you are a true FOSS (Free And Open Source Software) Lover, you wont customize this and redistribute this under your name
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
_We hope you find nizam to be a valuable tool in your software development journey. If you have any questions, feedback, or suggestions, please don't hesitate to reach out. Happy bake with nizam._
|