bencompton / jest-cucumber

Execute Gherkin scenarios in Jest
Apache License 2.0
662 stars 118 forks source link

Version inconsistencies, always pointing at ts-jest 26 #151

Closed RobertBeekman closed 7 months ago

RobertBeekman commented 2 years ago

Hello,

I'm trying to use this package with Jest 27. According to https://github.com/bencompton/jest-cucumber/pull/132 that should be supported.

I installed version 3.0.2 and looking at the package.json that came with that, it's still stuck on 26.1.4

{
  "name": "jest-cucumber",
  "version": "3.0.2",
  "description": "Execute Gherkin scenarios in Jest",
  "main": "dist/src/index.js",
  "typings": "dist/src/index.d.ts",
  "scripts": {
    "build": "tsc",
    "jest": "jest --verbose",
    "test": "npm run build & npm run lint & jest --color",
    "lint": "tslint --project ./"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bencompton/jest-cucumber.git"
  },
  "keywords": [
    "jest",
    "gherkin",
    "cucumber"
  ],
  "author": "Ben Compton",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/bencompton/jest-cucumber/issues"
  },
  "homepage": "https://github.com/bencompton/jest-cucumber#readme",
  "devDependencies": {
    "babel-jest": "^24.1.0",
    "ts-jest": "^26.1.4",
    "tslint": "^5.10.0",
    "typescript": "^3.3.3"
  },
  "dependencies": {
    "@cucumber/gherkin": "^17.0.0",
    "@types/glob": "^7.1.3",
    "@types/jest": "^26.0.7",
    "@types/node": "^11.9.4",
    "@types/uuid": "^8.3.0",
    "callsites": "^3.0.0",
    "glob": "^7.1.6",
    "jest": "^26.1.0"
  },
  "jest": {
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "testMatch": [
      "**/*.steps.ts"
    ],
    "moduleFileExtensions": [
      "js",
      "ts",
      "tsx"
    ]
  }
}

Installing via npm by default gives me version 3.0.1 while 3.0.2 is the latest, perhaps because it's tagged as next? https://www.npmjs.com/package/jest-cucumber/v/3.0.2?activeTab=versions

RobertBeekman commented 1 year ago

@bencompton I see this issue could have been resolved by https://github.com/bencompton/jest-cucumber/pull/154

I'm wondering, are you still committed to this project? One of our projects that utilizes jest-cucumber with great succes is starting to fall behind on depedency versions due to just-cucumber. Because of this we cannot really use this anymore on new projects, which is really a shame.

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 7 months ago

This issue is closed because there has been no recent activity.