@kevinmarrec/create-app 0.6.2 → 0.6.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 +3 -4
- package/package.json +12 -12
- package/template/.github/renovate.json +4 -0
- package/template/backend/package.json +5 -5
- package/template/frontend/package.json +13 -12
- package/template/frontend/src/App.vue +5 -0
- package/template/package.json +8 -8
- package/template/taze.config.ts +0 -8
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { x } from "tinyexec";
|
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "0.6.
|
|
11
|
+
var version = "0.6.4";
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/utils/fs.ts
|
|
@@ -95,13 +95,12 @@ Options:
|
|
|
95
95
|
const targetDir = resolve(cwd, projectName);
|
|
96
96
|
if (!(await fs_default.emptyCheck(targetDir) || options.force)) {
|
|
97
97
|
await log.warn(`${targetDir === cwd ? "Current directory" : `Target directory ${c.blue(targetDir)}`} is not empty`);
|
|
98
|
-
|
|
98
|
+
maybeCancel(await confirm({
|
|
99
99
|
message: "Remove existing files and continue?",
|
|
100
100
|
initialValue: true,
|
|
101
101
|
active: "Yes",
|
|
102
102
|
inactive: "No"
|
|
103
|
-
});
|
|
104
|
-
maybeCancel(shouldOverwrite, { strict: true });
|
|
103
|
+
}), { strict: true });
|
|
105
104
|
}
|
|
106
105
|
await tasks([{
|
|
107
106
|
title: `Scaffolding project in ${c.blue(targetDir)}`,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kevinmarrec/create-app",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.4",
|
|
5
5
|
"packageManager": "bun@1.2.22",
|
|
6
6
|
"description": "CLI that scaffolds an opinionated Bun & Vue fullstack application.",
|
|
7
7
|
"author": "Kevin Marrec <kevin@marrec.io>",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"lint:inspect": "bunx @eslint/config-inspector",
|
|
40
40
|
"playground": "bun --cwd template dev",
|
|
41
41
|
"release": "bumpp",
|
|
42
|
+
"update": "bunx taze -I -rwi",
|
|
42
43
|
"test": "vitest",
|
|
43
44
|
"test:coverage": "vitest run --coverage"
|
|
44
45
|
},
|
|
@@ -49,20 +50,19 @@
|
|
|
49
50
|
"tinyexec": "^1.0.1"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
|
-
"@faker-js/faker": "^10.
|
|
53
|
-
"@kevinmarrec/eslint-config": "^1.5.
|
|
54
|
-
"@kevinmarrec/stylelint-config": "^1.2.
|
|
53
|
+
"@faker-js/faker": "^10.1.0",
|
|
54
|
+
"@kevinmarrec/eslint-config": "^1.5.3",
|
|
55
|
+
"@kevinmarrec/stylelint-config": "^1.2.2",
|
|
55
56
|
"@kevinmarrec/tsconfig": "^1.1.0",
|
|
56
|
-
"@types/bun": "^1.
|
|
57
|
+
"@types/bun": "^1.3.0",
|
|
57
58
|
"@vitest/coverage-v8": "^3.2.4",
|
|
58
|
-
"bumpp": "^10.
|
|
59
|
-
"eslint": "^9.
|
|
60
|
-
"knip": "^5.
|
|
61
|
-
"stylelint": "^16.
|
|
62
|
-
"
|
|
63
|
-
"tsdown": "^0.15.6",
|
|
59
|
+
"bumpp": "^10.3.1",
|
|
60
|
+
"eslint": "^9.37.0",
|
|
61
|
+
"knip": "^5.65.0",
|
|
62
|
+
"stylelint": "^16.25.0",
|
|
63
|
+
"tsdown": "^0.15.7",
|
|
64
64
|
"typescript": "^5.9.3",
|
|
65
65
|
"vitest": "^3.2.4",
|
|
66
|
-
"vue-tsc": "^3.1.
|
|
66
|
+
"vue-tsc": "^3.1.1"
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
"db:migrate": "bun --bun run drizzle-kit migrate --config src/database/drizzle/config.ts"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@orpc/server": "^1.9.
|
|
13
|
-
"better-auth": "^1.3.
|
|
12
|
+
"@orpc/server": "^1.9.4",
|
|
13
|
+
"better-auth": "^1.3.27",
|
|
14
14
|
"drizzle-orm": "^0.44.6",
|
|
15
|
-
"pino": "^
|
|
15
|
+
"pino": "^10.0.0",
|
|
16
16
|
"valibot": "^1.1.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@libsql/client": "^0.15.15",
|
|
20
|
-
"@types/bun": "^1.
|
|
20
|
+
"@types/bun": "^1.3.0",
|
|
21
21
|
"drizzle-kit": "^0.31.5",
|
|
22
|
-
"pino-pretty": "^13.1.
|
|
22
|
+
"pino-pretty": "^13.1.2"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -9,26 +9,27 @@
|
|
|
9
9
|
"preview": "vite preview --open"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@kevinmarrec/vue-i18n": "^1.1.
|
|
13
|
-
"@orpc/client": "^1.
|
|
14
|
-
"@orpc/tanstack-query": "1.9.
|
|
15
|
-
"@tanstack/
|
|
16
|
-
"@
|
|
17
|
-
"
|
|
12
|
+
"@kevinmarrec/vue-i18n": "^1.1.2",
|
|
13
|
+
"@orpc/client": "^1.9.4",
|
|
14
|
+
"@orpc/tanstack-query": "1.9.4",
|
|
15
|
+
"@tanstack/query-core": "^5.90.3",
|
|
16
|
+
"@tanstack/vue-query": "^5.90.3",
|
|
17
|
+
"@unhead/vue": "^2.0.19",
|
|
18
|
+
"unocss": "^66.5.4",
|
|
18
19
|
"vue": "^3.5.22"
|
|
19
20
|
},
|
|
20
21
|
"devDependencies": {
|
|
21
|
-
"@kevinmarrec/unocss-config": "^1.3.
|
|
22
|
-
"@kevinmarrec/vite-plugin-dark-mode": "^1.1.
|
|
22
|
+
"@kevinmarrec/unocss-config": "^1.3.3",
|
|
23
|
+
"@kevinmarrec/vite-plugin-dark-mode": "^1.1.2",
|
|
23
24
|
"@modyfi/vite-plugin-yaml": "^1.1.1",
|
|
24
|
-
"@unhead/addons": "^2.0.
|
|
25
|
-
"@unocss/vite": "^66.5.
|
|
25
|
+
"@unhead/addons": "^2.0.19",
|
|
26
|
+
"@unocss/vite": "^66.5.4",
|
|
26
27
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
27
28
|
"beasties": "^0.3.5",
|
|
28
29
|
"rollup-plugin-visualizer": "^6.0.4",
|
|
29
|
-
"vite": "^7.1.
|
|
30
|
+
"vite": "^7.1.10",
|
|
30
31
|
"vite-plugin-vue-devtools": "^8.0.2",
|
|
31
|
-
"vite-ssg": "^28.1
|
|
32
|
+
"vite-ssg": "^28.2.1",
|
|
32
33
|
"vite-tsconfig-paths": "^5.1.4"
|
|
33
34
|
}
|
|
34
35
|
}
|
|
@@ -5,6 +5,11 @@ import { ref } from 'vue'
|
|
|
5
5
|
const { t } = useI18n()
|
|
6
6
|
useHead({
|
|
7
7
|
title: () => t('title'),
|
|
8
|
+
link: [{
|
|
9
|
+
rel: 'preconnect',
|
|
10
|
+
href: new URL(import.meta.env.VITE_API_URL).origin,
|
|
11
|
+
crossorigin: '',
|
|
12
|
+
}],
|
|
8
13
|
})
|
|
9
14
|
|
|
10
15
|
const { user, signUp, signIn, signOut } = useAuth()
|
package/template/package.json
CHANGED
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"check:unused": "knip -n",
|
|
19
19
|
"dev": "bun scripts/dev.ts",
|
|
20
20
|
"lint": "bun run check:eslint && bun run check:stylelint",
|
|
21
|
-
"lint:inspect": "bunx @eslint/config-inspector"
|
|
21
|
+
"lint:inspect": "bunx @eslint/config-inspector",
|
|
22
|
+
"update": "bunx taze -I -rwi"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
|
-
"@kevinmarrec/eslint-config": "^1.5.
|
|
25
|
-
"@kevinmarrec/stylelint-config": "^1.2.
|
|
25
|
+
"@kevinmarrec/eslint-config": "^1.5.3",
|
|
26
|
+
"@kevinmarrec/stylelint-config": "^1.2.2",
|
|
26
27
|
"@kevinmarrec/tsconfig": "^1.1.0",
|
|
27
28
|
"concurrently": "^9.2.1",
|
|
28
|
-
"eslint": "^9.
|
|
29
|
-
"knip": "^5.
|
|
30
|
-
"stylelint": "^16.
|
|
31
|
-
"taze": "^19.7.0",
|
|
29
|
+
"eslint": "^9.37.0",
|
|
30
|
+
"knip": "^5.65.0",
|
|
31
|
+
"stylelint": "^16.25.0",
|
|
32
32
|
"typescript": "~5.9.3",
|
|
33
|
-
"vue-tsc": "^3.1.
|
|
33
|
+
"vue-tsc": "^3.1.1"
|
|
34
34
|
}
|
|
35
35
|
}
|