@kevinmarrec/create-app 0.6.2 → 0.6.3

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 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.2";
11
+ var version = "0.6.3";
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
- const shouldOverwrite = await confirm({
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.2",
4
+ "version": "0.6.3",
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
  },
@@ -53,16 +54,15 @@
53
54
  "@kevinmarrec/eslint-config": "^1.5.1",
54
55
  "@kevinmarrec/stylelint-config": "^1.2.1",
55
56
  "@kevinmarrec/tsconfig": "^1.1.0",
56
- "@types/bun": "^1.2.23",
57
+ "@types/bun": "^1.3.0",
57
58
  "@vitest/coverage-v8": "^3.2.4",
58
- "bumpp": "^10.2.3",
59
- "eslint": "^9.36.0",
60
- "knip": "^5.64.1",
61
- "stylelint": "^16.24.0",
62
- "taze": "^19.7.0",
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.0"
66
+ "vue-tsc": "^3.1.1"
67
67
  }
68
68
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": ["github>kevinmarrec/renovate-config"]
4
+ }
@@ -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.2",
13
- "better-auth": "^1.3.25",
12
+ "@orpc/server": "^1.9.3",
13
+ "better-auth": "^1.3.27",
14
14
  "drizzle-orm": "^0.44.6",
15
- "pino": "^9.13.0",
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.2.23",
20
+ "@types/bun": "^1.3.0",
21
21
  "drizzle-kit": "^0.31.5",
22
- "pino-pretty": "^13.1.1"
22
+ "pino-pretty": "^13.1.2"
23
23
  }
24
24
  }
@@ -10,25 +10,26 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@kevinmarrec/vue-i18n": "^1.1.1",
13
- "@orpc/client": "^1.8.9",
14
- "@orpc/tanstack-query": "1.9.2",
15
- "@tanstack/vue-query": "^5.90.2",
16
- "@unhead/vue": "^2.0.17",
17
- "unocss": "^66.5.2",
13
+ "@orpc/client": "^1.9.3",
14
+ "@orpc/tanstack-query": "1.9.3",
15
+ "@tanstack/query-core": "^5.90.3",
16
+ "@tanstack/vue-query": "^5.90.3",
17
+ "@unhead/vue": "^2.0.19",
18
+ "unocss": "^66.5.3",
18
19
  "vue": "^3.5.22"
19
20
  },
20
21
  "devDependencies": {
21
22
  "@kevinmarrec/unocss-config": "^1.3.2",
22
23
  "@kevinmarrec/vite-plugin-dark-mode": "^1.1.1",
23
24
  "@modyfi/vite-plugin-yaml": "^1.1.1",
24
- "@unhead/addons": "^2.0.17",
25
- "@unocss/vite": "^66.5.2",
25
+ "@unhead/addons": "^2.0.19",
26
+ "@unocss/vite": "^66.5.3",
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.8",
30
+ "vite": "^7.1.9",
30
31
  "vite-plugin-vue-devtools": "^8.0.2",
31
- "vite-ssg": "^28.1.0",
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()
@@ -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
25
  "@kevinmarrec/eslint-config": "^1.5.1",
25
26
  "@kevinmarrec/stylelint-config": "^1.2.1",
26
27
  "@kevinmarrec/tsconfig": "^1.1.0",
27
28
  "concurrently": "^9.2.1",
28
- "eslint": "^9.36.0",
29
- "knip": "^5.64.1",
30
- "stylelint": "^16.24.0",
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.0"
33
+ "vue-tsc": "^3.1.1"
34
34
  }
35
35
  }
@@ -1,8 +0,0 @@
1
- import { defineConfig } from 'taze'
2
-
3
- export default defineConfig({
4
- install: true,
5
- interactive: true,
6
- recursive: true,
7
- write: true,
8
- })