@popcraft/cli 0.59.1 → 0.59.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 +9 -3
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1198,7 +1198,7 @@ function operations(spec = openapi) {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
async function call(target2, method, path, opts = {}) {
|
|
1200
1200
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1201
|
-
const headers = { "user-agent": `popcraft-cli/${"0.59.
|
|
1201
|
+
const headers = { "user-agent": `popcraft-cli/${"0.59.2"}`, ...opts.headers };
|
|
1202
1202
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1203
1203
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1204
1204
|
try {
|
|
@@ -29244,6 +29244,7 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
|
|
|
29244
29244
|
}
|
|
29245
29245
|
var init_selection_bounds = __esm({
|
|
29246
29246
|
"lib/editor/selection-bounds.ts"() {
|
|
29247
|
+
"use strict";
|
|
29247
29248
|
init_scene_graph();
|
|
29248
29249
|
init_transform();
|
|
29249
29250
|
}
|
|
@@ -176248,6 +176249,7 @@ var init_frame_labels = __esm({
|
|
|
176248
176249
|
var MODE_PROFILES, isTimelineMode, FOCUS_PROFILES, MODE_LIST, FOCUS_BY_PRECEDENCE;
|
|
176249
176250
|
var init_registry2 = __esm({
|
|
176250
176251
|
"lib/editor/modes/registry.ts"() {
|
|
176252
|
+
"use strict";
|
|
176251
176253
|
MODE_PROFILES = {
|
|
176252
176254
|
DESIGN: {
|
|
176253
176255
|
id: "DESIGN",
|
|
@@ -254990,6 +254992,7 @@ function relinkCopies(doc2, copies) {
|
|
|
254990
254992
|
var TEXT_PATH_SOURCE_TYPES, isPathSource;
|
|
254991
254993
|
var init_text_links = __esm({
|
|
254992
254994
|
"lib/document/text-links.ts"() {
|
|
254995
|
+
"use strict";
|
|
254993
254996
|
init_transform();
|
|
254994
254997
|
TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
|
|
254995
254998
|
isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
|
|
@@ -260779,6 +260782,7 @@ function resyncText(doc2, ids2) {
|
|
|
260779
260782
|
var isVirtualId;
|
|
260780
260783
|
var init_invariants2 = __esm({
|
|
260781
260784
|
"lib/document/invariants.ts"() {
|
|
260785
|
+
"use strict";
|
|
260782
260786
|
init_auto_layout();
|
|
260783
260787
|
init_scene_graph();
|
|
260784
260788
|
init_text_bounds();
|
|
@@ -263731,6 +263735,7 @@ function getActiveRenderer() {
|
|
|
263731
263735
|
var active;
|
|
263732
263736
|
var init_renderer_registry = __esm({
|
|
263733
263737
|
"lib/engine/renderer-registry.ts"() {
|
|
263738
|
+
"use strict";
|
|
263734
263739
|
active = null;
|
|
263735
263740
|
}
|
|
263736
263741
|
});
|
|
@@ -266510,6 +266515,7 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
|
|
|
266510
266515
|
var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
|
|
266511
266516
|
var init_shader_presets = __esm({
|
|
266512
266517
|
"lib/engine/shader-presets.ts"() {
|
|
266518
|
+
"use strict";
|
|
266513
266519
|
init_shader_graph();
|
|
266514
266520
|
init_shader_graph_presets();
|
|
266515
266521
|
init_shader_presets_legacy();
|
|
@@ -339084,7 +339090,7 @@ var init_package = __esm({
|
|
|
339084
339090
|
"packages/runtime/package.json"() {
|
|
339085
339091
|
package_default = {
|
|
339086
339092
|
name: "@popcraft/runtime",
|
|
339087
|
-
version: "0.59.
|
|
339093
|
+
version: "0.59.2",
|
|
339088
339094
|
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.",
|
|
339089
339095
|
license: "MIT",
|
|
339090
339096
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -426645,7 +426651,7 @@ init_resources();
|
|
|
426645
426651
|
init_desktop();
|
|
426646
426652
|
init_hypery();
|
|
426647
426653
|
import { createInterface } from "node:readline";
|
|
426648
|
-
var VERSION2 = "0.59.
|
|
426654
|
+
var VERSION2 = "0.59.2";
|
|
426649
426655
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
426650
426656
|
|
|
426651
426657
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.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.59.
|
|
37
|
+
"@popcraft/kit": "0.59.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|