@puzzmo/cli 1.0.84 → 1.0.86
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/package.json
CHANGED
|
File without changes
|
|
@@ -199,7 +199,8 @@ const setupBoard = (data: Puzzle, savedState?: State) => {
|
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* Lifecycle entrypoint:
|
|
202
|
-
* - `sdk.gameReady()` blocks until the host sends puzzle/state/theme.
|
|
202
|
+
* - `sdk.gameReady()` blocks until the host sends puzzle/state/theme. `puzzleString` is null when
|
|
203
|
+
* the host sends no puzzle (e.g. an endless mode), so we fall back to the built-in board.
|
|
203
204
|
* - `sdk.gameLoaded()` tells the host we're done bootstrapping; the host will
|
|
204
205
|
* then dispatch `start` (or restore a paused session).
|
|
205
206
|
*/
|
package/turbo.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://turbo.build/schema.json",
|
|
3
|
+
"extends": ["//"],
|
|
4
|
+
"tasks": {
|
|
5
|
+
// Hashes the Relay output (compiled before turbo runs) rather than the schema, so only a schema change
|
|
6
|
+
// which alters what this package selects reruns these
|
|
7
|
+
"build": {
|
|
8
|
+
"inputs": ["$TURBO_EXTENDS$", "src/queries/__generated__/**"]
|
|
9
|
+
},
|
|
10
|
+
"type-check": {
|
|
11
|
+
"inputs": ["$TURBO_DEFAULT$", "src/queries/__generated__/**"]
|
|
12
|
+
},
|
|
13
|
+
"test": {
|
|
14
|
+
"inputs": ["$TURBO_DEFAULT$", "src/queries/__generated__/**"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|