Skip to content

Commit

Permalink
chore: bob6 (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed May 6, 2023
1 parent a0a4c76 commit c63a0a7
Show file tree
Hide file tree
Showing 6 changed files with 387 additions and 441 deletions.
5 changes: 5 additions & 0 deletions .changeset/rich-moose-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@n1ru4l/graphql-public-schema-filter": major
---

drop support for Node.js 12
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [12, 14, 16]
node_version: [14, 16, 18]

steps:
- uses: actions/checkout@master
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
*.log
build
dist
.bob
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
.bob
30 changes: 20 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,31 @@
"version": "1.1.0",
"description": "Filter your GraphQL schema into a public schema.",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"require": {
"types": "./dist/typings/index.d.cts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
},
"default": {
"types": "./dist/typings/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"./*": {
"require": "./dist/*.js",
"import": "./dist/*.mjs"
"require": "./dist/cjs/*.js",
"import": "./dist/esm/*.js"
}
},
"typings": "dist/index.d.ts",
"typings": "dist/typings/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
"definition": "dist/typings/index.d.ts"
},
"author": {
"name": "Laurin Quast",
Expand All @@ -41,7 +51,7 @@
"@types/jest": "29.2.4",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"bob-the-bundler": "1.7.3",
"bob-the-bundler": "6.0.0",
"@graphql-tools/schema": "9.0.18",
"graphql": "16.6.0",
"husky": "7.0.4",
Expand All @@ -58,7 +68,7 @@
"scripts": {
"postinstall": "patch-package",
"test": "jest",
"build": "tsc && bob build --single",
"build": "bob build",
"ci:eslint": "eslint --ext .ts,.js,.tsx --ignore-path .gitignore .",
"prerelease": "yarn build",
"release": "changeset publish"
Expand Down
Loading

0 comments on commit c63a0a7

Please sign in to comment.