@riebeckite/honox 0.0.43 → 0.0.44
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 +11 -4
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -166,7 +166,7 @@ async function loadRiebeckiteConfig(options) {
|
|
|
166
166
|
bundle: true,
|
|
167
167
|
platform: "node",
|
|
168
168
|
format: "esm",
|
|
169
|
-
external: options.workspaceRoot ? [] : ["@riebeckite/core", ...siteRiebeckiteExternals(options.configRoot)],
|
|
169
|
+
external: options.workspaceRoot ? ["@riebeckite/og-image"] : ["@riebeckite/core", ...siteRiebeckiteExternals(options.configRoot)],
|
|
170
170
|
banner: {
|
|
171
171
|
js: 'import { createRequire as __riebeckiteCreateRequire } from "node:module"; const require = __riebeckiteCreateRequire(import.meta.url);'
|
|
172
172
|
},
|
|
@@ -1934,7 +1934,11 @@ function createFrameworkResolutionPlugin() {
|
|
|
1934
1934
|
}
|
|
1935
1935
|
};
|
|
1936
1936
|
}
|
|
1937
|
-
var runtimeExternalPackages = /* @__PURE__ */ new Set([
|
|
1937
|
+
var runtimeExternalPackages = /* @__PURE__ */ new Set([
|
|
1938
|
+
"@d2lang/d2",
|
|
1939
|
+
"@marp-team/marp-core",
|
|
1940
|
+
"@riebeckite/og-image"
|
|
1941
|
+
]);
|
|
1938
1942
|
function createRuntimeExternalPlugin() {
|
|
1939
1943
|
return {
|
|
1940
1944
|
name: "riebeckite-ssg-runtime-externals",
|
|
@@ -3128,8 +3132,11 @@ async function resolveHonoxApplication(options) {
|
|
|
3128
3132
|
}
|
|
3129
3133
|
async function findWorkspaceRoot2(configRoot) {
|
|
3130
3134
|
try {
|
|
3131
|
-
const workspaceConfig =
|
|
3132
|
-
|
|
3135
|
+
const workspaceConfig = await fs7.readFile(
|
|
3136
|
+
path10.join(configRoot, "pnpm-workspace.yaml"),
|
|
3137
|
+
"utf8"
|
|
3138
|
+
);
|
|
3139
|
+
return /^packages\s*:/m.test(workspaceConfig) ? configRoot : void 0;
|
|
3133
3140
|
} catch {
|
|
3134
3141
|
return void 0;
|
|
3135
3142
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/honox",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"hono": "^4.12.25",
|
|
45
45
|
"honox": "0.1.62",
|
|
46
46
|
"vite": "^8.3.5",
|
|
47
|
-
"@riebeckite/
|
|
48
|
-
"@riebeckite/
|
|
49
|
-
"@riebeckite/
|
|
50
|
-
"@riebeckite/
|
|
51
|
-
"@riebeckite/
|
|
52
|
-
"@riebeckite/
|
|
47
|
+
"@riebeckite/spa": "0.0.44",
|
|
48
|
+
"@riebeckite/core": "0.0.44",
|
|
49
|
+
"@riebeckite/ui": "0.0.44",
|
|
50
|
+
"@riebeckite/plugin-color-mode": "0.0.44",
|
|
51
|
+
"@riebeckite/dev-inspector": "0.0.44",
|
|
52
|
+
"@riebeckite/node": "0.0.44"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@d2lang/d2": "^0.1.34",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"@hono/vite-build": "^1.11.1",
|
|
58
58
|
"@marp-team/marp-core": "^4.4.0",
|
|
59
59
|
"tsx": "^4.22.4",
|
|
60
|
-
"@riebeckite/test": "0.0.
|
|
61
|
-
"@riebeckite/plugin-bases": "0.0.
|
|
60
|
+
"@riebeckite/test": "0.0.44",
|
|
61
|
+
"@riebeckite/plugin-bases": "0.0.44"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|