create-aron-app 0.1.8 → 0.1.10
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/.cursor/worktrees.json +3 -0
- package/package.json +1 -5
- package/templates/.env.example +6 -0
- package/templates/components.json +20 -0
- package/templates/gitignore +60 -0
- package/templates/.github/workflows/ci.yml +0 -40
- package/templates/apps/api/tsconfig.json +0 -23
- package/templates/apps/web/tsconfig.json +0 -20
- package/templates/biome.json +0 -126
- package/templates/bun.lock +0 -1917
- package/templates/emails/tsconfig.json +0 -5
- package/templates/shared/assets/tsconfig.json +0 -5
- package/templates/shared/ui/tsconfig.json +0 -8
- package/templates/shared/utils/tsconfig.json +0 -5
- /package/templates/emails/{welcome_email.tsx → src/welcome_email.tsx} +0 -0
package/package.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-aron-app",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Scaffold a new Convex + React Router + Clerk full-stack project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"create-aron-app": "./dist/index.js"
|
|
9
9
|
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist",
|
|
12
|
-
"templates"
|
|
13
|
-
],
|
|
14
10
|
"scripts": {
|
|
15
11
|
"build": "bun build src/index.ts --target=node --outfile=dist/index.js --minify --external giget && echo '#!/usr/bin/env node' | cat - dist/index.js > /tmp/create-tmp.js && mv /tmp/create-tmp.js dist/index.js && chmod +x dist/index.js",
|
|
16
12
|
"start": "bun run src/index.ts",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
+
"style": "new-york",
|
|
4
|
+
"rsc": false,
|
|
5
|
+
"tsx": true,
|
|
6
|
+
"tailwind": {
|
|
7
|
+
"config": "",
|
|
8
|
+
"css": "shared/assets/src/styles/global.css",
|
|
9
|
+
"baseColor": "neutral",
|
|
10
|
+
"cssVariables": true
|
|
11
|
+
},
|
|
12
|
+
"iconLibrary": "lucide",
|
|
13
|
+
"aliases": {
|
|
14
|
+
"components": "@/web/components",
|
|
15
|
+
"utils": "@/ui/base/utils",
|
|
16
|
+
"ui": "@/ui/base",
|
|
17
|
+
"lib": "@/ui/base",
|
|
18
|
+
"hooks": "@/ui/hooks"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# See https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
|
|
2
|
+
|
|
3
|
+
# compiled output
|
|
4
|
+
dist
|
|
5
|
+
tmp
|
|
6
|
+
out-tsc
|
|
7
|
+
|
|
8
|
+
# dependencies
|
|
9
|
+
node_modules
|
|
10
|
+
|
|
11
|
+
# IDEs and editors
|
|
12
|
+
/.idea
|
|
13
|
+
.project
|
|
14
|
+
.classpath
|
|
15
|
+
.c9/
|
|
16
|
+
*.launch
|
|
17
|
+
.settings/
|
|
18
|
+
*.sublime-workspace
|
|
19
|
+
|
|
20
|
+
# IDE - VSCode
|
|
21
|
+
.vscode/*
|
|
22
|
+
!.vscode/settings.json
|
|
23
|
+
!.vscode/tasks.json
|
|
24
|
+
!.vscode/launch.json
|
|
25
|
+
!.vscode/extensions.json
|
|
26
|
+
|
|
27
|
+
# misc
|
|
28
|
+
.dist
|
|
29
|
+
/.sass-cache
|
|
30
|
+
/connect.lock
|
|
31
|
+
/coverage
|
|
32
|
+
/libpeerconnection.log
|
|
33
|
+
npm-debug.log
|
|
34
|
+
yarn-error.log
|
|
35
|
+
testem.log
|
|
36
|
+
/typings
|
|
37
|
+
|
|
38
|
+
# environment variables
|
|
39
|
+
.env
|
|
40
|
+
.env.local
|
|
41
|
+
.env.convex
|
|
42
|
+
.env.next
|
|
43
|
+
.env.router
|
|
44
|
+
|
|
45
|
+
# System Files
|
|
46
|
+
.DS_Store
|
|
47
|
+
Thumbs.db
|
|
48
|
+
|
|
49
|
+
.nx/cache
|
|
50
|
+
.nx/workspace-data
|
|
51
|
+
|
|
52
|
+
# Next.js
|
|
53
|
+
.next
|
|
54
|
+
out
|
|
55
|
+
|
|
56
|
+
.cursor/rules/nx-rules.mdc
|
|
57
|
+
.github/instructions/nx.instructions.md
|
|
58
|
+
|
|
59
|
+
# clerk configuration (can include secrets)
|
|
60
|
+
/.clerk/
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
pull_request:
|
|
8
|
-
|
|
9
|
-
permissions:
|
|
10
|
-
actions: read
|
|
11
|
-
contents: read
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
build:
|
|
15
|
-
name: Build & Type-check
|
|
16
|
-
runs-on: ubuntu-latest
|
|
17
|
-
env:
|
|
18
|
-
SKIP_HOOKS: "1"
|
|
19
|
-
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v4
|
|
22
|
-
with:
|
|
23
|
-
fetch-depth: 0
|
|
24
|
-
|
|
25
|
-
- uses: oven-sh/setup-bun@v2
|
|
26
|
-
with:
|
|
27
|
-
bun-version: latest
|
|
28
|
-
|
|
29
|
-
- name: Install dependencies
|
|
30
|
-
run: bun install --frozen-lockfile
|
|
31
|
-
|
|
32
|
-
- name: Typecheck affected projects
|
|
33
|
-
run: bun run typecheck
|
|
34
|
-
|
|
35
|
-
- uses: nrwl/nx-set-shas@v4
|
|
36
|
-
|
|
37
|
-
- name: Build affected projects
|
|
38
|
-
run: bun nx affected -t build
|
|
39
|
-
# - name: Test affected projects
|
|
40
|
-
# run: bun nx affected -t test
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
/* These settings are not required by Convex and can be modified. */
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"strict": true,
|
|
7
|
-
"moduleResolution": "Bundler",
|
|
8
|
-
"noUnusedLocals": true,
|
|
9
|
-
"jsx": "react-jsx",
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"allowSyntheticDefaultImports": true,
|
|
12
|
-
/* These compiler options are required by Convex */
|
|
13
|
-
"target": "ESNext",
|
|
14
|
-
"lib": ["ES2021", "dom"],
|
|
15
|
-
"forceConsistentCasingInFileNames": true,
|
|
16
|
-
"module": "ESNext",
|
|
17
|
-
"isolatedModules": true,
|
|
18
|
-
"noEmit": true
|
|
19
|
-
},
|
|
20
|
-
"exclude": ["node_modules", "./_generated", "CODEOWNERS"],
|
|
21
|
-
"extends": "../../tsconfig.base.json",
|
|
22
|
-
"include": ["**/*.ts", "**/*.js", "**/*.json"]
|
|
23
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../tsconfig.base.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
|
|
5
|
-
"types": ["node", "vite/client"],
|
|
6
|
-
"target": "ES2022",
|
|
7
|
-
"module": "ES2022",
|
|
8
|
-
"moduleResolution": "bundler",
|
|
9
|
-
"jsx": "react-jsx",
|
|
10
|
-
"rootDirs": [".", "./.react-router/types"],
|
|
11
|
-
"esModuleInterop": true,
|
|
12
|
-
"verbatimModuleSyntax": true,
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"resolveJsonModule": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"strict": true
|
|
17
|
-
},
|
|
18
|
-
"include": ["**/*", "**/.server/**/*", "**/.client/**/*", ".react-router/types/**/*"],
|
|
19
|
-
"exclude": ["node_modules", "dist", "build", "public"]
|
|
20
|
-
}
|
package/templates/biome.json
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
|
|
3
|
-
"assist": {
|
|
4
|
-
"actions": {
|
|
5
|
-
"source": {
|
|
6
|
-
"organizeImports": {
|
|
7
|
-
"level": "on",
|
|
8
|
-
"options": {
|
|
9
|
-
"groups": [
|
|
10
|
-
":BUN:",
|
|
11
|
-
":BLANK_LINE:",
|
|
12
|
-
":NODE:",
|
|
13
|
-
":BLANK_LINE:",
|
|
14
|
-
":PACKAGE:",
|
|
15
|
-
":BLANK_LINE:",
|
|
16
|
-
":PACKAGE_WITH_PROTOCOL:",
|
|
17
|
-
":BLANK_LINE:",
|
|
18
|
-
":ALIAS:",
|
|
19
|
-
":BLANK_LINE:",
|
|
20
|
-
":PATH:",
|
|
21
|
-
":BLANK_LINE:",
|
|
22
|
-
":URL:"
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"recommended": true
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"enabled": true
|
|
30
|
-
},
|
|
31
|
-
"css": {
|
|
32
|
-
"parser": {
|
|
33
|
-
"tailwindDirectives": true
|
|
34
|
-
},
|
|
35
|
-
"formatter": {
|
|
36
|
-
"enabled": true,
|
|
37
|
-
"indentStyle": "space",
|
|
38
|
-
"indentWidth": 2,
|
|
39
|
-
"lineWidth": 80,
|
|
40
|
-
"quoteStyle": "double"
|
|
41
|
-
},
|
|
42
|
-
"linter": {
|
|
43
|
-
"enabled": true
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"files": {
|
|
47
|
-
"ignoreUnknown": false,
|
|
48
|
-
"includes": [
|
|
49
|
-
"**/*",
|
|
50
|
-
"!.nx",
|
|
51
|
-
"!**/*/.next",
|
|
52
|
-
"!node_modules",
|
|
53
|
-
"!**/*/dist",
|
|
54
|
-
"!**/*/output",
|
|
55
|
-
"!**/*/public",
|
|
56
|
-
"!**/*/tmp",
|
|
57
|
-
"!convex/_generated/**/*",
|
|
58
|
-
"!convex/_generated/**/*.d.ts",
|
|
59
|
-
"!**/next.config.js",
|
|
60
|
-
"!**/next.config.mjs",
|
|
61
|
-
"!**/next.config.cjs",
|
|
62
|
-
"!**/next.config.ts",
|
|
63
|
-
"!**/next.config.mts",
|
|
64
|
-
"!package.json"
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"formatter": {
|
|
68
|
-
"enabled": true,
|
|
69
|
-
"indentStyle": "space"
|
|
70
|
-
},
|
|
71
|
-
"javascript": {
|
|
72
|
-
"formatter": {
|
|
73
|
-
"indentStyle": "space",
|
|
74
|
-
"indentWidth": 2,
|
|
75
|
-
"lineEnding": "lf",
|
|
76
|
-
"lineWidth": 100,
|
|
77
|
-
"quoteStyle": "double"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"json": {
|
|
81
|
-
"formatter": {
|
|
82
|
-
"enabled": true,
|
|
83
|
-
"indentStyle": "space",
|
|
84
|
-
"indentWidth": 2,
|
|
85
|
-
"lineEnding": "lf",
|
|
86
|
-
"lineWidth": 100
|
|
87
|
-
},
|
|
88
|
-
"linter": {
|
|
89
|
-
"enabled": true
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"linter": {
|
|
93
|
-
"enabled": true,
|
|
94
|
-
"rules": {
|
|
95
|
-
"correctness": {
|
|
96
|
-
"noUnusedImports": {
|
|
97
|
-
"fix": "safe",
|
|
98
|
-
"level": "error"
|
|
99
|
-
},
|
|
100
|
-
"useExhaustiveDependencies": "warn"
|
|
101
|
-
},
|
|
102
|
-
"recommended": true,
|
|
103
|
-
"style": {
|
|
104
|
-
"noInferrableTypes": "error",
|
|
105
|
-
"useBlockStatements": {
|
|
106
|
-
"level": "error",
|
|
107
|
-
"fix": "safe"
|
|
108
|
-
},
|
|
109
|
-
"noParameterAssign": "warn",
|
|
110
|
-
"noUnusedTemplateLiteral": "error",
|
|
111
|
-
"noUselessElse": "error",
|
|
112
|
-
"useAsConstAssertion": "error",
|
|
113
|
-
"useDefaultParameterLast": "error",
|
|
114
|
-
"useEnumInitializers": "error",
|
|
115
|
-
"useNumberNamespace": "error",
|
|
116
|
-
"useSelfClosingElements": "error",
|
|
117
|
-
"useSingleVarDeclarator": "error"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"vcs": {
|
|
122
|
-
"clientKind": "git",
|
|
123
|
-
"enabled": false,
|
|
124
|
-
"useIgnoreFile": false
|
|
125
|
-
}
|
|
126
|
-
}
|