瀏覽代碼

remove old admin package

Shahed Nasser 1 年之前
父節點
當前提交
d032b2db9d
共有 3 個文件被更改,包括 248 次插入950 次删除
  1. 0 10
      medusa-config.js
  2. 1 3
      package.json
  3. 247 937
      yarn.lock

+ 0 - 10
medusa-config.js

@@ -42,16 +42,6 @@ const plugins = [
       upload_dir: "uploads",
     },
   },
-  {
-    resolve: "@medusajs/admin",
-    /** @type {import('@medusajs/admin').PluginOptions} */
-    options: {
-      autoRebuild: true,
-      develop: {
-        open: process.env.OPEN_BROWSER !== "false",
-      },
-    },
-  },
 ];
 
 const modules = {

+ 1 - 3
package.json

@@ -14,9 +14,8 @@
   ],
   "scripts": {
     "clean": "cross-env ./node_modules/.bin/rimraf dist",
-    "build": "cross-env npm run clean && npm run build:server && npm run build:admin",
+    "build": "cross-env npm run clean && npm run build:server",
     "build:server": "node ./build.mjs",
-    "build:admin": "cross-env medusa-admin build",
     "watch": "cross-env tsc --watch",
     "test": "cross-env jest",
     "seed": "cross-env medusa seed -f ./data/seed.json",
@@ -26,7 +25,6 @@
     "dev:inspect": "node --inspect ./develop.mjs"
   },
   "dependencies": {
-    "@medusajs/admin": "7.1.14",
     "@medusajs/api-key": "0.1.2",
     "@medusajs/auth": "0.0.3",
     "@medusajs/cache-inmemory": "^1.8.10",

File diff suppressed because it is too large
+ 247 - 937
yarn.lock


Some files were not shown because too many files changed in this diff