Svelte 컴포넌트를 제외한 파일, 폴더 및 라우팅 경로의 이름을 kebab-case로 통일하고 import 경로에 실제 파일 확장자를 사용하도록 변경

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
staticandClaude Opus 5.5 committed 2026-10-12 07:41:28 +09:00
1 parent 225ad3515f
commit 306fcb2420
201 files changed
+550 -545

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { describe, expect, it } from "vitest";
import { BoundedQueue, Scheduler } from "#lib/utils/concurrency/index.js";
import { BoundedQueue, Scheduler } from "#lib/utils/concurrency/index.ts";
const tick = () => new Promise((resolve) => setTimeout(resolve, 0));
+1 -1
View File
@@ -7,7 +7,7 @@ import {
encryptChunk,
encryptString,
generateDataKey,
} from "#lib/shared/crypto/index.js";
} from "#lib/shared/crypto/index.ts";
describe("base64", () => {
it("round-trips large buffers", () => {
@@ -1,12 +1,12 @@
import { describe, expect, it } from "vitest";
import { encryptChunk, generateDataKey } from "#lib/shared/crypto/index.js";
import { encryptChunk, generateDataKey } from "#lib/shared/crypto/index.ts";
import { concatenateBuffers } from "#lib/shared/crypto/index.ts";
import {
CHUNK_SIZE,
createDecryptionStream,
getEncryptedRange,
getEncryptedSize,
} from "#lib/shared/format/index.js";
import { concatenateBuffers } from "#lib/shared/crypto/index.js";
} from "#lib/shared/format/index.ts";
const plaintext = Uint8Array.from({ length: 2 * CHUNK_SIZE + 12345 }, (_, i) => (i * 7) % 251);
@@ -1,5 +1,5 @@
import { describe, expect, it, vi } from "vitest";
import { FilesystemCache } from "#lib/features/filesystem/cache.svelte.js";
import { FilesystemCache } from "#lib/features/filesystem/cache.svelte.ts";
interface Entry {
id: number;
+3 -3
View File
@@ -1,8 +1,8 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
import { keyring } from "#lib/client/keys/keyring.svelte.js";
import type { MasterKey } from "#lib/client/keys/types.js";
import { keyring } from "#lib/client/keys/keyring.svelte.ts";
import type { MasterKey } from "#lib/client/keys/types.ts";
vi.mock("#lib/client/storage/indexedDB/index.js", () => ({
vi.mock("#lib/client/storage/indexed-db/index.ts", () => ({
getClientKey: vi.fn(async () => null),
getMasterKeys: vi.fn(async () => []),
getHmacSecrets: vi.fn(async () => []),
+2 -2
View File
@@ -6,8 +6,8 @@ import {
getDecryptedSize,
getEncryptedRange,
getEncryptedSize,
} from "#lib/shared/format/index.js";
import { getContentRangeHeader, parseRangeHeader, resolveRange } from "#lib/shared/http.js";
} from "#lib/shared/format/index.ts";
import { getContentRangeHeader, parseRangeHeader, resolveRange } from "#lib/shared/http.ts";
describe("parseRangeHeader", () => {
it("parses byte ranges", () => {