mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
65f4fa7fca
The bulk rename job was incorrectly iterating over every book in the library instead of restricting the operation to books that actually require a rename. This caused unnecessary processing and logged excessive noise. We now compute the preview first and filter the list of candidate book IDs down to those with the 'will_rename' status before executing the rename loop. Closes #361
25 lines
1004 B
JSON
25 lines
1004 B
JSON
{
|
|
"extends": "./tsconfig.app.json",
|
|
|
|
// Override to include only test files and clear exclusions.
|
|
// Application code imported in tests is automatically included via module resolution.
|
|
"include": ["src/**/__tests__/*", "src/**/*.test.ts", "src/**/*.spec.ts", "env.d.ts"],
|
|
"exclude": [],
|
|
|
|
"compilerOptions": {
|
|
// Vitest runs in a different environment than the application code.
|
|
// Adjust lib and types accordingly. ES2022 matches the app's target so
|
|
// newer built-ins (e.g. Array.prototype.at) are available in tests.
|
|
"lib": ["ES2022"],
|
|
"types": ["node", "jsdom"],
|
|
|
|
// noUncheckedIndexedAccess produces false positives in tests where the
|
|
// test author controls the data and index bounds are known.
|
|
"noUncheckedIndexedAccess": false,
|
|
|
|
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
// Specified here to keep it out of the root directory.
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo"
|
|
}
|
|
}
|