@celilo/e2e 0.6.1 → 0.6.2

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.
@@ -2,7 +2,7 @@ $ORIGIN iamtheinternet.org.
2
2
  $TTL 300
3
3
 
4
4
  @ IN SOA ns1.iamtheinternet.org. admin.iamtheinternet.org. (
5
- 2024020248 300 60 604800 300
5
+ 2024020250 300 60 604800 300
6
6
  )
7
7
 
8
8
  ; Public DNS — RFC 1918 addresses NEVER appear here. The whole point of
@@ -13,4 +13,5 @@ $TTL 300
13
13
  @ IN NS ns1.iamtheinternet.org.
14
14
  ns1 IN A 100.64.0.55
15
15
  @ IN A 0.0.0.0
16
- www IN A 100.100.0.100
16
+ www IN A 100.100.0.100
17
+ auth IN A 100.100.0.100
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celilo/e2e",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "E2E test infrastructure for Celilo-deployed applications. Provides a simulated internet with DNS hierarchy, ACME server, firewalls, and target machines in Docker.",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -31,7 +31,7 @@
31
31
  "README.md"
32
32
  ],
33
33
  "dependencies": {
34
- "@celilo/cli-display": "0.1.0",
34
+ "@celilo/cli-display": "0.1.4",
35
35
  "yaml": "^2.8.0"
36
36
  },
37
37
  "devDependencies": {
package/src/cli/build.ts CHANGED
@@ -188,11 +188,15 @@ export function runBuild(options: BuildOptions): void {
188
188
  mkdirSync(netappsDir, { recursive: true });
189
189
 
190
190
  if (!skipModules) {
191
- // Explicit dirs take precedence; fall back to auto-discovering all modules.
191
+ // Explicit dirs take precedence; fall back to auto-discovering all
192
+ // modules. Try CWD first so a globally-installed cele2e finds the
193
+ // user's monorepo (the package's own dir is in
194
+ // ~/.bun/install/global/... and won't have a `modules/` sibling).
195
+ // Fall back to the package dir for the in-monorepo dev case.
192
196
  const dirs = moduleDirs.length > 0
193
197
  ? moduleDirs
194
198
  : (() => {
195
- const root = findMonorepoRoot(pkgDir);
199
+ const root = findMonorepoRoot(process.cwd()) ?? findMonorepoRoot(pkgDir);
196
200
  return root ? discoverModuleDirs(root) : [];
197
201
  })();
198
202