Skip to content

Commit

Permalink
fix: upgrade the gherkin library
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenngoclongdev authored Sep 16, 2024
1 parent 4a45cfa commit 2e264ea
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 24 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-bees-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cypress-cucumber-step-definition-generator": patch
---

upgrade the gherkin library
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

github: [nguyenngoclongdev]
ko_fi: nguyenngoclong
patreon: nguyenngoclong
custom: https://paypal.me/longnguyenngoc
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/generateStepDefinitionToClipboard.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/generateStepDefinitionToFile.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/utils.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down

0 comments on commit 2e264ea

Please sign in to comment.