@rotor-rbx/rotor 1.4.2 → 1.5.0
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 +12 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,9 +71,14 @@ export default defineConfig({
|
|
|
71
71
|
},
|
|
72
72
|
prod: {
|
|
73
73
|
universeId: 333,
|
|
74
|
-
places: { start: { file: "build/game.rbxl", placeId: 444 } },
|
|
75
|
-
experience: { name: "My Game", playability: "public" },
|
|
74
|
+
places: { start: { file: "build/game.rbxl", placeId: 444, name: "Start", maxPlayers: 30 } },
|
|
75
|
+
experience: { name: "My Game", playability: "public", privateServers: { price: 100 } },
|
|
76
76
|
badges: { winner: { name: "Winner!", description: "Beat the game", icon: "assets/badge.png" } },
|
|
77
|
+
gamePasses: { vip: { name: "VIP", price: 250, icon: "assets/vip.png" } },
|
|
78
|
+
icon: "assets/icon.png",
|
|
79
|
+
thumbnails: ["assets/thumb1.png", "assets/thumb2.png"],
|
|
80
|
+
products: { coins: { name: "100 Coins", price: 25 } },
|
|
81
|
+
socialLinks: { discord: { title: "Join us", url: "https://discord.gg/x", type: "discord" } },
|
|
77
82
|
},
|
|
78
83
|
},
|
|
79
84
|
},
|
|
@@ -81,7 +86,7 @@ export default defineConfig({
|
|
|
81
86
|
```
|
|
82
87
|
|
|
83
88
|
- **`rotor asset sync`** scans the globs, uploads new/changed files via Open Cloud (SHA-256 lockfile `rotor-lock.json` — unchanged files never re-upload, updates keep asset ids stable), and generates `assets.luau` + `assets.d.ts`, so code references `assets.sounds.hit` instead of hardcoded `rbxassetid://` strings.
|
|
84
|
-
- **`rotor deploy`** is infrastructure-as-code: it diffs the config against per-environment state (`.rotor/deploy/<env>.json`), shows a plan, and applies only the drift — place file publishing, experience settings, badges (icons upload automatically first). Deletes require `--allow-deletes`.
|
|
89
|
+
- **`rotor deploy`** is infrastructure-as-code: it diffs the config against per-environment state (`.rotor/deploy/<env>.json`), shows a plan, and applies only the drift — place file publishing + place settings, experience settings, badges and game passes (icons upload automatically first, shared icons dedupe), experience icon + thumbnails, developer products, and social links. Deletes require `--allow-deletes`.
|
|
85
90
|
- Auth is an Open Cloud key in **`ROBLOX_API_KEY`** (scopes: Assets R/W, Universe Places W, Universe R/W). `rotor doctor` checks your config and key setup.
|
|
86
91
|
- Compile-time env vars come from `.env` / `.env.<NODE_ENV>` next to your tsconfig and are inlined by the `$env` macro; rotor writes `rotor-env.d.ts` so your editor sees the types.
|
|
87
92
|
|
|
@@ -93,20 +98,20 @@ Grab a binary from [GitHub Releases](https://github.com/uproot/rotor/releases),
|
|
|
93
98
|
|
|
94
99
|
```sh
|
|
95
100
|
# mise
|
|
96
|
-
mise use -g github:uproot/rotor@1.
|
|
101
|
+
mise use -g github:uproot/rotor@1.5.0
|
|
97
102
|
|
|
98
103
|
# rokit
|
|
99
|
-
rokit add uproot/rotor@1.
|
|
104
|
+
rokit add uproot/rotor@1.5.0
|
|
100
105
|
```
|
|
101
106
|
|
|
102
107
|
```toml
|
|
103
108
|
# aftman.toml
|
|
104
109
|
[tools]
|
|
105
|
-
rotor = "uproot/rotor@1.
|
|
110
|
+
rotor = "uproot/rotor@1.5.0"
|
|
106
111
|
|
|
107
112
|
# foreman.toml
|
|
108
113
|
[tools]
|
|
109
|
-
rotor = { github = "uproot/rotor", version = "1.
|
|
114
|
+
rotor = { github = "uproot/rotor", version = "1.5.0" }
|
|
110
115
|
```
|
|
111
116
|
|
|
112
117
|
### Install via npm / bun
|