#How to add custom @medusajs/admin in medusa

1 messages · Page 1 of 1 (latest)

pine wing
#

How to add custom @medusajs/admin in medusa. I currently have medusa admin version ^7.1.15. So how to get this version of @medusajs/admin and add it in packe.json file like below
"@medusajs/admin": "<https://github.com/<YOUR_USERNAME>/admin.git">

hardy panther
#

change the version you want in your package.json,

then

yarn```
pine wing
#

is it possible to add "@medusajs/admin": "<https://github.com/<YOUR_USERNAME>/admin.git"> like this?

hardy panther
#

actually yeah you can,


{
  "dependencies": {
    "package-name": "github:username/repository"
  }
}

example

{
  "dependencies": {
    "lodash": "github:lodash/lodash",
    "my-package": "github:myusername/myrepo#main",
    "another-package": "github:someuser/another-repo#v1.2.3"
  }
}