@popcraft/cli 0.9.1 → 0.9.2
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 +5 -6
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1173,7 +1173,7 @@ function operations(spec = openapi) {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
async function call(target2, method, path, opts = {}) {
|
|
1175
1175
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1176
|
-
const headers = { "user-agent": `popcraft-cli/${"0.9.
|
|
1176
|
+
const headers = { "user-agent": `popcraft-cli/${"0.9.2"}`, ...opts.headers };
|
|
1177
1177
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1178
1178
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1179
1179
|
try {
|
|
@@ -300898,7 +300898,6 @@ function importSVGFile(file2, document2, parentId) {
|
|
|
300898
300898
|
var ENTITIES, decode3, I, mul2, apply2, scaleOf, NUM2, nums, near, NAMED, INHERITED, PRESENTATION, len2, CAP, JOIN, SKIPPED, refId;
|
|
300899
300899
|
var init_svg_import = __esm({
|
|
300900
300900
|
"lib/io/svg-import.ts"() {
|
|
300901
|
-
"use strict";
|
|
300902
300901
|
init_dist_node();
|
|
300903
300902
|
init_types();
|
|
300904
300903
|
ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', apos: "'", nbsp: "\xA0" };
|
|
@@ -301727,6 +301726,7 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
|
|
|
301727
301726
|
var online, goesLocal;
|
|
301728
301727
|
var init_new_file = __esm({
|
|
301729
301728
|
"lib/client/cloud/new-file.ts"() {
|
|
301729
|
+
"use strict";
|
|
301730
301730
|
init_scene_graph();
|
|
301731
301731
|
init_print_pages();
|
|
301732
301732
|
init_page_presets();
|
|
@@ -303601,6 +303601,7 @@ function areaBounds(rings) {
|
|
|
303601
303601
|
}
|
|
303602
303602
|
var init_text_area = __esm({
|
|
303603
303603
|
"lib/engine/text/text-area.ts"() {
|
|
303604
|
+
"use strict";
|
|
303604
303605
|
}
|
|
303605
303606
|
});
|
|
303606
303607
|
|
|
@@ -317231,7 +317232,7 @@ var init_package = __esm({
|
|
|
317231
317232
|
"packages/runtime/package.json"() {
|
|
317232
317233
|
package_default = {
|
|
317233
317234
|
name: "@popcraft/runtime",
|
|
317234
|
-
version: "0.9.
|
|
317235
|
+
version: "0.9.2",
|
|
317235
317236
|
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.",
|
|
317236
317237
|
license: "MIT",
|
|
317237
317238
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -348916,7 +348917,6 @@ function publishSite(key5, files, opts = {}) {
|
|
|
348916
348917
|
var siteStatus, setSiteVersion, renameSite;
|
|
348917
348918
|
var init_sites = __esm({
|
|
348918
348919
|
"lib/client/cloud/sites.ts"() {
|
|
348919
|
-
"use strict";
|
|
348920
348920
|
init_files();
|
|
348921
348921
|
init_upload2();
|
|
348922
348922
|
init_api4();
|
|
@@ -349430,7 +349430,6 @@ function designRecorder() {
|
|
|
349430
349430
|
var installed;
|
|
349431
349431
|
var init_recorders = __esm({
|
|
349432
349432
|
"lib/agent/design-script/recorders.ts"() {
|
|
349433
|
-
"use strict";
|
|
349434
349433
|
installed = null;
|
|
349435
349434
|
}
|
|
349436
349435
|
});
|
|
@@ -397797,7 +397796,7 @@ init_resources();
|
|
|
397797
397796
|
init_desktop();
|
|
397798
397797
|
init_hypery();
|
|
397799
397798
|
import { createInterface } from "node:readline";
|
|
397800
|
-
var VERSION2 = "0.9.
|
|
397799
|
+
var VERSION2 = "0.9.2";
|
|
397801
397800
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
397802
397801
|
|
|
397803
397802
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
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.9.
|
|
37
|
+
"@popcraft/kit": "0.9.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|