Skip to content

Commit af3aa3f

Browse files
authored
feat: add server and change client (#18)
* feat: add server and change client * chore: fix ci and pre commit * style: reformat code
1 parent 33aa464 commit af3aa3f

Some content is hidden

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

100 files changed

+4302
-3299
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,23 @@ jobs:
1414
tests:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: "Checkout"
18-
uses: actions/checkout@v2
19-
with:
20-
fetch-depth: 0
17+
- name: Checkout
18+
uses: actions/checkout@v5
19+
20+
- name: "Setup pnpm"
21+
uses: pnpm/action-setup@v4
2122

2223
- name: "Setup node"
23-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v4
2425
with:
25-
node-version: "23.6.0"
26-
27-
- name: "Setup bun"
28-
uses: oven-sh/setup-bun@v2
26+
node-version: 24.11.0
27+
cache: "pnpm"
2928

3029
- name: "Install dependencies"
31-
run: bun install
30+
run: pnpm install
3231

33-
- name: "Run tests"
34-
run: bun lerna run test:unit
32+
- name: "Run build"
33+
run: pnpm build
3534

3635
- name: "Run linter"
37-
run: bun lerna run lint
36+
run: pnpm lint

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,5 @@ dist
223223
.yarn/install-state.gz
224224
.pnp.*
225225

226-
# NX
227-
.nx/
226+
# Turbo
227+
.turbo/

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bun --no-install commitlint --edit "$1"
1+
pnpm --no-install commitlint --edit "$1"

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
bun lint-staged
2-
bun lerna run lint
1+
pnpm --no-install lint-staged
2+
pnpm format

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bun lerna run lint,test:unit
1+
pnpm lint

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v23.6.0
1+
v24.11.0

.prettierignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,12 @@ pnpm-lock.yaml
33
package-lock.json
44
yarn.lock
55
bun.lock
6+
7+
apps/
8+
9+
.turbo/
10+
node_modules/
11+
dist/
12+
coverage/
13+
CHANGELOG.md
14+
documentation/

.prettierrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

CODE_OF_CONDUCT.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
1717
Examples of behavior that contributes to a positive environment for our
1818
community include:
1919

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
2424
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
25+
- Focusing on what is best not just for us as individuals, but for the
2626
overall community
2727

2828
Examples of unacceptable behavior include:
2929

30-
* The use of sexualized language or imagery, and sexual attention or
30+
- The use of sexualized language or imagery, and sexual attention or
3131
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email
3535
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

3939
## Enforcement Responsibilities
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
106106
### 4. Permanent Ban
107107

108108
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
109+
standards, including sustained inappropriate behavior, harassment of an
110110
individual, or aggression toward or disparagement of classes of individuals.
111111

112112
**Consequence**: A permanent ban from any sort of public interaction within

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Supported Versions
44

55
| Version | Supported |
6-
|---------|--------------------|
6+
| ------- | ------------------ |
77
| all | :white_check_mark: |
88

99
## Reporting a Vulnerability

0 commit comments

Comments
 (0)