@bakers-build/core 0.19.1-next.5 → 0.19.1-next.7

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.
@@ -31,3 +31,9 @@ export declare function deriveCheckoutRoot(configPath: string | undefined, opts?
31
31
  * checkout root and its config directory came to be confused with each other.
32
32
  */
33
33
  export declare function configHomeOf(checkoutRoot: string): string;
34
+ /**
35
+ * The "stopped on purpose" marker of one conductor variant: `stopped` for
36
+ * `conductor` (or none), `stopped.<variant>` otherwise, so variants that share a
37
+ * checkout never read or clear each other's.
38
+ */
39
+ export declare function stopMarkerOf(checkoutRoot: string, variant?: string): string;
@@ -47,3 +47,12 @@ export async function deriveCheckoutRoot(configPath, opts = {}) {
47
47
  export function configHomeOf(checkoutRoot) {
48
48
  return join(checkoutRoot, '.bakers');
49
49
  }
50
+ /**
51
+ * The "stopped on purpose" marker of one conductor variant: `stopped` for
52
+ * `conductor` (or none), `stopped.<variant>` otherwise, so variants that share a
53
+ * checkout never read or clear each other's.
54
+ */
55
+ export function stopMarkerOf(checkoutRoot, variant) {
56
+ const name = !variant || variant === 'conductor' ? 'stopped' : `stopped.${variant}`;
57
+ return join(configHomeOf(checkoutRoot), name);
58
+ }
@@ -17,7 +17,7 @@ export { resolveModuleEslintStyle } from './cli/resolve-module.js';
17
17
  export { BB_PACKAGE, checkForUpdate, declineUpdate, defaultUpdateCachePath, fetchLatestVersion, fetchUpdateNotice, printVersionLine, REGISTRY_LATEST_URL, readCliVersion, resolveCliVersion, UNKNOWN_VERSION, UPDATE_CHECK_TTL_MS, type UpdateCheckOptions, type UpdateCheckResult, updateNotice, } from './cli/version-check.js';
18
18
  export { discoverBbWorkspaces, loadReadyBbConnection, resolveWorkspaceSelector, type WorkspaceChoice, type WorkspaceRecoveryOptions, workspaceSearchCommand, } from './cli/workspace-recovery.js';
19
19
  export type { ConnectionConfig, MachineConfig, ProjectConfig, } from './config-types.generated.js';
20
- export { configHomeOf, defaultRootGitExec, deriveCheckoutRoot, type RootGitExec, } from './core/checkout-root.js';
20
+ export { configHomeOf, defaultRootGitExec, deriveCheckoutRoot, type RootGitExec, stopMarkerOf, } from './core/checkout-root.js';
21
21
  export { CommandRunner, ExecError, exec, setDefaultCommandRunner, } from './core/exec.js';
22
22
  export { type GitSandboxPaths, gitSandboxPaths, withoutGitDirs, } from './core/git-sandbox.js';
23
23
  export { hostCommandEntry, unprotectedEntryPoints, } from './core/host-commands.js';
package/dist/src/index.js CHANGED
@@ -18,7 +18,7 @@ export { corePackageRoot } from './cli/paths.js';
18
18
  export { resolveModuleEslintStyle } from './cli/resolve-module.js';
19
19
  export { BB_PACKAGE, checkForUpdate, declineUpdate, defaultUpdateCachePath, fetchLatestVersion, fetchUpdateNotice, printVersionLine, REGISTRY_LATEST_URL, readCliVersion, resolveCliVersion, UNKNOWN_VERSION, UPDATE_CHECK_TTL_MS, updateNotice, } from './cli/version-check.js';
20
20
  export { discoverBbWorkspaces, loadReadyBbConnection, resolveWorkspaceSelector, workspaceSearchCommand, } from './cli/workspace-recovery.js';
21
- export { configHomeOf, defaultRootGitExec, deriveCheckoutRoot, } from './core/checkout-root.js';
21
+ export { configHomeOf, defaultRootGitExec, deriveCheckoutRoot, stopMarkerOf, } from './core/checkout-root.js';
22
22
  export { CommandRunner, ExecError, exec, setDefaultCommandRunner, } from './core/exec.js';
23
23
  export { gitSandboxPaths, withoutGitDirs, } from './core/git-sandbox.js';
24
24
  export { hostCommandEntry, unprotectedEntryPoints, } from './core/host-commands.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/core",
3
- "version": "0.19.1-next.5",
3
+ "version": "0.19.1-next.7",
4
4
  "description": "bakers.build surface-agnostic kernel: host contract, split-config helpers, addon preset/discovery machinery, shared primitives.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  "yaml": "^2.7.0"
42
42
  },
43
43
  "bakersBuild": {
44
- "commit": "56715034b78f52be0c88ef037b9dc099572bbd06",
44
+ "commit": "fcf15c6f0cb6e8317fdc683ac1638e0b84ed861c",
45
45
  "channel": "next"
46
46
  }
47
47
  }