Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Commit

Permalink
feat: total rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Jun 5, 2020
1 parent 45fcf39 commit beea694
Show file tree
Hide file tree
Showing 55 changed files with 11,010 additions and 4,251 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
indent_style = tab
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{y,ya}ml]
indent_style = space
indent_size = 2
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

21 changes: 0 additions & 21 deletions .eslintrc.json

This file was deleted.

132 changes: 132 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
name: CI

on: [push, pull_request]

jobs:
build:
name: Build

runs-on: ubuntu-latest

steps:
- name: Checkout git repository
uses: actions/checkout@v1
with:
fetch-depth: 0
- name: Setup Node.js for use with Actions
uses: actions/setup-node@v1
with:
node-version: '12.14.1'
- name: Install Yarn
run: curl -o- -L https://yarnpkg.com/install.sh | bash
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies with Yarn
run: yarn install
- name: Build for production
run: yarn run build
- name: Export static site
run: yarn run export
- name: Upload compiled TypeScript
uses: actions/upload-artifact@v1
with:
name: exported_site
path: out
compile:
name: Compile

runs-on: ubuntu-latest

steps:
- name: Checkout git repository
uses: actions/checkout@v1
with:
fetch-depth: 0
- name: Setup Node.js for use with Actions
uses: actions/setup-node@v1
with:
node-version: '12.14.1'
- name: Install Yarn
run: curl -o- -L https://yarnpkg.com/install.sh | bash
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies with Yarn
run: yarn install
- name: Compile TypeScript
run: yarn run tsc
lint:
name: Lint

runs-on: ubuntu-latest

steps:
- name: Checkout git repository
uses: actions/checkout@v1
with:
fetch-depth: 0
- name: Setup Node.js for use with Actions
uses: actions/setup-node@v1
with:
node-version: '12.14.1'
- name: Install Yarn
run: curl -o- -L https://yarnpkg.com/install.sh | bash
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies with Yarn
run: yarn install
- name: Lint with XO
run: yarn run lint
style:
name: Check style

runs-on: ubuntu-latest

steps:
- name: Checkout git repository
uses: actions/checkout@v1
with:
fetch-depth: 0
- name: Setup Node.js for use with Actions
uses: actions/setup-node@v1
with:
node-version: '12.14.1'
- name: Install Yarn
run: curl -o- -L https://yarnpkg.com/install.sh | bash
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies with Yarn
run: yarn install
- name: Check style with Prettier
run: yarn run style
80 changes: 77 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,48 @@
# Created by https://www.toptal.com/developers/gitignore/api/node,linux,macos,windows,visualstudiocode
# Edit at https://www.toptal.com/developers/gitignore?templates=node,linux,macos,windows,visualstudiocode

# Created by https://www.gitignore.io/api/node,visualstudiocode
# Edit at https://www.gitignore.io/?templates=node,visualstudiocode
### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
Expand All @@ -9,6 +51,10 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
Expand Down Expand Up @@ -95,4 +141,32 @@ typings/
# Ignore all local history of files
.history

# End of https://www.gitignore.io/api/node,visualstudiocode
### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/node,linux,macos,windows,visualstudiocode

# Next.js static-site export folder
out
19 changes: 6 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
{
"deepscan.enable": true,
"cSpell.words": [
"audioandvideo",
"audioonly",
"frameguard",
"highestaudio",
"keybase",
"signale",
"webapp",
"youtube",
"ytdl"
]
}
"editor.codeActionsOnSave": {
"source.organizeImports": false
},
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
Loading

0 comments on commit beea694

Please sign in to comment.