Skip to content

Commit 0496351

Browse files
Initial commit
0 parents  commit 0496351

31 files changed

Lines changed: 6259 additions & 0 deletions

.commitlintrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"body-max-line-length": [1, "always", 100],
5+
"footer-max-line-length": [1, "always", 100]
6+
}
7+
}

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* @remarkablemark
2+
3+
/package-lock.json
4+
/package.json
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug
4+
labels: bug
5+
assignees: remarkablemark
6+
---
7+
8+
## Expected Behavior
9+
10+
<!-- What should happen. -->
11+
12+
## Actual Behavior
13+
14+
<!-- What happens instead. -->
15+
16+
## Steps to Reproduce
17+
18+
<!-- Describe a sequence of steps that anybody can repeat to see the issue. -->
19+
20+
## Reproducible Demo
21+
22+
<!-- Creating a bug demo will help speed up the process of resolving the issue. -->
23+
24+
## Environment
25+
26+
- Version:
27+
- Platform:
28+
- Browser:
29+
- OS:
30+
31+
## Keywords
32+
33+
<!-- Include keywords that might help others with the same problem find this issue. -->
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Feature Request
3+
about: Suggest improvements or new features
4+
labels: feature
5+
assignees: remarkablemark
6+
---
7+
8+
## Problem
9+
10+
<!-- What is missing or inconvenient without this improvement or feature? -->
11+
12+
## Suggested Solution
13+
14+
<!-- How do you suggest fixing the problem? Do any other tools already do it? -->
15+
16+
## Keywords
17+
18+
<!-- Include keywords that might help others with the same problem find this issue. -->

.github/ISSUE_TEMPLATE/question.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Question
3+
about: Ask a question
4+
labels: question
5+
assignees: remarkablemark
6+
---
7+
8+
## Question
9+
10+
<!-- Check the README, issues, and discussions before asking your question. -->
11+
12+
## Keywords
13+
14+
<!-- Include keywords that might help others with the same question find this issue. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!--
2+
Filling out the information below can facilitate the review/merge of the pull request (PR).
3+
-->
4+
5+
## What is the motivation for this pull request?
6+
7+
<!-- Is this a feature, bug fix, documentation, etc.? -->
8+
9+
## What is the current behavior?
10+
11+
<!-- Please link to the issue (if applicable). -->
12+
13+
## What is the new behavior?
14+
15+
<!-- If this is a feature change or bug fix. -->
16+
17+
## Checklist:
18+
19+
<!--
20+
Feel free to remove any item that is irrelevant to your changes.
21+
To check an item, place an "x" in the box like so: `- [x] Tests`
22+
-->
23+
24+
- [ ] [Conventional Commits](https://www.conventionalcommits.org/)
25+
- [ ] Tests
26+
- [ ] Documentation
27+
28+
<!--
29+
Any other comments? Thank you for contributing!
30+
-->

.github/dependabot.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: 'npm'
9+
directory: '/'
10+
schedule:
11+
interval: 'daily'
12+
groups:
13+
commitlint:
14+
patterns:
15+
- '@commitlint/*'
16+
eslint:
17+
patterns:
18+
- '@eslint/*'
19+
- 'eslint*'
20+
- prettier
21+
vite:
22+
patterns:
23+
- '@vitest/*'
24+
- 'vite*'
25+
26+
- package-ecosystem: 'github-actions'
27+
directory: '/'
28+
schedule:
29+
interval: 'daily'

.github/mergify.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pull_request_rules:
2+
- name: automatic merge for Dependabot pull requests
3+
conditions:
4+
- author=dependabot[bot]
5+
- 'title~=^build\(deps-dev\): bump '
6+
actions:
7+
merge:
8+
method: squash

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: build
2+
on: [push, pull_request]
3+
4+
permissions:
5+
contents: write
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v6
13+
14+
- name: Use Node.js
15+
uses: actions/setup-node@v6
16+
with:
17+
cache: npm
18+
node-version-file: .nvmrc
19+
20+
- name: Install dependencies
21+
run: npm ci --prefer-offline
22+
23+
- name: Build package
24+
run: npm run build
25+
26+
- name: Generate docs
27+
run: npm run docs
28+
29+
- name: Deploy
30+
if: github.ref_name == 'master'
31+
uses: remarkablemark/gitploy-action@v1
32+
with:
33+
directory: docs

.github/workflows/commitlint.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: commitlint
2+
on: [push, pull_request]
3+
4+
permissions:
5+
contents: read
6+
7+
jobs:
8+
commitlint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v6
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Use Node.js
17+
uses: actions/setup-node@v6
18+
with:
19+
cache: npm
20+
node-version-file: .nvmrc
21+
22+
- name: Install dependencies
23+
run: npm ci --prefer-offline
24+
25+
- name: Lint commit message
26+
run: npx commitlint --from=HEAD~1

0 commit comments

Comments
 (0)