Skip to content

Commit

Permalink
feat: require Node.js 16 (#1348)
Browse files Browse the repository at this point in the history
* feat: require Node.js 16

* bump package versions

* chore(dependencies): updated changesets for modified dependencies

* changeset?

* chore(dependencies): updated changesets for modified dependencies

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
n1ru4l and github-actions[bot] authored May 22, 2023
1 parent 22e71e2 commit 42ffb2e
Show file tree
Hide file tree
Showing 7 changed files with 348 additions and 606 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-carrots-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'graphql-config': major
---

Drop support for Node.js 14. Require Node.js `>= 16`
12 changes: 12 additions & 0 deletions .changeset/graphql-config-1348-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'graphql-config': patch
---

dependencies updates:

- Updated dependency [`@graphql-tools/graphql-file-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/graphql-file-loader/v/8.0.0) (from `^7.3.7`, in `dependencies`)
- Updated dependency [`@graphql-tools/json-file-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/json-file-loader/v/8.0.0) (from `^7.3.7`, in `dependencies`)
- Updated dependency [`@graphql-tools/load@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/load/v/8.0.0) (from `^7.5.5`, in `dependencies`)
- Updated dependency [`@graphql-tools/merge@^9.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/merge/v/9.0.0) (from `^8.2.6`, in `dependencies`)
- Updated dependency [`@graphql-tools/url-loader@^8.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/url-loader/v/8.0.0) (from `^7.9.7`, in `dependencies`)
- Updated dependency [`@graphql-tools/utils@^10.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.0.0) (from `^9.0.0`, in `dependencies`)
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node_version: [14, 16]
node_version: [16, 18, 20]
steps:
- uses: actions/checkout@v3

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
dependencies:
uses: the-guild-org/shared-config/.github/workflows/changesets-dependencies.yaml@main
with:
preCommit: 'yarn prettier'
installDependencies: true
secrets:
githubToken: ${{ secrets.GUILD_BOT_TOKEN }}

Expand All @@ -16,7 +19,7 @@ jobs:
with:
npmTag: alpha
buildScript: build
nodeVersion: 16
nodeVersion: 18
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
}
},
"dependencies": {
"@graphql-tools/graphql-file-loader": "^7.3.7",
"@graphql-tools/json-file-loader": "^7.3.7",
"@graphql-tools/load": "^7.5.5",
"@graphql-tools/merge": "^8.2.6",
"@graphql-tools/url-loader": "^7.9.7",
"@graphql-tools/utils": "^9.0.0",
"@graphql-tools/graphql-file-loader": "^8.0.0",
"@graphql-tools/json-file-loader": "^8.0.0",
"@graphql-tools/load": "^8.0.0",
"@graphql-tools/merge": "^9.0.0",
"@graphql-tools/url-loader": "^8.0.0",
"@graphql-tools/utils": "^10.0.0",
"cosmiconfig": "8.1.0",
"jiti": "1.17.1",
"minimatch": "4.2.3",
Expand All @@ -75,7 +75,7 @@
"@types/node": "18.16.14",
"@typescript-eslint/eslint-plugin": "5.59.6",
"@typescript-eslint/parser": "5.59.6",
"bob-the-bundler": "6.0.0",
"bob-the-bundler": "7.0.0",
"cosmiconfig-toml-loader": "1.0.0",
"del": "6.1.1",
"eslint": "8.41.0",
Expand Down Expand Up @@ -128,6 +128,6 @@
}
},
"engines": {
"node": ">= 10.0.0"
"node": ">= 16.0.0"
}
}
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"compilerOptions": {
"module": "esnext",
"target": "es2018",
"lib": ["es2018"],
"target": "es2021",
"lib": ["es2021"],
"outDir": "dist",
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"importHelpers": true,
Expand Down
Loading

0 comments on commit 42ffb2e

Please sign in to comment.