create-enchilada 1.0.0 → 1.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.
Files changed (32) hide show
  1. package/README.md +53 -1
  2. package/dist/index.js +70 -69
  3. package/index.js +0 -1
  4. package/package.json +12 -13
  5. package/templates/node-express/package.json +1 -2
  6. package/templates/react/src/App.css +5 -2
  7. package/templates/react/src/App.jsx +4 -4
  8. package/templates/react/src/index.css +12 -17
  9. package/templates/react-dev/index.html +1 -1
  10. package/templates/react-dev/src/App.jsx +3 -3
  11. package/templates/react-dev-typescript/index.html +1 -1
  12. package/templates/react-dev-typescript/src/App.tsx +3 -3
  13. package/templates/react-dev-webpack/index.html +1 -1
  14. package/templates/react-dev-webpack/src/App.jsx +3 -3
  15. package/templates/react-rspack/_gitignore +89 -0
  16. package/templates/react-rspack/biome.json +34 -0
  17. package/templates/react-rspack/index.html +11 -0
  18. package/templates/react-rspack/package.json +25 -0
  19. package/templates/react-rspack/rspack.config.mjs +70 -0
  20. package/templates/react-rspack/src/App.css +6 -0
  21. package/templates/react-rspack/src/App.jsx +19 -0
  22. package/templates/react-rspack/src/index.css +52 -0
  23. package/templates/react-rspack/src/main.jsx +10 -0
  24. package/templates/react-typescript/src/App.css +5 -2
  25. package/templates/react-typescript/src/App.tsx +4 -4
  26. package/templates/react-typescript/src/index.css +12 -17
  27. package/templates/react-webpack/src/App.css +5 -2
  28. package/templates/react-webpack/src/App.jsx +4 -4
  29. package/templates/react-webpack/src/index.css +12 -17
  30. package/templates/vanilla-js/index.html +1 -1
  31. package/templates/vanilla-js/index.js +1 -1
  32. package/templates/vanilla-js/style.css +8 -18
package/README.md CHANGED
@@ -1,8 +1,59 @@
1
1
  <div align="center">
2
- A quick way to start your web applications.
2
+ <p>
3
+ <img src="https://raw.githubusercontent.com/Sharmaz/enchilada/refs/heads/main/media/enchilada-js-logo.svg" width="250" alt="enchiladajs logo"/>
3
4
  </p>
5
+
6
+ # Building apps with JavaScript — as if they were enchiladas!
4
7
  </div>
5
8
 
9
+ <p align="center">
10
+ <a href="https://www.npmjs.com/package/create-enchilada"><img src="https://img.shields.io/npm/v/create-enchilada?logo=npm&color=blue" alt="version"></a>
11
+ <a href="https://github.com/Sharmaz/enchilada/actions/workflows/unit_tests.yml"><img src="https://img.shields.io/github/actions/workflow/status/Sharmaz/enchilada/unit_tests.yml?logo=jest&label=Tests" alt="tests"></a>
12
+ <a href="https://github.com/Sharmaz/enchilada/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Sharmaz/enchilada" alt="license"></a>
13
+ </p>
14
+
15
+ ## Usage
16
+ ### With npm
17
+ ```
18
+ npm create enchilada@latest
19
+ ```
20
+
21
+ ### With pnpm
22
+ ```
23
+ pnpm create enchilada@latest
24
+ ```
25
+
26
+ ### With yarn
27
+ ```
28
+ yarn create enchilada
29
+ ```
30
+
31
+ <img src="https://raw.githubusercontent.com/Sharmaz/enchilada/refs/heads/main/media/enchiladajs@latest.gif" width="100%" alt="enchiladajs logo"/>
32
+ </p>
33
+
34
+ ## CLI Options
35
+ ### Help:
36
+ ```
37
+ npm create enchilada --help
38
+ ```
39
+ or
40
+ ```
41
+ npm create enchilada -h
42
+ ```
43
+
44
+ ### Template:
45
+ ```
46
+ npm create enchilada -- --template [template-name] [app-name]
47
+ ```
48
+ or
49
+ ```
50
+ npm create enchilada -- -t [template-name] [app-name]
51
+ ```
52
+ E.g:
53
+ ```
54
+ npm create enchilada -- --template vanilla-js my-app
55
+ ```
56
+
6
57
  ### Template List
7
58
  | TEMPLATE | DESCRIPTION |
8
59
  | :------- | :---------- |
@@ -13,4 +64,5 @@ A quick way to start your web applications.
13
64
  | **react-dev** | React + Vite + Tailwind CSS + ESlint + React Testing Library |
14
65
  | **react-dev-typescript** | React + Typescript + Vite + Tailwind CSS + ESlint + React Testing Library |
15
66
  | **react-dev-webpack** | React + Webpack + Tailwind CSS + ESlint + React Testing Library |
67
+ | **react-rspack** | React + Rspack |
16
68
  | **node-express** | NodeJS + Express + Sequelize + ESlint + Jest |