mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
chore: add TypeScript dead-code checks
This commit is contained in:
parent
46b013e32a
commit
ef3ac8ee91
25 changed files with 818 additions and 252 deletions
|
|
@ -22,10 +22,6 @@ function publicPackagePattern(text) {
|
|||
return new RegExp(text.replaceAll('{package}', escapeRegExp(publicNpmPackageName())));
|
||||
}
|
||||
|
||||
function runtimeWheelPackagePattern(text) {
|
||||
return new RegExp(text.replaceAll('{package}', escapeRegExp(runtimeWheelPackageName())));
|
||||
}
|
||||
|
||||
describe('standalone example docs', () => {
|
||||
it('documents the local warehouse example from the examples index', async () => {
|
||||
const examples = await readText('examples/README.md');
|
||||
|
|
|
|||
|
|
@ -27,8 +27,6 @@ import {
|
|||
writeArtifactManifest,
|
||||
} from './package-artifacts.mjs';
|
||||
|
||||
const STALE_METABASE_UNSUPPORTED = ['Standalone Metabase scheduled fetch', 'is intentionally unsupported'].join(' ');
|
||||
|
||||
async function writeJson(path, value) {
|
||||
await writeFile(path, `${JSON.stringify(value, null, 2)}\n`);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import { runWorkspaceKtx } from './run-ktx.mjs';
|
|||
|
||||
const scriptDir = dirname(fileURLToPath(import.meta.url));
|
||||
const ktxRootDir = resolve(scriptDir, '..');
|
||||
const repoRootDir = resolve(ktxRootDir, '..');
|
||||
const defaultProjectDir = resolve(ktxRootDir, 'examples/orbit-relationship-verification');
|
||||
const defaultReportPath = resolve(
|
||||
ktxRootDir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue