Skip to content

Commit

Permalink
v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Midra429 committed Nov 3, 2024
0 parents commit 861c6e9
Show file tree
Hide file tree
Showing 145 changed files with 16,357 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/01_bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: 不具合報告
description: コメントが引用されない、機能が正しく動作していないなどの問題を報告
labels: ['不具合']
body:
- type: input
id: version
attributes:
label: バージョン
description: |
引用コメントツールのバージョン
ポップアップの `設定 > 情報` の `引用コメントツール` の右側に記載されています
validations:
required: true

- type: dropdown
id: os
attributes:
label: OS
options:
- Windows
- macOS
- Linux
- ChromeOS
- Android

- type: dropdown
id: browser
attributes:
label: ブラウザ
options:
- Chrome
- Firefox

- type: textarea
id: video
attributes:
label: 該当の動画
description: タイトルやエピソード、URLなど

- type: textarea
id: description
attributes:
label: 詳細
validations:
required: true
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/02_suggestion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: 機能提案
description: 欲しい機能、改善してほしい部分などの提案
labels: ['機能提案']
body:
- type: textarea
id: description
attributes:
label: 詳細
validations:
required: true
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/03_other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: その他
description: 不具合報告や機能提案に該当しない場合
labels: ['その他']
body:
- type: textarea
id: description
attributes:
label: 詳細
validations:
required: true
79 changes: 79 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Release

on:
workflow_dispatch:
inputs:
bump_type:
description: 'v[major].[minor].[patch]'
required: true
type: choice
default: 'patch'
options:
- major
- minor
- patch

jobs:
submit:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install

- name: Setup Git
run: |
git config user.name "Midra"
git config user.email "[email protected]"
- name: Update Version
run: |
pnpm version ${{ github.event.inputs.bump_type }}
echo VERSION="v$(cat package.json | jq -r '.version')" >> "${GITHUB_ENV}"
- name: Zip Extensions
run: |
pnpm zip
pnpm zip:firefox
- name: Push tag to GitHub
run: |
git push
git push --tags
- name: Create Release to GitHub
run: |
gh release create "${VERSION}" dist/*-chrome.zip dist/*-firefox.zip
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Submit to Stores
run: |
pnpm wxt submit \
--chrome-zip dist/*-chrome.zip \
--firefox-zip dist/*-firefox.zip --firefox-sources-zip dist/*-sources.zip
env:
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }}
FIREFOX_JWT_ISSUER: ${{ secrets.FIREFOX_JWT_ISSUER }}
FIREFOX_JWT_SECRET: ${{ secrets.FIREFOX_JWT_SECRET }}
245 changes: 245 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
# Created by https://www.toptal.com/developers/gitignore/api/windows,macos,linux,visualstudiocode,node
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,macos,linux,visualstudiocode,node

### 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

### macOS Patch ###
# iCloud generated files
*.icloud

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

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

# 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
*.lcov

# nyc test coverage
.nyc_output

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

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

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

### Node Patch ###
# Serverless Webpack directories
.webpack/

# Optional stylelint cache

# SvelteKit build / generate output
.svelte-kit

### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
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/windows,macos,linux,visualstudiocode,node

# wxt
node_modules
.output
stats.html
stats-*.json
.wxt
web-ext.config.ts
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public-hoist-pattern[]=*@nextui-org/*
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist/**/*
node_modules/**/*
**/*.md
Loading

0 comments on commit 861c6e9

Please sign in to comment.