create-enchilada 1.1.0 → 1.2.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
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
+ <img src="https://raw.githubusercontent.com/Sharmaz/create-enchilada/refs/heads/main/media/enchilada-js-logo.svg" width="250" alt="enchiladajs logo"/>
4
4
  </p>
5
5
 
6
6
  # Building apps with JavaScript — as if they were enchiladas!
@@ -8,10 +8,12 @@
8
8
 
9
9
  <p align="center">
10
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>
11
+ <a href="https://github.com/Sharmaz/create-enchilada/actions/workflows/unit_tests.yml"><img src="https://img.shields.io/github/actions/workflow/status/Sharmaz/create-enchilada/unit_tests.yml?logo=jest&label=Tests" alt="tests"></a>
12
+ <a href="https://github.com/Sharmaz/create-enchilada/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Sharmaz/create-enchilada" alt="license"></a>
13
13
  </p>
14
14
 
15
+ `create-enchilada` is a CLI scaffold tool to quickly create web app projects from templates. Run a single command and follow the interactive prompts to pick a template and name your project. Supports React, Vanilla JS, Node/Express and more.
16
+
15
17
  ## Usage
16
18
  ### With npm
17
19
  ```
@@ -28,7 +30,7 @@ pnpm create enchilada@latest
28
30
  yarn create enchilada
29
31
  ```
30
32
 
31
- <img src="https://raw.githubusercontent.com/Sharmaz/enchilada/refs/heads/main/media/enchiladajs@latest.gif" width="100%" alt="enchiladajs logo"/>
33
+ <img src="https://raw.githubusercontent.com/Sharmaz/create-enchilada/refs/heads/main/media/enchiladajs@latest.gif" width="100%" alt="enchiladajs logo"/>
32
34
  </p>
33
35
 
34
36
  ## CLI Options
@@ -41,6 +43,15 @@ or
41
43
  npm create enchilada -h
42
44
  ```
43
45
 
46
+ ### List available templates:
47
+ ```
48
+ npm create enchilada --list
49
+ ```
50
+ or
51
+ ```
52
+ npm create enchilada -l
53
+ ```
54
+
44
55
  ### Template:
45
56
  ```
46
57
  npm create enchilada -- --template [template-name] [app-name]
@@ -54,6 +65,13 @@ E.g:
54
65
  npm create enchilada -- --template vanilla-js my-app
