Skip to content

Commit 131f6bd

Browse files
committed
refactor: docusaurus
1 parent 894ad47 commit 131f6bd

File tree

90 files changed

+21809
-48847
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+21809
-48847
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ node_modules/*
66
coverage/*
77
**/node_modules/*
88
*.d.ts
9-
*.docz
109
serviceWorker.js
1110
rollup.*
1211
config/*

.eslintrc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"extends": [
44
"eslint:recommended",
55
"react-app",
6-
"kentcdodds",
76
"plugin:@typescript-eslint/eslint-recommended",
87
"plugin:@typescript-eslint/recommended"
98
],
@@ -13,7 +12,6 @@
1312
"jest": true
1413
},
1514
"ignorePatterns": ["dist/", "build/"],
16-
"plugins": ["@typescript-eslint"],
1715
"parserOptions": {
1816
"sourceType": "module",
1917
"ecmaFeatures": {

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master, main, next, beta]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Use Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 'lts/*'
18+
cache: 'yarn'
19+
20+
- name: Install dependencies
21+
run: yarn install --frozen-lockfile
22+
23+
- name: Build documentation
24+
run: yarn build
25+
26+
- name: Deploy to GitHub Pages
27+
uses: peaceiris/actions-gh-pages@v3
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_dir: ./build
31+
publish_branch: gh-pages
32+
commit_message: 'Deploy documentation to GitHub Pages'

.github/workflows/node.js.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.gitignore

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,39 @@
1+
# Dependencies
12
node_modules
2-
coverage
3-
dist
4-
.opt-in
5-
.opt-out
6-
.DS_Store
7-
.next
8-
.eslintcache
9-
.docz
10-
.storybook-static
3+
.pnp
4+
.pnp.js
115

12-
# testing
13-
/coverage
6+
# Testing
7+
coverage
8+
.nyc_output
149

15-
# production
10+
# Production
1611
/build
1712
/dist
1813

19-
# misc
14+
# Misc
2015
.DS_Store
2116
.env.local
2217
.env.development.local
2318
.env.test.local
2419
.env.production.local
20+
.env
2521

22+
# Logs
2623
npm-debug.log*
2724
yarn-debug.log*
2825
yarn-error.log*
2926

30-
# these cause more harm than good
31-
# when working with contributors
32-
package-lock.json
33-
yarn.lock
27+
# Editor directories and files
28+
.idea
29+
.vscode/*
30+
!.vscode/extensions.json
31+
!.vscode/settings.json
32+
*.suo
33+
*.ntvs*
34+
*.njsproj
35+
*.sln
36+
*.sw?
37+
38+
# Docusaurus
39+
.docusaurus

.npmignore

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
# Docusaurus
2+
.docusaurus
3+
build
4+
docs
5+
src
6+
static
7+
docusaurus.config.js
8+
sidebars.js
9+
10+
# Development
11+
.github
12+
.vscode
13+
coverage
14+
.nyc_output
15+
.eslintrc
16+
.eslintignore
17+
.prettierrc
18+
.prettierignore
19+
.editorconfig
20+
jest.config.js
21+
babel.config.js
22+
tsconfig.json
23+
24+
# Misc
25+
.git
26+
.gitignore
27+
.gitattributes
28+
.npmrc
29+
.nvmrc
30+
.travis.yml
31+
CHANGELOG.md
32+
CONTRIBUTING.md
33+
CODE_OF_CONDUCT.md
34+
LICENSE
35+
README.md
36+
*.log
37+
.DS_Store
38+
139
# dependencies
240
/node_modules
341

@@ -23,9 +61,7 @@ yarn-error.log*
2361

2462
# Development folders and files
2563
public
26-
src
2764
scripts
2865
config
29-
.travis.yml
3066
CHANGELOG.md
3167
README.md

.npmrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
registry=http://registry.npmjs.org/
22
package-lock=true
33
tag=latest
4-
access=public
4+
access=public
5+
engine-strict=true
6+
save-exact=true
7+
legacy-peer-deps=true

0 commit comments

Comments
 (0)