refactor: remove rename-imports scripts

Update approach of dealing with file extensions differences between typescript & node.

Leverages `rewriteRelativeImportExtensions` that was added in typescript 5.7 [1], and that is recommended path by node to run typescript in the future [2]

[1] https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-7.html#path-rewriting-for-relative-paths

[2] https://nodejs.org/api/typescript.html#type-stripping
This commit is contained in:
Nathan Muir
2025-08-20 09:39:20 +12:00
parent 0aff4cc1f5
commit 758adcd502
131 changed files with 548 additions and 624 deletions

View File

@@ -1,11 +1,11 @@
import { Factory } from '../Factory';
import { Context } from '../Context';
import { Shape, ShapeConfig } from '../Shape';
import { Konva } from '../Global';
import { getNumberValidator } from '../Validators';
import { _registerNode } from '../Global';
import { Factory } from '../Factory.ts';
import { Context } from '../Context.ts';
import { Shape, ShapeConfig } from '../Shape.ts';
import { Konva } from '../Global.ts';
import { getNumberValidator } from '../Validators.ts';
import { _registerNode } from '../Global.ts';
import { GetSet } from '../types';
import { GetSet } from '../types.ts';
export interface WedgeConfig extends ShapeConfig {
angle: number;