@protobase/cli 0.15.5 → 0.16.0
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.
|
@@ -4,12 +4,13 @@ import path from "node:path";
|
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
//#region src/build/packages/host-packages.ts
|
|
6
6
|
const cliRoot = fileURLToPath(new URL("../../..", import.meta.url));
|
|
7
|
+
const loadedOnDemand = /* @__PURE__ */ new Set(["react-email"]);
|
|
7
8
|
const collectHostPackages = () => {
|
|
8
9
|
const declaredIn = /* @__PURE__ */ new Map([["@protobase/cli", cliRoot]]);
|
|
9
10
|
const visit = (dir) => {
|
|
10
11
|
const manifest = JSON.parse(readFileSync(path.join(dir, "package.json"), "utf8"));
|
|
11
12
|
for (const name of Object.keys(manifest.dependencies ?? {})) {
|
|
12
|
-
if (declaredIn.has(name)) continue;
|
|
13
|
+
if (declaredIn.has(name) || loadedOnDemand.has(name)) continue;
|
|
13
14
|
declaredIn.set(name, dir);
|
|
14
15
|
if (!name.startsWith("@protobase/")) continue;
|
|
15
16
|
const found = findPackageDirSync(name, dir);
|
package/dist/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@hono/node-server": "^2.1.3",
|
|
36
36
|
"@hono/vite-dev-server": "^0.26.1",
|
|
37
|
-
"@protobase/layout": "0.
|
|
38
|
-
"@protobase/query": "0.
|
|
39
|
-
"@protobase/schema": "0.
|
|
40
|
-
"@protobase/server": "0.
|
|
41
|
-
"@protobase/ui": "0.
|
|
37
|
+
"@protobase/layout": "0.16.0",
|
|
38
|
+
"@protobase/query": "0.16.0",
|
|
39
|
+
"@protobase/schema": "0.16.0",
|
|
40
|
+
"@protobase/server": "0.16.0",
|
|
41
|
+
"@protobase/ui": "0.16.0",
|
|
42
42
|
"@react-email/render": "^2.1.0",
|
|
43
43
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
44
44
|
"@tailwindcss/vite": "^4.3.3",
|