mick-templates 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 +9 -0
- package/biome.json +58 -0
- package/cli.tsx +204 -0
- package/package.json +22 -0
- package/templates/vite/biome.json +58 -0
- package/templates/vite/index.html +13 -0
- package/templates/vite/package.json +26 -0
- package/templates/vite/public/vite.svg +8 -0
- package/templates/vite/src/App.tsx +3 -0
- package/templates/vite/src/main.tsx +9 -0
- package/templates/vite/template.json +4 -0
- package/templates/vite/tsconfig.json +27 -0
- package/templates/vite/vite.config.ts +7 -0
- package/tsconfig.json +13 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 mick811
|
|
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
package/biome.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
|
|
3
|
+
"vcs": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"clientKind": "git",
|
|
6
|
+
"useIgnoreFile": false
|
|
7
|
+
},
|
|
8
|
+
"files": {
|
|
9
|
+
"ignoreUnknown": false,
|
|
10
|
+
"includes": ["**", "!**/node_modules", "!**/dist", "!**/templates"]
|
|
11
|
+
},
|
|
12
|
+
"formatter": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"indentStyle": "space",
|
|
15
|
+
"indentWidth": 2,
|
|
16
|
+
"lineWidth": 80
|
|
17
|
+
},
|
|
18
|
+
"linter": {
|
|
19
|
+
"enabled": true,
|
|
20
|
+
"rules": {
|
|
21
|
+
"recommended": true,
|
|
22
|
+
"correctness": {
|
|
23
|
+
"noUnusedVariables": "error",
|
|
24
|
+
"useExhaustiveDependencies": "error"
|
|
25
|
+
},
|
|
26
|
+
"style": {
|
|
27
|
+
"noNonNullAssertion": "warn",
|
|
28
|
+
"useTemplate": "error"
|
|
29
|
+
},
|
|
30
|
+
"suspicious": {
|
|
31
|
+
"noExplicitAny": "warn"
|
|
32
|
+
},
|
|
33
|
+
"nursery": {
|
|
34
|
+
"recommended": true
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"javascript": {
|
|
39
|
+
"formatter": {
|
|
40
|
+
"quoteStyle": "double",
|
|
41
|
+
"trailingCommas": "es5",
|
|
42
|
+
"semicolons": "always"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"assist": {
|
|
46
|
+
"enabled": true,
|
|
47
|
+
"actions": {
|
|
48
|
+
"source": {
|
|
49
|
+
"organizeImports": "on"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"css": {
|
|
54
|
+
"parser": {
|
|
55
|
+
"tailwindDirectives": true
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
package/cli.tsx
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
import { useState, useEffect } from "react";
|
|
3
|
+
import { render, Text, Box } from "ink";
|
|
4
|
+
import SelectInput from "ink-select-input";
|
|
5
|
+
import { cp, readdir, rm, mkdir, readFile, writeFile, stat } from "fs/promises";
|
|
6
|
+
import { existsSync, readdirSync } from "fs";
|
|
7
|
+
import { join, resolve } from "path";
|
|
8
|
+
import { spawn } from "child_process";
|
|
9
|
+
|
|
10
|
+
const TEMPLATES_DIR = join(import.meta.dir, "templates");
|
|
11
|
+
|
|
12
|
+
const exec = (cmd: string, args: string[], cwd: string) =>
|
|
13
|
+
new Promise<void>((res, rej) => {
|
|
14
|
+
spawn(cmd, args, { cwd, stdio: "inherit" })
|
|
15
|
+
.on("close", (code) => (code === 0 ? res() : rej()))
|
|
16
|
+
.on("error", rej);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
const replaceProjectName = async (targetDir: string, projectName: string) => {
|
|
20
|
+
const files = ["index.html", "package.json"];
|
|
21
|
+
|
|
22
|
+
for (const file of files) {
|
|
23
|
+
const filePath = join(targetDir, file);
|
|
24
|
+
if (existsSync(filePath)) {
|
|
25
|
+
const content = await readFile(filePath, "utf-8");
|
|
26
|
+
const updated = content
|
|
27
|
+
.replace(/<title>.*<\/title>/, `<title>${projectName}</title>`)
|
|
28
|
+
.replace(/("name":\s*")[^"]*"/, `$1${projectName}"`)
|
|
29
|
+
.replace(/vite/g, projectName);
|
|
30
|
+
await writeFile(filePath, updated);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const createProject = async (
|
|
36
|
+
template: string,
|
|
37
|
+
projectName?: string,
|
|
38
|
+
overwrite = false,
|
|
39
|
+
skipInstall = false
|
|
40
|
+
) => {
|
|
41
|
+
const templatePath = join(TEMPLATES_DIR, template);
|
|
42
|
+
const targetDir = projectName
|
|
43
|
+
? resolve(process.cwd(), projectName)
|
|
44
|
+
: process.cwd();
|
|
45
|
+
|
|
46
|
+
if (!existsSync(templatePath))
|
|
47
|
+
throw new Error(`Template "${template}" not found`);
|
|
48
|
+
|
|
49
|
+
if (projectName) {
|
|
50
|
+
await mkdir(targetDir, { recursive: true });
|
|
51
|
+
} else if (overwrite) {
|
|
52
|
+
const files = await readdir(targetDir);
|
|
53
|
+
await Promise.all(
|
|
54
|
+
files
|
|
55
|
+
.filter((f) => ![".git", "node_modules"].includes(f))
|
|
56
|
+
.map((f) => rm(join(targetDir, f), { recursive: true, force: true }))
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
await cp(templatePath, targetDir, { recursive: true });
|
|
61
|
+
|
|
62
|
+
// Replace template placeholders with project name
|
|
63
|
+
if (projectName) {
|
|
64
|
+
await replaceProjectName(targetDir, projectName);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
if (!skipInstall && existsSync(join(targetDir, "package.json"))) {
|
|
68
|
+
const pm = process.argv[0].includes("bun") ? "bun" : "npm";
|
|
69
|
+
await exec(pm, ["install"], targetDir);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return targetDir;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
const App = ({
|
|
76
|
+
template,
|
|
77
|
+
projectName,
|
|
78
|
+
skipInstall = false,
|
|
79
|
+
}: {
|
|
80
|
+
template: string;
|
|
81
|
+
projectName?: string;
|
|
82
|
+
skipInstall?: boolean;
|
|
83
|
+
}) => {
|
|
84
|
+
const [status, setStatus] = useState<
|
|
85
|
+
"prompting" | "processing" | "done" | "error"
|
|
86
|
+
>("processing");
|
|
87
|
+
const [error, setError] = useState("");
|
|
88
|
+
const [targetDir, setTargetDir] = useState("");
|
|
89
|
+
|
|
90
|
+
useEffect(() => {
|
|
91
|
+
const needsPrompt =
|
|
92
|
+
!projectName &&
|
|
93
|
+
existsSync(process.cwd()) &&
|
|
94
|
+
readdirSync(process.cwd()).length > 0;
|
|
95
|
+
|
|
96
|
+
if (needsPrompt) {
|
|
97
|
+
setStatus("prompting");
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
createProject(template, projectName, false, skipInstall)
|
|
102
|
+
.then((dir) => {
|
|
103
|
+
setTargetDir(dir);
|
|
104
|
+
setStatus("done");
|
|
105
|
+
})
|
|
106
|
+
.catch((e) => {
|
|
107
|
+
setError(e.message);
|
|
108
|
+
setStatus("error");
|
|
109
|
+
});
|
|
110
|
+
}, [template, projectName, skipInstall]);
|
|
111
|
+
|
|
112
|
+
const handleOverwrite = (overwrite: boolean) => {
|
|
113
|
+
setStatus("processing");
|
|
114
|
+
createProject(template, projectName, overwrite, skipInstall)
|
|
115
|
+
.then((dir) => {
|
|
116
|
+
setTargetDir(dir);
|
|
117
|
+
setStatus("done");
|
|
118
|
+
})
|
|
119
|
+
.catch((e) => {
|
|
120
|
+
setError(e.message);
|
|
121
|
+
setStatus("error");
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
if (status === "error") {
|
|
126
|
+
return <Text color="red">Error: {error}</Text>;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (status === "done") {
|
|
130
|
+
return <Text color="green">✓ Project created in {targetDir}</Text>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
if (status === "prompting") {
|
|
134
|
+
return (
|
|
135
|
+
<Box flexDirection="column">
|
|
136
|
+
<Text>Directory not empty. What do you want to do?</Text>
|
|
137
|
+
<SelectInput
|
|
138
|
+
items={[
|
|
139
|
+
{ label: "Overwrite", value: "overwrite" },
|
|
140
|
+
{ label: "Cancel", value: "cancel" },
|
|
141
|
+
]}
|
|
142
|
+
onSelect={({ value }) => {
|
|
143
|
+
if (value === "overwrite") handleOverwrite(true);
|
|
144
|
+
else process.exit(0);
|
|
145
|
+
}}
|
|
146
|
+
/>
|
|
147
|
+
</Box>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
return <Text color="yellow">Processing...</Text>;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
const args = process.argv.slice(2);
|
|
155
|
+
const [template, projectName] = args.filter((arg) => !arg.startsWith("--"));
|
|
156
|
+
const skipInstall = args.includes("--skip-install");
|
|
157
|
+
|
|
158
|
+
if (!template) {
|
|
159
|
+
const templates = existsSync(TEMPLATES_DIR)
|
|
160
|
+
? readdirSync(TEMPLATES_DIR).map((name) => {
|
|
161
|
+
let description = "";
|
|
162
|
+
try {
|
|
163
|
+
const meta = JSON.parse(
|
|
164
|
+
require("fs").readFileSync(
|
|
165
|
+
join(TEMPLATES_DIR, name, "template.json"),
|
|
166
|
+
"utf-8"
|
|
167
|
+
)
|
|
168
|
+
);
|
|
169
|
+
description = meta.description || "";
|
|
170
|
+
} catch {}
|
|
171
|
+
return { name, description };
|
|
172
|
+
})
|
|
173
|
+
: [];
|
|
174
|
+
|
|
175
|
+
render(
|
|
176
|
+
<Box flexDirection="column" padding={1}>
|
|
177
|
+
<Text color="red" bold>
|
|
178
|
+
Usage: mick-templates <template> [name] [--skip-install]
|
|
179
|
+
</Text>
|
|
180
|
+
<Box marginTop={1} flexDirection="column">
|
|
181
|
+
<Text bold>Available templates:</Text>
|
|
182
|
+
<Box borderStyle="single" borderColor="gray" marginTop={1} paddingX={1}>
|
|
183
|
+
{templates.map((t, index) => (
|
|
184
|
+
<Box key={t.name} flexDirection="row">
|
|
185
|
+
<Text color="cyan" bold>
|
|
186
|
+
{t.name}
|
|
187
|
+
</Text>
|
|
188
|
+
{t.description && <Text color="gray"> - {t.description}</Text>}
|
|
189
|
+
</Box>
|
|
190
|
+
))}
|
|
191
|
+
</Box>
|
|
192
|
+
</Box>
|
|
193
|
+
</Box>
|
|
194
|
+
);
|
|
195
|
+
process.exit(1);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
render(
|
|
199
|
+
<App
|
|
200
|
+
template={template}
|
|
201
|
+
projectName={projectName}
|
|
202
|
+
skipInstall={skipInstall}
|
|
203
|
+
/>
|
|
204
|
+
);
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mick-templates",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"bin": {
|
|
5
|
+
"mick-templates": "cli.tsx"
|
|
6
|
+
},
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"start": "bun cli.tsx"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"ink": "^4.4.1",
|
|
13
|
+
"ink-select-input": "^5.0.0",
|
|
14
|
+
"react": "^18.2.0"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/bun": "latest",
|
|
18
|
+
"@types/react": "^18.2.0",
|
|
19
|
+
"typescript": "^5.3.0",
|
|
20
|
+
"vitest": "^4.0.16"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
|
|
3
|
+
"vcs": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"clientKind": "git",
|
|
6
|
+
"useIgnoreFile": true
|
|
7
|
+
},
|
|
8
|
+
"files": {
|
|
9
|
+
"ignoreUnknown": false,
|
|
10
|
+
"includes": ["**", "!**/node_modules", "!**/dist"]
|
|
11
|
+
},
|
|
12
|
+
"formatter": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"indentStyle": "space",
|
|
15
|
+
"indentWidth": 2,
|
|
16
|
+
"lineWidth": 80
|
|
17
|
+
},
|
|
18
|
+
"linter": {
|
|
19
|
+
"enabled": true,
|
|
20
|
+
"rules": {
|
|
21
|
+
"recommended": true,
|
|
22
|
+
"correctness": {
|
|
23
|
+
"noUnusedVariables": "error",
|
|
24
|
+
"useExhaustiveDependencies": "error"
|
|
25
|
+
},
|
|
26
|
+
"style": {
|
|
27
|
+
"noNonNullAssertion": "warn",
|
|
28
|
+
"useTemplate": "error"
|
|
29
|
+
},
|
|
30
|
+
"suspicious": {
|
|
31
|
+
"noExplicitAny": "warn"
|
|
32
|
+
},
|
|
33
|
+
"nursery": {
|
|
34
|
+
"recommended": true
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"javascript": {
|
|
39
|
+
"formatter": {
|
|
40
|
+
"quoteStyle": "double",
|
|
41
|
+
"trailingCommas": "es5",
|
|
42
|
+
"semicolons": "always"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"assist": {
|
|
46
|
+
"enabled": true,
|
|
47
|
+
"actions": {
|
|
48
|
+
"source": {
|
|
49
|
+
"organizeImports": "on"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"css": {
|
|
54
|
+
"parser": {
|
|
55
|
+
"tailwindDirectives": true
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>vite</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="root"></div>
|
|
11
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vite",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"build": "tsc -b && vite build",
|
|
9
|
+
"lint": "eslint .",
|
|
10
|
+
"preview": "vite preview"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"react": "^19.2.0",
|
|
14
|
+
"react-dom": "^19.2.0"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@biomejs/biome": "2.3.11",
|
|
18
|
+
"@types/node": "^25.0.3",
|
|
19
|
+
"@types/react": "^19.2.5",
|
|
20
|
+
"@types/react-dom": "^19.2.3",
|
|
21
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
22
|
+
"typescript": "~5.9.3",
|
|
23
|
+
"typescript-eslint": "^8.46.4",
|
|
24
|
+
"vite": "^7.2.4"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient>
|
|
4
|
+
<linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient>
|
|
5
|
+
</defs>
|
|
6
|
+
<path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path>
|
|
7
|
+
<path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"useDefineForClassFields": true,
|
|
5
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"types": ["vite/client", "node"],
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
"jsx": "react-jsx",
|
|
17
|
+
|
|
18
|
+
/* Linting */
|
|
19
|
+
"strict": true,
|
|
20
|
+
"noUnusedLocals": true,
|
|
21
|
+
"noUnusedParameters": true,
|
|
22
|
+
"erasableSyntaxOnly": true,
|
|
23
|
+
"noFallthroughCasesInSwitch": true,
|
|
24
|
+
"noUncheckedSideEffectImports": true
|
|
25
|
+
},
|
|
26
|
+
"include": ["src", "vite.config.ts"]
|
|
27
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ESNext",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "bundler",
|
|
6
|
+
"jsx": "react-jsx",
|
|
7
|
+
"strict": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"allowSyntheticDefaultImports": true,
|
|
10
|
+
"types": ["bun"]
|
|
11
|
+
},
|
|
12
|
+
"exclude": ["templates"]
|
|
13
|
+
}
|