good first issuetype: bugversion: 2.0
Descrizione
Package.json file
{
"name": "@medusajs/cli",
"version": "2.15.5",
"description": "Command Line interface for Medusa Commerce",
"main": "dist/index.js",
"bin": {
"medusa": "cli.js"
},
"repository": {
"type": "git",
"url": "https://github.com/medusajs/medusa",
"directory": "packages/cli/medusa-cli"
},
"publishConfig": {
"access": "public"
},
"files": [
"cli.js",
"dist",
"!dist/**/__tests__",
"!dist/**/__mocks__",
"!dist/**/__fixtures__"
],
"engines": {
"node": ">=20"
},
"scripts": {
"test": "../../../node_modules/.bin/jest --passWithNoTests src",
"build": "yarn run -T rimraf dist && yarn run -T tsc --build",
"watch": "yarn run -T tsc --watch"
},
"author": "Sebastian Rindom",
"license": "MIT",
"dependencies": {
"@medusajs/deps": "2.15.5",
"@medusajs/telemetry": "2.15.5",
"@medusajs/utils": "2.15.5",
"@types/express": "^4.17.21",
"chalk": "^4.1.2",
"configstore": "^5.0.1",
"dotenv": "^16.4.5",
"execa": "^5.1.1",
"express": "^4.21.0",
"fs-exists-cached": "^1.0.0",
"fs-extra": "^11.1.1",
"glob": "13.0.6",
"hosted-git-info": "^4.0.2",
"inquirer": "^8.0.0",
"is-valid-path": "^0.1.1",
"meant": "^1.0.3",
"ora": "^5.4.1",
"pg-god": "^1.0.12",
"prompts": "^2.4.2",
"resolve-cwd": "^3.0.0",
"stack-trace": "^0.0.10",
"ulid": "^2.3.0",
"winston": "^3.9.0",
"yargs": "^17.7.2"
},
"gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808"
}
Node.js version
v20.19.4
Database and its version
16.2
Operating system name and version
Windows
Browser name
No response
What happended?
Medusa CLI is using an outdated package: "pg-god": "^1.0.12". This package is last updated 4 years ago, and it has some deprecated packages:
WARN 14 deprecated subdependencies found: @oclif/command@1.8.36, @oclif/config@1.18.16, @oclif/config@1.18.17, @oclif/config@1.18.2, @oclif/errors@1.3.5, @oclif/errors@1.3.6, @oclif/help@1.0.15, @oclif/parser@3.8.17, @oclif/screen@1.0.4, cli-ux@5.6.7, glob@7.2.3, inflight@1.0.6, lodash.isequal@4.5.0, uuid@9.0.1
Expected behavior
--
Actual behavior
--
Link to reproduction repo
https://github.com/medusajs/medusa/tree/develop/packages/cli/medusa-cli