better-ts-stack 2.1.1 → 2.1.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.
- package/LICENSE +21 -21
- package/dist/args.js +6 -0
- package/dist/builder/moduleSelector.js +6 -1
- package/dist/builder/readmeGenerator.js +6 -0
- package/dist/builder/templateContext.js +1 -0
- package/dist/prompts/stack.js +7 -0
- package/dist/types/index.js +2 -0
- package/dist/ui/messages.js +2 -0
- package/package.json +71 -71
- package/templates/backend/express/.prettierignore +52 -52
- package/templates/backend/express/.prettierrc +16 -16
- package/templates/backend/express/gitignore +3 -1
- package/templates/backend/express/tsconfig.eslint.json +9 -9
- package/templates/backend/nestjs/.prettierignore +52 -52
- package/templates/backend/nestjs/gitignore +3 -1
- package/templates/backend/nestjs/tsconfig.eslint.json +9 -9
- package/templates/frontend/nextjs/app/globals.css +89 -89
- package/templates/frontend/nextjs/app/layout.tsx +34 -34
- package/templates/frontend/nextjs/components/ui/button.tsx +51 -51
- package/templates/frontend/nextjs/components/ui/card.tsx +60 -60
- package/templates/frontend/nextjs/components/ui/field.tsx +67 -67
- package/templates/frontend/nextjs/components/ui/input.tsx +18 -18
- package/templates/frontend/nextjs/config.json +35 -35
- package/templates/frontend/nextjs/eslint.config.mjs +11 -11
- package/templates/frontend/nextjs/next.config.ts.hbs +12 -12
- package/templates/frontend/nextjs/postcss.config.mjs +7 -7
- package/templates/frontend/nextjs/public/file.svg +1 -1
- package/templates/frontend/nextjs/public/globe.svg +1 -1
- package/templates/frontend/nextjs/public/window.svg +1 -1
- package/templates/frontend/tanstack/components.json +18 -18
- package/templates/frontend/tanstack/eslint.config.mjs +23 -23
- package/templates/frontend/tanstack/gitignore +39 -39
- package/templates/frontend/tanstack/public/favicon.svg +7 -7
- package/templates/frontend/tanstack/src/components/ui/button.tsx +51 -51
- package/templates/frontend/tanstack/src/components/ui/card.tsx +60 -60
- package/templates/frontend/tanstack/src/components/ui/field.tsx +67 -67
- package/templates/frontend/tanstack/src/components/ui/input.tsx +18 -18
- package/templates/frontend/tanstack/src/lib/utils.ts +6 -6
- package/templates/frontend/tanstack/src/router.tsx +31 -31
- package/templates/frontend/tanstack/src/routes/__root.tsx +69 -69
- package/templates/frontend/tanstack/tsconfig.json +22 -22
- package/templates/modules/agents/AGENTS.md.hbs +237 -0
- package/templates/modules/agents/CLAUDE.md +1 -0
- package/templates/modules/agents/config.json +10 -0
- package/templates/modules/auth/express/src/lib/jwt.ts.hbs +27 -27
- package/templates/modules/auth/nextjs/app/api/auth/[...all]/route.ts +4 -4
- package/templates/modules/auth/nextjs/config.json +18 -18
- package/templates/modules/auth/nextjs/lib/auth-client.ts +3 -3
- package/templates/modules/auth/tanstack/config.json +18 -18
- package/templates/modules/auth/tanstack/src/lib/auth-client.ts +2 -2
- package/templates/modules/auth/tanstack/src/lib/auth-functions.ts +8 -8
- package/templates/modules/auth/tanstack/src/lib/auth.ts.hbs +37 -37
- package/templates/modules/auth/tanstack/src/routes/api/auth/$.ts +15 -15
- package/templates/modules/auth/tanstack/src/routes/dashboard.tsx +110 -110
- package/templates/modules/auth/tanstack/src/routes/sign-in.tsx +36 -36
- package/templates/modules/auth/tanstack/src/routes/sign-up.tsx +36 -36
- package/templates/modules/docker/.dockerignore +2 -0
- package/templates/modules/docker/config.json +15 -15
- package/templates/modules/drizzle/express/config.json +26 -26
- package/templates/modules/drizzle/nestjs/config.json +26 -26
- package/templates/modules/drizzle/nextjs/config.json +26 -26
- package/templates/modules/drizzle/nextjs/drizzle.config.ts +13 -13
- package/templates/modules/drizzle/tanstack/config.json +26 -26
- package/templates/modules/drizzle/tanstack/drizzle.config.ts +12 -12
- package/templates/modules/drizzle/tanstack/src/lib/db.ts +13 -13
- package/templates/modules/mongoose/express/config.json +15 -15
- package/templates/modules/mongoose/express/src/lib/db.ts +43 -43
- package/templates/modules/mongoose/express/src/models/User.ts +48 -48
- package/templates/modules/mongoose/nestjs/config.json +15 -15
- package/templates/modules/mongoose/nextjs/config.json +15 -15
- package/templates/modules/mongoose/nextjs/models/User.ts +48 -48
- package/templates/modules/mongoose/tanstack/config.json +16 -16
- package/templates/modules/mongoose/tanstack/src/models/User.ts +48 -48
- package/templates/modules/prisma/express/config.json +27 -27
- package/templates/modules/prisma/express/prisma/schema.prisma +23 -23
- package/templates/modules/prisma/nestjs/config.json +27 -27
- package/templates/modules/prisma/nextjs/config.json +28 -28
- package/templates/modules/prisma/nextjs/lib/prisma.ts +18 -18
- package/templates/modules/prisma/nextjs/prisma.config.ts +14 -14
- package/templates/modules/prisma/tanstack/config.json +28 -28
- package/templates/modules/prisma/tanstack/prisma/schema.prisma.hbs +91 -91
- package/templates/modules/prisma/tanstack/prisma.config.ts +14 -14
- package/templates/modules/prisma/tanstack/src/lib/prisma.ts +17 -17
- package/templates/modules/vscode/.vscode/extensions.json.hbs +29 -0
- package/templates/modules/vscode/.vscode/settings.json.hbs +22 -0
- package/templates/modules/vscode/config.json +10 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Abdullah
|
|
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.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Abdullah
|
|
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/dist/args.js
CHANGED
|
@@ -23,6 +23,8 @@ Options left out are asked interactively, unless --yes is given.
|
|
|
23
23
|
--rate-limit, --no-rate-limit
|
|
24
24
|
Add rate limiting (Express and NestJS)
|
|
25
25
|
--ci, --no-ci Add a GitHub Actions workflow
|
|
26
|
+
--agents, --no-agents Add AGENTS.md for AI coding agents
|
|
27
|
+
--vscode, --no-vscode Add VS Code settings and recommended extensions
|
|
26
28
|
--git, --no-git Initialize a git repository
|
|
27
29
|
--install, --no-install Install dependencies
|
|
28
30
|
-y, --yes Use defaults for missing options and skip confirmation
|
|
@@ -58,6 +60,8 @@ function parseCliArgs(argv) {
|
|
|
58
60
|
docker: { type: "boolean" },
|
|
59
61
|
"rate-limit": { type: "boolean" },
|
|
60
62
|
ci: { type: "boolean" },
|
|
63
|
+
agents: { type: "boolean" },
|
|
64
|
+
vscode: { type: "boolean" },
|
|
61
65
|
git: { type: "boolean" },
|
|
62
66
|
install: { type: "boolean" },
|
|
63
67
|
yes: { type: "boolean", short: "y" },
|
|
@@ -82,6 +86,8 @@ function parseCliArgs(argv) {
|
|
|
82
86
|
useDocker: values.docker,
|
|
83
87
|
useRateLimit: values["rate-limit"],
|
|
84
88
|
useCi: values.ci,
|
|
89
|
+
useAgents: values.agents,
|
|
90
|
+
useVscode: values.vscode,
|
|
85
91
|
initGit: values.git,
|
|
86
92
|
installDeps: values.install,
|
|
87
93
|
};
|
|
@@ -10,7 +10,8 @@ function selectModules(config) {
|
|
|
10
10
|
: `frontend/${framework}`;
|
|
11
11
|
const modules = [];
|
|
12
12
|
// Database, auth, and rate-limit modules have one variant per framework
|
|
13
|
-
// (prisma/express, auth/nextjs, ...); the Docker and
|
|
13
|
+
// (prisma/express, auth/nextjs, ...); the Docker, CI, and agents modules are
|
|
14
|
+
// shared
|
|
14
15
|
if (config.database !== "none")
|
|
15
16
|
modules.push(`${config.database}/${framework}`);
|
|
16
17
|
if (config.useDocker)
|
|
@@ -21,5 +22,9 @@ function selectModules(config) {
|
|
|
21
22
|
modules.push(`rate-limit/${framework}`);
|
|
22
23
|
if (config.useCi)
|
|
23
24
|
modules.push("ci");
|
|
25
|
+
if (config.useAgents)
|
|
26
|
+
modules.push("agents");
|
|
27
|
+
if (config.useVscode)
|
|
28
|
+
modules.push("vscode");
|
|
24
29
|
return { base, modules };
|
|
25
30
|
}
|
|
@@ -60,6 +60,12 @@ function renderReadme(config, mergedConfig, targetDir) {
|
|
|
60
60
|
if (config.useCi) {
|
|
61
61
|
lines.push("- **CI:** GitHub Actions builds, type-checks, and lints every push to `main` and every pull request");
|
|
62
62
|
}
|
|
63
|
+
if (config.useVscode) {
|
|
64
|
+
lines.push("- **VS Code:** workspace settings and recommended extensions in `.vscode/`");
|
|
65
|
+
}
|
|
66
|
+
if (config.useAgents) {
|
|
67
|
+
lines.push("- **AI agents:** `AGENTS.md` describes the stack, commands, and rules for coding agents");
|
|
68
|
+
}
|
|
63
69
|
lines.push(`- **Package manager:** ${config.packageManager}`, "");
|
|
64
70
|
const steps = (0, nextSteps_1.generateNextSteps)(config, targetDir, false, true);
|
|
65
71
|
lines.push("## Getting started", "", ...steps.map((step, index) => {
|
|
@@ -63,6 +63,7 @@ function buildTemplateContext(config) {
|
|
|
63
63
|
useDocker: config.useDocker,
|
|
64
64
|
useAuth: config.useAuth,
|
|
65
65
|
useRateLimit: config.useRateLimit,
|
|
66
|
+
useCi: config.useCi,
|
|
66
67
|
docker: DOCKER_COMMANDS[config.packageManager],
|
|
67
68
|
ciBuildEnv: getCiBuildEnv(config),
|
|
68
69
|
helpers: {
|
package/dist/prompts/stack.js
CHANGED
|
@@ -96,6 +96,11 @@ async function collectStackChoices(preset) {
|
|
|
96
96
|
? false
|
|
97
97
|
: await ask(preset.useRateLimit, () => (0, ui_1.confirm)({ message: "Add rate limiting?", initialValue: false }));
|
|
98
98
|
const useCi = await ask(preset.useCi, () => (0, ui_1.confirm)({ message: "Add GitHub Actions CI?", initialValue: false }));
|
|
99
|
+
const useAgents = await ask(preset.useAgents, () => (0, ui_1.confirm)({
|
|
100
|
+
message: "Add AGENTS.md for AI coding agents?",
|
|
101
|
+
initialValue: false,
|
|
102
|
+
}));
|
|
103
|
+
const useVscode = await ask(preset.useVscode, () => (0, ui_1.confirm)({ message: "Add VS Code settings?", initialValue: false }));
|
|
99
104
|
const initGit = await ask(preset.initGit, () => (0, ui_1.confirm)({ message: "Initialize a git repository?", initialValue: true }));
|
|
100
105
|
const installDeps = await ask(preset.installDeps, () => (0, ui_1.confirm)({ message: "Install dependencies now?", initialValue: false }));
|
|
101
106
|
return {
|
|
@@ -106,6 +111,8 @@ async function collectStackChoices(preset) {
|
|
|
106
111
|
useAuth,
|
|
107
112
|
useRateLimit,
|
|
108
113
|
useCi,
|
|
114
|
+
useAgents,
|
|
115
|
+
useVscode,
|
|
109
116
|
initGit,
|
|
110
117
|
installDeps,
|
|
111
118
|
};
|
package/dist/types/index.js
CHANGED
package/dist/ui/messages.js
CHANGED
package/package.json
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "better-ts-stack",
|
|
3
|
-
"version": "2.1.
|
|
4
|
-
"description": "A CLI that scaffolds Express, NestJS, Next.js, and TanStack Start projects with a database, authentication, and Docker already set up.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"cli",
|
|
7
|
-
"builder",
|
|
8
|
-
"backend",
|
|
9
|
-
"typescript",
|
|
10
|
-
"express",
|
|
11
|
-
"nestjs",
|
|
12
|
-
"nextjs",
|
|
13
|
-
"tanstack-start",
|
|
14
|
-
"prisma",
|
|
15
|
-
"drizzle",
|
|
16
|
-
"mongoose",
|
|
17
|
-
"template"
|
|
18
|
-
],
|
|
19
|
-
"homepage": "https://better-ts-stack.abdullahtech.me",
|
|
20
|
-
"bugs": {
|
|
21
|
-
"url": "https://github.com/Abdullah-dev0/better-ts-stack/issues"
|
|
22
|
-
},
|
|
23
|
-
"repository": {
|
|
24
|
-
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/Abdullah-dev0/better-ts-stack.git"
|
|
26
|
-
},
|
|
27
|
-
"license": "MIT",
|
|
28
|
-
"author": "Abdullah",
|
|
29
|
-
"type": "commonjs",
|
|
30
|
-
"main": "dist/index.js",
|
|
31
|
-
"bin": {
|
|
32
|
-
"better-ts-stack": "dist/index.js"
|
|
33
|
-
},
|
|
34
|
-
"files": [
|
|
35
|
-
"dist",
|
|
36
|
-
"templates"
|
|
37
|
-
],
|
|
38
|
-
"scripts": {
|
|
39
|
-
"dev": "tsx src/index.ts",
|
|
40
|
-
"prebuild": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
41
|
-
"build": "tsc",
|
|
42
|
-
"postbuild": "node -e \"const fs=require('fs');const p='dist/index.js';fs.writeFileSync(p,'#!/usr/bin/env node\\n'+fs.readFileSync(p,'utf8'))\"",
|
|
43
|
-
"prepack": "npm run build",
|
|
44
|
-
"start": "node dist/index.js",
|
|
45
|
-
"lint": "eslint src",
|
|
46
|
-
"lint:fix": "eslint src --fix",
|
|
47
|
-
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,mdx,css}\"",
|
|
48
|
-
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,mdx,css}\"",
|
|
49
|
-
"type:check": "tsc --noEmit"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"@clack/core": "^1.4.3",
|
|
53
|
-
"fs-extra": "^11.4.0",
|
|
54
|
-
"handlebars": "^4.7.10",
|
|
55
|
-
"zod": "^4.6.7"
|
|
56
|
-
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"@better-ts-stack/eslint-config": "*",
|
|
59
|
-
"@better-ts-stack/prettier-config": "*",
|
|
60
|
-
"@types/fs-extra": "^11.0.4",
|
|
61
|
-
"@types/node": "^24.13.3",
|
|
62
|
-
"eslint": "^10.10.0",
|
|
63
|
-
"prettier": "^3.9.6",
|
|
64
|
-
"tsx": "^4.23.13",
|
|
65
|
-
"typescript": "^6.0.3"
|
|
66
|
-
},
|
|
67
|
-
"engines": {
|
|
68
|
-
"node": ">=24.0.0"
|
|
69
|
-
},
|
|
70
|
-
"prettier": "@better-ts-stack/prettier-config"
|
|
71
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "better-ts-stack",
|
|
3
|
+
"version": "2.1.2",
|
|
4
|
+
"description": "A CLI that scaffolds Express, NestJS, Next.js, and TanStack Start projects with a database, authentication, and Docker already set up.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cli",
|
|
7
|
+
"builder",
|
|
8
|
+
"backend",
|
|
9
|
+
"typescript",
|
|
10
|
+
"express",
|
|
11
|
+
"nestjs",
|
|
12
|
+
"nextjs",
|
|
13
|
+
"tanstack-start",
|
|
14
|
+
"prisma",
|
|
15
|
+
"drizzle",
|
|
16
|
+
"mongoose",
|
|
17
|
+
"template"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://better-ts-stack.abdullahtech.me",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/Abdullah-dev0/better-ts-stack/issues"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/Abdullah-dev0/better-ts-stack.git"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"author": "Abdullah",
|
|
29
|
+
"type": "commonjs",
|
|
30
|
+
"main": "dist/index.js",
|
|
31
|
+
"bin": {
|
|
32
|
+
"better-ts-stack": "dist/index.js"
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"templates"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"dev": "tsx src/index.ts",
|
|
40
|
+
"prebuild": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
41
|
+
"build": "tsc",
|
|
42
|
+
"postbuild": "node -e \"const fs=require('fs');const p='dist/index.js';fs.writeFileSync(p,'#!/usr/bin/env node\\n'+fs.readFileSync(p,'utf8'))\"",
|
|
43
|
+
"prepack": "npm run build",
|
|
44
|
+
"start": "node dist/index.js",
|
|
45
|
+
"lint": "eslint src",
|
|
46
|
+
"lint:fix": "eslint src --fix",
|
|
47
|
+
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,mdx,css}\"",
|
|
48
|
+
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,mdx,css}\"",
|
|
49
|
+
"type:check": "tsc --noEmit"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@clack/core": "^1.4.3",
|
|
53
|
+
"fs-extra": "^11.4.0",
|
|
54
|
+
"handlebars": "^4.7.10",
|
|
55
|
+
"zod": "^4.6.7"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@better-ts-stack/eslint-config": "*",
|
|
59
|
+
"@better-ts-stack/prettier-config": "*",
|
|
60
|
+
"@types/fs-extra": "^11.0.4",
|
|
61
|
+
"@types/node": "^24.13.3",
|
|
62
|
+
"eslint": "^10.10.0",
|
|
63
|
+
"prettier": "^3.9.6",
|
|
64
|
+
"tsx": "^4.23.13",
|
|
65
|
+
"typescript": "^6.0.3"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=24.0.0"
|
|
69
|
+
},
|
|
70
|
+
"prettier": "@better-ts-stack/prettier-config"
|
|
71
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
# Dependencies
|
|
2
|
-
node_modules
|
|
3
|
-
**/node_modules
|
|
4
|
-
|
|
5
|
-
# Build outputs
|
|
6
|
-
.next
|
|
7
|
-
out
|
|
8
|
-
dist
|
|
9
|
-
build
|
|
10
|
-
**/dist
|
|
11
|
-
**/.next
|
|
12
|
-
**/out
|
|
13
|
-
**/build
|
|
14
|
-
|
|
15
|
-
# Generated files
|
|
16
|
-
*.min.js
|
|
17
|
-
*.min.css
|
|
18
|
-
coverage
|
|
19
|
-
.nyc_output
|
|
20
|
-
|
|
21
|
-
# Lock files
|
|
22
|
-
package-lock.json
|
|
23
|
-
yarn.lock
|
|
24
|
-
pnpm-lock.yaml
|
|
25
|
-
bun.lock
|
|
26
|
-
|
|
27
|
-
# Logs
|
|
28
|
-
*.log
|
|
29
|
-
npm-debug.log*
|
|
30
|
-
yarn-debug.log*
|
|
31
|
-
yarn-error.log*
|
|
32
|
-
|
|
33
|
-
# Environment files
|
|
34
|
-
.env
|
|
35
|
-
.env.local
|
|
36
|
-
.env.*.local
|
|
37
|
-
|
|
38
|
-
# IDE
|
|
39
|
-
.vscode
|
|
40
|
-
.idea
|
|
41
|
-
*.swp
|
|
42
|
-
*.swo
|
|
43
|
-
*~
|
|
44
|
-
|
|
45
|
-
# OS
|
|
46
|
-
.DS_Store
|
|
47
|
-
Thumbs.db
|
|
48
|
-
|
|
49
|
-
# Templates (do not format generated/scaffold content)
|
|
50
|
-
templates
|
|
51
|
-
**/templates/**
|
|
52
|
-
*.hbs
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules
|
|
3
|
+
**/node_modules
|
|
4
|
+
|
|
5
|
+
# Build outputs
|
|
6
|
+
.next
|
|
7
|
+
out
|
|
8
|
+
dist
|
|
9
|
+
build
|
|
10
|
+
**/dist
|
|
11
|
+
**/.next
|
|
12
|
+
**/out
|
|
13
|
+
**/build
|
|
14
|
+
|
|
15
|
+
# Generated files
|
|
16
|
+
*.min.js
|
|
17
|
+
*.min.css
|
|
18
|
+
coverage
|
|
19
|
+
.nyc_output
|
|
20
|
+
|
|
21
|
+
# Lock files
|
|
22
|
+
package-lock.json
|
|
23
|
+
yarn.lock
|
|
24
|
+
pnpm-lock.yaml
|
|
25
|
+
bun.lock
|
|
26
|
+
|
|
27
|
+
# Logs
|
|
28
|
+
*.log
|
|
29
|
+
npm-debug.log*
|
|
30
|
+
yarn-debug.log*
|
|
31
|
+
yarn-error.log*
|
|
32
|
+
|
|
33
|
+
# Environment files
|
|
34
|
+
.env
|
|
35
|
+
.env.local
|
|
36
|
+
.env.*.local
|
|
37
|
+
|
|
38
|
+
# IDE
|
|
39
|
+
.vscode
|
|
40
|
+
.idea
|
|
41
|
+
*.swp
|
|
42
|
+
*.swo
|
|
43
|
+
*~
|
|
44
|
+
|
|
45
|
+
# OS
|
|
46
|
+
.DS_Store
|
|
47
|
+
Thumbs.db
|
|
48
|
+
|
|
49
|
+
# Templates (do not format generated/scaffold content)
|
|
50
|
+
templates
|
|
51
|
+
**/templates/**
|
|
52
|
+
*.hbs
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
{
|
|
2
|
-
"semi": true,
|
|
3
|
-
"trailingComma": "es5",
|
|
4
|
-
"singleQuote": false,
|
|
5
|
-
"printWidth": 80,
|
|
6
|
-
"tabWidth": 2,
|
|
7
|
-
"useTabs": false,
|
|
8
|
-
"arrowParens": "always",
|
|
9
|
-
"endOfLine": "lf",
|
|
10
|
-
"plugins": ["@trivago/prettier-plugin-sort-imports"],
|
|
11
|
-
"importOrder": ["<THIRD_PARTY_MODULES>", "^[./]"],
|
|
12
|
-
"importOrderSeparation": true,
|
|
13
|
-
"importOrderSortSpecifiers": true,
|
|
14
|
-
"importOrderGroupNamespaceSpecifiers": true,
|
|
15
|
-
"importOrderCaseInsensitive": true
|
|
16
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"semi": true,
|
|
3
|
+
"trailingComma": "es5",
|
|
4
|
+
"singleQuote": false,
|
|
5
|
+
"printWidth": 80,
|
|
6
|
+
"tabWidth": 2,
|
|
7
|
+
"useTabs": false,
|
|
8
|
+
"arrowParens": "always",
|
|
9
|
+
"endOfLine": "lf",
|
|
10
|
+
"plugins": ["@trivago/prettier-plugin-sort-imports"],
|
|
11
|
+
"importOrder": ["<THIRD_PARTY_MODULES>", "^[./]"],
|
|
12
|
+
"importOrderSeparation": true,
|
|
13
|
+
"importOrderSortSpecifiers": true,
|
|
14
|
+
"importOrderGroupNamespaceSpecifiers": true,
|
|
15
|
+
"importOrderCaseInsensitive": true
|
|
16
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"noEmit": true,
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"rootDir": "."
|
|
7
|
-
},
|
|
8
|
-
"include": ["src/**/*", "eslint.config.mjs", "prisma.config.ts"]
|
|
9
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"noEmit": true,
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"rootDir": "."
|
|
7
|
+
},
|
|
8
|
+
"include": ["src/**/*", "eslint.config.mjs", "prisma.config.ts"]
|
|
9
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
# Dependencies
|
|
2
|
-
node_modules
|
|
3
|
-
**/node_modules
|
|
4
|
-
|
|
5
|
-
# Build outputs
|
|
6
|
-
.next
|
|
7
|
-
out
|
|
8
|
-
dist
|
|
9
|
-
build
|
|
10
|
-
**/dist
|
|
11
|
-
**/.next
|
|
12
|
-
**/out
|
|
13
|
-
**/build
|
|
14
|
-
|
|
15
|
-
# Generated files
|
|
16
|
-
*.min.js
|
|
17
|
-
*.min.css
|
|
18
|
-
coverage
|
|
19
|
-
.nyc_output
|
|
20
|
-
|
|
21
|
-
# Lock files
|
|
22
|
-
package-lock.json
|
|
23
|
-
yarn.lock
|
|
24
|
-
pnpm-lock.yaml
|
|
25
|
-
bun.lock
|
|
26
|
-
|
|
27
|
-
# Logs
|
|
28
|
-
*.log
|
|
29
|
-
npm-debug.log*
|
|
30
|
-
yarn-debug.log*
|
|
31
|
-
yarn-error.log*
|
|
32
|
-
|
|
33
|
-
# Environment files
|
|
34
|
-
.env
|
|
35
|
-
.env.local
|
|
36
|
-
.env.*.local
|
|
37
|
-
|
|
38
|
-
# IDE
|
|
39
|
-
.vscode
|
|
40
|
-
.idea
|
|
41
|
-
*.swp
|
|
42
|
-
*.swo
|
|
43
|
-
*~
|
|
44
|
-
|
|
45
|
-
# OS
|
|
46
|
-
.DS_Store
|
|
47
|
-
Thumbs.db
|
|
48
|
-
|
|
49
|
-
# Templates (do not format generated/scaffold content)
|
|
50
|
-
templates
|
|
51
|
-
**/templates/**
|
|
52
|
-
*.hbs
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules
|
|
3
|
+
**/node_modules
|
|
4
|
+
|
|
5
|
+
# Build outputs
|
|
6
|
+
.next
|
|
7
|
+
out
|
|
8
|
+
dist
|
|
9
|
+
build
|
|
10
|
+
**/dist
|
|
11
|
+
**/.next
|
|
12
|
+
**/out
|
|
13
|
+
**/build
|
|
14
|
+
|
|
15
|
+
# Generated files
|
|
16
|
+
*.min.js
|
|
17
|
+
*.min.css
|
|
18
|
+
coverage
|
|
19
|
+
.nyc_output
|
|
20
|
+
|
|
21
|
+
# Lock files
|
|
22
|
+
package-lock.json
|
|
23
|
+
yarn.lock
|
|
24
|
+
pnpm-lock.yaml
|
|
25
|
+
bun.lock
|
|
26
|
+
|
|
27
|
+
# Logs
|
|
28
|
+
*.log
|
|
29
|
+
npm-debug.log*
|
|
30
|
+
yarn-debug.log*
|
|
31
|
+
yarn-error.log*
|
|
32
|
+
|
|
33
|
+
# Environment files
|
|
34
|
+
.env
|
|
35
|
+
.env.local
|
|
36
|
+
.env.*.local
|
|
37
|
+
|
|
38
|
+
# IDE
|
|
39
|
+
.vscode
|
|
40
|
+
.idea
|
|
41
|
+
*.swp
|
|
42
|
+
*.swo
|
|
43
|
+
*~
|
|
44
|
+
|
|
45
|
+
# OS
|
|
46
|
+
.DS_Store
|
|
47
|
+
Thumbs.db
|
|
48
|
+
|
|
49
|
+
# Templates (do not format generated/scaffold content)
|
|
50
|
+
templates
|
|
51
|
+
**/templates/**
|
|
52
|
+
*.hbs
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"noEmit": true,
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"rootDir": "."
|
|
7
|
-
},
|
|
8
|
-
"include": ["src/**/*", "eslint.config.mjs", "prisma.config.ts"]
|
|
9
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"noEmit": true,
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"rootDir": "."
|
|
7
|
+
},
|
|
8
|
+
"include": ["src/**/*", "eslint.config.mjs", "prisma.config.ts"]
|
|
9
|
+
}
|