@popcraft/cli 0.11.0 → 0.11.1
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/popcraft.mjs +3 -7
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1186,7 +1186,7 @@ function operations(spec = openapi) {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
async function call(target2, method, path, opts = {}) {
|
|
1188
1188
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1189
|
-
const headers = { "user-agent": `popcraft-cli/${"0.11.
|
|
1189
|
+
const headers = { "user-agent": `popcraft-cli/${"0.11.1"}`, ...opts.headers };
|
|
1190
1190
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1191
1191
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1192
1192
|
try {
|
|
@@ -305158,7 +305158,6 @@ function applyTextPath(layout2, path, tp, rebase = true) {
|
|
|
305158
305158
|
var defaultCircleRadius, ownsPath, mapPoint;
|
|
305159
305159
|
var init_text_path = __esm({
|
|
305160
305160
|
"lib/engine/text/text-path.ts"() {
|
|
305161
|
-
"use strict";
|
|
305162
305161
|
init_scene_graph();
|
|
305163
305162
|
init_transform();
|
|
305164
305163
|
init_shape_to_path();
|
|
@@ -305276,7 +305275,6 @@ function areaBounds(rings) {
|
|
|
305276
305275
|
}
|
|
305277
305276
|
var init_text_area = __esm({
|
|
305278
305277
|
"lib/engine/text/text-area.ts"() {
|
|
305279
|
-
"use strict";
|
|
305280
305278
|
}
|
|
305281
305279
|
});
|
|
305282
305280
|
|
|
@@ -318977,7 +318975,7 @@ var init_package = __esm({
|
|
|
318977
318975
|
"packages/runtime/package.json"() {
|
|
318978
318976
|
package_default = {
|
|
318979
318977
|
name: "@popcraft/runtime",
|
|
318980
|
-
version: "0.11.
|
|
318978
|
+
version: "0.11.1",
|
|
318981
318979
|
description: "What code exported from PopCraft shares: the meaning of expressions (operators and functions) and, as it grows, the parts of a design's behaviour that are common code rather than generated React.",
|
|
318982
318980
|
license: "MIT",
|
|
318983
318981
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -319603,7 +319601,6 @@ function routesOf(screens) {
|
|
|
319603
319601
|
var slug2;
|
|
319604
319602
|
var init_routes = __esm({
|
|
319605
319603
|
"lib/document/routes.ts"() {
|
|
319606
|
-
"use strict";
|
|
319607
319604
|
slug2 = (s) => s.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");
|
|
319608
319605
|
}
|
|
319609
319606
|
});
|
|
@@ -319798,7 +319795,6 @@ function fieldPart(nodes, id3) {
|
|
|
319798
319795
|
var cleanName2;
|
|
319799
319796
|
var init_controls = __esm({
|
|
319800
319797
|
"lib/document/controls.ts"() {
|
|
319801
|
-
"use strict";
|
|
319802
319798
|
cleanName2 = (raw) => raw.trim().replace(/[^A-Za-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
319803
319799
|
}
|
|
319804
319800
|
});
|
|
@@ -400950,7 +400946,7 @@ init_resources();
|
|
|
400950
400946
|
init_desktop();
|
|
400951
400947
|
init_hypery();
|
|
400952
400948
|
import { createInterface } from "node:readline";
|
|
400953
|
-
var VERSION2 = "0.11.
|
|
400949
|
+
var VERSION2 = "0.11.1";
|
|
400954
400950
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
400955
400951
|
|
|
400956
400952
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "The PopCraft command line: edit .popcraft files headlessly, call the REST API, publish to the marketplace and manage the desktop app's local plugins, themes, fonts, skills and agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://popcraft.app/docs/api/cli",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"esbuild": "0.28.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@popcraft/kit": "0.11.
|
|
37
|
+
"@popcraft/kit": "0.11.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|