diff --git a/package-lock.json b/package-lock.json index fe4ab73b..8630f1ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@junobuild/admin": "^2.3.0", "@junobuild/cdn": "^1.3.2", "@junobuild/cli-tools": "^0.8.0", - "@junobuild/config": "^2.3.0", + "@junobuild/config": "^2.3.0-next-2025-09-27.1", "@junobuild/config-loader": "^0.4.5", "@junobuild/core": "^2.2.0", "@junobuild/did-tools": "^0.3.3", @@ -1490,13 +1490,13 @@ } }, "node_modules/@junobuild/config": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-2.3.0.tgz", - "integrity": "sha512-zamZ+Jejw24FbdqQc9LjNvywiCD+MnMNr8kpoUwRrWGZzlfGkK+Q5t4TiFpA857edCRTg8qEni4pJUj38pm8sg==", + "version": "2.3.0-next-2025-09-27.1", + "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-2.3.0-next-2025-09-27.1.tgz", + "integrity": "sha512-2BHK8B0iDDNylkYfR4gjSREqUXhfBb9EJMZjQqDU60m803XBkxeHw8q6lQpcwsV94Qiahat9an9kMOCFcIcPmw==", "license": "MIT", "peerDependencies": { - "@dfinity/zod-schemas": "^2", - "zod": "^4" + "@dfinity/zod-schemas": "*", + "zod": "*" } }, "node_modules/@junobuild/config-loader": { @@ -7304,9 +7304,9 @@ } }, "@junobuild/config": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-2.3.0.tgz", - "integrity": "sha512-zamZ+Jejw24FbdqQc9LjNvywiCD+MnMNr8kpoUwRrWGZzlfGkK+Q5t4TiFpA857edCRTg8qEni4pJUj38pm8sg==", + "version": "2.3.0-next-2025-09-27.1", + "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-2.3.0-next-2025-09-27.1.tgz", + "integrity": "sha512-2BHK8B0iDDNylkYfR4gjSREqUXhfBb9EJMZjQqDU60m803XBkxeHw8q6lQpcwsV94Qiahat9an9kMOCFcIcPmw==", "requires": {} }, "@junobuild/config-loader": { diff --git a/package.json b/package.json index 75572023..6c2a203f 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@junobuild/admin": "^2.3.0", "@junobuild/cdn": "^1.3.2", "@junobuild/cli-tools": "^0.8.0", - "@junobuild/config": "^2.3.0", + "@junobuild/config": "^2.3.0-next-2025-09-27.1", "@junobuild/config-loader": "^0.4.5", "@junobuild/core": "^2.2.0", "@junobuild/did-tools": "^0.3.3", diff --git a/src/services/emulator/_runner.services.ts b/src/services/emulator/_runner.services.ts index 1f56ab9d..637063aa 100644 --- a/src/services/emulator/_runner.services.ts +++ b/src/services/emulator/_runner.services.ts @@ -213,6 +213,8 @@ const startEmulator = async ({config: extendedConfig}: {config: CliEmulatorConfi const platform = config.runner?.platform; + const network = config?.network; + await execute({ command: runner, args: [ @@ -230,6 +232,7 @@ const startEmulator = async ({config: extendedConfig}: {config: CliEmulatorConfi `${config.skylab.ports?.console ?? EMULATOR_SKYLAB.ports.console}:${EMULATOR_PORT_CONSOLE}` ] : []), + ...(nonNullish(network) ? ['-e', `NETWORK=${JSON.stringify(network)}`] : []), '-v', `${volume}:/juno/.juno`, ...(nonNullish(configFile) && nonNullish(configFilePath)