Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v3 (dotansimha#2922)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency prettier to v3

* Prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Arda TANRIKULU <[email protected]>
  • Loading branch information
renovate[bot] and ardatan authored Jul 13, 2023
1 parent df678e8 commit 94eb0ae
Show file tree
Hide file tree
Showing 527 changed files with 15,499 additions and 12,690 deletions.
13 changes: 3 additions & 10 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,13 @@ module.exports = {
paths: [
{
name: 'graphql',
importNames: [
'execute',
'subscribe',
'graphql',
'executeSync',
'graphqlSync',
],
message:
'Please use `normalizedExecutor` from `@graphql-tools/executor` instead.',
importNames: ['execute', 'subscribe', 'graphql', 'executeSync', 'graphqlSync'],
message: 'Please use `normalizedExecutor` from `@graphql-tools/executor` instead.',
},
],
},
],
},
},
],
}
};
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ blank_issues_enabled: false
contact_links:
- name: Have a question?
url: https://github.com/dotansimha/graphql-yoga/discussions/new
about: Not sure about something? need help from the community? have a question to our team? please ask and answer questions here.
about:
Not sure about something? need help from the community? have a question to our team? please
ask and answer questions here.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-store.outputs.PATH }}
key: ${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
key:
${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-${{
hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-
Expand Down Expand Up @@ -86,7 +88,9 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-store.outputs.PATH }}
key: ${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
key:
${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-${{
hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-
Expand Down Expand Up @@ -134,7 +138,9 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-store.outputs.PATH }}
key: ${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
key:
${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-${{
hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-
Expand Down Expand Up @@ -222,7 +228,9 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-store.outputs.PATH }}
key: ${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
key:
${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-${{
hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-graphql-v${{ matrix.graphql-version }}-
- name: Install Dependencies
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/deployment-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
plan:
[
'cf-worker',
'cf-modules',
'azure-function',
'aws-lambda',
'vercel-function',
]
plan: ['cf-worker', 'cf-modules', 'azure-function', 'aws-lambda', 'vercel-function']
name: e2e / ${{ matrix.plan }}

runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
jobs:
deployment:
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push'
if:
github.event.pull_request.head.repo.full_name == github.repository || github.event_name ==
'push'
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -28,7 +30,9 @@ jobs:
name: build and deploy website
env:
NEXT_BASE_PATH: ${{ github.ref == 'refs/heads/main' && '/graphql/yoga-server' || '' }}
SITE_URL: ${{ github.ref == 'refs/heads/main' && 'https://the-guild.dev/graphql/yoga-server' || '' }}
SITE_URL:
${{ github.ref == 'refs/heads/main' && 'https://the-guild.dev/graphql/yoga-server' || ''
}}
with:
cloudflareApiToken: ${{ secrets.WEBSITE_CLOUDFLARE_API_TOKEN }}
cloudflareAccountId: ${{ secrets.WEBSITE_CLOUDFLARE_ACCOUNT_ID }}
Expand Down
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ out/

# Since prettier doesn't support MDX2 he breaks formatting for the following
website/src/pages/v2/migration/migration-from-yoga-v1.mdx

# Meta code files have "assertions" that are not currently supported by prettier
website/src/pages/v2/_meta.js
website/src/lib/v2-get-static-props.ts
website/src/pages/v3/_meta.js
website/src/lib/v3-get-static-props.ts
20 changes: 0 additions & 20 deletions .prettierrc

This file was deleted.

6 changes: 1 addition & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"denoland.vscode-deno",
"dbaeumer.vscode-eslint"
]
"recommendations": ["esbenp.prettier-vscode", "denoland.vscode-deno", "dbaeumer.vscode-eslint"]
}
5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"prettier.prettierPath": "./node_modules/prettier",
"typescript.tsdk": "./node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"deno.enablePaths": [
"examples/deno",
"examples/netlify-edge/netlify/edge-functions"
],
"deno.enablePaths": ["examples/deno", "examples/netlify-edge/netlify/edge-functions"],
"deno.importMap": "examples/netlify-edge/.netlify/edge-functions-import-map.json"
}
7 changes: 2 additions & 5 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{ targets: { node: process.versions.node.split('.')[0] } },
],
['@babel/preset-env', { targets: { node: process.versions.node.split('.')[0] } }],
'@babel/preset-typescript',
],
plugins: [
Expand All @@ -12,4 +9,4 @@ module.exports = {
'babel-plugin-parameter-decorator',
'@babel/plugin-proposal-class-properties',
],
}
};
Loading

0 comments on commit 94eb0ae

Please sign in to comment.