Skip to content

Commit a120b3f

Browse files
Split up website and main project
Co-authored-by: Yaacov Rydzinski <[email protected]>
1 parent 74547b6 commit a120b3f

34 files changed

+15174
-24063
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Copied from '.gitignore', please keep it in sync.
22
/.eslintcache
3-
/.docusaurus
43
/node_modules
54
/coverage
65
/npmDist
76
/denoDist
87
/websiteDist
8+
/website
99

1010
# Ignore TS files inside integration test
1111
/integrationTests/ts/*.ts

.eslintrc.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,9 @@ rules:
466466
yield-star-spacing: off
467467

468468
overrides:
469-
- files: '**/*.ts'
469+
- files:
470+
- '**/*.ts'
471+
- '**/*.tsx'
470472
parser: '@typescript-eslint/parser'
471473
parserOptions:
472474
sourceType: module
@@ -726,6 +728,3 @@ overrides:
726728
import/no-commonjs: off
727729
import/no-nodejs-modules: off
728730
import/no-extraneous-dependencies: off
729-
# Ignore docusarus related webpack aliases
730-
import/no-unresolved:
731-
['error', { 'ignore': ['^@theme', '^@docusaurus', '^@generated'] }]

.github/workflows/ci.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ jobs:
7272
- name: Install Dependencies
7373
run: npm ci --ignore-scripts
7474

75-
# Disabled due to https://github.com/milesj/docusaurus-plugin-typedoc-api/pull/19
76-
# - name: Check that package-lock.json doesn't have conflicts
77-
# run: npm ls --depth 999
78-
7975
- name: Run npm install
8076
run: npm install --ignore-scripts --force --package-lock-only --engine-strict --strict-peer-deps
8177

@@ -246,16 +242,12 @@ jobs:
246242
uses: actions/setup-node@v2
247243
with:
248244
cache: npm
245+
# TODO: switch back in v17
246+
# node-version-file: '.node-version'
249247
node-version: 18
250248

251249
- name: Install Dependencies
252-
run: npm ci --ignore-scripts
250+
run: cd website && npm ci --ignore-scripts
253251

254252
- name: Build Docs
255-
run: npm run build:website
256-
257-
- name: Upload denoDist package
258-
uses: actions/upload-artifact@v4
259-
with:
260-
name: websiteDist
261-
path: ./websiteDist
253+
run: cd website && npm run build

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
/diff-npm-package.html
99
/.eslintcache
1010
/.cspellcache
11-
/.docusaurus
12-
/node_modules
11+
node_modules
1312
/coverage
1413
/npmDist
1514
/denoDist
1615
/websiteDist
17-
website/.next
16+
/website/.next
17+
/website/out

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Copied from '.gitignore', please keep it in sync.
22
/diff-npm-package.html
33
/.eslintcache
4-
/.docusaurus
54
/node_modules
65
/coverage
76
/npmDist
87
/denoDist
98
/websiteDist
9+
/website/out
1010
.next

0 commit comments

Comments
 (0)