-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency bob-the-bundler to v1.2.0 (#45) Co-authored-by: Renovate Bot <[email protected]> Update dependency ts-jest to v26.5.3 (#46) Co-authored-by: Renovate Bot <[email protected]> Update dependency patch-package to v6.4.5 (#47) Co-authored-by: Renovate Bot <[email protected]> WIP! (#48) Update dependency typescript to v4.2.3 (#50) Co-authored-by: Renovate Bot <[email protected]> Initial benchmark, some fixes (#51) remove request flow (not needed) added use-error-handler added use-payload-formatter fixes wip fixes benchmarks fixes Upcoming Release Changes (#49) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Update dependency @types/node to v14.14.32 (#52) Co-authored-by: Renovate Bot <[email protected]> Update dependency patch-package to v6.4.6 (#53) Co-authored-by: Renovate Bot <[email protected]> Update dependency apollo-server to v2.21.1 (#54) Co-authored-by: Renovate Bot <[email protected]> Update typescript-eslint monorepo to v4.17.0 (#55) Co-authored-by: Renovate Bot <[email protected]> added graphql-jit plugin added useDataLoader Update dependency @graphql-tools/utils to v7.5.1 (#56) Co-authored-by: Renovate Bot <[email protected]> fixes Update dependency @types/node to v14.14.33 (#58) Co-authored-by: Renovate Bot <[email protected]> Update dependency @graphql-tools/utils to v7.5.2 (#59) Co-authored-by: Renovate Bot <[email protected]> Update sentry monorepo to v6.2.2 (#60) Co-authored-by: Renovate Bot <[email protected]> Update dependency @types/node to v14.14.34 (#62) Co-authored-by: Renovate Bot <[email protected]> Update dependency patch-package to v6.4.7 (#63) Co-authored-by: Renovate Bot <[email protected]> Update dependency @graphql-tools/utils to v7.6.0 (#64) Co-authored-by: Renovate Bot <[email protected]> Update dependency eslint to v7.22.0 (#65) Co-authored-by: Renovate Bot <[email protected]> Update dependency @types/node to v14.14.35 (#66) Co-authored-by: Renovate Bot <[email protected]> Update typescript-eslint monorepo to v4.18.0 (#67) Co-authored-by: Renovate Bot <[email protected]> Update dependency @types/jsonwebtoken to v8.5.1 (#68) Co-authored-by: Renovate Bot <[email protected]> Update dependency ts-jest to v26.5.4 (#69) Co-authored-by: Renovate Bot <[email protected]> Update dependency @types/jest to v26.0.21 (#70) Co-authored-by: Renovate Bot <[email protected]> Update dependency apollo-server to v2.21.2 (#71) Co-authored-by: Renovate Bot <[email protected]> Update sentry monorepo to v6.2.3 (#72) Co-authored-by: Renovate Bot <[email protected]> wip examples, README, fixes fixes update README update readme added getter for schema field added subscribe deps cleanup fixes Update dependency graphql-modules to v1.4.2 (#73) Co-authored-by: Renovate Bot <[email protected]> fixes allow to extend envelops fixes fixes
- Loading branch information
0 parents
commit b1333b0
Showing
92 changed files
with
12,140 additions
and
0 deletions.
There are no files selected for viewing
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,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.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,10 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": ["@envelop/testing", "@envelop-examples/apollo-server", "@envelop-examples/graphql-helix", "@envelop-examples/simple-http"] | ||
} |
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,16 @@ | ||
--- | ||
'@envelop/core': patch | ||
'@envelop/apollo-tracing': patch | ||
'@envelop/auth0': patch | ||
'@envelop/dataloader': patch | ||
'@envelop/depth-limit': patch | ||
'@envelop/graphql-jit': patch | ||
'@envelop/graphql-modules': patch | ||
'@envelop/opentelemetry': patch | ||
'@envelop/parser-cache': patch | ||
'@envelop/sentry': patch | ||
'@envelop/validation-cache': patch | ||
'@envelop/types': patch | ||
--- | ||
|
||
Initial packages release |
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 @@ | ||
*.spec.ts |
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,47 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
"eslint:recommended", | ||
"standard", | ||
"prettier", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"plugins": ["@typescript-eslint"], | ||
"rules": { | ||
"no-empty": "off", | ||
"no-console": "error", | ||
"no-prototype-builtins": "off", | ||
"no-useless-constructor": "off", | ||
"@typescript-eslint/no-unused-vars": ["warn", {"args": "none"}], | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"@typescript-eslint/no-namespace": "off", | ||
"@typescript-eslint/no-empty-interface": "off", | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/ban-ts-ignore": "off", | ||
"@typescript-eslint/ban-types": "off" | ||
}, | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"**/tests/**/*.ts", | ||
"**/graphql-codegen-testing/**/*.ts", | ||
"*.spec.ts" | ||
], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": "off" | ||
} | ||
} | ||
], | ||
"ignorePatterns": ["dist", "node_modules", "dev-test", "website"] | ||
} |
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 @@ | ||
custom: https://www.buymeacoffee.com/JDnuAwr |
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,71 @@ | ||
name: Canary Release | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish-canary: | ||
name: Publish Canary | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.head.repo.full_name == github.repository | ||
steps: | ||
- name: Checkout Main | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Use Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
- name: Configure Git Credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "theguild-bot" | ||
echo "machine github.com login theguild-bot password ${{secrets.GH_API_TOKEN}}" > ~/.netrc | ||
- name: Setup NPM credentials | ||
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} | ||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache Yarn | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-14-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-14-yarn- | ||
- name: Install Dependencies using Yarn | ||
run: yarn install --ignore-engines && git checkout yarn.lock | ||
- name: Release Canary | ||
id: canary | ||
uses: 'kamilkisiela/release-canary@master' | ||
with: | ||
npm-token: ${{ secrets.NODE_AUTH_TOKEN }} | ||
npm-script: 'yarn release:canary' | ||
changesets: true | ||
- name: Publish a message | ||
if: steps.canary.outputs.released | ||
uses: 'kamilkisiela/pr-comment@master' | ||
with: | ||
message: | | ||
The latest changes of this PR are available as alpha in npm (based on the declared `changesets`): | ||
``` | ||
${{ steps.canary.outputs.changesetsPublishedPackages}} | ||
``` | ||
bot-token: ${{ secrets.GITHUB_TOKEN }} | ||
bot: 'theguild-bot' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Publish a empty message | ||
if: steps.canary.outputs.released == 'false' | ||
uses: 'kamilkisiela/pr-comment@master' | ||
with: | ||
message: | | ||
The latest changes of this PR are not available as alpha, since there are no linked `changesets` for this PR. | ||
bot-token: ${{ secrets.GITHUB_TOKEN }} | ||
bot: 'theguild-bot' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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,58 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
name: Testing on ${{matrix.os}} and Node ${{matrix.node_version}} | ||
runs-on: ${{matrix.os}} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
node_version: [12, 14] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Use Node ${{matrix.node_version}} | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache Yarn | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-${{matrix.node_version}}-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-${{matrix.node_version}}-yarn- | ||
- name: Cache Jest | ||
uses: actions/cache@v2 | ||
with: | ||
path: .cache/jest | ||
key: ${{ runner.os }}-${{matrix.node_version}}-jest-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-${{matrix.node_version}}-jest- | ||
- name: Install Dependencies using Yarn | ||
run: yarn install | ||
- name: Build | ||
run: yarn build | ||
- name: Lint | ||
run: yarn lint | ||
- name: Test | ||
run: yarn test:ci --logHeapUsage | ||
env: | ||
CI: true | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
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,55 @@ | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Main | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Configure Git Credentials | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "theguild-bot" | ||
echo "machine github.com login theguild-bot password ${{secrets.GH_API_TOKEN}}" > ~/.netrc | ||
- name: Add origin remote and refetch main | ||
run: | | ||
git remote rm origin | ||
git remote add origin "https://github.com/${{github.repository}}" | ||
git fetch | ||
git checkout main | ||
git reset --hard | ||
- name: Use Node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
- name: Setup NPM credentials | ||
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} | ||
- name: Get yarn cache | ||
id: yarn-cache | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
- name: Cache Yarn | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.yarn-cache.outputs.dir }} | ||
key: ${{ runner.os }}-14-15-yarn-${{ hashFiles('yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-14-15-yarn- | ||
- name: Install Dependencies using Yarn | ||
run: yarn install && git checkout yarn.lock | ||
- name: Create Release Pull Request or Publish to npm | ||
id: changesets | ||
uses: changesets/action@master | ||
with: | ||
publish: yarn release | ||
commit: 'chore(release): update monorepo packages versions' | ||
title: 'Upcoming Release Changes' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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,109 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# Next.js build output | ||
.next | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and *not* Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
|
||
.bob | ||
temp | ||
.idea |
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,5 @@ | ||
src | ||
tests | ||
node_modules | ||
.bob | ||
temp |
Oops, something went wrong.