@rayburst/cli 0.1.10 → 0.1.11

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayburst/cli",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Rayburst CLI - A module federation host for Rayburst app",
5
5
  "type": "module",
6
6
  "bin": {
package/server.js CHANGED
@@ -25,13 +25,14 @@ const hasBuilt = existsSync(distPath);
25
25
  // Environment-specific remote URLs
26
26
  function getRemoteUrl(env) {
27
27
  switch (env) {
28
- case 'production':
29
- return 'https://www.rayburst.app';
28
+ case 'local':
29
+ return 'http://localhost:3000';
30
30
  case 'staging':
31
31
  return 'https://dev.rayburst.app';
32
32
  case 'development':
33
+ case 'production':
33
34
  default:
34
- return 'http://localhost:3000';
35
+ return 'https://www.rayburst.app';
35
36
  }
36
37
  }
37
38
 
package/vite.config.ts CHANGED
@@ -6,13 +6,14 @@ import { apiPlugin } from './vite-plugin-api.js';
6
6
  // Determine remote URL based on environment
7
7
  function getRemoteUrl(env: string): string {
8
8
  switch (env) {
9
- case 'production':
10
- return 'https://www.rayburst.app';
9
+ case 'local':
10
+ return 'http://localhost:3000';
11
11
  case 'staging':
12
12
  return 'https://dev.rayburst.app';
13
13
  case 'development':
14
+ case 'production':
14
15
  default:
15
- return 'http://localhost:3000';
16
+ return 'https://www.rayburst.app';
16
17
  }
17
18
  }
18
19