@kevinmarrec/create-app 0.6.1 → 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.1";
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.1",
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,30 +39,30 @@
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
  },
45
46
  "dependencies": {
46
47
  "@clack/prompts": "^0.11.0",
47
- "ansis": "^4.1.0",
48
+ "ansis": "^4.2.0",
48
49
  "pathe": "^2.0.3",
49
50
  "tinyexec": "^1.0.1"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@faker-js/faker": "^10.0.0",
53
- "@kevinmarrec/eslint-config": "^1.5.0",
54
- "@kevinmarrec/stylelint-config": "^1.2.0",
54
+ "@kevinmarrec/eslint-config": "^1.5.1",
55
+ "@kevinmarrec/stylelint-config": "^1.2.1",
55
56
  "@kevinmarrec/tsconfig": "^1.1.0",
56
- "@types/bun": "^1.2.22",
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.63.1",
61
- "stylelint": "^16.24.0",
62
- "taze": "^19.7.0",
63
- "tsdown": "^0.15.4",
64
- "typescript": "^5.9.2",
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
+ "typescript": "^5.9.3",
65
65
  "vitest": "^3.2.4",
66
- "vue-tsc": "^3.0.7"
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
+ }
@@ -13,21 +13,8 @@ jobs:
13
13
  name: Check
14
14
  runs-on: ubuntu-latest
15
15
  steps:
16
- - name: Checkout
17
- uses: actions/checkout@v4
18
-
19
- - name: Set up Bun
20
- uses: oven-sh/setup-bun@v2
21
- with:
22
- bun-version-file: package.json
23
-
24
- - name: Set up Node.js
25
- uses: actions/setup-node@v4
26
- with:
27
- node-version-file: package.json
28
-
29
- - name: Install dependencies
30
- run: bun install --frozen-lockfile
16
+ - name: Setup Bun
17
+ uses: kevinmarrec/workflows/setup-bun@v1
31
18
 
32
19
  - name: Check unused files, dependencies, and exports
33
20
  run: bun run check:unused
@@ -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.8.9",
13
- "better-auth": "^1.3.13",
14
- "drizzle-orm": "^0.44.5",
15
- "pino": "^9.11.0",
12
+ "@orpc/server": "^1.9.3",
13
+ "better-auth": "^1.3.27",
14
+ "drizzle-orm": "^0.44.6",
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.22",
21
- "drizzle-kit": "^0.31.4",
22
- "pino-pretty": "^13.1.1"
20
+ "@types/bun": "^1.3.0",
21
+ "drizzle-kit": "^0.31.5",
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.0",
13
- "@orpc/client": "^1.8.9",
14
- "@orpc/tanstack-query": "1.6.4",
15
- "@tanstack/vue-query": "^5.89.0",
16
- "@unhead/vue": "^2.0.17",
17
- "unocss": "^66.5.1",
18
- "vue": "^3.5.21"
12
+ "@kevinmarrec/vue-i18n": "^1.1.1",
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",
19
+ "vue": "^3.5.22"
19
20
  },
20
21
  "devDependencies": {
21
- "@kevinmarrec/unocss-config": "^1.3.0",
22
- "@kevinmarrec/vite-plugin-dark-mode": "^1.1.0",
22
+ "@kevinmarrec/unocss-config": "^1.3.2",
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.1",
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
- "rollup-plugin-visualizer": "^6.0.3",
29
- "vite": "^7.1.6",
29
+ "rollup-plugin-visualizer": "^6.0.4",
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
- "@kevinmarrec/eslint-config": "^1.5.0",
25
- "@kevinmarrec/stylelint-config": "^1.2.0",
25
+ "@kevinmarrec/eslint-config": "^1.5.1",
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.63.1",
30
- "stylelint": "^16.24.0",
31
- "taze": "^19.7.0",
32
- "typescript": "~5.9.2",
33
- "vue-tsc": "^3.0.7"
29
+ "eslint": "^9.37.0",
30
+ "knip": "^5.65.0",
31
+ "stylelint": "^16.25.0",
32
+ "typescript": "~5.9.3",
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
- })