@medusajs/admin-bundler 2.22.1 → 2.22.2-preview-20261029135257
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/AGENTS.md +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5 -1
- package/package.json +8 -8
package/AGENTS.md
CHANGED
|
@@ -56,7 +56,7 @@ No tests in this package. Exercise changes through a test app with `medusa devel
|
|
|
56
56
|
|
|
57
57
|
## Gotchas
|
|
58
58
|
|
|
59
|
-
- The package ships as CJS, but `vite` (v6+)
|
|
59
|
+
- The package ships as CJS, but `vite` (v6+), `@vitejs/plugin-react` (v5+) and `get-port` (v6+) are ESM-only:
|
|
60
60
|
- Always load them with `await import(...)`, never top-level imports.
|
|
61
61
|
- `scripts/assert-esm-imports.mjs` fails the build if esbuild rewrites those imports into `require()`.
|
|
62
62
|
- `build.target` is pinned to `"baseline-widely-available"` in both `config.ts` and `plugin.ts`. Keep the two in sync: plugin bundles load inside the dashboard bundle.
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
|
-
|
|
9
|
+
try {
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
throw mod = 0, e;
|
|
13
|
+
}
|
|
10
14
|
};
|
|
11
15
|
var __export = (target, all) => {
|
|
12
16
|
for (var name in all)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/admin-bundler",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.2-preview-20261029135257",
|
|
4
4
|
"description": "Bundler for the Medusa admin dashboard.",
|
|
5
5
|
"author": "Kasper Kristensen <kasper@medusajs.com>",
|
|
6
6
|
"scripts": {
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
"llmsFull": "https://docs.medusajs.com/llms-full.txt",
|
|
26
26
|
"mcpServer": "https://docs.medusajs.com/mcp",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@medusajs/types": "2.22.
|
|
28
|
+
"@medusajs/types": "2.22.2-preview-20261029135257"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@medusajs/admin-shared": "2.22.
|
|
32
|
-
"@medusajs/admin-vite-plugin": "2.22.
|
|
33
|
-
"@medusajs/dashboard": "2.22.
|
|
31
|
+
"@medusajs/admin-shared": "2.22.2-preview-20261029135257",
|
|
32
|
+
"@medusajs/admin-vite-plugin": "2.22.2-preview-20261029135257",
|
|
33
|
+
"@medusajs/dashboard": "2.22.2-preview-20261029135257",
|
|
34
34
|
"@vitejs/plugin-react": "^5.2.0",
|
|
35
|
-
"autoprefixer": "^10.
|
|
35
|
+
"autoprefixer": "^10.6.1",
|
|
36
36
|
"compression": "^1.8.2",
|
|
37
37
|
"express": "^4.21.0",
|
|
38
|
-
"get-port": "^
|
|
38
|
+
"get-port": "^7.2.0",
|
|
39
39
|
"glob": "13.0.6",
|
|
40
40
|
"outdent": "^0.8.0",
|
|
41
41
|
"postcss": "^8.5.10",
|
|
42
42
|
"tailwindcss": "^3.4.3",
|
|
43
|
-
"vite": "^7.3.
|
|
43
|
+
"vite": "^7.3.7"
|
|
44
44
|
},
|
|
45
45
|
"packageManager": "yarn@3.2.1",
|
|
46
46
|
"engines": {
|