Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [22.x]

steps:
- name: Check out Git repository
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
check-latest: true
cache: 'pnpm'

Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
check-latest: true
cache: 'pnpm'

Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
- 開発言語
- [TypeScript](https://www.typescriptlang.org/)
- JavaScriptのランタイム
- [Node.js](https://nodejs.org): v20+
- [Node.js](https://nodejs.org): v22.x
- 汎用フレームワーク
- [SvelteKit](https://kit.svelte.dev/)
- [SvelteKit](https://kit.svelte.dev/): v5.xに移行予定。
- UIライブラリ
- [shadcn-svelte](https://www.shadcn-svelte.com/): 主にData Tableを使用予定。将来的には、以下のライブラリを使って実装している部分を置き換える。
- [Flowbite Svelte](https://flowbite-svelte.com/)
- [STWUI](https://stwui.vercel.app/)
- [STWUI](https://stwui.vercel.app/): 開発が事実上終了した可能性が高いため、使用しているコンポーネントを調べて別のライブラリに移行する。
- テスティングフレームワーク
- [Vitest](https://vitest.dev/): 単体テスト (ユーティリティ、コンポーネント)
- [Playwright](https://playwright.dev/): e2eテスト
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See:
# https://github.com/devcontainers/images/tree/main/src/javascript-node
ARG NODE_VERSION=20
ARG NODE_VERSION=22
FROM mcr.microsoft.com/devcontainers/javascript-node:${NODE_VERSION}

WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@
"vercel": "39.2.2",
"xss": "1.0.15"
},
"packageManager": "pnpm@9.13.2"
"packageManager": "pnpm@9.15.2"
}
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// https://www.prisma.io/docs/concepts/components/prisma-schema/generators
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "rhel-openssl-1.0.x", "rhel-openssl-3.0.x"]
binaryTargets = ["native", "rhel-openssl-3.0.x"]
}

// See:
Expand Down
4 changes: 2 additions & 2 deletions src/test/lib/utils/time.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { delay } from '$lib/utils/time';
describe('Delay', () => {
it('expected to be resolved after the specified delay', async () => {
const start = performance.now();
const milliseconds = 80; // Increased threshold for CI environment reliability.
const milliseconds = 50; // Increased threshold for CI environment reliability.
await delay(milliseconds);
const end = performance.now();

expect(end - start).toBeGreaterThanOrEqual(milliseconds);
expect(end - start).toBeGreaterThanOrEqual(milliseconds - 5); // Extend tolerance.
});

it('expected to be resolved immediately if the delay duration is zero', async () => {
Expand Down
Loading