vela 0.10.11 → 0.10.12

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/bin.js CHANGED
@@ -7,7 +7,7 @@ import { fileURLToPath as fileURLToPath2 } from "node:url";
7
7
  // package.json
8
8
  var package_default = {
9
9
  name: "vela",
10
- version: "0.10.11",
10
+ version: "0.10.12",
11
11
  type: "module",
12
12
  description: "A CLI for creating and updating SvelteKit projects",
13
13
  license: "MIT",
@@ -41,7 +41,7 @@ var package_default = {
41
41
  dependencies: {
42
42
  "@clack/prompts": "^1.7.0",
43
43
  "@faker-js/faker": "^10.6.0",
44
- "@velastack/patterns": "^0.1.7",
44
+ "@velastack/patterns": "^0.1.9",
45
45
  "@velastack/pocketbase-codegen": "^0.1.0",
46
46
  "annotate-json-schema": "^0.1.0",
47
47
  commander: "^13.1.0",
@@ -814,6 +814,7 @@ async function createSuperuser(cwd, email3, password11) {
814
814
  async function launchPocketbase(cwd, {
815
815
  dir,
816
816
  migrationsDir,
817
+ hooksDir,
817
818
  email: email3,
818
819
  password: password11
819
820
  }) {
@@ -843,6 +844,7 @@ async function launchPocketbase(cwd, {
843
844
  const { proc, url } = await startPocketbaseServe({
844
845
  dataDir: dir,
845
846
  migrationsDir,
847
+ hooksDir,
846
848
  host,
847
849
  stdio: "pipe"
848
850
  });
@@ -8914,6 +8916,10 @@ var testServer = new Command92("test:server").description("run server tests").al
8914
8916
  const { stop, url } = await launchPocketbase(cwd, {
8915
8917
  dir: testDataDir,
8916
8918
  migrationsDir: path46.join(cwd, "migrations"),
8919
+ // The app's PocketBase hooks (slug generation, personal teams, …) are part
8920
+ // of its behaviour; the suite runs against the same server dev and build
8921
+ // start, so it loads them from the same place.
8922
+ hooksDir: path46.join(cwd, DATA_DIR, "hooks"),
8917
8923
  email: email3,
8918
8924
  password: password11
8919
8925
  });