@open-mercato/cli 0.4.9-develop.1039.b1e5448fc8 → 0.4.9-develop.1046.dc78a8fe63
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/lib/generators/module-registry.js +17 -0
- package/dist/lib/generators/module-registry.js.map +2 -2
- package/dist/lib/generators/scanner.js +9 -1
- package/dist/lib/generators/scanner.js.map +2 -2
- package/dist/lib/testing/integration.js +4 -0
- package/dist/lib/testing/integration.js.map +2 -2
- package/dist/mercato.js.map +2 -2
- package/package.json +4 -4
- package/src/lib/generators/module-registry.ts +19 -0
- package/src/lib/generators/scanner.ts +13 -1
- package/src/lib/testing/__tests__/integration.test.ts +51 -0
- package/src/lib/testing/integration.ts +4 -0
- package/src/mercato.ts +0 -1
|
@@ -1357,6 +1357,8 @@ async function clearStaleEphemeralEnvironmentLock(logPrefix: string): Promise<bo
|
|
|
1357
1357
|
function buildReusableEnvironment(baseUrl: string, captureScreenshots: boolean): NodeJS.ProcessEnv {
|
|
1358
1358
|
return buildEnvironment({
|
|
1359
1359
|
BASE_URL: baseUrl,
|
|
1360
|
+
APP_URL: baseUrl,
|
|
1361
|
+
NEXT_PUBLIC_APP_URL: baseUrl,
|
|
1360
1362
|
NODE_ENV: 'production',
|
|
1361
1363
|
JWT_SECRET: process.env.JWT_SECRET ?? 'om-ephemeral-integration-jwt-secret',
|
|
1362
1364
|
OM_SECURITY_MFA_SETUP_SECRET: process.env.OM_SECURITY_MFA_SETUP_SECRET ?? 'om-ephemeral-integration-mfa-setup-secret',
|
|
@@ -2572,6 +2574,8 @@ export async function startEphemeralEnvironment(options: EphemeralRuntimeOptions
|
|
|
2572
2574
|
const commandEnvironment = buildEnvironment({
|
|
2573
2575
|
DATABASE_URL: databaseUrl,
|
|
2574
2576
|
BASE_URL: applicationBaseUrl,
|
|
2577
|
+
APP_URL: applicationBaseUrl,
|
|
2578
|
+
NEXT_PUBLIC_APP_URL: applicationBaseUrl,
|
|
2575
2579
|
JWT_SECRET: process.env.JWT_SECRET ?? 'om-ephemeral-integration-jwt-secret',
|
|
2576
2580
|
OM_SECURITY_MFA_SETUP_SECRET: process.env.OM_SECURITY_MFA_SETUP_SECRET ?? 'om-ephemeral-integration-mfa-setup-secret',
|
|
2577
2581
|
NODE_ENV: 'production',
|
package/src/mercato.ts
CHANGED