Skip to content

Commit

Permalink
feat: migrate to vitessg
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Mar 13, 2022
1 parent 29dfcb8 commit 14f4a4f
Show file tree
Hide file tree
Showing 66 changed files with 6,701 additions and 12,577 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

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

[*.md]
trim_trailing_whitespace = false
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
*.mp4 binary
*.tff binary
*.woff binary
*.woff2 binary
*.woff2 binary
15 changes: 10 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to gh-pages
name: GHPages

on:
pull_request:
Expand All @@ -8,17 +8,22 @@ on:
push:
branches:
- main
paths-ignore:
- .vscode
- .husky

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v2
- run: yarn install
- run: yarn build

- uses: pnpm/action-setup@v2.0.1
with:
version: latest
run_install: true
- run: pnpm run build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_dir: ./dist
77 changes: 7 additions & 70 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,73 +1,10 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variable files
.env*

# gatsby files
.cache/
public

# Mac files
.DS_Store
node_modules
*.local
dist-ssr

# Yarn
yarn-error.log
.pnp/
.pnp.js

# Yarn Integrity file
.yarn-integrity
# Log files
*.log*

# Temp
/generated-types
dist/
.vite-ssg-temp
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

9 changes: 0 additions & 9 deletions .vscode/settings.json

This file was deleted.

10 changes: 0 additions & 10 deletions CHANGELOG.md

This file was deleted.

14 changes: 0 additions & 14 deletions LICENSE

This file was deleted.

13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<p>
<h1 align="center">ntnyq.com</h1>
</p>
# ntnyq.com

My personal website.

## Prior Art

Deeply thank to [antfu](https://github.com/antfu) for his amazing work.

- [antfu.me](https://github.com/antfu/antfu.me)
- [vitesse](https://github.com/antfu/vitesse)

0 comments on commit 14f4a4f

Please sign in to comment.