@vendure/create 3.5.4-master-202602110306 → 3.5.4-master-202602140300

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.
@@ -16,7 +16,12 @@ export default defineConfig({
16
16
  // and custom fields that are configured.
17
17
  vendureConfigPath: pathToFileURL('./src/vendure-config.ts'),
18
18
  // Points to the location of your Vendure server.
19
- api: { host: 'auto', port: 'auto' },
19
+ // In production, 'auto' lets the dashboard derive the API URL from the
20
+ // server that serves it. In development, we use explicit defaults so that
21
+ // the Vite dev server can reach the Vendure backend.
22
+ api: process.env.NODE_ENV === 'production'
23
+ ? { host: 'auto', port: 'auto' }
24
+ : { host: 'http://localhost', port: 3000 },
20
25
  // When you start the Vite server, your Admin API schema will
21
26
  // be introspected and the types will be generated in this location.
22
27
  // These types can be used in your dashboard extensions to provide
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendure/create",
3
- "version": "3.5.4-master-202602110306",
3
+ "version": "3.5.4-master-202602140300",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "bin": {
6
6
  "create": "./index.js"
@@ -31,14 +31,14 @@
31
31
  "@types/fs-extra": "^11.0.4",
32
32
  "@types/handlebars": "^4.1.0",
33
33
  "@types/semver": "^7.5.8",
34
- "@vendure/core": "^3.5.4-master-202602110306",
34
+ "@vendure/core": "^3.5.4-master-202602140300",
35
35
  "rimraf": "^5.0.5",
36
36
  "ts-node": "^10.9.2",
37
37
  "typescript": "5.8.2"
38
38
  },
39
39
  "dependencies": {
40
40
  "@clack/prompts": "^0.11.0",
41
- "@vendure/common": "^3.5.4-master-202602110306",
41
+ "@vendure/common": "^3.5.4-master-202602140300",
42
42
  "commander": "^14.0.1",
43
43
  "cross-spawn": "^7.0.6",
44
44
  "fs-extra": "^11.2.0",