@onceworlds/cli 0.1.0 → 0.1.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/README.md +4 -0
- package/dist/cli.js +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -31,6 +31,10 @@ preview URL in the job log. Sign in at https://onceworlds.com with the GitHub
|
|
|
31
31
|
account that owns the repo (or any member of its organization) before the first
|
|
32
32
|
deploy.
|
|
33
33
|
|
|
34
|
+
New games start private: only the repo's owner (or its organization's members)
|
|
35
|
+
can play them. When it's ready to share, open the game in the dashboard and click
|
|
36
|
+
"Make public" in the Settings tab.
|
|
37
|
+
|
|
34
38
|
## Project file
|
|
35
39
|
|
|
36
40
|
`onceworlds.json` at the root of the repo:
|
package/dist/cli.js
CHANGED
|
@@ -183,6 +183,7 @@ async function deploy(projectDir, api, tokenArg, quiet = false) {
|
|
|
183
183
|
if (!quiet) {
|
|
184
184
|
if (result.production) console.log(`\u2713 Live: ${result.playUrl}`);
|
|
185
185
|
else console.log(`\u2713 Preview (this branch isn't ${config.productionBranch ?? "main"}): ${result.previewUrl}`);
|
|
186
|
+
for (const note of result.notes ?? []) console.log(` ${note}`);
|
|
186
187
|
}
|
|
187
188
|
return result;
|
|
188
189
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onceworlds/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Deploy games to Onceworlds.",
|
|
5
5
|
"homepage": "https://onceworlds.com",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"onceworlds": "
|
|
8
|
+
"onceworlds": "dist/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|