Skip to content

Commit

Permalink
旧ファイルREADME以外整理
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Nov 24, 2024
1 parent d67ac30 commit 9e90eef
Showing 43 changed files with 207 additions and 253 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
push:
pull_request:
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: "pnpm"

- run: pnpm install

- run: pnpm run lint
6 changes: 2 additions & 4 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Check typos
name: Typos

on:
push:
pull_request:
branches:
- "**"
workflow_dispatch:

jobs:
typos:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: typos-action
uses: crate-ci/typos@v1.12.12
File renamed without changes.
2 changes: 1 addition & 1 deletion _typos.toml
Original file line number Diff line number Diff line change
@@ -8,4 +8,4 @@ datas="datas"
whis="whis" # whisperの略

[files]
extend-exclude = ["*.svg"]
extend-exclude = ["*.svg", "pnpm-lock.yaml"]
Empty file removed old-gatsby/.gitattributes
Empty file.
70 changes: 0 additions & 70 deletions old-gatsby/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions old-gatsby/.prettierignore

This file was deleted.

4 changes: 0 additions & 4 deletions old-gatsby/.prettierrc

This file was deleted.

5 changes: 5 additions & 0 deletions old-gatsby/src/pages/news/index.tsx → old-gatsby/news.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* gatsby時代のNews一覧ページ。
* TODO: Astro化する。
*/

import { Link, graphql, useStaticQuery } from "gatsby"
import React from "react"
import "../../components/layout.scss"
File renamed without changes.
62 changes: 0 additions & 62 deletions old-gatsby/package.json

This file was deleted.

Binary file removed old-gatsby/src/images/download-page-image.png
Binary file not shown.
Binary file removed old-gatsby/src/images/movie.png
Binary file not shown.
7 changes: 0 additions & 7 deletions old-gatsby/src/index.d.ts

This file was deleted.

17 changes: 0 additions & 17 deletions old-gatsby/src/markdowns/nemoGuidance.md

This file was deleted.

15 changes: 0 additions & 15 deletions old-gatsby/src/markdowns/news/fuga.md

This file was deleted.

15 changes: 0 additions & 15 deletions old-gatsby/src/markdowns/news/hoge.md

This file was deleted.

2 changes: 0 additions & 2 deletions old-gatsby/src/pages/dormitory.tsx

This file was deleted.

1 change: 0 additions & 1 deletion old-gatsby/src/types/dormitoryCharacter.ts

This file was deleted.

13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
{
"name": "voicevox-blog",
"private": true,
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"eslint": "eslint src/",
"deploy": "astro check && astro build && gh-pages -d dist",
"lint": "eslint src/",
"fmt": "eslint src/ --fix",
"generateThumb": "tsx ./src/tools/generateThumb.mts",
"generateLatestDefaultEngineInfos": "tsx ./src/tools/generateLatestDefaultEngineInfos.ts"
"generateLatestDefaultEngineInfos": "tsx ./src/tools/generateLatestDefaultEngineInfos.ts",
"updateVersion": "tsx ./src/tools/updateVersion.ts"
},
"dependencies": {
"@astrojs/check": "0.9.4",
@@ -38,6 +40,7 @@
"eslint": "9.15.0",
"eslint-plugin-astro": "1.3.1",
"eslint-plugin-jsx-a11y": "6.10.2",
"gh-pages": "6.2.0",
"nanostores": "0.11.3",
"playwright": "1.49.0",
"react": "18.3.1",
@@ -50,5 +53,9 @@
"typescript-eslint": "8.15.0",
"vite": "5.4.11",
"zod": "3.23.8"
},
"repository": {
"type": "git",
"url": "https://github.com/VOICEVOX/voicevox_blog"
}
}
Loading

0 comments on commit 9e90eef

Please sign in to comment.