diff --git a/pkgs/by-name/cs/cspell/inject-workplace-deps.patch b/pkgs/by-name/cs/cspell/inject-workplace-deps.patch deleted file mode 100644 index ab497c688cc3..000000000000 --- a/pkgs/by-name/cs/cspell/inject-workplace-deps.patch +++ /dev/null @@ -1,799 +0,0 @@ -diff --git i/.npmrc w/.npmrc -index 7b6aac5399..e5fe8dfea0 100644 ---- i/.npmrc -+++ w/.npmrc -@@ -2,3 +2,4 @@ auto-install-peers=true - strict-peer-dependencies=false - save-workspace-protocol=rolling - node-linker=isolated -+inject-workspace-packages=true -diff --git i/pnpm-lock.yaml w/pnpm-lock.yaml -index ca893d48d9..4e81b2eb2f 100644 ---- i/pnpm-lock.yaml -+++ w/pnpm-lock.yaml -@@ -3,6 +3,7 @@ lockfileVersion: '9.0' - settings: - autoInstallPeers: true - excludeLinksFromLockfile: false -+ injectWorkspacePackages: true - - importers: - -@@ -590,7 +591,7 @@ importers: - devDependencies: - '@cspell/eslint-plugin': - specifier: workspace:* -- version: link:../.. -+ version: file:packages/cspell-eslint-plugin(eslint@8.57.1) - es-toolkit: - specifier: ^1.39.10 - version: 1.39.10 -@@ -1073,7 +1074,7 @@ importers: - devDependencies: - '@cspell/eslint-plugin': - specifier: workspace:* -- version: link:../../../packages/cspell-eslint-plugin -+ version: file:packages/cspell-eslint-plugin(eslint@9.8.0) - '@eslint/js': - specifier: ^9.34.0 - version: 9.34.0 -@@ -2091,6 +2092,10 @@ packages: - resolution: {integrity: sha512-2ZRcZP/ncJ5q953o8i+R0fb8+14PDt5UefUNMrFZZHvfTI0jukAASOQeLY+WT6ASZv6CgbPrApAdbppy9FaXYQ==} - engines: {node: '>=18'} - -+ '@cspell/cspell-bundled-dicts@file:packages/cspell-bundled-dicts': -+ resolution: {directory: packages/cspell-bundled-dicts, type: directory} -+ engines: {node: '>=20'} -+ - '@cspell/cspell-json-reporter@8.19.4': - resolution: {integrity: sha512-pOlUtLUmuDdTIOhDTvWxxta0Wm8RCD/p1V0qUqeP6/Ups1ajBI4FWEpRFd7yMBTUHeGeSNicJX5XeX7wNbAbLQ==} - engines: {node: '>=18'} -@@ -2099,18 +2104,34 @@ packages: - resolution: {integrity: sha512-GNAyk+7ZLEcL2fCMT5KKZprcdsq3L1eYy3e38/tIeXfbZS7Sd1R5FXUe6CHXphVWTItV39TvtLiDwN/2jBts9A==} - engines: {node: '>=18'} - -+ '@cspell/cspell-pipe@file:packages/cspell-pipe': -+ resolution: {directory: packages/cspell-pipe, type: directory} -+ engines: {node: '>=20'} -+ - '@cspell/cspell-resolver@8.19.4': - resolution: {integrity: sha512-S8vJMYlsx0S1D60glX8H2Jbj4mD8519VjyY8lu3fnhjxfsl2bDFZvF3ZHKsLEhBE+Wh87uLqJDUJQiYmevHjDg==} - engines: {node: '>=18'} - -+ '@cspell/cspell-resolver@file:packages/cspell-resolver': -+ resolution: {directory: packages/cspell-resolver, type: directory} -+ engines: {node: '>=20'} -+ - '@cspell/cspell-service-bus@8.19.4': - resolution: {integrity: sha512-uhY+v8z5JiUogizXW2Ft/gQf3eWrh5P9036jN2Dm0UiwEopG/PLshHcDjRDUiPdlihvA0RovrF0wDh4ptcrjuQ==} - engines: {node: '>=18'} - -+ '@cspell/cspell-service-bus@file:packages/cspell-service-bus': -+ resolution: {directory: packages/cspell-service-bus, type: directory} -+ engines: {node: '>=20'} -+ - '@cspell/cspell-types@8.19.4': - resolution: {integrity: sha512-ekMWuNlFiVGfsKhfj4nmc8JCA+1ZltwJgxiKgDuwYtR09ie340RfXFF6YRd2VTW5zN7l4F1PfaAaPklVz6utSg==} - engines: {node: '>=18'} - -+ '@cspell/cspell-types@file:packages/cspell-types': -+ resolution: {directory: packages/cspell-types, type: directory} -+ engines: {node: '>=20'} -+ - '@cspell/dict-ada@4.1.1': - resolution: {integrity: sha512-E+0YW9RhZod/9Qy2gxfNZiHJjCYFlCdI69br1eviQQWB8yOTJX0JHXLs79kOYhSW0kINPVUdvddEBe6Lu6CjGQ==} - -@@ -2321,18 +2342,40 @@ packages: - resolution: {integrity: sha512-0LLghC64+SiwQS20Sa0VfFUBPVia1rNyo0bYeIDoB34AA3qwguDBVJJkthkpmaP1R2JeR/VmxmJowuARc4ZUxA==} - engines: {node: '>=18.0'} - -+ '@cspell/dynamic-import@file:packages/dynamic-import': -+ resolution: {directory: packages/dynamic-import, type: directory} -+ engines: {node: '>=20'} -+ -+ '@cspell/eslint-plugin@file:packages/cspell-eslint-plugin': -+ resolution: {directory: packages/cspell-eslint-plugin, type: directory} -+ engines: {node: '>=20'} -+ peerDependencies: -+ eslint: ^7 || ^8 || ^9 -+ - '@cspell/filetypes@8.19.4': - resolution: {integrity: sha512-D9hOCMyfKtKjjqQJB8F80PWsjCZhVGCGUMiDoQpcta0e+Zl8vHgzwaC0Ai4QUGBhwYEawHGiWUd7Y05u/WXiNQ==} - engines: {node: '>=18'} - -+ '@cspell/filetypes@file:packages/cspell-filetypes': -+ resolution: {directory: packages/cspell-filetypes, type: directory} -+ engines: {node: '>=20'} -+ - '@cspell/strong-weak-map@8.19.4': - resolution: {integrity: sha512-MUfFaYD8YqVe32SQaYLI24/bNzaoyhdBIFY5pVrvMo1ZCvMl8AlfI2OcBXvcGb5aS5z7sCNCJm11UuoYbLI1zw==} - engines: {node: '>=18'} - -+ '@cspell/strong-weak-map@file:packages/cspell-strong-weak-map': -+ resolution: {directory: packages/cspell-strong-weak-map, type: directory} -+ engines: {node: '>=20'} -+ - '@cspell/url@8.19.4': - resolution: {integrity: sha512-Pa474iBxS+lxsAL4XkETPGIq3EgMLCEb9agj3hAd2VGMTCApaiUvamR4b+uGXIPybN70piFxvzrfoxsG2uIP6A==} - engines: {node: '>=18.0'} - -+ '@cspell/url@file:packages/cspell-url': -+ resolution: {directory: packages/cspell-url, type: directory} -+ engines: {node: '>=20'} -+ - '@cspotcode/source-map-support@0.8.1': - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} -@@ -3254,6 +3297,9 @@ packages: - '@napi-rs/wasm-runtime@1.0.3': - resolution: {integrity: sha512-rZxtMsLwjdXkMUGC3WwsPwLNVqVqnTJT6MNIB6e+5fhMcSCPP0AOsNWuMQ5mdCq6HNjs/ZeWAEchpqeprqBD2Q==} - -+ '@napi-rs/wasm-runtime@1.0.5': -+ resolution: {integrity: sha512-TBr9Cf9onSAS2LQ2+QHx6XcC6h9+RIzJgbqG3++9TUZSH204AwEy5jg3BTQ0VATsyoGj4ee49tN/y6rvaOOtcg==} -+ - '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} -@@ -3407,12 +3453,8 @@ packages: - '@octokit/types@14.1.0': - resolution: {integrity: sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==} - -- '@oxc-project/runtime@0.82.3': -- resolution: {integrity: sha512-LNh5GlJvYHAnMurO+EyA8jJwN1rki7l3PSHuosDh2I7h00T6/u9rCkUjg/SvPmT1CZzvhuW0y+gf7jcqUy/Usg==} -- engines: {node: '>=6.9.0'} -- -- '@oxc-project/types@0.82.3': -- resolution: {integrity: sha512-6nCUxBnGX0c6qfZW5MaF6/fmu5dHJDMiMPaioKHKs5mi5+8/FHQ7WGjgQIz1zxpmceMYfdIXkOaLYE+ejbuOtA==} -+ '@oxc-project/types@0.93.0': -+ resolution: {integrity: sha512-yNtwmWZIBtJsMr5TEfoZFDxIWV6OdScOpza/f5YxbqUMJk+j6QX3Cf3jgZShGEFYWQJ5j9mJ6jM0tZHu2J9Yrg==} - - '@oxc-resolver/binding-android-arm-eabi@11.7.1': - resolution: {integrity: sha512-K0gF1mD6CYMAuX0dMWe6XW1Js00xCOBh/+ZAAJReQMa4+jmAk3bIeitsc8VnDthDbzOOKp3riizP3o/tBvNpgw==} -@@ -3535,78 +3577,91 @@ packages: - '@quansync/fs@0.1.5': - resolution: {integrity: sha512-lNS9hL2aS2NZgNW7BBj+6EBl4rOf8l+tQ0eRY6JWCI8jI2kc53gSoqbjojU0OnAWhzoXiOjFyGsHcDGePB3lhA==} - -- '@rolldown/binding-android-arm64@1.0.0-beta.34': -- resolution: {integrity: sha512-jf5GNe5jP3Sr1Tih0WKvg2bzvh5T/1TA0fn1u32xSH7ca/p5t+/QRr4VRFCV/na5vjwKEhwWrChsL2AWlY+eoA==} -+ '@rolldown/binding-android-arm64@1.0.0-beta.41': -+ resolution: {integrity: sha512-Edflndd9lU7JVhVIvJlZhdCj5DkhYDJPIRn4Dx0RUdfc8asP9xHOI5gMd8MesDDx+BJpdIT/uAmVTearteU/mQ==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm64] - os: [android] - -- '@rolldown/binding-darwin-arm64@1.0.0-beta.34': -- resolution: {integrity: sha512-2F/TqH4QuJQ34tgWxqBjFL3XV1gMzeQgUO8YRtCPGBSP0GhxtoFzsp7KqmQEothsxztlv+KhhT9Dbg3HHwHViQ==} -+ '@rolldown/binding-darwin-arm64@1.0.0-beta.41': -+ resolution: {integrity: sha512-XGCzqfjdk7550PlyZRTBKbypXrB7ATtXhw/+bjtxnklLQs0mKP/XkQVOKyn9qGKSlvH8I56JLYryVxl0PCvSNw==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm64] - os: [darwin] - -- '@rolldown/binding-darwin-x64@1.0.0-beta.34': -- resolution: {integrity: sha512-E1QuFslgLWbHQ8Qli/AqUKdfg0pockQPwRxVbhNQ74SciZEZpzLaujkdmOLSccMlSXDfFCF8RPnMoRAzQ9JV8Q==} -+ '@rolldown/binding-darwin-x64@1.0.0-beta.41': -+ resolution: {integrity: sha512-Ho6lIwGJed98zub7n0xcRKuEtnZgbxevAmO4x3zn3C3N4GVXZD5xvCvTVxSMoeBJwTcIYzkVDRTIhylQNsTgLQ==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [x64] - os: [darwin] - -- '@rolldown/binding-freebsd-x64@1.0.0-beta.34': -- resolution: {integrity: sha512-VS8VInNCwnkpI9WeQaWu3kVBq9ty6g7KrHdLxYMzeqz24+w9hg712TcWdqzdY6sn+24lUoMD9jTZrZ/qfVpk0g==} -+ '@rolldown/binding-freebsd-x64@1.0.0-beta.41': -+ resolution: {integrity: sha512-ijAZETywvL+gACjbT4zBnCp5ez1JhTRs6OxRN4J+D6AzDRbU2zb01Esl51RP5/8ZOlvB37xxsRQ3X4YRVyYb3g==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [x64] - os: [freebsd] - -- '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.34': -- resolution: {integrity: sha512-4St4emjcnULnxJYb/5ZDrH/kK/j6PcUgc3eAqH5STmTrcF+I9m/X2xvSF2a2bWv1DOQhxBewThu0KkwGHdgu5w==} -+ '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.41': -+ resolution: {integrity: sha512-EgIOZt7UildXKFEFvaiLNBXm+4ggQyGe3E5Z1QP9uRcJJs9omihOnm897FwOBQdCuMvI49iBgjFrkhH+wMJ2MA==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm] - os: [linux] - -- '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.34': -- resolution: {integrity: sha512-a737FTqhFUoWfnebS2SnQ2BS50p0JdukdkUBwy2J06j4hZ6Eej0zEB8vTfAqoCjn8BQKkXBy+3Sx0IRkgwz1gA==} -+ '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.41': -+ resolution: {integrity: sha512-F8bUwJq8v/JAU8HSwgF4dztoqJ+FjdyjuvX4//3+Fbe2we9UktFeZ27U4lRMXF1vxWtdV4ey6oCSqI7yUrSEeg==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm64] - os: [linux] - -- '@rolldown/binding-linux-arm64-musl@1.0.0-beta.34': -- resolution: {integrity: sha512-NH+FeQWKyuw0k+PbXqpFWNfvD8RPvfJk766B/njdaWz4TmiEcSB0Nb6guNw1rBpM1FmltQYb3fFnTumtC6pRfA==} -+ '@rolldown/binding-linux-arm64-musl@1.0.0-beta.41': -+ resolution: {integrity: sha512-MioXcCIX/wB1pBnBoJx8q4OGucUAfC1+/X1ilKFsjDK05VwbLZGRgOVD5OJJpUQPK86DhQciNBrfOKDiatxNmg==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm64] - os: [linux] - -- '@rolldown/binding-linux-x64-gnu@1.0.0-beta.34': -- resolution: {integrity: sha512-Q3RSCivp8pNadYK8ke3hLnQk08BkpZX9BmMjgwae2FWzdxhxxUiUzd9By7kneUL0vRQ4uRnhD9VkFQ+Haeqdvw==} -+ '@rolldown/binding-linux-x64-gnu@1.0.0-beta.41': -+ resolution: {integrity: sha512-m66M61fizvRCwt5pOEiZQMiwBL9/y0bwU/+Kc4Ce/Pef6YfoEkR28y+DzN9rMdjo8Z28NXjsDPq9nH4mXnAP0g==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [x64] - os: [linux] - -- '@rolldown/binding-linux-x64-musl@1.0.0-beta.34': -- resolution: {integrity: sha512-wDd/HrNcVoBhWWBUW3evJHoo7GJE/RofssBy3Dsiip05YUBmokQVrYAyrboOY4dzs/lJ7HYeBtWQ9hj8wlyF0A==} -+ '@rolldown/binding-linux-x64-musl@1.0.0-beta.41': -+ resolution: {integrity: sha512-yRxlSfBvWnnfrdtJfvi9lg8xfG5mPuyoSHm0X01oiE8ArmLRvoJGHUTJydCYz+wbK2esbq5J4B4Tq9WAsOlP1Q==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [x64] - os: [linux] - -- '@rolldown/binding-openharmony-arm64@1.0.0-beta.34': -- resolution: {integrity: sha512-dH3FTEV6KTNWpYSgjSXZzeX7vLty9oBYn6R3laEdhwZftQwq030LKL+5wyQdlbX5pnbh4h127hpv3Hl1+sj8dg==} -+ '@rolldown/binding-openharmony-arm64@1.0.0-beta.41': -+ resolution: {integrity: sha512-PHVxYhBpi8UViS3/hcvQQb9RFqCtvFmFU1PvUoTRiUdBtgHA6fONNHU4x796lgzNlVSD3DO/MZNk1s5/ozSMQg==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm64] - os: [openharmony] - -- '@rolldown/binding-wasm32-wasi@1.0.0-beta.34': -- resolution: {integrity: sha512-y5BUf+QtO0JsIDKA51FcGwvhJmv89BYjUl8AmN7jqD6k/eU55mH6RJYnxwCsODq5m7KSSTigVb6O7/GqB8wbPw==} -+ '@rolldown/binding-wasm32-wasi@1.0.0-beta.41': -+ resolution: {integrity: sha512-OAfcO37ME6GGWmj9qTaDT7jY4rM0T2z0/8ujdQIJQ2x2nl+ztO32EIwURfmXOK0U1tzkyuaKYvE34Pug/ucXlQ==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] - -- '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.34': -- resolution: {integrity: sha512-ga5hFhdTwpaNxEiuxZHWnD3ed0GBAzbgzS5tRHpe0ObptxM1a9Xrq6TVfNQirBLwb5Y7T/FJmJi3pmdLy95ljg==} -+ '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.41': -+ resolution: {integrity: sha512-NIYGuCcuXaq5BC4Q3upbiMBvmZsTsEPG9k/8QKQdmrch+ocSy5Jv9tdpdmXJyighKqm182nh/zBt+tSJkYoNlg==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [arm64] - os: [win32] - -- '@rolldown/binding-win32-ia32-msvc@1.0.0-beta.34': -- resolution: {integrity: sha512-4/MBp9T9eRnZskxWr8EXD/xHvLhdjWaeX/qY9LPRG1JdCGV3DphkLTy5AWwIQ5jhAy2ZNJR5z2fYRlpWU0sIyQ==} -+ '@rolldown/binding-win32-ia32-msvc@1.0.0-beta.41': -+ resolution: {integrity: sha512-kANdsDbE5FkEOb5NrCGBJBCaZ2Sabp3D7d4PRqMYJqyLljwh9mDyYyYSv5+QNvdAmifj+f3lviNEUUuUZPEFPw==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [ia32] - os: [win32] - -- '@rolldown/binding-win32-x64-msvc@1.0.0-beta.34': -- resolution: {integrity: sha512-7O5iUBX6HSBKlQU4WykpUoEmb0wQmonb6ziKFr3dJTHud2kzDnWMqk344T0qm3uGv9Ddq6Re/94pInxo1G2d4w==} -+ '@rolldown/binding-win32-x64-msvc@1.0.0-beta.41': -+ resolution: {integrity: sha512-UlpxKmFdik0Y2VjZrgUCgoYArZJiZllXgIipdBRV1hw6uK45UbQabSTW6Kp6enuOu7vouYWftwhuxfpE8J2JAg==} -+ engines: {node: ^20.19.0 || >=22.12.0} - cpu: [x64] - os: [win32] - -- '@rolldown/pluginutils@1.0.0-beta.34': -- resolution: {integrity: sha512-LyAREkZHP5pMom7c24meKmJCdhf2hEyvam2q0unr3or9ydwDL+DJ8chTF6Av/RFPb3rH8UFBdMzO5MxTZW97oA==} -+ '@rolldown/pluginutils@1.0.0-beta.41': -+ resolution: {integrity: sha512-ycMEPrS3StOIeb87BT3/+bu+blEtyvwQ4zmo2IcJQy0Rd1DAAhKksA0iUZ3MYSpJtjlPhg0Eo6mvVS6ggPhRbw==} - - '@rollup/plugin-alias@5.1.1': - resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==} -@@ -4091,6 +4146,9 @@ packages: - '@tybys/wasm-util@0.10.0': - resolution: {integrity: sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==} - -+ '@tybys/wasm-util@0.10.1': -+ resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==} -+ - '@types/body-parser@1.19.6': - resolution: {integrity: sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==} - -@@ -4582,6 +4640,10 @@ packages: - resolution: {integrity: sha512-BGcItUBWSMRgOCe+SVZJ+S7yTRG0eGt9cXAHev72yuGcY23hnLA7Bky5L/xLyPINoSN95geovfBkqoTlNZYa7w==} - engines: {node: '>=14'} - -+ ansis@4.2.0: -+ resolution: {integrity: sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==} -+ engines: {node: '>=14'} -+ - any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} - -@@ -5257,6 +5319,10 @@ packages: - resolution: {integrity: sha512-LtFNZEWVrnpjiTNgEDsVN05UqhhJ1iA0HnTv4jsascPehlaUYVoyucgNbFeRs6UMaClJnqR0qT9lnPX+KO1OLg==} - engines: {node: '>=18'} - -+ cspell-config-lib@file:packages/cspell-config-lib: -+ resolution: {directory: packages/cspell-config-lib, type: directory} -+ engines: {node: '>=20'} -+ - cspell-dict-nl-nl@1.1.2: - resolution: {integrity: sha512-dwf5NgXQxLpuZysjTO9sM0fgoOTVL30CzG+4S0xYrbP1culdlaNejEPpzqoS30FRdIBroJmTIZ+hfB+tD6Fhmg==} - hasBin: true -@@ -5265,6 +5331,10 @@ packages: - resolution: {integrity: sha512-lr8uIm7Wub8ToRXO9f6f7in429P1Egm3I+Ps3ZGfWpwLTCUBnHvJdNF/kQqF7PL0Lw6acXcjVWFYT7l2Wdst2g==} - engines: {node: '>=18'} - -+ cspell-dictionary@file:packages/cspell-dictionary: -+ resolution: {directory: packages/cspell-dictionary, type: directory} -+ engines: {node: '>=20'} -+ - cspell-gitignore@8.19.4: - resolution: {integrity: sha512-KrViypPilNUHWZkMV0SM8P9EQVIyH8HvUqFscI7+cyzWnlglvzqDdV4N5f+Ax5mK+IqR6rTEX8JZbCwIWWV7og==} - engines: {node: '>=18'} -@@ -5274,23 +5344,44 @@ packages: - resolution: {integrity: sha512-042uDU+RjAz882w+DXKuYxI2rrgVPfRQDYvIQvUrY1hexH4sHbne78+OMlFjjzOCEAgyjnm1ktWUCCmh08pQUw==} - engines: {node: '>=18'} - -+ cspell-glob@file:packages/cspell-glob: -+ resolution: {directory: packages/cspell-glob, type: directory} -+ engines: {node: '>=20'} -+ - cspell-grammar@8.19.4: - resolution: {integrity: sha512-lzWgZYTu/L7DNOHjxuKf8H7DCXvraHMKxtFObf8bAzgT+aBmey5fW2LviXUkZ2Lb2R0qQY+TJ5VIGoEjNf55ow==} - engines: {node: '>=18'} - hasBin: true - -+ cspell-grammar@file:packages/cspell-grammar: -+ resolution: {directory: packages/cspell-grammar, type: directory} -+ engines: {node: '>=20'} -+ hasBin: true -+ - cspell-io@8.19.4: - resolution: {integrity: sha512-W48egJqZ2saEhPWf5ftyighvm4mztxEOi45ILsKgFikXcWFs0H0/hLwqVFeDurgELSzprr12b6dXsr67dV8amg==} - engines: {node: '>=18'} - -+ cspell-io@file:packages/cspell-io: -+ resolution: {directory: packages/cspell-io, type: directory} -+ engines: {node: '>=20'} -+ - cspell-lib@8.19.4: - resolution: {integrity: sha512-NwfdCCYtIBNQuZcoMlMmL3HSv2olXNErMi/aOTI9BBAjvCHjhgX5hbHySMZ0NFNynnN+Mlbu5kooJ5asZeB3KA==} - engines: {node: '>=18'} - -+ cspell-lib@file:packages/cspell-lib: -+ resolution: {directory: packages/cspell-lib, type: directory} -+ engines: {node: '>=20'} -+ - cspell-trie-lib@8.19.4: - resolution: {integrity: sha512-yIPlmGSP3tT3j8Nmu+7CNpkPh/gBO2ovdnqNmZV+LNtQmVxqFd2fH7XvR1TKjQyctSH1ip0P5uIdJmzY1uhaYg==} - engines: {node: '>=18'} - -+ cspell-trie-lib@file:packages/cspell-trie-lib: -+ resolution: {directory: packages/cspell-trie-lib, type: directory} -+ engines: {node: '>=20'} -+ - cspell@8.19.4: - resolution: {integrity: sha512-toaLrLj3usWY0Bvdi661zMmpKW2DVLAG3tcwkAv4JBTisdIRn15kN/qZDrhSieUEhVgJgZJDH4UKRiq29mIFxA==} - engines: {node: '>=18'} -@@ -9075,8 +9166,9 @@ packages: - vue-tsc: - optional: true - -- rolldown@1.0.0-beta.34: -- resolution: {integrity: sha512-Wwh7EwalMzzX3Yy3VN58VEajeR2Si8+HDNMf706jPLIqU7CxneRW+dQVfznf5O0TWTnJyu4npelwg2bzTXB1Nw==} -+ rolldown@1.0.0-beta.41: -+ resolution: {integrity: sha512-U+NPR0Bkg3wm61dteD2L4nAM1U9dtaqVrpDXwC36IKRHpEO/Ubpid4Nijpa2imPchcVNHfxVFwSSMJdwdGFUbg==} -+ engines: {node: ^20.19.0 || >=22.12.0} - hasBin: true - - rollup-plugin-dts@6.2.3: -@@ -11432,20 +11524,91 @@ snapshots: - '@cspell/dict-typescript': 3.2.3 - '@cspell/dict-vue': 3.0.5 - -+ '@cspell/cspell-bundled-dicts@file:packages/cspell-bundled-dicts': -+ dependencies: -+ '@cspell/dict-ada': 4.1.1 -+ '@cspell/dict-al': 1.1.1 -+ '@cspell/dict-aws': 4.0.15 -+ '@cspell/dict-bash': 4.2.1 -+ '@cspell/dict-companies': 3.2.5 -+ '@cspell/dict-cpp': 6.0.12 -+ '@cspell/dict-cryptocurrencies': 5.0.5 -+ '@cspell/dict-csharp': 4.0.7 -+ '@cspell/dict-css': 4.0.18 -+ '@cspell/dict-dart': 2.3.1 -+ '@cspell/dict-data-science': 2.0.9 -+ '@cspell/dict-django': 4.1.5 -+ '@cspell/dict-docker': 1.1.16 -+ '@cspell/dict-dotnet': 5.0.10 -+ '@cspell/dict-elixir': 4.0.8 -+ '@cspell/dict-en-common-misspellings': 2.1.5 -+ '@cspell/dict-en-gb-mit': 3.1.8 -+ '@cspell/dict-en_us': 4.4.18 -+ '@cspell/dict-filetypes': 3.0.13 -+ '@cspell/dict-flutter': 1.1.1 -+ '@cspell/dict-fonts': 4.0.5 -+ '@cspell/dict-fsharp': 1.1.1 -+ '@cspell/dict-fullstack': 3.2.7 -+ '@cspell/dict-gaming-terms': 1.1.2 -+ '@cspell/dict-git': 3.0.7 -+ '@cspell/dict-golang': 6.0.23 -+ '@cspell/dict-google': 1.0.9 -+ '@cspell/dict-haskell': 4.0.6 -+ '@cspell/dict-html': 4.0.12 -+ '@cspell/dict-html-symbol-entities': 4.0.4 -+ '@cspell/dict-java': 5.0.12 -+ '@cspell/dict-julia': 1.1.1 -+ '@cspell/dict-k8s': 1.0.12 -+ '@cspell/dict-kotlin': 1.1.1 -+ '@cspell/dict-latex': 4.0.4 -+ '@cspell/dict-lorem-ipsum': 4.0.5 -+ '@cspell/dict-lua': 4.0.8 -+ '@cspell/dict-makefile': 1.0.5 -+ '@cspell/dict-markdown': 2.0.12(@cspell/dict-css@4.0.18)(@cspell/dict-html-symbol-entities@4.0.4)(@cspell/dict-html@4.0.12)(@cspell/dict-typescript@3.2.3) -+ '@cspell/dict-monkeyc': 1.0.11 -+ '@cspell/dict-node': 5.0.8 -+ '@cspell/dict-npm': 5.2.15 -+ '@cspell/dict-php': 4.0.15 -+ '@cspell/dict-powershell': 5.0.15 -+ '@cspell/dict-public-licenses': 2.0.15 -+ '@cspell/dict-python': 4.2.19 -+ '@cspell/dict-r': 2.1.1 -+ '@cspell/dict-ruby': 5.0.9 -+ '@cspell/dict-rust': 4.0.12 -+ '@cspell/dict-scala': 5.0.8 -+ '@cspell/dict-shell': 1.1.1 -+ '@cspell/dict-software-terms': 5.1.7 -+ '@cspell/dict-sql': 2.2.1 -+ '@cspell/dict-svelte': 1.0.7 -+ '@cspell/dict-swift': 2.0.6 -+ '@cspell/dict-terraform': 1.1.3 -+ '@cspell/dict-typescript': 3.2.3 -+ '@cspell/dict-vue': 3.0.5 -+ - '@cspell/cspell-json-reporter@8.19.4': - dependencies: - '@cspell/cspell-types': 8.19.4 - - '@cspell/cspell-pipe@8.19.4': {} - -+ '@cspell/cspell-pipe@file:packages/cspell-pipe': {} -+ - '@cspell/cspell-resolver@8.19.4': - dependencies: - global-directory: 4.0.1 - -+ '@cspell/cspell-resolver@file:packages/cspell-resolver': -+ dependencies: -+ global-directory: 4.0.1 -+ - '@cspell/cspell-service-bus@8.19.4': {} - -+ '@cspell/cspell-service-bus@file:packages/cspell-service-bus': {} -+ - '@cspell/cspell-types@8.19.4': {} - -+ '@cspell/cspell-types@file:packages/cspell-types': {} -+ - '@cspell/dict-ada@4.1.1': {} - - '@cspell/dict-al@1.1.1': {} -@@ -11594,12 +11757,39 @@ snapshots: - '@cspell/url': 8.19.4 - import-meta-resolve: 4.2.0 - -+ '@cspell/dynamic-import@file:packages/dynamic-import': -+ dependencies: -+ '@cspell/url': file:packages/cspell-url -+ import-meta-resolve: 4.2.0 -+ -+ '@cspell/eslint-plugin@file:packages/cspell-eslint-plugin(eslint@8.57.1)': -+ dependencies: -+ '@cspell/cspell-types': file:packages/cspell-types -+ '@cspell/url': file:packages/cspell-url -+ cspell-lib: file:packages/cspell-lib -+ eslint: 8.57.1 -+ synckit: 0.11.11 -+ -+ '@cspell/eslint-plugin@file:packages/cspell-eslint-plugin(eslint@9.8.0)': -+ dependencies: -+ '@cspell/cspell-types': file:packages/cspell-types -+ '@cspell/url': file:packages/cspell-url -+ cspell-lib: file:packages/cspell-lib -+ eslint: 9.8.0 -+ synckit: 0.11.11 -+ - '@cspell/filetypes@8.19.4': {} - -+ '@cspell/filetypes@file:packages/cspell-filetypes': {} -+ - '@cspell/strong-weak-map@8.19.4': {} - -+ '@cspell/strong-weak-map@file:packages/cspell-strong-weak-map': {} -+ - '@cspell/url@8.19.4': {} - -+ '@cspell/url@file:packages/cspell-url': {} -+ - '@cspotcode/source-map-support@0.8.1': - dependencies: - '@jridgewell/trace-mapping': 0.3.9 -@@ -13234,6 +13424,13 @@ snapshots: - '@tybys/wasm-util': 0.10.0 - optional: true - -+ '@napi-rs/wasm-runtime@1.0.5': -+ dependencies: -+ '@emnapi/core': 1.5.0 -+ '@emnapi/runtime': 1.5.0 -+ '@tybys/wasm-util': 0.10.1 -+ optional: true -+ - '@nodelib/fs.scandir@2.1.5': - dependencies: - '@nodelib/fs.stat': 2.0.5 -@@ -13493,9 +13690,7 @@ snapshots: - dependencies: - '@octokit/openapi-types': 25.1.0 - -- '@oxc-project/runtime@0.82.3': {} -- -- '@oxc-project/types@0.82.3': {} -+ '@oxc-project/types@0.93.0': {} - - '@oxc-resolver/binding-android-arm-eabi@11.7.1': - optional: true -@@ -13579,51 +13774,51 @@ snapshots: - dependencies: - quansync: 0.2.11 - -- '@rolldown/binding-android-arm64@1.0.0-beta.34': -+ '@rolldown/binding-android-arm64@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-darwin-arm64@1.0.0-beta.34': -+ '@rolldown/binding-darwin-arm64@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-darwin-x64@1.0.0-beta.34': -+ '@rolldown/binding-darwin-x64@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-freebsd-x64@1.0.0-beta.34': -+ '@rolldown/binding-freebsd-x64@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.34': -+ '@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.34': -+ '@rolldown/binding-linux-arm64-gnu@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-linux-arm64-musl@1.0.0-beta.34': -+ '@rolldown/binding-linux-arm64-musl@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-linux-x64-gnu@1.0.0-beta.34': -+ '@rolldown/binding-linux-x64-gnu@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-linux-x64-musl@1.0.0-beta.34': -+ '@rolldown/binding-linux-x64-musl@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-openharmony-arm64@1.0.0-beta.34': -+ '@rolldown/binding-openharmony-arm64@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-wasm32-wasi@1.0.0-beta.34': -+ '@rolldown/binding-wasm32-wasi@1.0.0-beta.41': - dependencies: -- '@napi-rs/wasm-runtime': 1.0.3 -+ '@napi-rs/wasm-runtime': 1.0.5 - optional: true - -- '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.34': -+ '@rolldown/binding-win32-arm64-msvc@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-win32-ia32-msvc@1.0.0-beta.34': -+ '@rolldown/binding-win32-ia32-msvc@1.0.0-beta.41': - optional: true - -- '@rolldown/binding-win32-x64-msvc@1.0.0-beta.34': -+ '@rolldown/binding-win32-x64-msvc@1.0.0-beta.41': - optional: true - -- '@rolldown/pluginutils@1.0.0-beta.34': {} -+ '@rolldown/pluginutils@1.0.0-beta.41': {} - - '@rollup/plugin-alias@5.1.1(rollup@4.50.0)': - optionalDependencies: -@@ -14053,6 +14248,11 @@ snapshots: - tslib: 2.8.1 - optional: true - -+ '@tybys/wasm-util@0.10.1': -+ dependencies: -+ tslib: 2.8.1 -+ optional: true -+ - '@types/body-parser@1.19.6': - dependencies: - '@types/connect': 3.4.38 -@@ -14641,6 +14841,8 @@ snapshots: - - ansis@4.1.0: {} - -+ ansis@4.2.0: {} -+ - any-promise@1.3.0: {} - - anymatch@3.1.3: -@@ -15387,6 +15589,13 @@ snapshots: - comment-json: 4.2.5 - yaml: 2.8.1 - -+ cspell-config-lib@file:packages/cspell-config-lib: -+ dependencies: -+ '@cspell/cspell-types': file:packages/cspell-types -+ comment-json: 4.2.5 -+ smol-toml: 1.4.2 -+ yaml: 2.8.1 -+ - cspell-dict-nl-nl@1.1.2: - dependencies: - '@cspell/dict-nl-nl': 1.0.35 -@@ -15399,6 +15608,13 @@ snapshots: - cspell-trie-lib: 8.19.4 - fast-equals: 5.2.2 - -+ cspell-dictionary@file:packages/cspell-dictionary: -+ dependencies: -+ '@cspell/cspell-pipe': file:packages/cspell-pipe -+ '@cspell/cspell-types': file:packages/cspell-types -+ cspell-trie-lib: file:packages/cspell-trie-lib -+ fast-equals: 5.2.2 -+ - cspell-gitignore@8.19.4: - dependencies: - '@cspell/url': 8.19.4 -@@ -15410,16 +15626,31 @@ snapshots: - '@cspell/url': 8.19.4 - picomatch: 4.0.3 - -+ cspell-glob@file:packages/cspell-glob: -+ dependencies: -+ '@cspell/url': file:packages/cspell-url -+ picomatch: 4.0.3 -+ - cspell-grammar@8.19.4: - dependencies: - '@cspell/cspell-pipe': 8.19.4 - '@cspell/cspell-types': 8.19.4 - -+ cspell-grammar@file:packages/cspell-grammar: -+ dependencies: -+ '@cspell/cspell-pipe': file:packages/cspell-pipe -+ '@cspell/cspell-types': file:packages/cspell-types -+ - cspell-io@8.19.4: - dependencies: - '@cspell/cspell-service-bus': 8.19.4 - '@cspell/url': 8.19.4 - -+ cspell-io@file:packages/cspell-io: -+ dependencies: -+ '@cspell/cspell-service-bus': file:packages/cspell-service-bus -+ '@cspell/url': file:packages/cspell-url -+ - cspell-lib@8.19.4: - dependencies: - '@cspell/cspell-bundled-dicts': 8.19.4 -@@ -15447,12 +15678,45 @@ snapshots: - vscode-uri: 3.1.0 - xdg-basedir: 5.1.0 - -+ cspell-lib@file:packages/cspell-lib: -+ dependencies: -+ '@cspell/cspell-bundled-dicts': file:packages/cspell-bundled-dicts -+ '@cspell/cspell-pipe': file:packages/cspell-pipe -+ '@cspell/cspell-resolver': file:packages/cspell-resolver -+ '@cspell/cspell-types': file:packages/cspell-types -+ '@cspell/dynamic-import': file:packages/dynamic-import -+ '@cspell/filetypes': file:packages/cspell-filetypes -+ '@cspell/strong-weak-map': file:packages/cspell-strong-weak-map -+ '@cspell/url': file:packages/cspell-url -+ clear-module: 4.1.2 -+ comment-json: 4.2.5 -+ cspell-config-lib: file:packages/cspell-config-lib -+ cspell-dictionary: file:packages/cspell-dictionary -+ cspell-glob: file:packages/cspell-glob -+ cspell-grammar: file:packages/cspell-grammar -+ cspell-io: file:packages/cspell-io -+ cspell-trie-lib: file:packages/cspell-trie-lib -+ env-paths: 3.0.0 -+ fast-equals: 5.2.2 -+ gensequence: 7.0.0 -+ import-fresh: 3.3.1 -+ resolve-from: 5.0.0 -+ vscode-languageserver-textdocument: 1.0.12 -+ vscode-uri: 3.1.0 -+ xdg-basedir: 5.1.0 -+ - cspell-trie-lib@8.19.4: - dependencies: - '@cspell/cspell-pipe': 8.19.4 - '@cspell/cspell-types': 8.19.4 - gensequence: 7.0.0 - -+ cspell-trie-lib@file:packages/cspell-trie-lib: -+ dependencies: -+ '@cspell/cspell-pipe': file:packages/cspell-pipe -+ '@cspell/cspell-types': file:packages/cspell-types -+ gensequence: 7.0.0 -+ - cspell@8.19.4: - dependencies: - '@cspell/cspell-json-reporter': 8.19.4 -@@ -20092,7 +20356,7 @@ snapshots: - dependencies: - glob: 7.2.3 - -- rolldown-plugin-dts@0.15.10(oxc-resolver@11.7.1)(rolldown@1.0.0-beta.34)(typescript@5.9.2): -+ rolldown-plugin-dts@0.15.10(oxc-resolver@11.7.1)(rolldown@1.0.0-beta.41)(typescript@5.9.2): - dependencies: - '@babel/generator': 7.28.3 - '@babel/parser': 7.28.3 -@@ -20102,34 +20366,33 @@ snapshots: - debug: 4.4.1(supports-color@8.1.1) - dts-resolver: 2.1.2(oxc-resolver@11.7.1) - get-tsconfig: 4.10.1 -- rolldown: 1.0.0-beta.34 -+ rolldown: 1.0.0-beta.41 - optionalDependencies: - typescript: 5.9.2 - transitivePeerDependencies: - - oxc-resolver - - supports-color - -- rolldown@1.0.0-beta.34: -+ rolldown@1.0.0-beta.41: - dependencies: -- '@oxc-project/runtime': 0.82.3 -- '@oxc-project/types': 0.82.3 -- '@rolldown/pluginutils': 1.0.0-beta.34 -- ansis: 4.1.0 -+ '@oxc-project/types': 0.93.0 -+ '@rolldown/pluginutils': 1.0.0-beta.41 -+ ansis: 4.2.0 - optionalDependencies: -- '@rolldown/binding-android-arm64': 1.0.0-beta.34 -- '@rolldown/binding-darwin-arm64': 1.0.0-beta.34 -- '@rolldown/binding-darwin-x64': 1.0.0-beta.34 -- '@rolldown/binding-freebsd-x64': 1.0.0-beta.34 -- '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.34 -- '@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.34 -- '@rolldown/binding-linux-arm64-musl': 1.0.0-beta.34 -- '@rolldown/binding-linux-x64-gnu': 1.0.0-beta.34 -- '@rolldown/binding-linux-x64-musl': 1.0.0-beta.34 -- '@rolldown/binding-openharmony-arm64': 1.0.0-beta.34 -- '@rolldown/binding-wasm32-wasi': 1.0.0-beta.34 -- '@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.34 -- '@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.34 -- '@rolldown/binding-win32-x64-msvc': 1.0.0-beta.34 -+ '@rolldown/binding-android-arm64': 1.0.0-beta.41 -+ '@rolldown/binding-darwin-arm64': 1.0.0-beta.41 -+ '@rolldown/binding-darwin-x64': 1.0.0-beta.41 -+ '@rolldown/binding-freebsd-x64': 1.0.0-beta.41 -+ '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.41 -+ '@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.41 -+ '@rolldown/binding-linux-arm64-musl': 1.0.0-beta.41 -+ '@rolldown/binding-linux-x64-gnu': 1.0.0-beta.41 -+ '@rolldown/binding-linux-x64-musl': 1.0.0-beta.41 -+ '@rolldown/binding-openharmony-arm64': 1.0.0-beta.41 -+ '@rolldown/binding-wasm32-wasi': 1.0.0-beta.41 -+ '@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.41 -+ '@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.41 -+ '@rolldown/binding-win32-x64-msvc': 1.0.0-beta.41 - - rollup-plugin-dts@6.2.3(rollup@4.50.0)(typescript@5.9.2): - dependencies: -@@ -20926,8 +21189,8 @@ snapshots: - diff: 8.0.2 - empathic: 2.0.0 - hookable: 5.5.3 -- rolldown: 1.0.0-beta.34 -- rolldown-plugin-dts: 0.15.10(oxc-resolver@11.7.1)(rolldown@1.0.0-beta.34)(typescript@5.9.2) -+ rolldown: 1.0.0-beta.41 -+ rolldown-plugin-dts: 0.15.10(oxc-resolver@11.7.1)(rolldown@1.0.0-beta.41)(typescript@5.9.2) - semver: 7.7.2 - tinyexec: 1.0.1 - tinyglobby: 0.2.14 diff --git a/pkgs/by-name/cs/cspell/package.nix b/pkgs/by-name/cs/cspell/package.nix index 04cfb7661e54..2e6ad446133f 100644 --- a/pkgs/by-name/cs/cspell/package.nix +++ b/pkgs/by-name/cs/cspell/package.nix @@ -4,40 +4,32 @@ nodejs, pnpm_10, fetchFromGitHub, + gitMinimal, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "cspell"; - version = "9.2.1"; + version = "9.3.2"; src = fetchFromGitHub { owner = "streetsidesoftware"; repo = "cspell"; tag = "v${finalAttrs.version}"; - hash = "sha256-xQCE6YWCvlWjcpf2nCBjbdI76qejlvHdWiUCD4SZhRg="; + hash = "sha256-XF94Bkxx+OAEldRD4L8TBokuzgGil0LaPBUbNBiEcVE="; }; - patches = [ - ./inject-workplace-deps.patch - ]; - pnpmWorkspaces = [ "cspell..." ]; - prePnpmInstall = '' - pnpm config set --location=project inject-workplace-packages true - ''; - pnpmDeps = pnpm_10.fetchDeps { inherit (finalAttrs) pname version src pnpmWorkspaces - patches - prePnpmInstall ; fetcherVersion = 2; - hash = "sha256-aE7DHyXPLziVjW9bBL98fFRiPwOFIyU5edbj8rEws6U="; + hash = "sha256-lp3rXW16/w3ZPXTg/B951SL/WN+QpUQLPjlvc6QaU20="; }; nativeBuildInputs = [ @@ -47,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ nodejs + gitMinimal ]; buildPhase = '' @@ -57,18 +50,40 @@ stdenv.mkDerivation (finalAttrs: { runHook postBuild ''; + # Make PNPM happy to re-install deps for prod + env.CI = true; + installPhase = '' runHook preInstall mkdir -p $out/lib/node_modules/cspell mkdir $out/bin - pnpm --filter="cspell" --offline --prod deploy $out/lib/node_modules/cspell + + # Re-install only production dependencies + rm -rf node_modules packages/*/node_modules scripts/node_modules + pnpm config set nodeLinker hoisted + pnpm config set preferSymlinkedExecutables false + pnpm --filter="cspell..." --offline --prod install + + mv ./package.json ./packages ./bin.mjs ./node_modules $out/lib/node_modules/cspell + # Clean up unneeded files + pushd $out/lib/node_modules/cspell/packages + rm -rf */*.md */tsconfig.* */LICENSE Samples */**/*.test.{j,t}s */**/*.map */__snapshots__ */src */Samples + # These are example dictionaries, and are not needed + rm -rf hunspell-reader/dictionaries + pushd cspell + rm -rf dist/tsc + rm -rf samples/ fixtures/ tools/ static/ + popd + popd ln -s $out/lib/node_modules/cspell/bin.mjs $out/bin/cspell runHook postInstall ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Spell checker for code"; homepage = "https://cspell.org";