Fixes https://github.com/xtermjs/xterm.js/issues/5896 TypeScript path mappings for common/*, browser/*, and headless/* were not rewritten in emitted JavaScript, which forced webpack resolve aliases and NODE_PATH workarounds so runtime could resolve modules. That added build complexity and broke tooling such as ESLint import/no-cycle. Changes: - Convert ~750 imports across src/, addons/, and test/ to relative paths - Remove common/browser/headless paths and src catch-all mappings from tsconfigs (keep @xterm/addon-* demo and addon typings paths) - Remove webpack resolve.alias for common, browser, headless, and vs - Drop NODE_PATH from unit tests, benchmarks, and VS Code launch config - Fix addon-image IIPImageStorage to import ./Types after removing catch-all * Verified: npm run build, esbuild, package, package-headless Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
1.1 KiB
JSON
29 lines
1.1 KiB
JSON
{
|
|
"name": "@xterm/addon-unicode-graphemes",
|
|
"version": "0.4.0",
|
|
"author": {
|
|
"name": "The xterm.js authors",
|
|
"url": "https://xtermjs.org/"
|
|
},
|
|
"main": "lib/addon-unicode-graphemes.js",
|
|
"module": "lib/addon-unicode-graphemes.mjs",
|
|
"types": "typings/addon-unicode-graphemes.d.ts",
|
|
"repository": "https://github.com/xtermjs/xterm.js/tree/master/addons/addon-unicode-graphemes",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"terminal",
|
|
"xterm",
|
|
"xterm.js"
|
|
],
|
|
"scripts": {
|
|
"build": "../../node_modules/.bin/tsgo -p .",
|
|
"prepackage": "npm run build",
|
|
"package": "../../node_modules/.bin/webpack",
|
|
"prepublishOnly": "npm run package",
|
|
"start": "node ../../demo/start",
|
|
"benchmark": "../../node_modules/.bin/xterm-benchmark -r 5 -c benchmark/benchmark.json out-benchmark/benchmark/*benchmark.js",
|
|
"benchmark-baseline": "../../node_modules/.bin/xterm-benchmark -r 5 -c benchmark/benchmark.json --baseline out-benchmark/benchmark/*benchmark.js",
|
|
"benchmark-eval": "../../node_modules/.bin/xterm-benchmark -r 5 -c benchmark/benchmark.json --eval out-benchmark/benchmark/*benchmark.js"
|
|
}
|
|
}
|