@treeseed/core 0.10.4 → 0.10.6

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/dev.js CHANGED
@@ -461,7 +461,7 @@ function createSetupSteps(tenantRoot, setupMode, sdkPackageRoot, planLike, env,
461
461
  detail: mailpitEnabled ? mailpit ? "Mailpit SMTP will listen on 127.0.0.1:1025 and the web UI on http://127.0.0.1:8025." : "Unable to resolve the Mailpit startup script." : "Docker Compose is unavailable, so Mailpit is disabled for this local dev run."
462
462
  }
463
463
  ];
464
- if (needsCloudflareLocalRuntime && existsSync(resolve(tenantRoot, "migrations"))) {
464
+ if (needsCloudflareLocalRuntime) {
465
465
  const migrate = resolveOptionalScriptEntrypoint(
466
466
  sdkPackageRoot,
467
467
  "scripts/tenant-d1-migrate-local.ts",
@@ -5,7 +5,8 @@ const packageCandidate = resolve(fileURLToPath(new URL('..', import.meta.url)));
5
5
  export const packageRoot = packageCandidate.endsWith('/dist')
6
6
  ? resolve(packageCandidate, '..')
7
7
  : packageCandidate;
8
+ export const workspaceRoot = resolve(packageRoot, '..', '..');
8
9
  export const fixtureRoot = requireSharedFixtureRoot();
9
10
  export const fixtureWranglerConfig = resolve(fixtureRoot, 'wrangler.toml');
10
- export const fixtureMigrationsRoot = resolve(fixtureRoot, 'migrations');
11
+ export const sdkD1MigrationsRoot = resolve(workspaceRoot, 'packages', 'sdk', 'drizzle', 'd1');
11
12
  export const fixtureSrcRoot = resolve(fixtureRoot, 'src');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/core",
3
- "version": "0.10.4",
3
+ "version": "0.10.6",
4
4
  "description": "Treeseed web framework package for Astro/Starlight site runtimes.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -70,7 +70,7 @@
70
70
  "@astrojs/sitemap": "3.7.0",
71
71
  "@astrojs/starlight": "0.37.6",
72
72
  "@tailwindcss/vite": "^4.1.4",
73
- "@treeseed/sdk": "github:treeseed-ai/sdk#0.10.10",
73
+ "@treeseed/sdk": "github:treeseed-ai/sdk#0.10.12",
74
74
  "astro": "^5.6.1",
75
75
  "esbuild": "^0.28.0",
76
76
  "katex": "^0.16.22",