mirror of
https://github.com/TextPlace/CoreTextPlace.git
synced 2025-12-18 05:02:36 +00:00
refactor: Migrate project from Deno to pnpm/Node
Replace Deno configs and workflows with pnpm/Node tooling Add package.json, jsr.json, build.config.ts and pnpm-lock.yaml Remove deno.json, deno.lock, Deno build scripts and workflow Move source files into src/ and update imports and tests to vitest Add Test CI workflow and adapt publish jobs for pnpm/node Update editor settings, tasks, .gitignore and bump LICENSE year
This commit is contained in:
parent
7923680e80
commit
32534084df
26 changed files with 2132 additions and 430 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { getCharacterWidth } from "../logic/character.ts";
|
||||
import type { FullBoard } from "../types/board.ts";
|
||||
import { getCharacterWidth } from "../src/logic/character.ts";
|
||||
import type { FullBoard } from "../src/types/board.ts";
|
||||
|
||||
function isCorrectWidth(cWd: number, cCh: string): boolean {
|
||||
return getCharacterWidth(cCh) === cWd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue