heximon 0.5.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/bin.mjs +8 -4
  2. package/package.json +15 -15
package/dist/bin.mjs CHANGED
@@ -124,6 +124,8 @@ var ProjectCompileSession = class ProjectCompileSession {
124
124
  /** The compiler plugins the sidecar declares, merged with the platform strategy's own. */
125
125
  plugins;
126
126
  strategy;
127
+ /** The `$env` name the sidecar was read for, which the member sidecars of the workspace scan share. */
128
+ environment;
127
129
  /** The runtime config file the app compile checks and bakes in, or `undefined` when there is none. */
128
130
  runtimeConfig;
129
131
  constructor(options) {
@@ -134,6 +136,7 @@ var ProjectCompileSession = class ProjectCompileSession {
134
136
  this.sourceDirectories = options.sourceDirectories;
135
137
  this.plugins = options.plugins;
136
138
  this.strategy = options.strategy;
139
+ this.environment = options.environment;
137
140
  this.outputDirectory = join(options.rootDir, ProjectCompileSession.outputDirectoryName);
138
141
  }
139
142
  /**
@@ -152,7 +155,8 @@ var ProjectCompileSession = class ProjectCompileSession {
152
155
  runtimeConfig: await RuntimeConfigLoader.load(options.rootDir, config, options.environment),
153
156
  sourceDirectories: options.sourceDirectories,
154
157
  plugins: NodeCompileSeam.mergePlugins(config?.plugins ?? [], strategy),
155
- strategy
158
+ strategy,
159
+ environment: options.environment
156
160
  });
157
161
  }
158
162
  /**
@@ -194,7 +198,7 @@ var ProjectCompileSession = class ProjectCompileSession {
194
198
  exact: {},
195
199
  prefixes: {}
196
200
  }) {
197
- const workspaceSubscribers = await WorkspaceTopologyReader.resolveFromConfig(this.rootDir, this.plugins, this.config);
201
+ const workspaceSubscribers = await WorkspaceTopologyReader.resolveFromConfig(this.rootDir, this.plugins, this.config, this.environment);
198
202
  return this.compiler.compile({
199
203
  rootDir: this.rootDir,
200
204
  outputDirectory,
@@ -1374,7 +1378,7 @@ var DoctorReport = class DoctorReport {
1374
1378
  * ({@link PackageCopyAuditor.installedBoundaryPackages}) — exits non-zero; a fork confined to build-time
1375
1379
  * tooling (e.g. a devDependency-only bundler) is reported and does not gate.
1376
1380
  * 3. the staleness check ({@link BoundaryProvenanceAuditor.auditSelf}) — this package's own
1377
- * `dist/heximon.manifest.json` against its own `src/`. Stale exits non-zero.
1381
+ * `dist/heximon.manifest.json` against its own source directory. Stale exits non-zero.
1378
1382
  *
1379
1383
  * Compile-free and filesystem-local (the `heximon.config.ts` sidecar is loaded only to read
1380
1384
  * `expectedOpenPeers`); exits non-zero when this package forks a runtime-reachable package against a
@@ -1415,7 +1419,7 @@ const doctorCommand = defineCommand({
1415
1419
  let forked = false;
1416
1420
  if (workspaceConsumers === null) log.info("Package copies — no pnpm workspace found from this directory; census not run.");
1417
1421
  else forked = DoctorReport.logCopyAudit(PackageCopyAuditor.auditLibrary(rootDir, workspaceConsumers.consumers), DoctorReport.runtimeReachablePackageNames(rootDir, closureReport));
1418
- const selfReport = BoundaryProvenanceAuditor.auditSelf(rootDir);
1422
+ const selfReport = await BoundaryProvenanceAuditor.auditSelf(rootDir);
1419
1423
  const outroParts = [];
1420
1424
  let exitFailure = forked || registryFailed;
1421
1425
  if (forked) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heximon",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "The Heximon CLI: create, develop, build, migrate, and deploy Heximon apps.",
5
5
  "keywords": [
6
6
  "cli",
@@ -38,25 +38,25 @@
38
38
  "dependencies": {
39
39
  "@bomb.sh/tab": "^0.0.22",
40
40
  "@clack/prompts": "^1.8.1",
41
- "@heximon/compiler": "0.5.0",
42
- "@heximon/cqrs": "0.5.0",
43
- "@heximon/deploy": "0.5.0",
44
- "@heximon/http": "0.5.0",
45
- "@heximon/node": "0.5.0",
46
- "@heximon/runtime": "0.5.0",
47
- "@heximon/testing": "0.5.0",
41
+ "@heximon/compiler": "0.6.0",
42
+ "@heximon/cqrs": "0.6.0",
43
+ "@heximon/deploy": "0.6.0",
44
+ "@heximon/http": "0.6.0",
45
+ "@heximon/node": "0.6.0",
46
+ "@heximon/runtime": "0.6.0",
47
+ "@heximon/testing": "0.6.0",
48
48
  "citty": "^0.2.2",
49
49
  "giget": "^3.3.1",
50
50
  "pathe": "^2.0.3"
51
51
  },
52
52
  "devDependencies": {
53
- "@heximon/cloudflare": "0.5.0",
54
- "@heximon/durable": "0.5.0",
55
- "@heximon/integration": "0.5.0",
56
- "@heximon/nitro": "0.5.0",
57
- "@heximon/queue": "0.5.0",
58
- "@heximon/schedule": "0.5.0",
59
- "@heximon/schema": "0.5.0",
53
+ "@heximon/cloudflare": "0.6.0",
54
+ "@heximon/durable": "0.6.0",
55
+ "@heximon/integration": "0.6.0",
56
+ "@heximon/nitro": "0.6.0",
57
+ "@heximon/queue": "0.6.0",
58
+ "@heximon/schedule": "0.6.0",
59
+ "@heximon/schema": "0.6.0",
60
60
  "@types/node": "^24.19.0",
61
61
  "@typescript/native-preview": "^7.0.0-dev.20260707.2",
62
62
  "@vitest/coverage-v8": "5.0.1",