feat:Setup Prettier for code formatting
This commit is contained in:
37
.github/ISSUE_TEMPLATE/bug_feature_question.md
vendored
37
.github/ISSUE_TEMPLATE/bug_feature_question.md
vendored
@@ -1,23 +1,24 @@
|
||||
---
|
||||
name: '🐛 Bug / 💡 Feature / ❓ Question'
|
||||
about: 'Report a bug, request a feature, or ask a question about BentoPDF'
|
||||
title: "(Bug) <short title>, (Feature) <short title>, or (Question) <short title>"
|
||||
labels: ["needs triage"]
|
||||
title: '(Bug) <short title>, (Feature) <short title>, or (Question) <short title>'
|
||||
labels: ['needs triage']
|
||||
assignees: []
|
||||
---
|
||||
|
||||
## Type of Issue
|
||||
|
||||
Please check one:
|
||||
|
||||
- [ ] 🐛 Bug Report <!-- Label: bug -->
|
||||
- [ ] 💡 Feature Request <!-- Label: feature -->
|
||||
- [ ] ❓ Question / Help <!-- Label: question -->
|
||||
- [ ] 🐛 Bug Report <!-- Label: bug -->
|
||||
- [ ] 💡 Feature Request <!-- Label: feature -->
|
||||
- [ ] ❓ Question / Help <!-- Label: question -->
|
||||
|
||||
---
|
||||
|
||||
## Description
|
||||
|
||||
Provide a clear and concise description of the issue, feature request, or question.
|
||||
Provide a clear and concise description of the issue, feature request, or question.
|
||||
|
||||
---
|
||||
|
||||
@@ -37,39 +38,43 @@ Describe what actually happened, including error messages.
|
||||
|
||||
## Feature Request Details (if applicable)
|
||||
|
||||
- What functionality are you requesting?
|
||||
- Why is this useful?
|
||||
- What functionality are you requesting?
|
||||
- Why is this useful?
|
||||
- Any example or context to illustrate it?
|
||||
|
||||
---
|
||||
|
||||
## Question Details (if applicable)
|
||||
|
||||
- What is your question?
|
||||
- What have you tried so far?
|
||||
- What is your question?
|
||||
- What have you tried so far?
|
||||
- Any relevant code snippet or scenario?
|
||||
|
||||
---
|
||||
|
||||
## Screenshots / Logs (if applicable)
|
||||
|
||||
Attach any screenshots, logs, or stack traces that help explain the problem or question.
|
||||
|
||||
---
|
||||
|
||||
## Environment
|
||||
- **OS:** (e.g., macOS 14.0 / Ubuntu 22.04 / Windows 11)
|
||||
- **Dependencies / setup details (if any):**
|
||||
|
||||
- **OS:** (e.g., macOS 14.0 / Ubuntu 22.04 / Windows 11)
|
||||
- **Dependencies / setup details (if any):**
|
||||
|
||||
---
|
||||
|
||||
## 💭 Additional Context
|
||||
|
||||
Any other information, suggestions, or references that might help maintainers.
|
||||
|
||||
---
|
||||
|
||||
✅ **Title Format Reminder:**
|
||||
- `(Bug) Text alignment incorrect on multi-line paragraphs`
|
||||
- `(Feature) Add support for custom PDF metadata`
|
||||
✅ **Title Format Reminder:**
|
||||
|
||||
- `(Bug) Text alignment incorrect on multi-line paragraphs`
|
||||
- `(Feature) Add support for custom PDF metadata`
|
||||
- `(Question) How to embed custom fonts?`
|
||||
|
||||
---
|
||||
---
|
||||
|
||||
4
.github/pull_request_template.md
vendored
4
.github/pull_request_template.md
vendored
@@ -24,9 +24,11 @@ Please describe **how you tested your changes** so that maintainers can verify t
|
||||
- [ ] Wrote Vite Test Case (if applicable)
|
||||
|
||||
**Expected Results:**
|
||||
|
||||
- What the tests should produce (e.g., correct PDF rendering, no errors).
|
||||
|
||||
**Actual Results:**
|
||||
|
||||
- What you observed when running the tests.
|
||||
|
||||
### Checklist:
|
||||
@@ -38,4 +40,4 @@ Please describe **how you tested your changes** so that maintainers can verify t
|
||||
- [ ] My changes generate no new warnings
|
||||
- [ ] I have added tests that prove my fix is effective or that my feature works
|
||||
- [ ] New and existing unit tests pass locally with my changes
|
||||
- [ ] Any dependent changes have been merged and published in downstream modules
|
||||
- [ ] Any dependent changes have been merged and published in downstream modules
|
||||
|
||||
16
.github/workflows/build-and-publish.yml
vendored
16
.github/workflows/build-and-publish.yml
vendored
@@ -3,28 +3,24 @@ name: build docker image and push to dockerhub
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
docker-build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Set up QEMU
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
-
|
||||
name: Login to DockerHub
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
-
|
||||
name: Build and push
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: bentopdf/bentopdf:latest
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
Reference in New Issue
Block a user