Skip to content

Commit

Permalink
Merge latest graphql through 16.0.0-rc.5 (#30)
Browse files Browse the repository at this point in the history
* Export OperationTypeNode as value (graphql#3316)

* Convert const "enum-like" maps to TS enums (graphql#3317)

* Deprecate 'ASTKindToNode' (graphql#3318)

* Add message that we only support TS >= 4.1.0 (graphql#3319)

* Update deps (graphql#3320)

* 16.0.0-rc.5

* Update lockfile

* change TODO

* Prune unused files

* Fix lockfile

* Add changeset

* fix lockfile

* spelling!

Co-authored-by: Ivan Goncharov <ivan.goncharov.ua@gmail.com>
  • Loading branch information
yaacovCR and IvanGoncharov committed Oct 19, 2021
1 parent ae50fc0 commit 43faf00
Show file tree
Hide file tree
Showing 13 changed files with 2,005 additions and 3,064 deletions.
5 changes: 5 additions & 0 deletions .changeset/short-coins-decide.md
@@ -0,0 +1,5 @@
---
'graphql-executor': patch
---

Update dependencies.
6 changes: 4 additions & 2 deletions .eslintrc.yml
Expand Up @@ -85,7 +85,7 @@ rules:
node/prefer-promises/fs: off

##############################################################################
# `eslint-plugin-import` rule list based on `v2.24.x`
# `eslint-plugin-import` rule list based on `v2.25.x`
##############################################################################

# Static analysis
Expand Down Expand Up @@ -461,7 +461,7 @@ overrides:
tsdoc/syntax: error

##########################################################################
# `@typescript-eslint/eslint-plugin` rule list based on `v4.31.x`
# `@typescript-eslint/eslint-plugin` rule list based on `v5.0.x`
##########################################################################

# Supported Rules
Expand Down Expand Up @@ -501,6 +501,7 @@ overrides:
'@typescript-eslint/no-misused-new': error
'@typescript-eslint/no-misused-promises': error
'@typescript-eslint/no-namespace': error
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': error
'@typescript-eslint/no-non-null-asserted-optional-chain': error
'@typescript-eslint/no-non-null-assertion': error
'@typescript-eslint/no-parameter-properties': error
Expand Down Expand Up @@ -601,6 +602,7 @@ overrides:
# Disable for JS and TS
'@typescript-eslint/init-declarations': off
'@typescript-eslint/no-magic-numbers': off
'@typescript-eslint/no-restricted-imports': off
'@typescript-eslint/no-use-before-define': off
'@typescript-eslint/no-duplicate-imports': off # Superseded by `import/no-duplicates`

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,6 +7,7 @@

/diff-npm-package.html
/.eslintcache
/.cspellcache
/node_modules
/coverage
/npmDist
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -6,7 +6,7 @@

- 604d9282: Re-export execution functions

`graphql-executor` previously allowed for execution pipeline customization by subclassing the exported Executor function. However, the existence of `graphql-executor` as a "safe," "smart" fork of `graphql-js` also allows for customization of the execution pipeline by simply forking `graphql-executor`, customizing, and using the `execute` and `subscribe` functions. These functions are now exported for that purpose. See the updated package README for further discussion.
`graphql-executor` previously allowed for execution pipeline customization by sub-classing the exported Executor function. However, the existence of `graphql-executor` as a "safe," "smart" fork of `graphql-js` also allows for customization of the execution pipeline by simply forking `graphql-executor`, customizing, and using the `execute` and `subscribe` functions. These functions are now exported for that purpose. See the updated package README for further discussion.

## 0.0.4

Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -20,7 +20,7 @@ yarn add graphql-executor

For the default behavior:

1. Use the `execute` and `subscribe` methods exported by `graphl-executor` in place of those exported by `graphql-js`.
1. Use the `execute` and `subscribe` methods exported by `graphql-executor` in place of those exported by `graphql-js`.

To customize execution:
(A) fork this package, customize the code, and carry on as above, or
Expand Down Expand Up @@ -50,7 +50,7 @@ GraphQL Executor provides:

1. A way to fork the GraphQL.JS executor without introducing multiple versions of
`graphql-js` into your project. `graphql-executor` is a smart fork of only the `execution` module of `graphql-js`. You can safely fork `graphql-executor` to customize your execution flow as needed.
2. A code-only method of customizing the executor by subclassing the exported internal `Executor` class as above.
2. A code-only method of customizing the executor by sub-classing the exported internal `Executor` class as above.
3. Direct benefits from our own customizations! GraphQL Executor is spec-compliant, but aims to support experimental features (such as `@defer`/`@stream` support) and provide other improvements as possible. See (https://github.com/yaacovCR/graphql-executor/releases) to track any new features.

### The Long Version:
Expand All @@ -59,7 +59,7 @@ GraphQL Executor provides:
within the Javascript GraphQL ecosystem as the central dependency for almost all other
community packages. GraphQL.js provides two key capabilities: building a typed schema
and executing requests against that type schema; it also includes a parser for the
GraphQL langugage and a handful of additional extremely helpful utilities. The vast
GraphQL language and a handful of additional extremely helpful utilities. The vast
majority of community packages depend in some way upon this bedrock to provide all
additional custom functionality.

Expand Down
12 changes: 2 additions & 10 deletions cspell.yml
@@ -1,15 +1,6 @@
language: en
useGitignore: true
ignorePaths:
# Copied from '.gitignore', please keep it in sync.
- diff-npm-package.html
- .eslintcache
- node_modules
- coverage
- npmDist
- denoDist
- npm
- deno

# Excluded from spelling check
- cspell.yml
- package.json
Expand All @@ -28,6 +19,7 @@ words:
- graphiql
- sublinks
- instanceof
- changesets

# Different names used inside tests
- Skywalker
Expand Down
72 changes: 0 additions & 72 deletions integrationTests/ts/TypedQueryDocumentNode-test.ts

This file was deleted.

31 changes: 0 additions & 31 deletions integrationTests/ts/basic-test.ts

This file was deleted.

62 changes: 0 additions & 62 deletions integrationTests/ts/extensions-test.ts

This file was deleted.

0 comments on commit 43faf00

Please sign in to comment.