@medusajs/admin-bundler 3.0.0-snapshot-20251106181920 → 3.0.0-snapshot-20251114155958
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/dist/index.js +4 -0
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1315,6 +1315,8 @@ async function getViteConfig(options) {
|
|
|
1315
1315
|
const root = import_path.default.resolve(process.cwd(), ".medusa/client");
|
|
1316
1316
|
const backendUrl = options.backendUrl ?? "";
|
|
1317
1317
|
const storefrontUrl = options.storefrontUrl ?? "";
|
|
1318
|
+
const authType = process.env.ADMIN_AUTH_TYPE ?? void 0;
|
|
1319
|
+
const jwtTokenStorageKey = process.env.ADMIN_JWT_TOKEN_STORAGE_KEY ?? void 0;
|
|
1318
1320
|
const baseConfig = {
|
|
1319
1321
|
root,
|
|
1320
1322
|
base: options.path,
|
|
@@ -1339,6 +1341,8 @@ async function getViteConfig(options) {
|
|
|
1339
1341
|
define: {
|
|
1340
1342
|
__BASE__: JSON.stringify(options.path),
|
|
1341
1343
|
__BACKEND_URL__: JSON.stringify(backendUrl),
|
|
1344
|
+
__AUTH_TYPE__: JSON.stringify(authType),
|
|
1345
|
+
__JWT_TOKEN_STORAGE_KEY__: JSON.stringify(jwtTokenStorageKey),
|
|
1342
1346
|
__STOREFRONT_URL__: JSON.stringify(storefrontUrl)
|
|
1343
1347
|
},
|
|
1344
1348
|
server: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/admin-bundler",
|
|
3
|
-
"version": "3.0.0-snapshot-
|
|
3
|
+
"version": "3.0.0-snapshot-20251114155958",
|
|
4
4
|
"description": "Bundler for the Medusa admin dashboard.",
|
|
5
5
|
"author": "Kasper Kristensen <kasper@medusajs.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"package.json"
|
|
19
19
|
],
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@medusajs/types": "3.0.0-snapshot-
|
|
21
|
+
"@medusajs/types": "3.0.0-snapshot-20251114155958"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@medusajs/admin-shared": "3.0.0-snapshot-
|
|
25
|
-
"@medusajs/admin-vite-plugin": "3.0.0-snapshot-
|
|
26
|
-
"@medusajs/dashboard": "3.0.0-snapshot-
|
|
24
|
+
"@medusajs/admin-shared": "3.0.0-snapshot-20251114155958",
|
|
25
|
+
"@medusajs/admin-vite-plugin": "3.0.0-snapshot-20251114155958",
|
|
26
|
+
"@medusajs/dashboard": "3.0.0-snapshot-20251114155958",
|
|
27
27
|
"@vitejs/plugin-react": "^4.2.1",
|
|
28
28
|
"autoprefixer": "^10.4.19",
|
|
29
29
|
"compression": "^1.8.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"outdent": "^0.8.0",
|
|
34
34
|
"postcss": "^8.4.38",
|
|
35
35
|
"tailwindcss": "^3.4.3",
|
|
36
|
-
"vite": "^5.4.
|
|
36
|
+
"vite": "^5.4.21"
|
|
37
37
|
},
|
|
38
38
|
"packageManager": "yarn@3.2.1"
|
|
39
39
|
}
|