@hiyve/cli 1.0.19 → 1.0.20
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
package/src/commands/init.js
CHANGED
|
@@ -279,7 +279,9 @@ CLIENT_SECRET=sk_live_your_client_secret_here
|
|
|
279
279
|
# passed to HiyveProvider / HiyveRoom in src/ (${DEFAULT_REGION} in both).
|
|
280
280
|
SERVER_REGION=${DEFAULT_REGION}
|
|
281
281
|
SERVER_REGION_URL=.rtc.muziemedia.com
|
|
282
|
-
|
|
282
|
+
# production and development resolve to the SAME cloud (there is currently no
|
|
283
|
+
# separate development stack); development only adds a boot warning. Leave as-is.
|
|
284
|
+
ENVIRONMENT=production
|
|
283
285
|
`;
|
|
284
286
|
|
|
285
287
|
if (template.features.intelligence) {
|
|
@@ -104,6 +104,12 @@ describe('generated .env.example', () => {
|
|
|
104
104
|
expect(env).not.toContain('signal.hiyve.dev');
|
|
105
105
|
expect(env).toContain('console.hiyve.dev');
|
|
106
106
|
});
|
|
107
|
+
|
|
108
|
+
it('never emits ENVIRONMENT=development — same cloud as production plus a boot warning', () => {
|
|
109
|
+
const env = generateEnvExample(TEMPLATES.basic);
|
|
110
|
+
expect(env).toMatch(/^ENVIRONMENT=production$/m);
|
|
111
|
+
expect(env).not.toMatch(/^ENVIRONMENT=development/m);
|
|
112
|
+
});
|
|
107
113
|
});
|
|
108
114
|
|
|
109
115
|
describe('region pin', () => {
|