@phpsandbox/cli 0.6.1-canary.2 → 0.6.1-canary.3
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/README.md +14 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -89,6 +89,18 @@ psb delete SANDBOX_ID --yes --json
|
|
|
89
89
|
|
|
90
90
|
Progress goes to stderr; JSON results go to stdout. Commands that follow logs or other streams emit JSON Lines with `--json`.
|
|
91
91
|
|
|
92
|
+
## GitHub pull requests
|
|
93
|
+
|
|
94
|
+
With `gh` available and signed in inside the sandbox, open a pull request from a pushed branch and merge the reviewed head.
|
|
95
|
+
|
|
96
|
+
```sh
|
|
97
|
+
psb git pr create --repo OWNER/REPO --base main --head my-change \
|
|
98
|
+
--title 'Describe the change' --body-file pr.md --json
|
|
99
|
+
psb git pr merge NUMBER --repo OWNER/REPO --head-sha REVIEWED_SHA --yes --json
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
GitHub applies the repository's merge rules. Check the returned `state` to distinguish a completed merge from a pull request that remains open.
|
|
103
|
+
|
|
92
104
|
## Publishing
|
|
93
105
|
|
|
94
106
|
Inspect your app and the destination before publishing:
|
|
@@ -125,7 +137,8 @@ For Laravel Cloud, use `{"name":"laravel-cloud","region":"eu-central-1","setup":
|
|
|
125
137
|
```sh
|
|
126
138
|
psb publish --yes # Publish changes with the existing setup
|
|
127
139
|
psb publication status --json
|
|
128
|
-
psb publication resources --json
|
|
140
|
+
psb publication resources --project PROJECT_ID --json
|
|
141
|
+
psb publication resources inspect RESOURCE_ID --json
|
|
129
142
|
psb publication build-logs
|
|
130
143
|
psb publication delete # Unpublish and retain resources
|
|
131
144
|
psb publication delete --delete-resources # Remove app-owned resources and their data
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.6.1-canary.
|
|
2
|
+
"version": "0.6.1-canary.3",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"node": ">=22"
|
|
23
23
|
},
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@phpsandbox/cli-darwin-arm64": "0.6.1-canary.
|
|
26
|
-
"@phpsandbox/cli-darwin-x64": "0.6.1-canary.
|
|
27
|
-
"@phpsandbox/cli-linux-x64": "0.6.1-canary.
|
|
28
|
-
"@phpsandbox/cli-linux-arm64": "0.6.1-canary.
|
|
29
|
-
"@phpsandbox/cli-linux-x64-musl": "0.6.1-canary.
|
|
30
|
-
"@phpsandbox/cli-linux-arm64-musl": "0.6.1-canary.
|
|
31
|
-
"@phpsandbox/cli-windows-x64": "0.6.1-canary.
|
|
25
|
+
"@phpsandbox/cli-darwin-arm64": "0.6.1-canary.3",
|
|
26
|
+
"@phpsandbox/cli-darwin-x64": "0.6.1-canary.3",
|
|
27
|
+
"@phpsandbox/cli-linux-x64": "0.6.1-canary.3",
|
|
28
|
+
"@phpsandbox/cli-linux-arm64": "0.6.1-canary.3",
|
|
29
|
+
"@phpsandbox/cli-linux-x64-musl": "0.6.1-canary.3",
|
|
30
|
+
"@phpsandbox/cli-linux-arm64-musl": "0.6.1-canary.3",
|
|
31
|
+
"@phpsandbox/cli-windows-x64": "0.6.1-canary.3"
|
|
32
32
|
}
|
|
33
33
|
}
|