55
66
  ```
56
67
 
68
+ ### Scaffold into current directory:
69
+ Use `.` as the app name to scaffold into the current directory instead of creating a new one:
70
+ ```
71
+ npm create enchilada -- --template vanilla-js .
72
+ ```
73
+ Or via interactive prompts, enter `.` when asked for the app name.
74
+
57
75
  ### Template List
58
76
  | TEMPLATE | DESCRIPTION |
59
77
  | :------- | :---------- |
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "create-enchilada",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
- "description": "A quick way to start your web applications.",
5
+ "description": "CLI scaffold tool to create web app projects from templates: React, Vanilla JS, Node/Express and more.",
6
6
  "main": "index.js",
7
7
  "scripts": {
8
8
  "lint": "eslint .",
@@ -10,29 +10,33 @@
10
10
  "dev": "rollup --config --watch",
11
11
  "cov:clean": "rimraf .nyc_output && rimraf coverage",
12
12
  "cov:unit": "NODE_OPTIONS=--experimental-vm-modules jest --forceExit --colors --detectOpenHandles -c jest.config.unit.js",
13
- "test:unit": "npm-run-all cov:clean cov:unit",
13
+ "test:unit": "npm-run-all cov:clean cov:unit; [ -t 1 ] && stty sane && tput cnorm || true",
14
14
  "cov:e2e": "NODE_ENV=e2e NODE_OPTIONS=--experimental-vm-modules jest --forceExit --colors --detectOpenHandles --runInBand -c jest.config.e2e.js",
15
- "test:e2e": "NODE_ENV=e2e npm-run-all cov:clean cov:e2e"
15
+ "test:e2e": "NODE_ENV=e2e npm-run-all cov:clean cov:e2e; [ -t 1 ] && stty sane && tput cnorm || true"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/Sharmaz/enchilada.git"
19
+ "url": "git+https://github.com/Sharmaz/create-enchilada.git"
20
20
  },
21
21
  "keywords": [
22
22
  "cli",
23
+ "scaffold",
24
+ "boilerplate",
25
+ "starter",
26
+ "template",
27
+ "create-app",
23
28
  "react",
24
29
  "javascript",
25
30
  "vanilla",
26
31
  "typescript",
27
- "farm",
28
32
  "vite",
29
33
  "webpack",
34
+ "rspack",
30
35
  "tailwindcss",
31
36
  "eslint",
32
- "oxlint",
33
37
  "jest",
34
- "react testing library",
35
- "app",
38
+ "testing-library",
39
+ "sequelize",
36
40
  "web",
37
41
  "node",
38
42
  "express"
@@ -40,8 +44,7 @@
40
44
  "bin": {
41
45
  "create-enchilada": "index.js"
42
46
  },
43
- "preferGlobal": true,
44
- "engines": {
47
+ "engines": {
45
48
  "node": ">=20.19.0"
46
49
  },
47
50
  "files": [
@@ -52,9 +55,9 @@
52
55
  "author": "Ivan Robles <contact@ivanrobles.pro>",
53
56
  "license": "MIT",
54
57
  "bugs": {
55
- "url": "https://github.com/Sharmaz/enchilada/issues"
58
+ "url": "https://github.com/Sharmaz/create-enchilada/issues"
56
59
  },
57
- "homepage": "https://github.com/Sharmaz/enchilada#readme",
60
+ "homepage": "https://github.com/Sharmaz/create-enchilada#readme",
58
61
  "devDependencies": {
59
62
  "@eslint/js": "^10.0.0",
60
63
  "@jest/globals": "^30.0.2",
@@ -15,7 +15,7 @@
15
15
  "devDependencies": {
16
16
  "@types/react": "^19.1.2",
17
17
  "@types/react-dom": "^19.1.2",
18
- "@vitejs/plugin-react-oxc": "^0.2.2",
19
- "vite": "npm:rolldown-vite@latest"
18
+ "@vitejs/plugin-react": "^6.0.0",
19
+ "vite": "^8.0.0"
20
20
  }
21
21
  }
@@ -1,5 +1,5 @@
1
1
  import { defineConfig } from 'vite'
2
- import react from '@vitejs/plugin-react-oxc'
2
+ import react from '@vitejs/plugin-react'
3
3
 
4
4
  // https://vitejs.dev/config/
5
5
  export default defineConfig({
@@ -26,7 +26,7 @@
26
26
  "@testing-library/react": "^16.0.0",
27
27
  "@types/react": "^19.1.2",
28
28
  "@types/react-dom": "^19.1.3",
29
- "@vitejs/plugin-react-oxc": "^0.2.2",
29
+ "@vitejs/plugin-react": "^6.0.0",
30
30
  "babel-jest": "^30.0.0",
31
31
  "eslint": "^9.26.0",
32
32
  "eslint-plugin-jest": "^28.11.0",
@@ -36,6 +36,6 @@
36
36
  "jest-environment-jsdom": "^30.0.0",
37
37
  "postcss": "^8.5.3",
38
38
  "tailwindcss": "^4.1.5",
39
- "vite": "npm:rolldown-vite@latest"
39
+ "vite": "^8.0.0"
40
40
  }
41
41
  }
@@ -1,5 +1,5 @@
1
1
  import { defineConfig } from 'vite';
2
- import react from '@vitejs/plugin-react-oxc';
2
+ import react from '@vitejs/plugin-react';
3
3
 
4
4
  // https://vitejs.dev/config/
5
5
  export default defineConfig({
@@ -28,7 +28,7 @@
28
28
  "@types/jest": "^29.5.12",
29
29
  "@types/react": "^19.1.2",
30
30
  "@types/react-dom": "^19.1.3",
31
- "@vitejs/plugin-react-oxc": "^0.2.2",
31
+ "@vitejs/plugin-react": "^6.0.0",
32
32
  "eslint": "^9.26.0",
33
33
  "eslint-plugin-jest": "^28.11.0",
34
34
  "eslint-plugin-react": "^7.37.5",
@@ -39,6 +39,6 @@
39
39
  "tailwindcss": "^4.1.5",
40
40
  "typescript": "^5.8.3",
41
41
  "typescript-eslint": "^8.31.1",
42
- "vite": "npm:rolldown-vite@latest"
42
+ "vite": "^8.0.0"
43
43
  }
44
44
  }
@@ -1,5 +1,5 @@
1
1
  import { defineConfig } from 'vite'
2
- import react from '@vitejs/plugin-react-oxc';
2
+ import react from '@vitejs/plugin-react';
3
3
 
4
4
  // https://vitejs.dev/config/
5
5
  export default defineConfig({
@@ -18,12 +18,12 @@
18
18
  "@eslint/js": "^9.26.0",
19
19
  "@types/react": "^19.1.2",
20
20
  "@types/react-dom": "^19.1.2",
21
- "@vitejs/plugin-react-oxc": "^0.2.2",
21
+ "@vitejs/plugin-react": "^6.0.0",
22
22
  "eslint": "^9.26.0",
23
23
  "eslint-plugin-react": "^7.37.5",
24
24
  "globals": "^16.0.0",
25
25
  "typescript": "^5.8.3",
26
26
  "typescript-eslint": "^8.30.1",
27
- "vite": "npm:rolldown-vite@latest"
27
+ "vite": "^8.0.0"
28
28
  }
29
29
  }
@@ -1,5 +1,5 @@
1
1
  import { defineConfig } from 'vite'
2
- import react from '@vitejs/plugin-react-oxc';
2
+ import react from '@vitejs/plugin-react';
3
3
 
4
4
  // https://vitejs.dev/config/
5
5
  export default defineConfig({
@@ -9,6 +9,6 @@
9
9
  "preview": "vite preview"
10
10
  },
11
11
  "devDependencies": {
12
- "vite": "npm:rolldown-vite@latest"
12
+ "vite": "^8.0.0"
13
13
  }
14
14
  }