@thorprovider/create-thor-app 4.1.8 → 4.1.9
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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# ---------------------------------------------------------------------------
|
|
8
8
|
# Commerce Backend (optional)
|
|
9
9
|
# ---------------------------------------------------------------------------
|
|
10
|
-
# Which commerce platform to use: mock | medusa |
|
|
10
|
+
# Which commerce platform to use: mock | medusa | stelorder | custom
|
|
11
11
|
# Use `mock` to design/layout the storefront before a real backend is connected.
|
|
12
12
|
NEXT_PUBLIC_COMMERCE_PROVIDER=mock
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ import type { ProviderTypeString } from '@thorprovider/types'
|
|
|
15
15
|
import { isSupportedProviderType } from '@thorprovider/types'
|
|
16
16
|
|
|
17
17
|
/** Real-backend provider identifiers (must stay in sync with env.ts realProviderSchema) */
|
|
18
|
-
const REAL_BACKEND_PROVIDERS = new Set(['medusa', '
|
|
18
|
+
const REAL_BACKEND_PROVIDERS = new Set(['medusa', 'stelorder'])
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Serializable commerce config — safe to pass across the RSC boundary.
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
import { z } from 'zod'
|
|
9
9
|
|
|
10
|
-
const realProviderSchema = z.enum(['medusa', '
|
|
10
|
+
const realProviderSchema = z.enum(['medusa', 'stelorder'])
|
|
11
11
|
|
|
12
12
|
const BaseEnvSchema = z.object({
|
|
13
13
|
NEXT_PUBLIC_COMMERCE_PROVIDER: z
|
|
14
|
-
.enum(['mock', 'medusa', '
|
|
14
|
+
.enum(['mock', 'medusa', 'stelorder', 'custom'])
|
|
15
15
|
.default('mock'),
|
|
16
16
|
|
|
17
17
|
NEXT_PUBLIC_DEFAULT_CURRENCY: z
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"generate:agent-index": "node ../../scripts/generate-core-agents-index.cjs"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@thorprovider/adapters": "^
|
|
15
|
-
"@thorprovider/types": "^3.
|
|
14
|
+
"@thorprovider/adapters": "^5.0.0",
|
|
15
|
+
"@thorprovider/types": "^3.3.0",
|
|
16
16
|
"clsx": "^2.1.1",
|
|
17
17
|
"next": "16.0.10",
|
|
18
18
|
"next-themes": "^0.4.6",
|