Skip to content

Commit

Permalink
✨ release.cjs の実装
Browse files Browse the repository at this point in the history
  • Loading branch information
takuma-ru committed Apr 30, 2024
1 parent 26da174 commit de67180
Show file tree
Hide file tree
Showing 9 changed files with 486 additions and 55 deletions.
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/add-update-fix-document-page.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Add/Update/Fix Document page
title: \U0001F4DD xxx
description: Documentation-related issues, etc.
labels: [":memo: documentation"]

body:
- type: dropdown
id: type
attributes:
label: Issue type
description: What is the problem?
multiple: false
options:
- "Add"
- "Update"
- "Fix"
default: 0
validations:
required: true

- type: textarea
attributes:
label: Description
description: Please describe your request in detail.
placeholder: |
Please describe your request in detail.
validations:
required: true

- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
placeholder: |
Add any other context about the problem here.
validations:
required: false
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Bug report
description: Create a report to help us improve
title: ":bug: xxx"
labels: [":bug: bug"]
assignees: takuma-ru

body:
- type: textarea
attributes:
label: Describe the bug
description: What happened when you did what?
validations:
required: true

- type: textarea
attributes:
label: To Reproduce
description: Please describe in as much detail as possible the steps you took to generate that bug.
validations:
required: false

- type: textarea
attributes:
label: Terminal Info
description: please complete the following information
value: |
- OS: <!-- macOS -->
- Browser: <!-- Chrome, Safari -->
- Version: <!-- 119 -->
- Library version: <!-- 0.1.0 -->
validations:
required: true

- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
placeholder: |
Add any other context about the problem here.
validations:
required: false
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Feature request
description: Adding new features and improving the functionality of existing features
title: "\U0001F6E0️ xxx"
labels: [":hammer_and_wrench:enhancement"]

body:
- type: textarea
attributes:
label: Describe the improve feature
description: What is the feature you want to improve?
validations:
required: true

- type: textarea
attributes:
label: Additional context
description: Add any other context about the feature here.
placeholder: |
Add any other context about the feature here.
validations:
required: false
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/new-feature-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: NEW Feature request
description: Want to add a completely new feature
title: ":sparkles: xxx"
labels: [":sparkles: feature"]

body:
- type: textarea
attributes:
label: Describe the NEW feature
description: What is the feature you want to add?
validations:
required: true

- type: textarea
attributes:
label: Additional context
description: Add any other context about the feature here.
placeholder: |
Add any other context about the feature here.
validations:
required: false
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## What's changed
<!-- Briefly describe what you have done with this PR. -->


## Issue
- #xx

## TODO
<!-- Please describe any issues that have not yet been resolved or that need to be addressed in the future. -->
- [ ] none

## Remark
<!-- Please describe any items that should be shared with reviewers -->
80 changes: 80 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name-template: "Release $RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"

categories:
- title: "✨ Features"
labels:
- ":sparkles: feature"
- title: "🛠️ Enhancement"
labels:
- ":hammer_and_wrench: enhancement"
- title: "🐛 Bug Fixes"
labels:
- ":bug: bug"
- title: "🧰 Maintenance"
label: "chore"
- title: "📝 Update Documentation"
labels:
- ":memo: documentation"
- title: "♻️ Refactoring"
labels:
- ":recycle: refactor"

change-template: "- $TITLE @$AUTHOR ([#$NUMBER]($URL))"

change-title-escapes: '\<*_&'

template: |
## Changes
$CHANGES
autolabeler:
- label: ":sparkles: feature"
branch:
- "/^feat(ure)?[/-].+/"
- label: ":bug: bug"
branch:
- "/^fix[/-].+/"
- label: ":recycle: refactor"
branch:
- "/(refactor|refactoring)[/-].+/"
- label: ":memo: documentation"
branch:
- "/doc(umentation)[/-].+/"
files:
- "*.md"
- label: ":hammer_and_wrench: enhancement"
branch:
- "/(enhancement|improve)[/-].+/"
- label: ":rocket: release"
branch:
- "/^release[/-].+/"
- label: ":package: core feature"
files:
- "packages/auto-story-generator/**/*.ts"
- label: ":package: lit"
files:
- "packages/auto-story-generator/src/presets/lit/**/*.ts"
- "demo/lit/*"
- "demo/lit/**/*"
- label: ":package: react"
files:
- "packages/auto-story-generator/src/presets/react/**/*.ts"
- "demo/react/*"
- "demo/react/**/*"
- label: ":package: vue"
files:
- "packages/auto-story-generator/src/presets/vue/**/*.ts"
- "demo/vue/*"
- "demo/vue/**/*"
- label: ":package: angular"
files:
- "packages/auto-story-generator/src/presets/angular/**/*.ts"
- "demo/angular/*"
- "demo/angular/**/*"
- label: ":package: svelte"
files:
- "packages/auto-story-generator/src/presets/svelte/**/*.ts"
- "demo/svelte/*"
- "demo/svelte/**/*"
Loading

0 comments on commit de67180

Please sign in to comment.