@popcraft/cli 0.9.6 → 0.9.8
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 -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.8"}`, ...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 {
|
|
@@ -301757,7 +301757,6 @@ async function createFreshFileOrExplain(place4 = {}, seed2 = {}) {
|
|
|
301757
301757
|
var online, goesLocal;
|
|
301758
301758
|
var init_new_file = __esm({
|
|
301759
301759
|
"lib/client/cloud/new-file.ts"() {
|
|
301760
|
-
"use strict";
|
|
301761
301760
|
init_scene_graph();
|
|
301762
301761
|
init_print_pages();
|
|
301763
301762
|
init_page_presets();
|
|
@@ -303514,7 +303513,6 @@ function applyTextPath(layout2, path, tp, rebase = true) {
|
|
|
303514
303513
|
var defaultCircleRadius, ownsPath, mapPoint;
|
|
303515
303514
|
var init_text_path = __esm({
|
|
303516
303515
|
"lib/engine/text/text-path.ts"() {
|
|
303517
|
-
"use strict";
|
|
303518
303516
|
init_scene_graph();
|
|
303519
303517
|
init_transform();
|
|
303520
303518
|
init_shape_to_path();
|
|
@@ -303632,7 +303630,6 @@ function areaBounds(rings) {
|
|
|
303632
303630
|
}
|
|
303633
303631
|
var init_text_area = __esm({
|
|
303634
303632
|
"lib/engine/text/text-area.ts"() {
|
|
303635
|
-
"use strict";
|
|
303636
303633
|
}
|
|
303637
303634
|
});
|
|
303638
303635
|
|
|
@@ -317263,7 +317260,7 @@ var init_package = __esm({
|
|
|
317263
317260
|
"packages/runtime/package.json"() {
|
|
317264
317261
|
package_default = {
|
|
317265
317262
|
name: "@popcraft/runtime",
|
|
317266
|
-
version: "0.9.
|
|
317263
|
+
version: "0.9.8",
|
|
317267
317264
|
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.",
|
|
317268
317265
|
license: "MIT",
|
|
317269
317266
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -397828,7 +397825,7 @@ init_resources();
|
|
|
397828
397825
|
init_desktop();
|
|
397829
397826
|
init_hypery();
|
|
397830
397827
|
import { createInterface } from "node:readline";
|
|
397831
|
-
var VERSION2 = "0.9.
|
|
397828
|
+
var VERSION2 = "0.9.8";
|
|
397832
397829
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
397833
397830
|
|
|
397834
397831
|
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.8",
|
|
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.8"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|