@popcraft/cli 0.43.1 → 0.43.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 +7 -5
- 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.43.
|
|
1199
|
+
const headers = { "user-agent": `popcraft-cli/${"0.43.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 {
|
|
@@ -94485,6 +94485,7 @@ function hasMessage(key5) {
|
|
|
94485
94485
|
var current2, loading, listeners, formats, asts;
|
|
94486
94486
|
var init_runtime = __esm({
|
|
94487
94487
|
"lib/i18n/runtime.ts"() {
|
|
94488
|
+
"use strict";
|
|
94488
94489
|
init_intl_messageformat();
|
|
94489
94490
|
init_icu_messageformat_parser();
|
|
94490
94491
|
init_catalogs();
|
|
@@ -262390,6 +262391,7 @@ function formatDate(date5, opts = { month: "short", day: "numeric", year: "numer
|
|
|
262390
262391
|
var cache5, nf;
|
|
262391
262392
|
var init_format = __esm({
|
|
262392
262393
|
"lib/i18n/format.ts"() {
|
|
262394
|
+
"use strict";
|
|
262393
262395
|
init_runtime();
|
|
262394
262396
|
cache5 = /* @__PURE__ */ new Map();
|
|
262395
262397
|
nf = (opts) => cached2("n", opts, (l) => new Intl.NumberFormat(l, opts));
|
|
@@ -262409,6 +262411,7 @@ function formatLimit(key5, max3) {
|
|
|
262409
262411
|
var formatBytes;
|
|
262410
262412
|
var init_limits2 = __esm({
|
|
262411
262413
|
"lib/billing/limits.ts"() {
|
|
262414
|
+
"use strict";
|
|
262412
262415
|
init_format();
|
|
262413
262416
|
init_plans();
|
|
262414
262417
|
formatBytes = formatFileSize;
|
|
@@ -311883,7 +311886,6 @@ function creditLine(c2) {
|
|
|
311883
311886
|
var MAX_PHOTO_PAGE, MAX_PHOTO_QUERY, UUID, isPhotoId, photoImagePath;
|
|
311884
311887
|
var init_stock = __esm({
|
|
311885
311888
|
"lib/photos/stock.ts"() {
|
|
311886
|
-
"use strict";
|
|
311887
311889
|
MAX_PHOTO_PAGE = 12;
|
|
311888
311890
|
MAX_PHOTO_QUERY = 200;
|
|
311889
311891
|
UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
@@ -327805,7 +327807,7 @@ var init_package = __esm({
|
|
|
327805
327807
|
"packages/runtime/package.json"() {
|
|
327806
327808
|
package_default = {
|
|
327807
327809
|
name: "@popcraft/runtime",
|
|
327808
|
-
version: "0.43.
|
|
327810
|
+
version: "0.43.2",
|
|
327809
327811
|
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.",
|
|
327810
327812
|
license: "MIT",
|
|
327811
327813
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -352513,7 +352515,6 @@ function compileModule(module2) {
|
|
|
352513
352515
|
var import_sucrase, BUILT_IN, memo4;
|
|
352514
352516
|
var init_compile2 = __esm({
|
|
352515
352517
|
"lib/code/compile.ts"() {
|
|
352516
|
-
"use strict";
|
|
352517
352518
|
import_sucrase = __toESM(require_dist2());
|
|
352518
352519
|
init_source2();
|
|
352519
352520
|
init_source2();
|
|
@@ -361026,6 +361027,7 @@ function publishSite(key5, files, opts = {}) {
|
|
|
361026
361027
|
var siteStatus, setSiteVersion, workspaceSites, deleteSite, renameSite;
|
|
361027
361028
|
var init_sites = __esm({
|
|
361028
361029
|
"lib/client/cloud/sites.ts"() {
|
|
361030
|
+
"use strict";
|
|
361029
361031
|
init_files();
|
|
361030
361032
|
init_upload2();
|
|
361031
361033
|
init_api4();
|
|
@@ -413357,7 +413359,7 @@ init_resources();
|
|
|
413357
413359
|
init_desktop();
|
|
413358
413360
|
init_hypery();
|
|
413359
413361
|
import { createInterface } from "node:readline";
|
|
413360
|
-
var VERSION2 = "0.43.
|
|
413362
|
+
var VERSION2 = "0.43.2";
|
|
413361
413363
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
413362
413364
|
|
|
413363
413365
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.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.43.
|
|
37
|
+
"@popcraft/kit": "0.43.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|