Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport website from 16.x.x #4257

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,10 @@ module.exports = {
},
{
files: 'website/**',
parserOptions: {
sourceType: 'module',
project: ['./website/tsconfig.json'],
},
env: {
node: true,
},
Expand All @@ -750,11 +754,12 @@ module.exports = {
'import/no-commonjs': 'off',
'import/no-nodejs-modules': 'off',
'import/no-extraneous-dependencies': 'off',
'import/unambiguous': 'off',
// Ignore docusarus related webpack aliases
'n/no-missing-import': 'off',
'import/no-unresolved': [
'error',
{ ignore: ['^@theme', '^@docusaurus', '^@generated'] },
{ ignore: ['^@theme', '^@tailwindcss', '^@generated'] },
],
},
},
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,32 +243,3 @@ jobs:
with:
name: denoDist
path: ./denoDist

build-website-dist:
name: Build website
runs-on: ubuntu-latest
permissions:
contents: read # for actions/checkout
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: '.node-version'

- name: Install Dependencies
run: npm ci --ignore-scripts

- name: Build Docs
run: npm run build:website

- name: Upload denoDist package
uses: actions/upload-artifact@v4
with:
name: websiteDist
path: ./websiteDist
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
/.eslintcache
/.cspellcache
/.docusaurus
/node_modules
node_modules
/reports
/npmDist
/npmEsmDist
/denoDist
/websiteDist
/website/.next
/website/out
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
/diff-npm-package.html
/.eslintcache
/.docusaurus
/node_modules
node_modules
/reports
/npmDist
/npmEsmDist
/denoDist
/websiteDist
/website/out
.next
67 changes: 61 additions & 6 deletions cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ ignorePaths:
# Excluded from spelling check
- cspell.yml
- package.json
- package-lock.json
- tsconfig.json
- benchmark/github-schema.graphql
- benchmark/github-schema.json
- website/icons
- website/css
overrides:
- filename: '**/docs-old/APIReference-*.md'
ignoreRegExpList: ['/href="[^"]*"/']
words:
- sublinks
- instanceof
- filename: 'website/**'
dictionaries:
- fullstack
Expand All @@ -36,6 +35,8 @@ words:
- graphiql
- uncoerce
- uncoerced
- sublinks
- instanceof

# Different names used inside tests
- Skywalker
Expand All @@ -45,14 +46,68 @@ words:
- Artoo
- Threepio
- Odie
- Odie's
- Damerau
- Alderaan
- Tatooine
- astromech

# TODO: contribute upstream
- deno
- hashbang
- codecov

# Website tech
- Nextra
- headlessui
- Fastify
- tailwindcss
- svgr
- ruru

# used as href anchors
- graphqlerror
- syntaxerror
- formaterror
- graphqlschema
- graphqlscalartype
- graphqlobjecttype
- graphqlinterfacetype
- graphqluniontype
- graphqlenumtype
- graphqlinputobjecttype
- graphqllist
- graphqlnonnull
- graphqlint
- graphqlfloat
- graphqlstring
- graphqlboolean
- graphqlid
- getlocation
- isinputtype
- isoutputtype
- isleaftype
- iscompositetype
- isabstracttype
- getnullabletype
- getnamedtype
- introspectionquery
- buildclientschema
- buildschema
- printschema
- printintrospectionschema
- buildastschema
- typefromast
- astfromvalue
- typeinfo
- isvalidjsvalue
- isvalidliteralvalue
- specifiedrules
- Wordmark
- codeofconduct
- graphqlconf

# website words
- runtimes

# TODO: remove bellow words
- QLID # GraphQLID
Expand Down
179 changes: 0 additions & 179 deletions docs-old/APIReference-GraphQL.md

This file was deleted.

Loading
Loading