@popcraft/cli 0.19.0 → 0.20.1
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 -3
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1186,7 +1186,7 @@ function operations(spec = openapi) {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
async function call(target2, method, path, opts = {}) {
|
|
1188
1188
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1189
|
-
const headers = { "user-agent": `popcraft-cli/${"0.
|
|
1189
|
+
const headers = { "user-agent": `popcraft-cli/${"0.20.1"}`, ...opts.headers };
|
|
1190
1190
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1191
1191
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1192
1192
|
try {
|
|
@@ -33706,6 +33706,7 @@ var init_en2 = __esm({
|
|
|
33706
33706
|
"homeTeam.delete": "Delete",
|
|
33707
33707
|
"homeTeam.deleteSite": "Delete website",
|
|
33708
33708
|
"homeTeam.deleteSiteConfirm": "Delete the website at {slug}? Every version is deleted and its address is freed. The file stays, and so does anything sent to GitHub or Vercel.",
|
|
33709
|
+
"homeTeam.deleteSiteTitle": "Delete the website of {name}?",
|
|
33709
33710
|
"homeTeam.edit": "Edit",
|
|
33710
33711
|
"homeTeam.editTitle": "Edit {name}",
|
|
33711
33712
|
"homeTeam.fileInTrash": "File in trash",
|
|
@@ -33740,6 +33741,7 @@ var init_en2 = __esm({
|
|
|
33740
33741
|
"homeTeam.rejected": "Rejected",
|
|
33741
33742
|
"homeTeam.rejectedBecause": "Rejected: {note}",
|
|
33742
33743
|
"homeTeam.removeConfirm": "Take {name} off the marketplace? A plugin is unlisted (those who installed it keep it); anything else is deleted.",
|
|
33744
|
+
"homeTeam.removeTitle": "Take {name} off the marketplace?",
|
|
33743
33745
|
"homeTeam.review": "Review",
|
|
33744
33746
|
"homeTeam.reviewHint": "Every version waiting for a reviewer, from every team. Only marketplace reviewers see this.",
|
|
33745
33747
|
"homeTeam.reviewSummary": "{id} \xB7 version {version} \xB7 by {author} \xB7 asks for {permissions}",
|
|
@@ -320592,7 +320594,7 @@ var init_package = __esm({
|
|
|
320592
320594
|
"packages/runtime/package.json"() {
|
|
320593
320595
|
package_default = {
|
|
320594
320596
|
name: "@popcraft/runtime",
|
|
320595
|
-
version: "0.
|
|
320597
|
+
version: "0.20.1",
|
|
320596
320598
|
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.",
|
|
320597
320599
|
license: "MIT",
|
|
320598
320600
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -403053,7 +403055,7 @@ init_resources();
|
|
|
403053
403055
|
init_desktop();
|
|
403054
403056
|
init_hypery();
|
|
403055
403057
|
import { createInterface } from "node:readline";
|
|
403056
|
-
var VERSION2 = "0.
|
|
403058
|
+
var VERSION2 = "0.20.1";
|
|
403057
403059
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
403058
403060
|
|
|
403059
403061
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
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.
|
|
37
|
+
"@popcraft/kit": "0.20.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|