diff --git a/.changeset/hip-bees-battle.md b/.changeset/hip-bees-battle.md new file mode 100644 index 0000000..bd32971 --- /dev/null +++ b/.changeset/hip-bees-battle.md @@ -0,0 +1,5 @@ +--- +"cypress-cucumber-step-definition-generator": patch +--- + +upgrade the gherkin library diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index f364f91..841b959 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -2,3 +2,5 @@ github: [nguyenngoclongdev] ko_fi: nguyenngoclong +patreon: nguyenngoclong +custom: https://paypal.me/longnguyenngoc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 975df8a..b83ee05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: cache: 'npm' always-auth: true registry-url: https://npm.pkg.github.com/ - scope: '@nguyenngoclongdev' + scope: '@vscode-utility' - name: Install dependency run: npm ci diff --git a/README.md b/README.md index a606df6..7ce6af1 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,12 @@ This extension is designed to help developers using the testing framework with Gherkin style feature files to generate step definition more easily and efficiently. With just a few clicks, you can automatically generate step definition for your feature files, saving you time and reducing the risk of errors. -If you find this extension useful for your testing projects, please consider supporting me by [Patreon](https://patreon.com/nguyenngoclong), [KO-FI](https://ko-fi.com/nguyenngoclong) or [Paypal](http://paypal.com/paypalme/longnguyenngoc). It's a great way to help me maintain and improve this tool in the future. Your support is truly appreciated! +If you find this extension useful for your projects, please consider supporting me by [Github](https://github.com/sponsors/nguyenngoclongdev), [Patreon](https://patreon.com/nguyenngoclong), [KO-FI](https://ko-fi.com/nguyenngoclong) or [Paypal](https://paypal.me/longnguyenngoc). It's a great way to help me maintain and improve this tool in the future. Your support is truly appreciated! -[![KO-FI](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/nguyenngoclong) -[![Paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](http://paypal.com/paypalme/longnguyenngoc) +[![Github](https://img.shields.io/badge/Github-F15689?style=for-the-badge&logo=github&logoColor=white)](https://github.com/sponsors/nguyenngoclongdev) [![Patreon](https://img.shields.io/badge/Patreon-F96854?style=for-the-badge&logo=patreon&logoColor=white)](https://patreon.com/nguyenngoclong) +[![KO-FI](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/nguyenngoclong) +[![Paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/longnguyenngoc) # Supported Languages and Frameworks diff --git a/package-lock.json b/package-lock.json index 3193cc4..61683ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "cypress-cucumber-step-definition-generator", - "version": "2.2.20", + "version": "2.2.23", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cypress-cucumber-step-definition-generator", - "version": "2.2.20", + "version": "2.2.23", "license": "MIT", "dependencies": { - "@nguyenngoclongdev/gherkin": "1.3.13", - "@vscode-utility/fs-browserify": "^1.0.4" + "@vscode-utility/fs-browserify": "^1.0.4", + "@vscode-utility/gherkin": "^1.3.14" }, "devDependencies": { "@changesets/cli": "^2.26.1", @@ -724,17 +724,6 @@ "node": ">=6 <7 || >=8" } }, - "node_modules/@nguyenngoclongdev/gherkin": { - "version": "1.3.13", - "resolved": "https://npm.pkg.github.com/download/@nguyenngoclongdev/gherkin/1.3.13/51571b779ae70bd559c76e589152c5ca2390b285", - "integrity": "sha512-KSW4BvVgf/sgsxGnimf66w+HpOVB2ZsM7sxox39OZjs3OO5GisXlf/oKcmr0OGZdMLn2jcekEi09yuQYlD1GiA==", - "license": "MIT", - "dependencies": { - "@cucumber/cucumber-expressions": "^16.1.2", - "@cucumber/gherkin": "^26.2.0", - "@cucumber/messages": "^22.0.0" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -1161,6 +1150,17 @@ "@types/vscode": "1.60.0" } }, + "node_modules/@vscode-utility/gherkin": { + "version": "1.3.14", + "resolved": "https://npm.pkg.github.com/download/@vscode-utility/gherkin/1.3.14/bbfefc44fcc304f60318cbf628d6c4086de47515", + "integrity": "sha512-4LTOXqhG8D/izFE2FaLLxAXzxH6NYZLvPfuukIahf7bRQF+XsBGDlyOx7g5uU33yT234QPfRaDiIFHiXSJlt3Q==", + "license": "MIT", + "dependencies": { + "@cucumber/cucumber-expressions": "^16.1.2", + "@cucumber/gherkin": "^26.2.0", + "@cucumber/messages": "^22.0.0" + } + }, "node_modules/@vscode/test-electron": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/@vscode/test-electron/-/test-electron-2.3.2.tgz", diff --git a/package.json b/package.json index 876b389..1f552b7 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,20 @@ "url": "https://github.com/nguyenngoclongdev/step-definition-generator/issues" }, "sponsor": { - "url": "https://ko-fi.com/nguyenngoclong" + "url": "https://github.com/sponsors/nguyenngoclongdev" }, "homepage": "https://nguyenngoclongdev.github.io", "categories": [ "Testing", "Other" ], + "badges": [ + { + "url": "https://img.shields.io/badge/Support%20this%20project-%F0%9F%92%96-green.svg?style=flat-square", + "href": "https://github.com/sponsors/nguyenngoclongdev", + "description": "Support us!" + } + ], "keywords": [ "cypress", "cucumber", @@ -190,7 +197,7 @@ "webpack-cli": "^5.1.1" }, "dependencies": { - "@nguyenngoclongdev/gherkin": "1.3.13", + "@vscode-utility/gherkin": "^1.3.14", "@vscode-utility/fs-browserify": "^1.0.4" }, "author": { diff --git a/src/commands/generateStepDefinitionToClipboard.ts b/src/commands/generateStepDefinitionToClipboard.ts index 89fcb06..f84e5e9 100644 --- a/src/commands/generateStepDefinitionToClipboard.ts +++ b/src/commands/generateStepDefinitionToClipboard.ts @@ -1,4 +1,4 @@ -import { GherkinCodeParse, GherkinOption, defaultGherkinOption } from '@nguyenngoclongdev/gherkin'; +import { GherkinCodeParse, GherkinOption, defaultGherkinOption } from '@vscode-utility/gherkin'; import { fs } from '@vscode-utility/fs-browserify'; import { Uri, env, window } from 'vscode'; import { ExtensionConfiguration } from '../extension'; diff --git a/src/commands/generateStepDefinitionToFile.ts b/src/commands/generateStepDefinitionToFile.ts index 4f8a2bd..542a577 100644 --- a/src/commands/generateStepDefinitionToFile.ts +++ b/src/commands/generateStepDefinitionToFile.ts @@ -1,4 +1,4 @@ -import { GherkinCodeParse, GherkinOption, defaultGherkinOption } from '@nguyenngoclongdev/gherkin'; +import { GherkinCodeParse, GherkinOption, defaultGherkinOption } from '@vscode-utility/gherkin'; import { fs } from '@vscode-utility/fs-browserify'; import { posix } from 'path'; import { Uri, window, workspace } from 'vscode'; diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 2ed6424..54c8cb4 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -1,4 +1,4 @@ -import { SupportedLanguage, SupportedRunner } from "@nguyenngoclongdev/gherkin"; +import { SupportedLanguage, SupportedRunner } from "@vscode-utility/gherkin"; import { TextEditor, Uri, window } from 'vscode'; import { SUPPORTED_FEATURE_FILE } from "../extension";