diff --git a/package.json b/package.json index 163a517..b5763a7 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "ink": "^5.0.1", "react": "^18.3.1", "terminal-kit": "^3.1.1", + "vuiter": "workspace:*", "yoga-layout": "^3.1.0", - "yoga-layout-prebuilt": "^1.10.0", - "vuiter": "workspace:*" + "yoga-layout-prebuilt": "^1.10.0" }, "devDependencies": { "@types/blessed": "^0.1.25", @@ -34,5 +34,10 @@ "tslib": "^2.6.3", "typescript": "^5.5.4", "vite": "^5.3.5" + }, + "pnpm": { + "patchedDependencies": { + "chalk@5.3.0": "patches/chalk@5.3.0.patch" + } } } diff --git a/patches/chalk@5.3.0.patch b/patches/chalk@5.3.0.patch new file mode 100644 index 0000000..c1f89f3 --- /dev/null +++ b/patches/chalk@5.3.0.patch @@ -0,0 +1,14 @@ +diff --git a/package.json b/package.json +index 3c500105bcbf25bf2f7f6790b9db67b993f65459..d835c83fab7062912c256b64dcaae940cd82168a 100644 +--- a/package.json ++++ b/package.json +@@ -11,8 +11,7 @@ + "imports": { + "#ansi-styles": "./source/vendor/ansi-styles/index.js", + "#supports-color": { +- "node": "./source/vendor/supports-color/index.js", +- "default": "./source/vendor/supports-color/browser.js" ++ "default": "./source/vendor/supports-color/index.js" + } + }, + "types": "./source/index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 12d2704..f294a0f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,41 +4,10 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -catalogs: - default: - '@types/node': - specifier: ^20.14.15 - version: 20.14.15 - '@vue/compiler-core': - specifier: ^3.4.35 - version: 3.4.38 - '@vue/reactivity': - specifier: ^3.4.37 - version: 3.4.38 - '@vue/runtime-core': - specifier: ^3.4.37 - version: 3.4.38 - eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0 - postinstall-postinstall: - specifier: ^2.1.0 - version: 2.1.0 - prettier: - specifier: ^3.3.3 - version: 3.3.3 - ts-node: - specifier: ^10.9.2 - version: 10.9.2 - tslib: - specifier: ^2.6.3 - version: 2.6.3 - typescript: - specifier: ^5.5.4 - version: 5.5.4 - vite: - specifier: ^5.3.5 - version: 5.4.0 +patchedDependencies: + chalk@5.3.0: + hash: ii55sda53sw2euvidylvcerpfu + path: patches/chalk@5.3.0.patch importers: @@ -61,7 +30,7 @@ importers: version: 0.1.81 chalk: specifier: ^5.3.0 - version: 5.3.0 + version: 5.3.0(patch_hash=ii55sda53sw2euvidylvcerpfu) cheerio: specifier: ^1.0.0-rc.12 version: 1.0.0-rc.12 @@ -131,14 +100,11 @@ importers: version: 7.0.0 chalk: specifier: ^5.3.0 - version: 5.3.0 + version: 5.3.0(patch_hash=ii55sda53sw2euvidylvcerpfu) yoga-layout: specifier: ^3.1.0 version: 3.1.0 devDependencies: - '@rollup/plugin-node-resolve': - specifier: ^15.2.3 - version: 15.2.3(rollup@4.20.0) '@types/node': specifier: 'catalog:' version: 20.14.15 @@ -210,9 +176,6 @@ importers: specifier: workspace:* version: link:../../packages/core devDependencies: - '@rollup/plugin-node-resolve': - specifier: ^15.2.3 - version: 15.2.3(rollup@4.20.0) '@vitejs/plugin-vue': specifier: ^5.1.2 version: 5.1.2(vite@5.4.0(@types/node@20.14.15))(vue@3.4.38(typescript@5.5.4)) @@ -459,15 +422,6 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@rollup/plugin-node-resolve@15.2.3': - resolution: {integrity: sha512-j/lym8nf5E21LwBT4Df1VD6hRO2L2iwUeUmP7litikRsVp1H6NWx20NEp0Y7su+7XGc476GnXXc4kFeZNGmaSQ==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^2.78.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - '@rollup/pluginutils@5.1.0': resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} engines: {node: '>=14.0.0'} @@ -664,9 +618,6 @@ packages: '@types/node@20.14.15': resolution: {integrity: sha512-Fz1xDMCF/B00/tYSVMlmK7hVeLh7jE5f3B7X1/hmV0MJBwE27KlS7EvD/Yp+z1lm8mVhwV5w+n8jOZG8AfTlKw==} - '@types/resolve@1.20.2': - resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} - '@types/yoga-layout@1.9.2': resolution: {integrity: sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw==} @@ -828,10 +779,6 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - builtin-modules@3.3.0: - resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} - engines: {node: '>=6'} - call-bind@1.0.7: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} engines: {node: '>= 0.4'} @@ -935,10 +882,6 @@ packages: deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} - define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} @@ -1324,10 +1267,6 @@ packages: is-buffer@1.1.6: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} - is-builtin-module@3.2.1: - resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} - engines: {node: '>=6'} - is-core-module@2.15.0: resolution: {integrity: sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==} engines: {node: '>= 0.4'} @@ -1358,9 +1297,6 @@ packages: engines: {node: '>=18'} hasBin: true - is-module@1.0.0: - resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} - is-number@7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} @@ -2244,17 +2180,6 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@rollup/plugin-node-resolve@15.2.3(rollup@4.20.0)': - dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.20.0) - '@types/resolve': 1.20.2 - deepmerge: 4.3.1 - is-builtin-module: 3.2.1 - is-module: 1.0.0 - resolve: 1.22.8 - optionalDependencies: - rollup: 4.20.0 - '@rollup/pluginutils@5.1.0(rollup@4.20.0)': dependencies: '@types/estree': 1.0.5 @@ -2385,8 +2310,6 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/resolve@1.20.2': {} - '@types/yoga-layout@1.9.2': {} '@vitejs/plugin-vue@3.2.0(vite@3.2.10(@types/node@18.19.44))(vue@3.4.38(typescript@4.9.5))': @@ -2572,8 +2495,6 @@ snapshots: dependencies: fill-range: 7.1.1 - builtin-modules@3.3.0: {} - call-bind@1.0.7: dependencies: es-define-property: 1.0.0 @@ -2589,7 +2510,7 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 - chalk@5.3.0: {} + chalk@5.3.0(patch_hash=ii55sda53sw2euvidylvcerpfu): {} cheerio-select@2.1.0: dependencies: @@ -2688,8 +2609,6 @@ snapshots: deep-is@0.1.4: {} - deepmerge@4.3.1: {} - define-data-property@1.1.4: dependencies: es-define-property: 1.0.0 @@ -3057,7 +2976,7 @@ snapshots: ansi-escapes: 7.0.0 ansi-styles: 6.2.1 auto-bind: 5.0.1 - chalk: 5.3.0 + chalk: 5.3.0(patch_hash=ii55sda53sw2euvidylvcerpfu) cli-boxes: 3.0.0 cli-cursor: 4.0.0 cli-truncate: 4.0.0 @@ -3090,10 +3009,6 @@ snapshots: is-buffer@1.1.6: {} - is-builtin-module@3.2.1: - dependencies: - builtin-modules: 3.3.0 - is-core-module@2.15.0: dependencies: hasown: 2.0.2 @@ -3114,8 +3029,6 @@ snapshots: is-in-ci@0.1.0: {} - is-module@1.0.0: {} - is-number@7.0.0: {} is-path-inside@3.0.3: {} @@ -3753,7 +3666,7 @@ snapshots: dependencies: '@vue/runtime-core': 3.4.38 ansi-escapes: 6.2.1 - chalk: 5.3.0 + chalk: 5.3.0(patch_hash=ii55sda53sw2euvidylvcerpfu) cli-boxes: 3.0.0 cli-cursor: 4.0.0 cli-truncate: 3.1.0