create-enchilada 1.0.2 → 1.0.4
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/dist/index.js +92 -68
- package/package.json +4 -4
- package/templates/node-express/package.json +2 -2
- package/templates/react-dev/package.json +3 -3
- package/templates/react-dev-typescript/package.json +6 -6
- package/templates/react-dev-webpack/package.json +4 -4
- package/templates/react-typescript/package.json +3 -3
- package/templates/react-webpack/.babelrc +1 -0
- package/templates/react-webpack/package.json +2 -1
- package/templates/react-experimental/_gitignore +0 -89
- package/templates/react-experimental/farm.config.ts +0 -5
- package/templates/react-experimental/index.html +0 -12
- package/templates/react-experimental/oxlintrc.json +0 -12
- package/templates/react-experimental/package.json +0 -28
- package/templates/react-experimental/src/App.css +0 -3
- package/templates/react-experimental/src/App.jsx +0 -20
- package/templates/react-experimental/src/index.css +0 -57
- package/templates/react-experimental/src/main.jsx +0 -10
- package/templates/react-experimental/tsconfig.json +0 -25
- package/templates/react-experimental/tsconfig.node.json +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-enchilada",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A quick way to start your web applications.",
|
|
6
6
|
"main": "index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"preferGlobal": true,
|
|
44
44
|
"engines": {
|
|
45
|
-
"node": "
|
|
45
|
+
"node": ">=20.19.0"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"index.js",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
},
|
|
57
57
|
"homepage": "https://github.com/Sharmaz/enchilada#readme",
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@eslint/js": "^
|
|
59
|
+
"@eslint/js": "^10.0.0",
|
|
60
60
|
"@jest/globals": "^30.0.2",
|
|
61
61
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
62
62
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
63
63
|
"cli-prompts-test": "^0.3.0",
|
|
64
|
-
"eslint": "^
|
|
64
|
+
"eslint": "^10.0.0",
|
|
65
65
|
"execa": "^9.2.0",
|
|
66
66
|
"globals": "^16.2.0",
|
|
67
67
|
"jest": "^30.0.2",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"uuid": "^10.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@eslint/js": "^9.
|
|
35
|
+
"@eslint/js": "^9.26.0",
|
|
36
36
|
"@jest/globals": "^29.7.0",
|
|
37
|
-
"eslint": "^9.
|
|
37
|
+
"eslint": "^9.26.0",
|
|
38
38
|
"globals": "^15.9.0",
|
|
39
39
|
"jest": "^29.7.0",
|
|
40
40
|
"nodemon": "^3.1.7",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"react-dom": "^19.1.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
20
|
-
"@babel/preset-env": "^7.
|
|
21
|
-
"@babel/preset-react": "^7.
|
|
19
|
+
"@babel/plugin-transform-runtime": "^7.26.10",
|
|
20
|
+
"@babel/preset-env": "^7.26.10",
|
|
21
|
+
"@babel/preset-react": "^7.26.10",
|
|
22
22
|
"@eslint/js": "^9.26.0",
|
|
23
23
|
"@tailwindcss/postcss": "^4.1.5",
|
|
24
24
|
"@testing-library/dom": "^10.1.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "react-
|
|
2
|
+
"name": "react-dev-typescript",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"type": "module",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"react-dom": "^19.1.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
20
|
-
"@babel/preset-env": "^7.
|
|
21
|
-
"@babel/preset-react": "^7.
|
|
22
|
-
"@babel/preset-typescript": "^7.
|
|
19
|
+
"@babel/plugin-transform-runtime": "^7.26.10",
|
|
20
|
+
"@babel/preset-env": "^7.26.10",
|
|
21
|
+
"@babel/preset-react": "^7.26.10",
|
|
22
|
+
"@babel/preset-typescript": "^7.26.10",
|
|
23
23
|
"@eslint/js": "^9.26.0",
|
|
24
24
|
"@tailwindcss/postcss": "^4.1.5",
|
|
25
25
|
"@testing-library/dom": "^10.3.1",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"jest-environment-jsdom": "^30.0.0",
|
|
38
38
|
"postcss": "^8.5.3",
|
|
39
39
|
"tailwindcss": "^4.1.5",
|
|
40
|
-
"typescript": "5.
|
|
40
|
+
"typescript": "^5.8.3",
|
|
41
41
|
"typescript-eslint": "^8.31.1",
|
|
42
42
|
"vite": "npm:rolldown-vite@latest"
|
|
43
43
|
}
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"react-dom": "^19.1.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@babel/core": "^7.
|
|
18
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
19
|
-
"@babel/preset-env": "^7.
|
|
20
|
-
"@babel/preset-react": "^7.
|
|
17
|
+
"@babel/core": "^7.26.10",
|
|
18
|
+
"@babel/plugin-transform-runtime": "^7.26.10",
|
|
19
|
+
"@babel/preset-env": "^7.26.10",
|
|
20
|
+
"@babel/preset-react": "^7.26.10",
|
|
21
21
|
"@eslint/js": "^9.26.0",
|
|
22
22
|
"@tailwindcss/postcss": "^4.1.5",
|
|
23
23
|
"@testing-library/dom": "^10.3.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "react-
|
|
2
|
+
"name": "react-typescript",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"type": "module",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"react-dom": "^19.1.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@eslint/js": "^9.
|
|
18
|
+
"@eslint/js": "^9.26.0",
|
|
19
19
|
"@types/react": "^19.1.2",
|
|
20
20
|
"@types/react-dom": "^19.1.2",
|
|
21
21
|
"@vitejs/plugin-react-oxc": "^0.2.2",
|
|
22
|
-
"eslint": "^9.
|
|
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",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "react-webpack",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@babel/core": "^7.26.10",
|
|
15
15
|
"@babel/plugin-transform-runtime": "^7.26.10",
|
|
16
|
+
"@babel/preset-env": "^7.26.10",
|
|
16
17
|
"@babel/preset-react": "^7.26.3",
|
|
17
18
|
"babel-loader": "^10.0.0",
|
|
18
19
|
"css-loader": "^7.1.2",
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
# compiled output
|
|
2
|
-
/dist
|
|
3
|
-
/tmp
|
|
4
|
-
/out-tsc
|
|
5
|
-
|
|
6
|
-
# Runtime data
|
|
7
|
-
pids
|
|
8
|
-
*.pid
|
|
9
|
-
*.seed
|
|
10
|
-
*.pid.lock
|
|
11
|
-
|
|
12
|
-
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
13
|
-
lib-cov
|
|
14
|
-
|
|
15
|
-
# Coverage directory used by tools like istanbul
|
|
16
|
-
coverage
|
|
17
|
-
|
|
18
|
-
# nyc test coverage
|
|
19
|
-
.nyc_output
|
|
20
|
-
|
|
21
|
-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
22
|
-
.grunt
|
|
23
|
-
|
|
24
|
-
# Bower dependency directory (https://bower.io/)
|
|
25
|
-
bower_components
|
|
26
|
-
|
|
27
|
-
# node-waf configuration
|
|
28
|
-
.lock-wscript
|
|
29
|
-
|
|
30
|
-
# IDEs and editors
|
|
31
|
-
.idea
|
|
32
|
-
.project
|
|
33
|
-
.classpath
|
|
34
|
-
.c9/
|
|
35
|
-
*.launch
|
|
36
|
-
.settings/
|
|
37
|
-
*.sublime-workspace
|
|
38
|
-
|
|
39
|
-
# IDE - VSCode
|
|
40
|
-
.vscode/*
|
|
41
|
-
!.vscode/settings.json
|
|
42
|
-
!.vscode/tasks.json
|
|
43
|
-
!.vscode/launch.json
|
|
44
|
-
!.vscode/extensions.json
|
|
45
|
-
|
|
46
|
-
# misc
|
|
47
|
-
.sass-cache
|
|
48
|
-
connect.lock
|
|
49
|
-
typings
|
|
50
|
-
|
|
51
|
-
# Logs
|
|
52
|
-
logs
|
|
53
|
-
*.log
|
|
54
|
-
npm-debug.log*
|
|
55
|
-
yarn-debug.log*
|
|
56
|
-
yarn-error.log*
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
# Dependency directories
|
|
60
|
-
node_modules/
|
|
61
|
-
jspm_packages/
|
|
62
|
-
|
|
63
|
-
# Optional npm cache directory
|
|
64
|
-
.npm
|
|
65
|
-
|
|
66
|
-
# Optional eslint cache
|
|
67
|
-
.eslintcache
|
|
68
|
-
|
|
69
|
-
# Optional REPL history
|
|
70
|
-
.node_repl_history
|
|
71
|
-
|
|
72
|
-
# Output of 'npm pack'
|
|
73
|
-
*.tgz
|
|
74
|
-
|
|
75
|
-
# Yarn Integrity file
|
|
76
|
-
.yarn-integrity
|
|
77
|
-
|
|
78
|
-
# dotenv environment variables file
|
|
79
|
-
.env
|
|
80
|
-
|
|
81
|
-
# next.js build output
|
|
82
|
-
.next
|
|
83
|
-
|
|
84
|
-
# Lerna
|
|
85
|
-
lerna-debug.log
|
|
86
|
-
|
|
87
|
-
# System Files
|
|
88
|
-
.DS_Store
|
|
89
|
-
Thumbs.db
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<link rel="icon" type="image/svg+xml" href="#" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
</head>
|
|
8
|
-
<body>
|
|
9
|
-
<div id="root"></div>
|
|
10
|
-
<script type="module" src="/src/main.jsx"></script>
|
|
11
|
-
</body>
|
|
12
|
-
</html>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "react-experimental",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "farm start",
|
|
8
|
-
"start": "farm start",
|
|
9
|
-
"build": "farm build",
|
|
10
|
-
"preview": "farm preview",
|
|
11
|
-
"clean": "farm clean",
|
|
12
|
-
"lint": "oxlint -c oxlintrc.json ./src"
|
|
13
|
-
},
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"react": "^19.1.0",
|
|
16
|
-
"react-dom": "^19.1.0"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@farmfe/cli": "^1.0.4",
|
|
20
|
-
"@farmfe/core": "^1.7.4",
|
|
21
|
-
"@farmfe/plugin-react": "^1.2.6",
|
|
22
|
-
"@types/react": "^19.1.2",
|
|
23
|
-
"@types/react-dom": "^19.1.3",
|
|
24
|
-
"core-js": "^3.42.0",
|
|
25
|
-
"oxlint": "^0.16.9",
|
|
26
|
-
"react-refresh": "^0.17.0"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { useState } from 'react'
|
|
2
|
-
import './App.css'
|
|
3
|
-
|
|
4
|
-
function App() {
|
|
5
|
-
const [count, setCount] = useState(0)
|
|
6
|
-
|
|
7
|
-
return (
|
|
8
|
-
<>
|
|
9
|
-
<title>{`React ${count}`}</title>
|
|
10
|
-
<h1>React</h1>
|
|
11
|
-
<div className="card">
|
|
12
|
-
<button onClick={() => setCount((count) => count + 1)}>
|
|
13
|
-
count is {count}
|
|
14
|
-
</button>
|
|
15
|
-
</div>
|
|
16
|
-
</>
|
|
17
|
-
)
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export default App
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
3
|
-
line-height: 1.5;
|
|
4
|
-
font-weight: 400;
|
|
5
|
-
|
|
6
|
-
color-scheme: light dark;
|
|
7
|
-
color: rgba(255, 255, 255, 0.87);
|
|
8
|
-
background-color: #242424;
|
|
9
|
-
|
|
10
|
-
font-synthesis: none;
|
|
11
|
-
text-rendering: optimizeLegibility;
|
|
12
|
-
-webkit-font-smoothing: antialiased;
|
|
13
|
-
-moz-osx-font-smoothing: grayscale;
|
|
14
|
-
}
|
|
15
|
-
body {
|
|
16
|
-
margin: 0;
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
place-items: center;
|
|
20
|
-
min-width: 320px;
|
|
21
|
-
min-height: 100vh;
|
|
22
|
-
}
|
|
23
|
-
h1 {
|
|
24
|
-
font-size: 3.2em;
|
|
25
|
-
line-height: 1.1;
|
|
26
|
-
text-align: center;
|
|
27
|
-
}
|
|
28
|
-
button {
|
|
29
|
-
border-radius: 8px;
|
|
30
|
-
border: 1px solid transparent;
|
|
31
|
-
padding: 0.6em 1.2em;
|
|
32
|
-
font-size: 1em;
|
|
33
|
-
font-weight: 500;
|
|
34
|
-
font-family: inherit;
|
|
35
|
-
background-color: #1a1a1a;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
transition: border-color 0.25s;
|
|
38
|
-
}
|
|
39
|
-
button:hover {
|
|
40
|
-
border-color: #646cff;
|
|
41
|
-
}
|
|
42
|
-
button:focus,
|
|
43
|
-
button:focus-visible {
|
|
44
|
-
outline: 4px auto -webkit-focus-ring-color;
|
|
45
|
-
}
|
|
46
|
-
@media (prefers-color-scheme: light) {
|
|
47
|
-
:root {
|
|
48
|
-
color: #213547;
|
|
49
|
-
background-color: #ffffff;
|
|
50
|
-
}
|
|
51
|
-
a:hover {
|
|
52
|
-
color: #747bff;
|
|
53
|
-
}
|
|
54
|
-
button {
|
|
55
|
-
background-color: #f9f9f9;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
"jsx": "react-jsx",
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true
|
|
22
|
-
},
|
|
23
|
-
"include": ["src"],
|
|
24
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
25
|
-
}
|