Skip to content

Commit 59a3655

Browse files
committed
feat: initial release - unpublished
1 parent 8999e09 commit 59a3655

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+7999
-2
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": true,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Description
2+
3+
<!-- Provide a brief description of the changes introduced by this PR -->
4+
5+
## Type of Change
6+
7+
<!-- Mark the appropriate option with an "x" -->
8+
9+
- [ ] Bug fix (non-breaking change which fixes an issue)
10+
- [ ] New feature (non-breaking change which adds functionality)
11+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
12+
- [ ] Documentation update
13+
- [ ] Refactoring (no functional changes)
14+
- [ ] Other (please describe):
15+
16+
## How Has This Been Tested?
17+
18+
<!-- Describe the tests you ran and how they verify your changes -->
19+
20+
- [ ] Unit tests
21+
- [ ] Integration tests
22+
- [ ] Manual tests
23+
24+
## Checklist
25+
26+
<!-- Mark completed items with an "x" -->
27+
28+
- [ ] My code follows the project's style guidelines
29+
- [ ] I have performed a self-review of my code
30+
- [ ] I have commented my code, particularly in hard-to-understand areas
31+
- [ ] I have made corresponding changes to the documentation
32+
- [ ] My changes generate no new warnings
33+
- [ ] I have added tests that prove my fix is effective or that my feature works
34+
- [ ] New and existing unit tests pass locally with my changes
35+
36+
## Screenshots (if applicable)
37+
38+
<!-- Add screenshots to help explain your changes -->
39+
40+
## Additional Notes
41+
42+
<!-- Add any additional information that would be helpful for reviewers -->
43+
44+
## Related Issues
45+
46+
<!-- Link related issues below. Insert the issue link or reference -->

.github/workflows/lint_check.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: '🔎 Lint check'
2+
on:
3+
workflow_call:
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: ⬇️ Checkout repo
11+
uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0
14+
15+
- name: ⎔ Setup pnpm
16+
uses: pnpm/action-setup@v4
17+
with:
18+
version: 9.15.1
19+
20+
- name: ⎔ Setup node
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '20.x'
24+
cache: 'pnpm'
25+
26+
- name: 📥 Download deps
27+
run: pnpm install --frozen-lockfile
28+
29+
- name: 🔎 Type check
30+
run: pnpm typecheck
31+
32+
- name: 🔎 Lint
33+
run: pnpm lint

.github/workflows/pr_checks.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 🤖 PR Checks
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: read
13+
id-token: write
14+
15+
jobs:
16+
lint:
17+
if: github.actor != 'dependabot[bot]'
18+
uses: ./.github/workflows/lint_check.yml
19+
secrets: inherit
20+
21+
tests:
22+
if: github.actor != 'dependabot[bot]'
23+
uses: ./.github/workflows/tests.yml
24+
secrets: inherit
25+
needs: [lint]

.github/workflows/tests.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: '🧪 Unit Tests'
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
vitest:
8+
name: ⚡ Vitest
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: ⬇️ Checkout repo
12+
uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
16+
- name: ⎔ Setup pnpm
17+
uses: pnpm/action-setup@v4
18+
with:
19+
version: 9.15.1
20+
21+
- name: ⎔ Setup node
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20.x'
25+
cache: 'pnpm'
26+
27+
- name: 📥 Download deps
28+
run: pnpm install --frozen-lockfile
29+
30+
- name: ⚡ Run vitest
31+
env:
32+
SWARMNODE_API_KEY: ${{ secrets.SWARMNODE_API_KEY }}
33+
run: |
34+
pnpm test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,5 @@ dist
128128
.yarn/build-state.yml
129129
.yarn/install-state.gz
130130
.pnp.*
131+
132+
tmp

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lint-staged

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
legacy-peer-deps=true
2+
registry=https://registry.npmjs.org/

0 commit comments

Comments
 (0)