Skip to content

Commit 636da0b

Browse files
authored
Merge pull request #69 from joaoc-dev/dev
merge dev
2 parents 3157d35 + b5043af commit 636da0b

521 files changed

Lines changed: 51596 additions & 6987 deletions

File tree

Some content is hidden

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

.coderabbit.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: en-US
2+
early_access: false
3+
reviews:
4+
profile: chill
5+
request_changes_workflow: false
6+
high_level_summary: true
7+
poem: false
8+
review_status: true
9+
collapse_walkthrough: false
10+
assess_linked_issues: true
11+
related_issues: true
12+
path_instructions:
13+
- path: 'blueledger-webapp/app/**/*.{ts,tsx}'
14+
instructions: 'Review the Typescript and React code according to conventions and best practices.'
15+
- path: 'blueledger-webapp/app/api/**'
16+
instructions: 'Verify API routes handle errors gracefully and follow RESTful conventions.'
17+
- path: 'blueledger-webapp/app/**/*.test.{ts,tsx}'
18+
instructions: 'Ensure that test files effectively cover various scenarios and edge cases, and follow testing conventions.'
19+
auto_review:
20+
enabled: true
21+
drafts: false
22+
chat:
23+
auto_reply: true

.github/dependabot.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: blueledger-webapp
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 1
8+
commit-message:
9+
prefix: chore
10+
target-branch: dev
11+
groups:
12+
npm-deps:
13+
update-types: [minor, patch]
14+
ignore:
15+
# We will be updating major versions manually
16+
- dependency-name: '*'
17+
update-types: ['version-update:semver-major']
18+
19+
- package-ecosystem: github-actions
20+
directory: blueledger-webapp
21+
schedule:
22+
interval: weekly
23+
open-pull-requests-limit: 1
24+
commit-message:
25+
prefix: chore
26+
target-branch: dev

.github/workflows/ci.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
on: [push]
2+
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
defaults:
7+
run:
8+
working-directory: blueledger-webapp
9+
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Install dependencies
15+
run: npm install -g pnpm && pnpm install
16+
17+
- name: Copy .env.example files
18+
shell: bash
19+
run: find . -type f -name ".env.example" -exec sh -c 'cp "$1" "${1%.*}"' _ {} \;
20+
21+
- name: Typecheck
22+
run: pnpm typecheck
23+
24+
- name: Lint
25+
run: pnpm lint
26+
27+
- name: Check dependencies
28+
run: pnpm check:deps
29+
30+
- name: Install Playwright Browsers
31+
run: npx playwright install --with-deps
32+
33+
- name: Run tests
34+
run: pnpm run test:coverage-report
35+
36+
- name: Upload coverage reports to Codecov
37+
uses: codecov/codecov-action@v5
38+
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}
40+
slug: joaoc-dev/blueledger
41+
42+
- name: Upload test results to Codecov
43+
if: ${{ !cancelled() }}
44+
uses: codecov/test-results-action@v1
45+
with:
46+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
working-directory: blueledger-webapp
14+
15+
strategy:
16+
matrix:
17+
node-version: [22.x]
18+
19+
permissions:
20+
contents: write
21+
issues: write
22+
pull-requests: write
23+
24+
steps:
25+
- name: Checkout repo
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0 # Important for semantic-release to get full git history
29+
30+
- name: Install pnpm
31+
uses: pnpm/action-setup@v4
32+
with:
33+
version: 10
34+
35+
- name: Setup Node.js
36+
uses: actions/setup-node@v4
37+
with:
38+
node-version: ${{ matrix.node-version }}
39+
cache: 'pnpm'
40+
41+
- name: Install dependencies
42+
run: pnpm install
43+
44+
- name: Verify package integrity
45+
run: pnpm audit signatures
46+
47+
- name: Run semantic-release
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
run: npx semantic-release

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2025-present - João Carvalho
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)