Skip to content

Commit

Permalink
Backport website from 16.x.x
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Oct 26, 2024
1 parent cf1c080 commit 56fe0cd
Show file tree
Hide file tree
Showing 60 changed files with 15,802 additions and 21,180 deletions.
5 changes: 5 additions & 0 deletions .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,6 +754,7 @@ 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': [
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
179 changes: 0 additions & 179 deletions docs-old/APIReference-GraphQL.md

This file was deleted.

Loading

0 comments on commit 56fe0cd

Please sign in to comment.