@unbound-app/cli 1.1.2 → 2.0.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.
package/dist/rollup/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { B as reportProblem, C as readLocaleFolder, D as reportLine, E as writeLocaleTypings, F as formatDiagnostic, G as hermesBytecode, K as hermescCount, L as pluginDiagnostic, M as findFile, N as sourceAlias, P as diagnostic, Q as ASSETS_DIRECTORY, R as reportDiagnostic, S as locales, T as sourceLocalePath, U as bytecodeFileName, W as bytecodeSource, a as SETTINGS_MODULE, at as __commonJSMin, b as LOCALE_TYPINGS, c as settingsPath, ct as __require$1, f as outputOnly, g as shim_libraries_default, h as buildReport, i as SETTINGS_FILE, l as lineStarts, lt as __toCommonJS$1, m as DEFAULT_BUDGET, n as settingsTypings, nt as getAssetPath, ot as __esmMin, p as BUILD_REPORT_ENV, r as writeSettingsTypings, rt as isAssetName, s as readPluginSettings, st as __exportAll, u as toLocation, ut as __toESM$1, v as parseByteSize, w as readTable, x as localeModule, y as LOCALE_MODULE, z as reportDiagnostics } from "../settings-typings-
|
|
2
|
-
import { transformAsync } from "@babel/core";
|
|
1
|
+
import { B as reportProblem, C as readLocaleFolder, D as reportLine, E as writeLocaleTypings, F as formatDiagnostic, G as hermesBytecode, K as hermescCount, L as pluginDiagnostic, M as findFile, N as sourceAlias, P as diagnostic, Q as ASSETS_DIRECTORY, R as reportDiagnostic, S as locales, T as sourceLocalePath, U as bytecodeFileName, W as bytecodeSource, a as SETTINGS_MODULE, at as __commonJSMin, b as LOCALE_TYPINGS, c as settingsPath, ct as __require$1, f as outputOnly, g as shim_libraries_default, h as buildReport, i as SETTINGS_FILE, l as lineStarts, lt as __toCommonJS$1, m as DEFAULT_BUDGET, n as settingsTypings, nt as getAssetPath, ot as __esmMin, p as BUILD_REPORT_ENV, r as writeSettingsTypings, rt as isAssetName, s as readPluginSettings, st as __exportAll, u as toLocation, ut as __toESM$1, v as parseByteSize, w as readTable, x as localeModule, y as LOCALE_MODULE, z as reportDiagnostics } from "../settings-typings-D39KwaWs.mjs";
|
|
3
2
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
4
3
|
import os from "node:os";
|
|
5
4
|
import { basename, dirname, extname, join, relative, resolve, sep } from "node:path";
|
|
6
5
|
import { createHash } from "node:crypto";
|
|
7
|
-
import { Visitor, parseSync, transformSync
|
|
6
|
+
import { Visitor, parseSync, transformSync } from "rolldown/utils";
|
|
7
|
+
import { transformAsync } from "@babel/core";
|
|
8
8
|
import MagicString from "magic-string";
|
|
9
9
|
import { fileURLToPath } from "node:url";
|
|
10
10
|
import { rollup } from "rollup";
|
|
@@ -400,7 +400,7 @@ function settingsModule(pluginRoot, state = {}) {
|
|
|
400
400
|
message: `The plugin imports '${SETTINGS_MODULE}' but has no ${SETTINGS_FILE}`,
|
|
401
401
|
fix: `add ${SETTINGS_FILE} beside src/`
|
|
402
402
|
});
|
|
403
|
-
return transformSync
|
|
403
|
+
return transformSync("unbound-settings.ts", settingsModuleSource(state.settings)).code;
|
|
404
404
|
},
|
|
405
405
|
async transform(code, id) {
|
|
406
406
|
if (!id.startsWith(resolve(pluginRoot, "src") + sep) || !isGuardedSource(id)) return null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
import { Type } from "typebox";
|
|
3
|
-
import { Value } from "typebox/value";
|
|
4
|
-
import { execFile } from "node:child_process";
|
|
5
2
|
import { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
|
|
6
3
|
import { tmpdir } from "node:os";
|
|
7
4
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
5
|
+
import { Type } from "typebox";
|
|
6
|
+
import { Value } from "typebox/value";
|
|
7
|
+
import { execFile } from "node:child_process";
|
|
8
8
|
import { fetchManifest, resolveHermesTargets } from "@unbound-app/rollup-plugin-hermes/manifest";
|
|
9
9
|
import { mkdir, mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
|
|
10
10
|
import { promisify } from "node:util";
|
|
@@ -913,7 +913,7 @@ function readTranslation(path, code, source, warnings) {
|
|
|
913
913
|
file: `${LOCALES_DIRECTORY}/${code}.json`,
|
|
914
914
|
path: key,
|
|
915
915
|
message: `is not in ${SOURCE_LOCALE}.json, so it is left out`,
|
|
916
|
-
fix: `add it to ${SOURCE_LOCALE}.json, or remove it (ubd i18n --prune)`
|
|
916
|
+
fix: `add it to ${SOURCE_LOCALE}.json, or remove it (ubd i18n fix --prune)`
|
|
917
917
|
});
|
|
918
918
|
continue;
|
|
919
919
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unbound-app/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "The `ubd` command line for the Unbound client: evaluate on-device code and serve the debugger as an MCP.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Mario P.",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"@rollup/plugin-commonjs": "^29.0.3",
|
|
62
62
|
"@rollup/plugin-json": "^6.1.0",
|
|
63
63
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
64
|
-
"@unbound-app/debugger": "0.10.
|
|
65
|
-
"@unbound-app/debugger-protocol": "0.
|
|
64
|
+
"@unbound-app/debugger": "0.10.3",
|
|
65
|
+
"@unbound-app/debugger-protocol": "1.0.0",
|
|
66
66
|
"@unbound-app/rollup-plugin-hermes": "2.0.0",
|
|
67
67
|
"better-auth": "1.7.16",
|
|
68
68
|
"cleye": "^2.7.0",
|
|
@@ -25,4 +25,4 @@ Builds every addon once into its `dist/` directory.
|
|
|
25
25
|
|
|
26
26
|
- Plugins: https://docs.unbound.rip/plugins/introduction
|
|
27
27
|
- Themes: https://docs.unbound.rip/themes/introduction
|
|
28
|
-
- Manifest reference: https://
|
|
28
|
+
- Manifest reference: https://unbound.rip/docs/developer/publishing/manifest
|