dewctl 0.5.3 → 0.5.4
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 +1 -1
- package/src/project.js +3 -2
package/package.json
CHANGED
package/src/project.js
CHANGED
|
@@ -157,8 +157,9 @@ export async function build(project, signal) {
|
|
|
157
157
|
// starter game, depending on the SDK and this CLI from npm; one holding any of them has a game of its own and gets
|
|
158
158
|
// dewdrop.json alone, so nothing of it is touched and no starter is left half written.
|
|
159
159
|
const STARTER_FILES=['package.json','src','index.html','vite.config.js'];
|
|
160
|
-
// The SDK a new game depends on
|
|
161
|
-
|
|
160
|
+
// The SDK a new game depends on — the range moves with the SDK's minor, since a caret on 0.x stays within one —
|
|
161
|
+
// and this CLI, at its own version.
|
|
162
|
+
const SDK_RANGE='^0.5.1';
|
|
162
163
|
const CLI_RANGE=`^${JSON.parse(readFileSync(new URL('../package.json',import.meta.url),'utf8')).version}`;
|
|
163
164
|
// A game name from the project directory, or a random one when the directory name yields nothing usable.
|
|
164
165
|
function gameNameFrom(root) {
|