buildprint 5.0.37 → 5.0.38-darwin-x64
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/bin/buildprint +4 -0
- package/package.json +10 -21
- package/README.md +0 -45
- package/bin/buildprint.js +0 -51
package/bin/buildprint
ADDED
package/package.json
CHANGED
|
@@ -1,34 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildprint",
|
|
3
|
-
"version": "5.0.
|
|
4
|
-
"description": "Buildprint CLI for
|
|
3
|
+
"version": "5.0.38-darwin-x64",
|
|
4
|
+
"description": "Buildprint CLI binary for darwin x64",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
6
|
+
"os": [
|
|
7
|
+
"darwin"
|
|
8
|
+
],
|
|
9
|
+
"cpu": [
|
|
10
|
+
"x64"
|
|
11
|
+
],
|
|
9
12
|
"files": [
|
|
10
|
-
"bin"
|
|
11
|
-
"README.md"
|
|
13
|
+
"bin"
|
|
12
14
|
],
|
|
13
|
-
"
|
|
14
|
-
"@buildprint/cli-darwin-arm64": "npm:buildprint@5.0.37-darwin-arm64",
|
|
15
|
-
"@buildprint/cli-darwin-x64": "npm:buildprint@5.0.37-darwin-x64",
|
|
16
|
-
"@buildprint/cli-linux-x64": "npm:buildprint@5.0.37-linux-x64",
|
|
17
|
-
"@buildprint/cli-linux-arm64": "npm:buildprint@5.0.37-linux-arm64",
|
|
18
|
-
"@buildprint/cli-win32-x64": "npm:buildprint@5.0.37-win32-x64"
|
|
19
|
-
},
|
|
20
|
-
"engines": {
|
|
21
|
-
"node": ">=24"
|
|
22
|
-
},
|
|
23
|
-
"homepage": "https://buildprint.ai",
|
|
15
|
+
"preferUnplugged": true,
|
|
24
16
|
"repository": {
|
|
25
17
|
"type": "git",
|
|
26
18
|
"url": "git+https://github.com/Not-Quite-Unicorns/buildprint.git",
|
|
27
19
|
"directory": "packages/buildprint-cli"
|
|
28
20
|
},
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://docs.buildprint.ai"
|
|
31
|
-
},
|
|
32
21
|
"publishConfig": {
|
|
33
22
|
"access": "public",
|
|
34
23
|
"provenance": false
|
package/README.md
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Buildprint CLI
|
|
2
|
-
|
|
3
|
-
Buildprint CLI is the local command-line tool for working with Buildprint-connected Bubble apps.
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install -g buildprint
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Browser commands use the `agent-browser` command installed on your system.
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npm install -g agent-browser
|
|
15
|
-
agent-browser install
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
You can also run it without a global install:
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
npx buildprint --help
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Usage
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
buildprint --help
|
|
28
|
-
buildprint link <token>
|
|
29
|
-
buildprint link <token> --profile client-company
|
|
30
|
-
buildprint profile list
|
|
31
|
-
buildprint project list
|
|
32
|
-
buildprint project info <appId>
|
|
33
|
-
buildprint branch list <appId>
|
|
34
|
-
buildprint plugin clone <pluginId>
|
|
35
|
-
buildprint check
|
|
36
|
-
buildprint update --check
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Supported Platforms
|
|
40
|
-
|
|
41
|
-
- macOS arm64 and x64
|
|
42
|
-
- Linux arm64 and x64
|
|
43
|
-
- Windows x64
|
|
44
|
-
|
|
45
|
-
For docs and support, visit https://docs.buildprint.ai.
|
package/bin/buildprint.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
const { spawnSync } = require("node:child_process");
|
|
3
|
-
|
|
4
|
-
const targets = {
|
|
5
|
-
"darwin:arm64": {
|
|
6
|
-
"binary": "bin/buildprint",
|
|
7
|
-
"package": "@buildprint/cli-darwin-arm64"
|
|
8
|
-
},
|
|
9
|
-
"darwin:x64": {
|
|
10
|
-
"binary": "bin/buildprint",
|
|
11
|
-
"package": "@buildprint/cli-darwin-x64"
|
|
12
|
-
},
|
|
13
|
-
"linux:x64": {
|
|
14
|
-
"binary": "bin/buildprint",
|
|
15
|
-
"package": "@buildprint/cli-linux-x64"
|
|
16
|
-
},
|
|
17
|
-
"linux:arm64": {
|
|
18
|
-
"binary": "bin/buildprint",
|
|
19
|
-
"package": "@buildprint/cli-linux-arm64"
|
|
20
|
-
},
|
|
21
|
-
"win32:x64": {
|
|
22
|
-
"binary": "bin/buildprint.exe",
|
|
23
|
-
"package": "@buildprint/cli-win32-x64"
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const target = targets[process.platform + ":" + process.arch];
|
|
28
|
-
|
|
29
|
-
if (!target) {
|
|
30
|
-
console.error("Buildprint CLI does not provide a binary for " + process.platform + " " + process.arch + ".");
|
|
31
|
-
process.exit(1);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
let binary;
|
|
35
|
-
try {
|
|
36
|
-
binary = require.resolve(target.package + "/" + target.binary);
|
|
37
|
-
} catch {
|
|
38
|
-
console.error("The Buildprint CLI package for " + process.platform + " " + process.arch + " is missing. Reinstall with optional dependencies enabled.");
|
|
39
|
-
process.exit(1);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
const result = spawnSync(binary, process.argv.slice(2), {
|
|
43
|
-
stdio: "inherit",
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
if (result.error) {
|
|
47
|
-
console.error(result.error.message);
|
|
48
|
-
process.exit(1);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
process.exit(result.status === null ? 1 : result.status);
|