Skip to content

Commit

Permalink
Next.js로 마이그레이션 (#8)
Browse files Browse the repository at this point in the history
* feat: nextjs 세팅

* feat: 홈페이지 퍼블리싱

* feat: nextjs 마이그레이션 마무리

* feat: 폰트 적용 및 lint ci 에러 수정
  • Loading branch information
SEOKKAMONI authored Dec 1, 2024
1 parent 4590cb4 commit 69deee3
Show file tree
Hide file tree
Showing 73 changed files with 2,558 additions and 14,735 deletions.
6 changes: 0 additions & 6 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md

This file was deleted.

6 changes: 0 additions & 6 deletions .github/ISSUE_TEMPLATE/QUESTION.md

This file was deleted.

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

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
quality:
name: Check quality
runs-on: ubuntu-latest
strategy:
matrix:
command: ['build', 'lint']
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 9.1.0
- uses: actions/setup-node@v4
with:
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
node-version-file: '.nvmrc'
- run: pnpm install --frozen-lockfile
- name: Run commands
run: pnpm ${{ matrix.command }}
87 changes: 27 additions & 60 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,69 +1,36 @@
# 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
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

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

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# Optional npm cache directory
.npm
# testing
/coverage

# Optional eslint cache
.eslintcache
# next.js
/.next/
/out/

# Optional REPL history
.node_repl_history
# production
/build

# Output of 'npm pack'
*.tgz
# misc
.DS_Store
*.pem

# dotenv environment variable files
.env*
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# gatsby files
.cache/
public
# local env files
.env*.local

# Mac files
.DS_Store
# vercel
.vercel

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity
# typescript
*.tsbuildinfo
next-env.d.ts
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm lint-staged
3 changes: 3 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.{ts,tsx}": ["biome format --write ."]
}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.18.2
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["biomejs.biome"]
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "always",
"source.organizeImports.biome": "explicit"
}
}
Binary file removed assets/icon.png
Binary file not shown.
47 changes: 47 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": ["**/*.css"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"useExhaustiveDependencies": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noAssignInExpressions": "off",
"noRedeclare": "off",
"noImplicitAnyLet": "off"
},
"complexity": {
"noForEach": "off",
"noBannedTypes": "off"
},
"style": {
"noNonNullAssertion": "off"
},
"a11y": {
"useKeyWithClickEvents": "off",
"noSvgWithoutTitle": "off"
},
"performance": {
"noAccumulatingSpread": "off"
}
}
},
"formatter": {
"indentStyle": "space",
"indentWidth": 2
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
}
}
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ["@commitlint/config-conventional"] };
16 changes: 0 additions & 16 deletions content/blog/자취 생활을 시작하면서/내용.md

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions gatsby-browser.tsx

This file was deleted.

Loading

0 comments on commit 69deee3

Please sign in to comment.