-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v4] Remove
GraphQLRuleTester
from bundle (#1792)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f6cdb16
commit 804f8b6
Showing
127 changed files
with
1,103 additions
and
1,048 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
.changeset/@graphql-eslint_eslint-plugin-1792-dependencies.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@graphql-eslint/eslint-plugin': patch | ||
--- | ||
|
||
dependencies updates: | ||
|
||
- Removed dependency | ||
[`@babel/code-frame@^7.18.6` ↗︎](https://www.npmjs.com/package/@babel/code-frame/v/7.18.6) (from | ||
`dependencies`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
'@graphql-eslint/eslint-plugin': major | ||
--- | ||
|
||
Remove `GraphQLRuleTester` from bundle, to test your rules use regular `RuleTester` from eslint | ||
|
||
> **Note**: with this change unnecessary dependency `@babel/code-frame` was removed too | ||
```js | ||
import { RuleTester } from 'eslint' | ||
|
||
const ruleTester = new RuleTester({ | ||
parser: require.resolve('@graphql-eslint/eslint-plugin') | ||
}) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
name: pr | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
branches: [master] | ||
|
||
jobs: | ||
dependencies: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
name: release | ||
on: | ||
push: | ||
branches: | ||
- master | ||
branches: [master] | ||
|
||
jobs: | ||
stable: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"pnpm": ">=8" | ||
}, | ||
"scripts": { | ||
"build": "pnpm --filter @graphql-eslint/eslint-plugin build && bob check", | ||
"build": "turbo run build --filter=!website && bob check", | ||
"ci:lint": "eslint --ignore-path .gitignore --output-file eslint_report.json --format json .", | ||
"create-rule": "tsx scripts/create-rule.ts", | ||
"generate:configs": "tsx scripts/generate-configs.ts", | ||
|
@@ -21,7 +21,7 @@ | |
"prerelease": "NODE_ENV=production pnpm build", | ||
"prettier": "pnpm lint:prettier --write", | ||
"release": "changeset publish", | ||
"test": "vitest ." | ||
"test": "turbo run test --filter=!website" | ||
}, | ||
"devDependencies": { | ||
"@changesets/changelog-github": "0.4.8", | ||
|
@@ -35,7 +35,7 @@ | |
"chalk": "4.1.2", | ||
"dedent": "1.5.1", | ||
"enquirer": "2.4.1", | ||
"eslint": "8.44.0", | ||
"eslint": "8.46.0", | ||
"eslint-plugin-eslint-plugin": "5.0.7", | ||
"eslint-plugin-tailwindcss": "3.13.0", | ||
"husky": "8.0.3", | ||
|
@@ -46,6 +46,7 @@ | |
"rimraf": "5.0.1", | ||
"tsup": "^7.1.0", | ||
"tsx": "3.12.7", | ||
"turbo": "^1.10.12", | ||
"typescript": "5.1.6", | ||
"vitest": "0.30.1" | ||
}, | ||
|
@@ -54,7 +55,7 @@ | |
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"eslint@8.44.0": "patches/eslint@8.31.0.patch", | ||
"eslint@8.46.0": "patches/eslint@8.46.0.patch", | ||
"[email protected]": "patches/[email protected]", | ||
"[email protected]": "patches/[email protected]", | ||
"@vitest/[email protected]": "patches/@[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.