Skip to content

Feature/bun runtime #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
0371403
chore!: replace node with bun
tomast1337 Feb 25, 2025
a504507
feat: add build script using bun for project setup
tomast1337 Apr 24, 2025
5b56347
refactor: change import to type for Request in auth controller and JW…
tomast1337 Apr 24, 2025
78cce21
refactor: update JSZip import to ES module syntax
tomast1337 Apr 24, 2025
d31b4c2
chore: update package.json and tsconfig files for bun compatibility
tomast1337 Apr 24, 2025
89efce2
fix: update path for shared module in tsconfig.json
tomast1337 Apr 24, 2025
2942ebd
refactor: change imports to type for UserDocument in multiple files
tomast1337 Apr 24, 2025
57a7550
feat: add canvasBun and canvasWeb modules for image processing in Nod…
tomast1337 Apr 24, 2025
a3a4702
refactor: remove unused registerFont import from canvasBun module
tomast1337 Apr 24, 2025
ad26fca
Merge branch 'develop' of https://github.com/OpenNBS/NoteBlockWorld i…
tomast1337 May 1, 2025
0c5a7dd
Merge branch 'develop' of https://github.com/OpenNBS/NoteBlockWorld i…
tomast1337 May 1, 2025
2d6d6d5
chore: update bun.lockb file
tomast1337 May 1, 2025
725cc9e
refactor: rename configService variable to _configService for consist…
tomast1337 May 1, 2025
5f5ea1c
fix: correct type handling for song file buffer in prepareSongForUplo…
tomast1337 May 1, 2025
4facf56
refactor: update start and dev scripts for consistency and clarity
tomast1337 May 1, 2025
d81f21d
refactor: consolidate canvas handling by removing deprecated files an…
tomast1337 May 1, 2025
32c5be9
chore: update bun.lockb file to reflect dependency changes
tomast1337 May 1, 2025
2de6f26
chore: update AWS SDK dependencies to version 3.800.0 and refactor S3…
tomast1337 May 2, 2025
599f653
feat: add Lato-Regular font and grayscale note block image assets
tomast1337 May 2, 2025
55eb4c0
refactor: simplify requestChecksumCalculation logic in S3 client conf…
tomast1337 May 2, 2025
3da0a22
fix: update file paths for assets and improve error handling in canva…
tomast1337 May 2, 2025
8b74f95
chore: update package.json scripts and remove file existence check in…
tomast1337 May 2, 2025
59ae8e8
chore: remove debug logging from authorizationParams method in Discor…
tomast1337 May 5, 2025
9a38c8a
refactor: update AuthService tests to use bun:test and remove old whi…
tomast1337 May 5, 2025
e608464
refactor: update Swagger module mocking to use bun:test
tomast1337 May 5, 2025
cc94a83
refactor: clean up imports and remove unused error handling in MySong…
tomast1337 May 5, 2025
8be5d7b
refactor: update tests in SongUploadService to use bun:test and impro…
tomast1337 May 5, 2025
080285c
refactor: update SongWebhookService tests to use bun:test and replace…
tomast1337 May 5, 2025
b605aba
refactor: update FileService and SongService tests to use bun:test an…
tomast1337 May 5, 2025
5ba9681
refactor: remove jest and related types from package.json to streamli…
tomast1337 May 5, 2025
f426134
refactor: update FileService tests to use bun:test and improve mock i…
tomast1337 May 5, 2025
85dfb7d
Merge branch 'develop' of https://github.com/OpenNBS/NoteBlockWorld i…
tomast1337 May 5, 2025
bded1d5
refactor: update linting and testing scripts in package.json; replace…
tomast1337 May 5, 2025
0440c3b
Merge branch 'main' of https://github.com/OpenNBS/NoteBlockWorld into…
tomast1337 May 5, 2025
3120db9
Merge branch 'main' into feature/bun
tomast1337 May 5, 2025
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
Binary file added bun.lockb
Binary file not shown.
47 changes: 30 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,50 @@
"description": "",
"main": "index.js",
"scripts": {
"dev:docker": "docker-compose -f docker-compose-dev.yml up -d && pnpm run dev && docker-compose down",
"build:server": "pnpm build:data && pnpm run --filter ./server build",
"build:web": "pnpm run --filter ./web build",
"start:server": "pnpm run --filter ./server start",
"start:web": "pnpm run --filter ./web start",
"dev": "pnpm build:data && pnpm run --parallel dev",
"dev:web": "pnpm run --filter ./web dev",
"dev:server": "pnpm run --filter ./server dev",
"lint": "pnpm run --parallel lint",
"test": "pnpm run --parallel test",
"cy:open": "pnpm run --filter ./tests cy:open",
"dev:docker": "docker-compose -f docker-compose-dev.yml up -d && bun run dev && docker-compose down",
"build:server": "bun run build:data && cd server && bun run build",
"build:web": "cd ./web && bun run build",
"start:server": "cd ./server && bun run start",
"start:server:prod": "cd ./server && bun run start",
"start:web:prod": "cd ./web && bun run start",
"dev": "concurrently --success first -n \"server,web\" --prefix-colors \"cyan,magenta\" --prefix \"{name} {time}\" \"bun run dev:server\" \"bun run dev:web\"",
"dev:web": "cd ./web && bun run dev",
"dev:server": "cd ./server && bun run start:dev",
"lint": "bun run lint:server && bun run lint:web && bun run lint:shared",
"lint:server": "cd ./server && bun run lint",
"lint:web": "cd ./web && bun run lint",
"lint:shared": "cd ./shared && bun run lint",
"test": "bun run test:server && bun run test:shared",
"test:server": "cd ./server && bun run test",
"test:shared": "cd ./shared && bun run test",
"cy:open": "bun run test:cy",
"test:cy": "cd ./tests && bun run cy:open",
"prettier": "prettier --write .",
"build:data": "ts-node ./build.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"workspaces": [
"server",
"web",
"shared",
"tests"
],
"devDependencies": {
"@types/bun": "^1.2.10",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"concurrently": "^9.1.2",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unused-imports": "^2.0.0",
"prettier": "^2.8.8",
"@types/node": "^20.3.1"
"prettier": "^2.8.8"
},
"dependencies": {
"@nbw": "workspace:noteblockworld-shared@*",
"ts-node": "^10.9.1"
},
"packageManager": "[email protected]+sha512.ee7b93e0c2bd11409c6424f92b866f31d3ea1bef5fbe47d3c7500cdc3c9668833d2e55681ad66df5b640c61fa9dc25d546efa54d76d7f8bf54b13614ac293631"
}
}
}
Loading