Browse Source

changes supporting new onboarding flow

Shahed Nasser 2 years ago
parent
commit
ef7902838f
3 changed files with 941 additions and 29 deletions
  1. 7 8
      medusa-config.js
  2. 3 2
      package.json
  3. 931 19
      yarn.lock

+ 7 - 8
medusa-config.js

@@ -42,14 +42,13 @@ const plugins = [
       upload_dir: "uploads",
     },
   },
-  // To enable the admin plugin, uncomment the following lines and run `yarn add @medusajs/admin`
-  // {
-  //   resolve: "@medusajs/admin",
-  //   /** @type {import('@medusajs/admin').PluginOptions} */
-  //   options: {
-  //     autoRebuild: true,
-  //   },
-  // },
+  {
+    resolve: "@medusajs/admin",
+    /** @type {import('@medusajs/admin').PluginOptions} */
+    options: {
+      autoRebuild: true,
+    },
+  },
 ];
 
 const modules = {

+ 3 - 2
package.json

@@ -25,13 +25,14 @@
   },
   "dependencies": {
     "@babel/preset-typescript": "7.21.4",
+    "@medusajs/admin": "^6.0.0",
     "@medusajs/cache-inmemory": "^1.8.7",
     "@medusajs/cache-redis": "^1.8.7",
     "@medusajs/event-bus-local": "^1.9.4",
     "@medusajs/event-bus-redis": "^1.8.7",
     "@medusajs/file-local": "^1.0.1",
-    "@medusajs/medusa": "^1.12.0",
-    "@medusajs/medusa-cli": "^1.3.15",
+    "@medusajs/medusa": "1.11.1-snapshot-20230529080001",
+    "@medusajs/medusa-cli": "1.3.15-snapshot-20230529080001",
     "babel-preset-medusa-package": "^1.1.13",
     "body-parser": "^1.19.0",
     "cors": "^2.8.5",

File diff suppressed because it is too large
+ 931 - 19
yarn.lock


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