@markdy/cli 0.7.26 → 0.7.27
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 +3 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// src/index.ts
|
|
4
|
-
import { PRESETS, PRESET_NAMES, parse } from "@markdy/core";
|
|
4
|
+
import { PRESETS, PRESET_NAMES, parse, registerActorPack } from "@markdy/core";
|
|
5
|
+
import { systemsPack } from "@markdy/stdlib-systems";
|
|
5
6
|
import { createRequire } from "module";
|
|
6
7
|
import { basename, dirname, extname, join, resolve, sep } from "path";
|
|
7
8
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
@@ -155,6 +156,7 @@ var DEFAULT_PORT = 4242;
|
|
|
155
156
|
var IMPORT_RE = /^import\s+"([^"]+)"\s+as\s+(\w+)\s*$/;
|
|
156
157
|
var MARKDY_EXT = ".markdy";
|
|
157
158
|
var PACKAGE_ROOT = resolve(dirname(fileURLToPath(import.meta.url)), "..");
|
|
159
|
+
registerActorPack(systemsPack);
|
|
158
160
|
async function runCli(argv, io = defaultIo(), runtime = defaultRuntime()) {
|
|
159
161
|
const parsed = parseArgv(argv);
|
|
160
162
|
if (hasFlag(parsed, "help")) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.27",
|
|
4
4
|
"description": "First-party CLI for MarkdyScript: lint, format, explain, render, and local playground tooling.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,8 +41,9 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@markdy/
|
|
45
|
-
"@markdy/renderer-dom": "0.7.
|
|
44
|
+
"@markdy/stdlib-systems": "0.7.27",
|
|
45
|
+
"@markdy/renderer-dom": "0.7.27",
|
|
46
|
+
"@markdy/core": "0.7.27"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
49
|
"@types/node": "^25.9.5",
|