prettier/prettier-eslint

prettier-eslint installs vue-eslint-parser 8.30, instead of 9.1.0

mort3za opened this issue · 3 comments

Versions:

  • prettier-eslint version: 15.0.1
  • node version: 14.21.0
  • npm (or yarn) version: yarn 1.22.19

Have you followed the debugging tips?

Yes

Relevant code or config

None

What I did:

  • Created a fresh package.json in a new folder.
  • Installed prettier-eslint (yarn add prettier-eslint)

Problem description:

Checked node_modules/vue-eslint-parser/package.json, it shows version 8.3.0

This cause eslint errors in .vue files. Don't know why it's installing an old version, but the required dependency of this project is v9.1.0, it shouldn't install v8

Seems the uploaded files to npm repository is different than github repo. This is the content of npm repo, package.json:

{
  "name": "prettier-eslint",
  "version": "15.0.1",
  "description": "Formats your JavaScript using prettier followed by eslint --fix",
  "main": "dist/index.js",
  "types": "types/index.d.ts",
  "scripts": {
    "start": "nps",
    "test": "nps test",
    "precommit": "opt --in pre-commit --exec \"npm start validate\""
  },
  "files": [
    "dist",
    "types"
  ],
  "keywords": [],
  "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
  "maintainers": [
    "Simon Fridlund <simon@fridlund.email>"
  ],
  "license": "MIT",
  "dependencies": {
    "@types/eslint": "^8.4.2",
    "@types/prettier": "^2.6.0",
    "@typescript-eslint/parser": "^5.10.0",
    "common-tags": "^1.4.0",
    "dlv": "^1.1.0",
    "eslint": "^8.7.0",
    "indent-string": "^4.0.0",
    "lodash.merge": "^4.6.0",
    "loglevel-colored-level-prefix": "^1.0.0",
    "prettier": "^2.5.1",
    "pretty-format": "^23.0.1",
    "require-relative": "^0.8.7",
    "typescript": "^4.5.4",
    "vue-eslint-parser": "^8.0.1"
  },
  "devDependencies": {
    "@babel/cli": "^7.4.4",
    "@babel/core": "^7.4.5",
    "@babel/preset-env": "^7.4.5",
    "acorn": "^6.1.1",
    "ajv": "^6.12.2",
    "all-contributors-cli": "^6.7.0",
    "babel-jest": "^25.0.0",
    "chalk": "^2.1.0",
    "eslint-config-kentcdodds": "^20.0.1",
    "husky": "^2.4.1",
    "jest": "^25.0.0",
    "jest-cli": "^25.0.0",
    "nps": "^5.7.1",
    "nps-utils": "^1.3.0",
    "opt-cli": "^1.5.2",
    "prettier-eslint-cli": "^5.0.0",
    "rimraf": "^2.5.4",
    "semantic-release": "^15.13.16",
    "strip-indent": "^3.0.0"
  },
  "engines": {
    "node": ">=10.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/prettier/prettier-eslint.git"
  },
  "bugs": {
    "url": "https://github.com/prettier/prettier-eslint/issues"
  },
  "homepage": "https://github.com/prettier/prettier-eslint#readme"
}

As you can see above it depends on "vue-eslint-parser": "^8.0.1"

Stale issue

Could you please just make a new release from master branch to fix this issue in npm package?
It doesn't need any changes, just a new release to npm must fix this problem.