@dreamboard-games/cli 0.1.30-alpha.24 → 0.1.30-alpha.26

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/dist/index.js CHANGED
@@ -56,7 +56,7 @@ import {
56
56
  titleFromSlug,
57
57
  toDreamboardApiError,
58
58
  waitForCompiledResultJobSdk
59
- } from "./chunk-JBZITDAD.js";
59
+ } from "./chunk-26IYAAMB.js";
60
60
  import {
61
61
  applyWorkspaceCodegen,
62
62
  collectLocalFiles,
@@ -81,7 +81,6 @@ import {
81
81
  getSessionSnapshot,
82
82
  installFrozenWorkspaceDependencies,
83
83
  isAllowedGamePath,
84
- isDynamicGeneratedPath,
85
84
  loadManifest,
86
85
  loadProjectConfig,
87
86
  loadRule,
@@ -95,7 +94,7 @@ import {
95
94
  updateProjectLocalMaintainerRegistry,
96
95
  updateProjectState,
97
96
  writeSnapshot
98
- } from "./chunk-YKL5LCSR.js";
97
+ } from "./chunk-TG6TZMN2.js";
99
98
  import {
100
99
  clearCredentials,
101
100
  getActiveCredentialBackendName,
@@ -5710,7 +5709,7 @@ function normalizeTreePath(filePath) {
5710
5709
  return normalized;
5711
5710
  }
5712
5711
  function isForbiddenGeneratedPath(filePath) {
5713
- return isDynamicGeneratedPath(filePath) || GENERATED_PATH_PREFIXES.some((prefix) => filePath.startsWith(prefix));
5712
+ return GENERATED_PATH_PREFIXES.some((prefix) => filePath.startsWith(prefix));
5714
5713
  }
5715
5714
  function isForbiddenDreamboardStatePath(filePath) {
5716
5715
  return filePath.startsWith(".dreamboard/") && !ALLOWED_DREAMBOARD_TRACKED_PATHS.has(filePath);
@@ -5747,9 +5746,9 @@ function resolveTestCommandPlan(args) {
5747
5746
  if (runner === "remote" && !commit) {
5748
5747
  throw new Error("dreamboard test --runner remote requires --commit <rev>.");
5749
5748
  }
5750
- if (commit && runner !== "remote") {
5749
+ if (commit && runner !== "remote" && runner !== "browser") {
5751
5750
  throw new Error(
5752
- "dreamboard test --commit is only valid with --runner remote."
5751
+ "dreamboard test --commit is only valid with --runner remote or --runner browser."
5753
5752
  );
5754
5753
  }
5755
5754
  if (updateSnapshots && (runner === "remote" || commit)) {
@@ -5871,7 +5870,7 @@ async function runTestCommand(args, deps = {}) {
5871
5870
  projectRoot: worktreeRoot,
5872
5871
  projectConfig: prepared.projectConfig,
5873
5872
  resolvedConfig: config2,
5874
- runner: "remote",
5873
+ runner: plan.runner,
5875
5874
  scenarioPath: args.scenario,
5876
5875
  compiledResultId: compiledResult.id,
5877
5876
  gameId: prepared.projectConfig.gameId,
@@ -6328,7 +6327,7 @@ function runDreamboardCli(internalSubCommands = {}) {
6328
6327
  const main = defineCommand({
6329
6328
  meta: {
6330
6329
  name: "dreamboard",
6331
- version: "0.1.30-alpha.24",
6330
+ version: "0.1.30-alpha.26",
6332
6331
  description: "Dreamboard CLI \u2014 game development platform"
6333
6332
  },
6334
6333
  subCommands