@xrystal/core 3.55.7 → 3.55.8
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/package.json
CHANGED
|
@@ -136,10 +136,13 @@ export function registerTelepresenceCommand(cli, { cliName = CLI_PRIMARY_NAME }
|
|
|
136
136
|
const interceptScript = requireInfraScript('telepresence-intercept.sh', { cliName })
|
|
137
137
|
|
|
138
138
|
const portArg = parsePort(port)
|
|
139
|
+
process.env.PORT = portArg
|
|
139
140
|
const rest = command.args.slice(/^\d+$/.test(String(port ?? '')) ? 2 : 1)
|
|
140
141
|
const localCmd = rest.length ? rest : ['xry', 'dev']
|
|
141
142
|
const args = [`NS=${ns}`, deployName, portArg, '--', ...localCmd]
|
|
142
143
|
|
|
144
|
+
console.log(chalk.gray(` local port: ${portArg} (pod container :3000)`))
|
|
145
|
+
|
|
143
146
|
runHelper(interceptScript, args, { cwd: svcDir })
|
|
144
147
|
printCommandFooter({ version })
|
|
145
148
|
})
|