@popcraft/cli 0.50.1 → 0.50.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 +10 -8
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1196,7 +1196,7 @@ function operations(spec = openapi) {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
async function call(target2, method, path, opts = {}) {
|
|
1198
1198
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1199
|
-
const headers = { "user-agent": `popcraft-cli/${"0.50.
|
|
1199
|
+
const headers = { "user-agent": `popcraft-cli/${"0.50.2"}`, ...opts.headers };
|
|
1200
1200
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1201
1201
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1202
1202
|
try {
|
|
@@ -94512,6 +94512,7 @@ function hasMessage(key5) {
|
|
|
94512
94512
|
var current2, loading, listeners, formats, asts;
|
|
94513
94513
|
var init_runtime = __esm({
|
|
94514
94514
|
"lib/i18n/runtime.ts"() {
|
|
94515
|
+
"use strict";
|
|
94515
94516
|
init_intl_messageformat();
|
|
94516
94517
|
init_icu_messageformat_parser();
|
|
94517
94518
|
init_catalogs();
|
|
@@ -97387,7 +97388,6 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
|
|
|
97387
97388
|
}
|
|
97388
97389
|
var init_selection_bounds = __esm({
|
|
97389
97390
|
"lib/editor/selection-bounds.ts"() {
|
|
97390
|
-
"use strict";
|
|
97391
97391
|
init_scene_graph();
|
|
97392
97392
|
init_transform();
|
|
97393
97393
|
}
|
|
@@ -248028,7 +248028,6 @@ function repairCompositions(comps, nodes) {
|
|
|
248028
248028
|
var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
|
|
248029
248029
|
var init_invariants = __esm({
|
|
248030
248030
|
"lib/motion/invariants.ts"() {
|
|
248031
|
-
"use strict";
|
|
248032
248031
|
init_easing();
|
|
248033
248032
|
init_properties();
|
|
248034
248033
|
init_markers();
|
|
@@ -248125,7 +248124,6 @@ function resyncText(doc2, ids2) {
|
|
|
248125
248124
|
var isVirtualId;
|
|
248126
248125
|
var init_invariants2 = __esm({
|
|
248127
248126
|
"lib/document/invariants.ts"() {
|
|
248128
|
-
"use strict";
|
|
248129
248127
|
init_auto_layout();
|
|
248130
248128
|
init_scene_graph();
|
|
248131
248129
|
init_text_bounds();
|
|
@@ -253056,7 +253054,6 @@ function getActiveRenderer() {
|
|
|
253056
253054
|
var active;
|
|
253057
253055
|
var init_renderer_registry = __esm({
|
|
253058
253056
|
"lib/engine/renderer-registry.ts"() {
|
|
253059
|
-
"use strict";
|
|
253060
253057
|
active = null;
|
|
253061
253058
|
}
|
|
253062
253059
|
});
|
|
@@ -256676,6 +256673,7 @@ function mergeFonts(fonts, incoming) {
|
|
|
256676
256673
|
var fontWeightOf, fontStyleOf, sameSlot, hashOf, documentFontHashes;
|
|
256677
256674
|
var init_document_fonts = __esm({
|
|
256678
256675
|
"lib/fonts/document-fonts.ts"() {
|
|
256676
|
+
"use strict";
|
|
256679
256677
|
init_media_store();
|
|
256680
256678
|
init_media_hash();
|
|
256681
256679
|
fontWeightOf = (f2) => f2.weight ?? 400;
|
|
@@ -262657,6 +262655,7 @@ function formatLimit(key5, max3) {
|
|
|
262657
262655
|
var formatBytes;
|
|
262658
262656
|
var init_limits2 = __esm({
|
|
262659
262657
|
"lib/billing/limits.ts"() {
|
|
262658
|
+
"use strict";
|
|
262660
262659
|
init_format();
|
|
262661
262660
|
init_plans();
|
|
262662
262661
|
formatBytes = formatFileSize;
|
|
@@ -312925,6 +312924,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
|
|
|
312925
312924
|
var defaultCircleRadius, ownsPath, mapPoint;
|
|
312926
312925
|
var init_text_path = __esm({
|
|
312927
312926
|
"lib/engine/text/text-path.ts"() {
|
|
312927
|
+
"use strict";
|
|
312928
312928
|
init_scene_graph();
|
|
312929
312929
|
init_transform();
|
|
312930
312930
|
init_shape_to_path();
|
|
@@ -313042,6 +313042,7 @@ function areaBounds(rings) {
|
|
|
313042
313042
|
}
|
|
313043
313043
|
var init_text_area = __esm({
|
|
313044
313044
|
"lib/engine/text/text-area.ts"() {
|
|
313045
|
+
"use strict";
|
|
313045
313046
|
}
|
|
313046
313047
|
});
|
|
313047
313048
|
|
|
@@ -317477,7 +317478,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
|
|
|
317477
317478
|
var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
|
|
317478
317479
|
var init_reference_images = __esm({
|
|
317479
317480
|
"lib/ai/reference-images.ts"() {
|
|
317480
|
-
"use strict";
|
|
317481
317481
|
init_export();
|
|
317482
317482
|
init_selection_bounds();
|
|
317483
317483
|
init_renderer_registry();
|
|
@@ -328475,7 +328475,7 @@ var init_package = __esm({
|
|
|
328475
328475
|
"packages/runtime/package.json"() {
|
|
328476
328476
|
package_default = {
|
|
328477
328477
|
name: "@popcraft/runtime",
|
|
328478
|
-
version: "0.50.
|
|
328478
|
+
version: "0.50.2",
|
|
328479
328479
|
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.",
|
|
328480
328480
|
license: "MIT",
|
|
328481
328481
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -353141,6 +353141,7 @@ function exportsOf(source3) {
|
|
|
353141
353141
|
var CODE_LIMITS, packageOf;
|
|
353142
353142
|
var init_source2 = __esm({
|
|
353143
353143
|
"lib/code/source.ts"() {
|
|
353144
|
+
"use strict";
|
|
353144
353145
|
CODE_LIMITS = { modules: 100, sourceLength: 2e5, packages: 12 };
|
|
353145
353146
|
packageOf = (spec) => spec.split("/").slice(0, spec.startsWith("@") ? 2 : 1).join("/");
|
|
353146
353147
|
}
|
|
@@ -353183,6 +353184,7 @@ function compileModule(module2) {
|
|
|
353183
353184
|
var import_sucrase, BUILT_IN, memo4;
|
|
353184
353185
|
var init_compile2 = __esm({
|
|
353185
353186
|
"lib/code/compile.ts"() {
|
|
353187
|
+
"use strict";
|
|
353186
353188
|
import_sucrase = __toESM(require_dist2());
|
|
353187
353189
|
init_source2();
|
|
353188
353190
|
init_source2();
|
|
@@ -414054,7 +414056,7 @@ init_resources();
|
|
|
414054
414056
|
init_desktop();
|
|
414055
414057
|
init_hypery();
|
|
414056
414058
|
import { createInterface } from "node:readline";
|
|
414057
|
-
var VERSION2 = "0.50.
|
|
414059
|
+
var VERSION2 = "0.50.2";
|
|
414058
414060
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
414059
414061
|
|
|
414060
414062
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.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.50.
|
|
37
|
+
"@popcraft/kit": "0.50.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|