@kevinmarrec/create-app 0.18.0 → 0.18.1

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.mjs CHANGED
@@ -7,10 +7,8 @@ import { basename, join, resolve } from "pathe";
7
7
  import { x } from "tinyexec";
8
8
  import fs from "node:fs/promises";
9
9
  import os from "node:os";
10
-
11
10
  //#region package.json
12
- var version = "0.18.0";
13
-
11
+ var version = "0.18.1";
14
12
  //#endregion
15
13
  //#region src/utils/fs.ts
16
14
  const IGNORED_FILES = new Set([".git"]);
@@ -31,9 +29,9 @@ var fs_default = {
31
29
  emptyCheck,
32
30
  exists
33
31
  };
34
-
35
32
  //#endregion
36
33
  //#region src/utils/template.ts
34
+ const GITHUB_SHORTHAND_RE = /^[^/\s]+\/[^/\s]+$/;
37
35
  function resolveTemplate(template) {
38
36
  const [repo, ...rest] = template.split("#");
39
37
  const subdir = rest.join("#") || void 0;
@@ -45,7 +43,7 @@ function resolveTemplate(template) {
45
43
  function resolveTemplateUrl(repo) {
46
44
  if (repo.startsWith("https://")) return repo;
47
45
  if (repo.startsWith("git@")) return repo;
48
- if (/^[^/\s]+\/[^/\s]+$/.test(repo)) return `https://github.com/${repo}.git`;
46
+ if (GITHUB_SHORTHAND_RE.test(repo)) return `https://github.com/${repo}.git`;
49
47
  throw new Error(`Invalid template format: "${repo}"`);
50
48
  }
51
49
  async function cloneTemplate(url) {
@@ -67,7 +65,6 @@ async function cloneTemplate(url) {
67
65
  }
68
66
  return tempDir;
69
67
  }
70
-
71
68
  //#endregion
72
69
  //#region src/scaffold.ts
73
70
  async function scaffold(root, template) {
@@ -89,7 +86,6 @@ async function scaffold(root, template) {
89
86
  }
90
87
  } else await fs_default.cp(join(import.meta.dirname, "../template"), root, { recursive: true });
91
88
  }
92
-
93
89
  //#endregion
94
90
  //#region src/run.ts
95
91
  function maybeCancel(value, options) {
@@ -181,13 +177,11 @@ async function run() {
181
177
  await note([targetDir !== cwd && `cd ${c.reset.blue(projectName)}`, `bun run dev`].filter(Boolean).join("\n"), "Next steps");
182
178
  await outro(`Problems? ${c.cyan("https://github.com/kevinmarrec/create-app/issues")}`);
183
179
  }
184
-
185
180
  //#endregion
186
181
  //#region src/index.ts
187
182
  run().catch((error) => {
188
183
  console.error(error);
189
184
  process.exitCode = 1;
190
185
  });
191
-
192
186
  //#endregion
193
- export { };
187
+ export {};
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@kevinmarrec/create-app",
3
3
  "type": "module",
4
- "version": "0.18.0",
5
- "packageManager": "bun@1.3.9",
4
+ "version": "0.18.1",
5
+ "packageManager": "bun@1.3.10",
6
6
  "description": "CLI that scaffolds an opinionated Bun & Vue fullstack application.",
7
7
  "author": "Kevin Marrec <kevin@marrec.io>",
8
8
  "license": "MIT",
@@ -51,16 +51,16 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@faker-js/faker": "^10.3.0",
54
- "@kevinmarrec/eslint-config": "^1.12.1",
55
- "@kevinmarrec/stylelint-config": "^1.12.1",
56
- "@kevinmarrec/tsconfig": "^1.12.1",
54
+ "@kevinmarrec/eslint-config": "^1.13.0",
55
+ "@kevinmarrec/stylelint-config": "^1.13.0",
56
+ "@kevinmarrec/tsconfig": "^1.13.0",
57
57
  "@types/bun": "^1.3.10",
58
58
  "@vitest/coverage-v8": "^4.0.18",
59
59
  "bumpp": "^10.4.1",
60
- "eslint": "^9.39.3",
61
- "knip": "^5.85.0",
60
+ "eslint": "^9.39.4",
61
+ "knip": "^5.86.0",
62
62
  "stylelint": "^17.4.0",
63
- "tsdown": "^0.20.3",
63
+ "tsdown": "^0.21.0",
64
64
  "typescript": "^5.9.3",
65
65
  "vitest": "^4.0.18",
66
66
  "vue-tsc": "^3.2.5"
@@ -1,6 +1,6 @@
1
1
  services:
2
2
  traefik:
3
- image: traefik:v3.6.9
3
+ image: traefik:v3.6.10
4
4
  container_name: traefik
5
5
  restart: unless-stopped
6
6
  security_opt:
@@ -9,19 +9,19 @@
9
9
  "db:migrate": "bun --bun run drizzle-kit migrate --config src/database/drizzle/config.ts"
10
10
  },
11
11
  "dependencies": {
12
- "@better-auth/drizzle-adapter": "^1.5.2",
12
+ "@better-auth/drizzle-adapter": "^1.5.4",
13
13
  "@libsql/client": "^0.17.0",
14
14
  "@orpc/server": "^1.13.6",
15
- "better-auth": "^1.5.2",
15
+ "better-auth": "^1.5.4",
16
16
  "drizzle-orm": "^0.45.1",
17
17
  "pino": "^10.3.1",
18
18
  "valibot": "^1.2.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@kevinmarrec/tsconfig": "^1.12.1",
21
+ "@kevinmarrec/tsconfig": "^1.13.0",
22
22
  "@types/bun": "^1.3.10",
23
23
  "drizzle-kit": "^0.31.9",
24
- "pg": "^8.19.0",
24
+ "pg": "^8.20.0",
25
25
  "pino-pretty": "^13.1.3",
26
26
  "typescript": "~5.9.3"
27
27
  }
@@ -9,20 +9,20 @@
9
9
  "preview": "vite preview --open"
10
10
  },
