Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
paths:
- 'apps/api/**'
- '.github/workflows/api.yml'
- 'packages/shared/**'
- 'packages/db/**'
- '.github/workflows/build-api.yml'

jobs:
build:
Expand All @@ -15,7 +17,9 @@ jobs:
with:
fetch-depth: 0

- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/build-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
push:
paths:
- 'apps/bot/**'
- '.github/workflows/bot.yml'
- 'packages/shared/**'
- 'packages/db/**'
- '.github/workflows/build-bot.yml'

jobs:
build:
Expand All @@ -15,7 +17,9 @@ jobs:
with:
fetch-depth: 0

- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
with:
fetch-depth: 0

- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
paths:
- 'apps/web/**'
- '.github/workflows/web.yml'
- 'packages/shared/**'
- '.github/workflows/build-web.yml'

jobs:
build:
Expand All @@ -15,7 +16,9 @@ jobs:
with:
fetch-depth: 0

- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install
Expand Down
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@wallet-analytic/api",
"version": "1.0.50",
"scripts": {
"test": "bun --bun test",
"test": "bun test",
"format": "bun --bun biome format . --write",
"build:compile": "bun --bun build src/index.ts --compile --minify --outfile server --target bun",
"build": "bun --bun build src/index.ts --minify --outdir dist --target bun",
Expand Down
2 changes: 2 additions & 0 deletions apps/bot/bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[test]
coverage = true
1 change: 1 addition & 0 deletions apps/bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"version": "0.0.1",
"type": "module",
"scripts": {
"test": "bun test",
"dev": "bun --bun --watch ./src/main.ts",
"format": "bun --bun biome format . --write",
"build": "bun --bun build src/main.ts --target=bun --outdir=dist --minify",
Expand Down
2 changes: 2 additions & 0 deletions apps/web/bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[test]
coverage = true
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"test": "bun test",
"build": "bunx --bun nuxt build",
"dev": "bunx --bun nuxt dev --no-fork",
"generate": "bunx --bun nuxt generate",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
"build:apps": "bunx concurrently -n web,api,bot -c blue,green,magenta \"bun run --filter=@wallet-analytic/web build\" \"bun run --filter=@wallet-analytic/api build\" \"bun run --filter=@wallet-analytic/bot build\"",
"build": "bun run build:packages && bun run build:apps",
"------- Test -------": "-------",
"test": "bun test --recursive",
"test:watch": "bun test --watch --recursive",
"test:packages": "bunx concurrently -n db,shared,ton -c yellow,cyan,magenta \"bun run --filter=@wallet-analytic/db test\" \"bun run --filter=@wallet-analytic/shared test\" \"bun run --filter=@wallet-analytic/ton-client test\"",
"test:apps": "bunx concurrently -n web,api,bot -c blue,green,magenta \"bun run --filter=@wallet-analytic/web test\" \"bun run --filter=@wallet-analytic/api test\" \"bun run --filter=@wallet-analytic/bot test\"",
"test": "bun run test:packages && bun run test:apps",
"------- DB -------": "-------",
"db:generate": "bun run --filter=@wallet-analytic/api db:generate",
"db:migrate": "bun run --filter=@wallet-analytic/api db:migrate",
Expand Down
2 changes: 2 additions & 0 deletions packages/db/bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[test]
coverage = true
1 change: 1 addition & 0 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
".": "./src/index.ts"
},
"scripts": {
"test": "bun test",
"build": "bun --bun build src/index.ts --outdir dist --format esm --target bun",
"format": "bun --bun biome format . --write",
"checkAll": "bun --bun biome check . --write --unsafe",
Expand Down
2 changes: 2 additions & 0 deletions packages/ton-client/bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[test]
coverage = true
1 change: 1 addition & 0 deletions packages/ton-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"main": "./dist/index.js",
"type": "module",
"scripts": {
"test": "bun test",
"build": "bun --bun build src/index.ts --outdir dist --format esm --target bun",
"format": "bun --bun biome format . --write",
"checkAll": "bun --bun biome check . --write --unsafe"
Expand Down