@medusajs/admin-bundler 2.11.3-preview-20251103113757 → 2.11.3-snapshot-20251103115905

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +6 -10
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AdminOptions } from '@medusajs/types';
2
- import * as express_serve_static_core from 'express-serve-static-core';
2
+ import { IRouter } from 'express';
3
3
 
4
4
  type BundlerOptions = Required<Pick<AdminOptions, "path">> & Pick<AdminOptions, "vite" | "backendUrl" | "storefrontUrl"> & {
5
5
  outDir: string;
@@ -9,7 +9,7 @@ type BundlerOptions = Required<Pick<AdminOptions, "path">> & Pick<AdminOptions,
9
9
 
10
10
  declare function build(options: BundlerOptions): Promise<void>;
11
11
 
12
- declare function develop(options: BundlerOptions): Promise<express_serve_static_core.Router>;
12
+ declare function develop(options: BundlerOptions): Promise<IRouter>;
13
13
 
14
14
  interface PluginOptions {
15
15
  root: string;
@@ -20,6 +20,6 @@ declare function plugin(options: PluginOptions): Promise<void>;
20
20
  type ServeOptions = {
21
21
  outDir: string;
22
22
  };
23
- declare function serve(options: ServeOptions): Promise<express_serve_static_core.Router>;
23
+ declare function serve(options: ServeOptions): Promise<IRouter>;
24
24
 
25
25
  export { type BundlerOptions, build, develop, plugin, serve };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@medusajs/admin-bundler",
3
- "version": "2.11.3-preview-20251103113757",
3
+ "version": "2.11.3-snapshot-20251103115905",
4
4
  "description": "Bundler for the Medusa admin dashboard.",
5
5
  "author": "Kasper Kristensen <kasper@medusajs.com>",
6
6
  "scripts": {
7
- "build": "tsup"
7
+ "build": "yarn run -T tsup"
8
8
  },
9
9
  "main": "./dist/index.js",
10
10
  "types": "./dist/index.d.ts",
@@ -18,16 +18,12 @@
18
18
  "package.json"
19
19
  ],
20
20
  "devDependencies": {
21
- "@medusajs/types": "2.11.3-preview-20251103113757",
22
- "@types/compression": "^1.7.5",
23
- "@types/express": "^4.17.21",
24
- "tsup": "^8.4.0",
25
- "typescript": "^5.6.2"
21
+ "@medusajs/types": "2.11.3-snapshot-20251103115905"
26
22
  },
27
23
  "dependencies": {
28
- "@medusajs/admin-shared": "2.11.3-preview-20251103113757",
29
- "@medusajs/admin-vite-plugin": "2.11.3-preview-20251103113757",
30
- "@medusajs/dashboard": "2.11.3-preview-20251103113757",
24
+ "@medusajs/admin-shared": "2.11.3-snapshot-20251103115905",
25
+ "@medusajs/admin-vite-plugin": "2.11.3-snapshot-20251103115905",
26
+ "@medusajs/dashboard": "2.11.3-snapshot-20251103115905",
31
27
  "@vitejs/plugin-react": "^4.2.1",
32
28
  "autoprefixer": "^10.4.19",
33
29
  "compression": "^1.8.0",