Skip to content

Commit

Permalink
Split up website and main project
Browse files Browse the repository at this point in the history
Co-authored-by: Yaacov Rydzinski  <yaacovCR@gmail.com>
  • Loading branch information
JoviDeCroock and yaacovCR committed Oct 18, 2024
1 parent 74547b6 commit a120b3f
Show file tree
Hide file tree
Showing 34 changed files with 15,174 additions and 24,063 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copied from '.gitignore', please keep it in sync.
/.eslintcache
/.docusaurus
/node_modules
/coverage
/npmDist
/denoDist
/websiteDist
/website

# Ignore TS files inside integration test
/integrationTests/ts/*.ts
7 changes: 3 additions & 4 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,9 @@ rules:
yield-star-spacing: off

overrides:
- files: '**/*.ts'
- files:
- '**/*.ts'
- '**/*.tsx'
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
Expand Down Expand Up @@ -726,6 +728,3 @@ overrides:
import/no-commonjs: off
import/no-nodejs-modules: off
import/no-extraneous-dependencies: off
# Ignore docusarus related webpack aliases
import/no-unresolved:
['error', { 'ignore': ['^@theme', '^@docusaurus', '^@generated'] }]
16 changes: 4 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
- name: Install Dependencies
run: npm ci --ignore-scripts

# Disabled due to https://github.com/milesj/docusaurus-plugin-typedoc-api/pull/19
# - name: Check that package-lock.json doesn't have conflicts
# run: npm ls --depth 999

- name: Run npm install
run: npm install --ignore-scripts --force --package-lock-only --engine-strict --strict-peer-deps

Expand Down Expand Up @@ -246,16 +242,12 @@ jobs:
uses: actions/setup-node@v2
with:
cache: npm
# TODO: switch back in v17
# node-version-file: '.node-version'
node-version: 18

- name: Install Dependencies
run: npm ci --ignore-scripts
run: cd website && 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
run: cd website && npm run build
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
/diff-npm-package.html
/.eslintcache
/.cspellcache
/.docusaurus
/node_modules
node_modules
/coverage
/npmDist
/denoDist
/websiteDist
website/.next
/website/.next
/website/out
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copied from '.gitignore', please keep it in sync.
/diff-npm-package.html
/.eslintcache
/.docusaurus
/node_modules
/coverage
/npmDist
/denoDist
/websiteDist
/website/out
.next
Loading

0 comments on commit a120b3f

Please sign in to comment.