11
11
  "dependencies": {
12
- "@kevinmarrec/vue-i18n": "^1.2.2",
12
+ "@kevinmarrec/vue-i18n": "^1.2.3",
13
13
  "@orpc/client": "^1.13.6",
14
14
  "@orpc/vue-colada": "^1.13.6",
15
- "@pinia/colada": "^0.21.7",
15
+ "@pinia/colada": "^1.0.0",
16
16
  "@unhead/vue": "^2.1.10",
17
17
  "@vueuse/core": "^14.2.1",
18
- "better-auth": "^1.5.2",
18
+ "better-auth": "^1.5.4",
19
19
  "pinia": "^3.0.4",
20
- "unocss": "^66.6.4",
20
+ "unocss": "^66.6.6",
21
21
  "vue": "^3.5.29"
22
22
  },
23
23
  "devDependencies": {
24
- "@kevinmarrec/tsconfig": "^1.12.1",
25
- "@kevinmarrec/unocss-config": "^1.12.1",
24
+ "@kevinmarrec/tsconfig": "^1.13.0",
25
+ "@kevinmarrec/unocss-config": "^1.13.0",
26
26
  "@kevinmarrec/vite-plugin-dark-mode": "^1.2.2",
27
27
  "@modyfi/vite-plugin-yaml": "^1.1.1",
28
28
  "@unhead/addons": "^2.1.10",
@@ -2,7 +2,7 @@
2
2
  "name": "project",
3
3
  "type": "module",
4
4
  "private": true,
5
- "packageManager": "bun@1.3.9",
5
+ "packageManager": "bun@1.3.10",
6
6
  "engines": {
7
7
  "node": ">=24.14.0"
8
8
  },
@@ -23,11 +23,11 @@
23
23
  "update": "bunx taze -I -rwi"
24
24
  },
25
25
  "devDependencies": {
26
- "@kevinmarrec/eslint-config": "^1.12.1",
27
- "@kevinmarrec/stylelint-config": "^1.12.1",
28
- "@kevinmarrec/tsconfig": "^1.12.1",
29
- "eslint": "^9.39.3",
30
- "knip": "^5.85.0",
26
+ "@kevinmarrec/eslint-config": "^1.13.0",
27
+ "@kevinmarrec/stylelint-config": "^1.13.0",
28
+ "@kevinmarrec/tsconfig": "^1.13.0",
29
+ "eslint": "^9.39.4",
30
+ "knip": "^5.86.0",
31
31
  "stylelint": "^17.4.0",
32
32
  "typescript": "~5.9.3",
33
33
  "vue-tsc": "^3.2.5"