Skip to content

Commit

Permalink
Move handbook here
Browse files Browse the repository at this point in the history
  • Loading branch information
adzialocha committed Oct 25, 2024
1 parent ca4ba50 commit dde614f
Show file tree
Hide file tree
Showing 193 changed files with 30,946 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
>0.5%
not dead
not op_mini all
Empty file added .eslintignore
Empty file.
46 changes: 46 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint",
"prettier",
"react-hooks"
],
"rules": {
"comma-dangle": [
"error",
"always-multiline"
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/no-unescaped-entities": [
"error",
{
"forbid": [
">",
"}"
]
}
],
"prettier/prettier": 1,
"react/prop-types": 0,
"no-debugger": "warn",
"@typescript-eslint/ban-ts-comment": "warn"
}
}
40 changes: 40 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy website via GitHub Pages

on:
push:
branches:
- main

jobs:
deploy:
name: Deploy aquadoggo website

runs-on: ubuntu-latest

steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
run: npm install

- name: Build website
run: npm run build

- name: Deploy website
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: aquadoggo.p2panda.org
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
node_modules

# Production
build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.13.1
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true
}
Loading

0 comments on commit dde614f

Please sign in to comment.