Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Sep 23, 2023
0 parents commit da728e2
Show file tree
Hide file tree
Showing 25 changed files with 694 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist
test/fixtures
coverage
.eslintcache
18 changes: 18 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: {
node: true,
},
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"prettier",
],
plugins: ["@typescript-eslint"],
parser: "@typescript-eslint/parser",
parserOptions: {
// project: true,
sourceType: "module",
},
rules: {},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.json linguist-language=JSON-with-Comments
2 changes: 2 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
npx --no-install lint-staged
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: kazupon
Empty file added .github/ISSUE_TEMPLATE/.gitkeep
Empty file.
22 changes: 22 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!-- DO NOT IGNORE THE TEMPLATE!
Thank you for contributing!
Before submitting the PR, please make sure you do the following:
- Read the [Contributing Guide](https://github.com/intlify/express/blob/main/CONTRIBUTING.md).
- Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
- Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`).
- Ideally, include relevant tests that fail without this PR but pass with it.
-->

### Description

<!-- Please insert your description here and provide especially info about the "what" this PR is solving -->

### Linked Issues

### Additional context

<!-- e.g. is there anything you'd like reviewers to focus on? -->
87 changes: 87 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
- name: feature
description: Includes new features
color: 'ffff00'
- name: bug
description: Includes new features
color: 'ee0701'
- name: improvement
description: Includes backwards-compatible fixes
color: '1d76db'
- name: breaking
description: Includes backwards-incompatible fixes
color: 'b60205'
- name: refactoring
description: A code change that neither fixes a bug nor adds a feature
color: 'fbca04'
- name: security
description: Security fixes
color: 'b60205'
- name: documentation
description: Includes documetation fixes
color: '5319e7'
- name: example
description: Includes example and demo code fixes
color: 'db0875'
- name: deprecated
description: Includes deprecate fixes
color: 'f7ffa8'
- name: performance
description: Includes performance fixes
color: 'cc317c'
- name: i18n
description: Includes internationalization fixes
color: 'ffd412'
- name: a11y
description: Inlucdes accessibility fixes
color: '0000ff'
- name: dependency
description: Includes dependency fixes
color: 'ffbce7'
- name: todo
description: todo tasks
color: 'c2e0c6'
- name: duplicate
description: This issue or Pull Request already exists
color: 'ededed'
- name: help wanted
description: Extra attention is needed
color: 'e99695'
- name: good first issue
description: Good for newcomers
color: '7057ff'
- name: 'status: abandoned'
description: The issue or Pull Request is wontfix
color: '000000'
- name: 'status: blocked'
description: Progress on the issue is Blocked
color: 'ee0701'
- name: 'status: in progress'
description: Work in Progress
color: 'cccccc'
- name: 'status: proposal'
description: Request for comments
color: 'd4c5f9'
- name: 'status: pull request welcome'
description: Welcome to Pull Request
color: '2E7733'
- name: 'status: review needed'
description: Request for review
color: 'fbca04'
- name: 'status: need more repro codes or info'
description: Lacks enough info to make progress
color: 'F9C90A'
- name: '🧹 p1-chore'
description: 'Priority 1: no change in change code behavior'
color: '#FDDFD7'
- name: '🍰 p2-nice-to-have'
description: "Priority 2: nothing is broken but it's worth addressing"
color: '#0e8a16'
- name: '🔨 p3-minor-bug'
description: 'Priority 3: a bug in an edge case that only affects very specific usage'
color: '#fbca04'
- name: '❗ p4-important'
description: 'Priority 4: bugs that violate documented behavior, or significantly impact perf'
color: '#d93f0b'
- name: '🔥 p5-urgent'
description: 'Priority 5: build-breaking bugs that affect most users and should be fixed ASAP'
color: '#ee0701'
45 changes: 45 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
changelog:
exclude:
labels:
- ignore-for-release
authors:
- octocat
- renovate[bot]
categories:
- title: 🌟 Features
labels:
- feature
- title: 🐛 Bug Fixes
labels:
- bug
- title: 💥 Breaking Changes
labels:
- breaking
- title: ⚠️ Deprecated Features
labels:
- deprecated
- title: ⚡ Improvement Features
labels:
- improvement
- title: 🔒 Security Fixes
labels:
- security
- title: 📈 Performance Fixes
labels:
- performance
- title: 📝️ Documentations
labels:
- documentation
- title: 👕 Refactoring
labels:
- refactoring
- title: 🍭 Examples
labels:
- example
- title: 🌐 ♿ Internationalization or Accessibility Fixes
labels:
- a11y
- i18n
- title: 🪄 Others
labels:
- chore
16 changes: 16 additions & 0 deletions .github/workflows/github-label-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Label sync

on:
push:
branches:
- main
paths:
- .github/labels.yml
- .github/workflows/github-label-sync.yml
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: r7kamura/github-label-sync-action@v0
182 changes: 182 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore

# Logs

*.log
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
.cache

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

# IntelliJ based IDEs
.idea

# Finder (MacOS) folder config
.DS_Store

# others
*.swp
*.tgz
*.zip
*~
Loading

0 comments on commit da728e2

Please sign in to comment.