diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9fc65d5d2..7f8dcc4a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -124,12 +124,23 @@ jobs: - name: Pack the monorepo modules run: | mkdir -p /tmp/artifacts + yarn workspace @repo/tsconfig pack --out /tmp/artifacts/tsconfig.tgz yarn workspace @inquirer/core pack --out /tmp/artifacts/inquirer-core.tgz - yarn workspace @inquirer/prompts pack --out /tmp/artifacts/inquirer-prompts.tgz yarn workspace @inquirer/figures pack --out /tmp/artifacts/inquirer-figures.tgz yarn workspace @inquirer/type pack --out /tmp/artifacts/inquirer-type.tgz yarn workspace @inquirer/ansi pack --out /tmp/artifacts/inquirer-ansi.tgz - yarn workspace @repo/tsconfig pack --out /tmp/artifacts/tsconfig.tgz + yarn workspace @inquirer/external-editor pack --out /tmp/artifacts/external-editor.tgz + yarn workspace @inquirer/prompts pack --out /tmp/artifacts/inquirer-prompts.tgz + yarn workspace @inquirer/checkbox pack --out /tmp/artifacts/inquirer-checkbox.tgz + yarn workspace @inquirer/confirm pack --out /tmp/artifacts/inquirer-confirm.tgz + yarn workspace @inquirer/editor pack --out /tmp/artifacts/inquirer-editor.tgz + yarn workspace @inquirer/expand pack --out /tmp/artifacts/inquirer-expand.tgz + yarn workspace @inquirer/input pack --out /tmp/artifacts/inquirer-input.tgz + yarn workspace @inquirer/number pack --out /tmp/artifacts/inquirer-number.tgz + yarn workspace @inquirer/password pack --out /tmp/artifacts/inquirer-password.tgz + yarn workspace @inquirer/rawlist pack --out /tmp/artifacts/inquirer-rawlist.tgz + yarn workspace @inquirer/search pack --out /tmp/artifacts/inquirer-search.tgz + yarn workspace @inquirer/select pack --out /tmp/artifacts/inquirer-select.tgz - name: Extract @inquirer/demo to an isolated project & build run: | cur_dir=$(pwd) @@ -140,10 +151,21 @@ jobs: yarn set version stable yarn add --dev @repo/tsconfig@file:/tmp/artifacts/tsconfig.tgz yarn set resolution @inquirer/core@npm:* file:/tmp/artifacts/inquirer-core.tgz - yarn set resolution @inquirer/prompts@npm:* file:/tmp/artifacts/inquirer-prompts.tgz yarn set resolution @inquirer/figures@npm:* file:/tmp/artifacts/inquirer-figures.tgz yarn set resolution @inquirer/ansi@npm:* file:/tmp/artifacts/inquirer-ansi.tgz + yarn set resolution @inquirer/external-editor@npm:* file:/tmp/artifacts/external-editor.tgz yarn set resolution @inquirer/type@npm:* file:/tmp/artifacts/inquirer-type.tgz + yarn set resolution @inquirer/prompts@npm:* file:/tmp/artifacts/inquirer-prompts.tgz + yarn set resolution @inquirer/checkbox@npm:* file:/tmp/artifacts/inquirer-checkbox.tgz + yarn set resolution @inquirer/confirm@npm:* file:/tmp/artifacts/inquirer-confirm.tgz + yarn set resolution @inquirer/editor@npm:* file:/tmp/artifacts/inquirer-editor.tgz + yarn set resolution @inquirer/expand@npm:* file:/tmp/artifacts/inquirer-expand.tgz + yarn set resolution @inquirer/input@npm:* file:/tmp/artifacts/inquirer-input.tgz + yarn set resolution @inquirer/number@npm:* file:/tmp/artifacts/inquirer-number.tgz + yarn set resolution @inquirer/password@npm:* file:/tmp/artifacts/inquirer-password.tgz + yarn set resolution @inquirer/rawlist@npm:* file:/tmp/artifacts/inquirer-rawlist.tgz + yarn set resolution @inquirer/search@npm:* file:/tmp/artifacts/inquirer-search.tgz + yarn set resolution @inquirer/select@npm:* file:/tmp/artifacts/inquirer-select.tgz yarn install yarn tsc diff --git a/.yarn/cache/@isaacs-balanced-match-npm-4.0.1-8965afafe6-102fbc6d2c.zip b/.yarn/cache/@isaacs-balanced-match-npm-4.0.1-8965afafe6-102fbc6d2c.zip new file mode 100644 index 000000000..c4f239c1a Binary files /dev/null and b/.yarn/cache/@isaacs-balanced-match-npm-4.0.1-8965afafe6-102fbc6d2c.zip differ diff --git a/.yarn/cache/@isaacs-brace-expansion-npm-5.0.0-754d3cb3f5-cf3b7f206a.zip b/.yarn/cache/@isaacs-brace-expansion-npm-5.0.0-754d3cb3f5-cf3b7f206a.zip new file mode 100644 index 000000000..6fd9e4bbe Binary files /dev/null and b/.yarn/cache/@isaacs-brace-expansion-npm-5.0.0-754d3cb3f5-cf3b7f206a.zip differ diff --git a/.yarn/cache/@oxlint-darwin-arm64-npm-1.16.0-167d5f172c-10.zip b/.yarn/cache/@oxlint-darwin-arm64-npm-1.16.0-167d5f172c-10.zip deleted file mode 100644 index 6944229a7..000000000 Binary files a/.yarn/cache/@oxlint-darwin-arm64-npm-1.16.0-167d5f172c-10.zip and /dev/null differ diff --git a/.yarn/cache/@oxlint-darwin-arm64-npm-1.18.0-f915b165d2-10.zip b/.yarn/cache/@oxlint-darwin-arm64-npm-1.18.0-f915b165d2-10.zip new file mode 100644 index 000000000..2d57f397c Binary files /dev/null and b/.yarn/cache/@oxlint-darwin-arm64-npm-1.18.0-f915b165d2-10.zip differ diff --git a/.yarn/cache/@oxlint-darwin-x64-npm-1.16.0-b7c81ac020-10.zip b/.yarn/cache/@oxlint-darwin-x64-npm-1.16.0-b7c81ac020-10.zip deleted file mode 100644 index 2c866b1b7..000000000 Binary files a/.yarn/cache/@oxlint-darwin-x64-npm-1.16.0-b7c81ac020-10.zip and /dev/null differ diff --git a/.yarn/cache/@oxlint-darwin-x64-npm-1.18.0-d9cee34087-10.zip b/.yarn/cache/@oxlint-darwin-x64-npm-1.18.0-d9cee34087-10.zip new file mode 100644 index 000000000..d1c25974f Binary files /dev/null and b/.yarn/cache/@oxlint-darwin-x64-npm-1.18.0-d9cee34087-10.zip differ diff --git a/.yarn/cache/@oxlint-linux-arm64-gnu-npm-1.16.0-7d8200602c-10.zip b/.yarn/cache/@oxlint-linux-arm64-gnu-npm-1.16.0-7d8200602c-10.zip deleted file mode 100644 index 6b12c27db..000000000 Binary files a/.yarn/cache/@oxlint-linux-arm64-gnu-npm-1.16.0-7d8200602c-10.zip and /dev/null differ diff --git a/.yarn/cache/@oxlint-linux-arm64-gnu-npm-1.18.0-049ae339d3-10.zip b/.yarn/cache/@oxlint-linux-arm64-gnu-npm-1.18.0-049ae339d3-10.zip new file mode 100644 index 000000000..02177067b Binary files /dev/null and b/.yarn/cache/@oxlint-linux-arm64-gnu-npm-1.18.0-049ae339d3-10.zip differ diff --git a/.yarn/cache/@oxlint-linux-x64-gnu-npm-1.16.0-a23aa07846-10.zip b/.yarn/cache/@oxlint-linux-x64-gnu-npm-1.16.0-a23aa07846-10.zip deleted file mode 100644 index 82dad75e2..000000000 Binary files a/.yarn/cache/@oxlint-linux-x64-gnu-npm-1.16.0-a23aa07846-10.zip and /dev/null differ diff --git a/.yarn/cache/@oxlint-linux-x64-gnu-npm-1.18.0-1841682322-10.zip b/.yarn/cache/@oxlint-linux-x64-gnu-npm-1.18.0-1841682322-10.zip new file mode 100644 index 000000000..748af72db Binary files /dev/null and b/.yarn/cache/@oxlint-linux-x64-gnu-npm-1.18.0-1841682322-10.zip differ diff --git a/.yarn/cache/@oxlint-win32-arm64-npm-1.16.0-7cf5bf4ed3-10.zip b/.yarn/cache/@oxlint-win32-arm64-npm-1.16.0-7cf5bf4ed3-10.zip deleted file mode 100644 index 28f93a551..000000000 Binary files a/.yarn/cache/@oxlint-win32-arm64-npm-1.16.0-7cf5bf4ed3-10.zip and /dev/null differ diff --git a/.yarn/cache/@oxlint-win32-arm64-npm-1.18.0-d768c25043-10.zip b/.yarn/cache/@oxlint-win32-arm64-npm-1.18.0-d768c25043-10.zip new file mode 100644 index 000000000..ed93c157b Binary files /dev/null and b/.yarn/cache/@oxlint-win32-arm64-npm-1.18.0-d768c25043-10.zip differ diff --git a/.yarn/cache/@oxlint-win32-x64-npm-1.16.0-6cd556a009-10.zip b/.yarn/cache/@oxlint-win32-x64-npm-1.16.0-6cd556a009-10.zip deleted file mode 100644 index 65e218459..000000000 Binary files a/.yarn/cache/@oxlint-win32-x64-npm-1.16.0-6cd556a009-10.zip and /dev/null differ diff --git a/.yarn/cache/@oxlint-win32-x64-npm-1.18.0-8478df6a5f-10.zip b/.yarn/cache/@oxlint-win32-x64-npm-1.18.0-8478df6a5f-10.zip new file mode 100644 index 000000000..cdcbbbb6b Binary files /dev/null and b/.yarn/cache/@oxlint-win32-x64-npm-1.18.0-8478df6a5f-10.zip differ diff --git a/.yarn/cache/@sindresorhus-merge-streams-npm-2.3.0-5d49fcd96d-798bcb53cd.zip b/.yarn/cache/@sindresorhus-merge-streams-npm-2.3.0-5d49fcd96d-798bcb53cd.zip deleted file mode 100644 index c63a57441..000000000 Binary files a/.yarn/cache/@sindresorhus-merge-streams-npm-2.3.0-5d49fcd96d-798bcb53cd.zip and /dev/null differ diff --git a/.yarn/cache/@sindresorhus-merge-streams-npm-4.0.0-28e7c03ac1-16551c787f.zip b/.yarn/cache/@sindresorhus-merge-streams-npm-4.0.0-28e7c03ac1-16551c787f.zip new file mode 100644 index 000000000..a20343c2d Binary files /dev/null and b/.yarn/cache/@sindresorhus-merge-streams-npm-4.0.0-28e7c03ac1-16551c787f.zip differ diff --git a/.yarn/cache/@typescript-eslint-eslint-plugin-npm-8.44.0-3a3d745bcf-38d0491d96.zip b/.yarn/cache/@typescript-eslint-eslint-plugin-npm-8.44.1-53dcb647e1-e0f69d1d24.zip similarity index 90% rename from .yarn/cache/@typescript-eslint-eslint-plugin-npm-8.44.0-3a3d745bcf-38d0491d96.zip rename to .yarn/cache/@typescript-eslint-eslint-plugin-npm-8.44.1-53dcb647e1-e0f69d1d24.zip index abfadadfe..aedbfde41 100644 Binary files a/.yarn/cache/@typescript-eslint-eslint-plugin-npm-8.44.0-3a3d745bcf-38d0491d96.zip and b/.yarn/cache/@typescript-eslint-eslint-plugin-npm-8.44.1-53dcb647e1-e0f69d1d24.zip differ diff --git a/.yarn/cache/@typescript-eslint-parser-npm-8.44.0-9be86aa2f8-8c7ddabf46.zip b/.yarn/cache/@typescript-eslint-parser-npm-8.44.1-74366ab532-ff5048c36d.zip similarity index 80% rename from .yarn/cache/@typescript-eslint-parser-npm-8.44.0-9be86aa2f8-8c7ddabf46.zip rename to .yarn/cache/@typescript-eslint-parser-npm-8.44.1-74366ab532-ff5048c36d.zip index b3ff3d36f..77004c723 100644 Binary files a/.yarn/cache/@typescript-eslint-parser-npm-8.44.0-9be86aa2f8-8c7ddabf46.zip and b/.yarn/cache/@typescript-eslint-parser-npm-8.44.1-74366ab532-ff5048c36d.zip differ diff --git a/.yarn/cache/@typescript-eslint-project-service-npm-8.44.0-3208cc873e-400b4981e6.zip b/.yarn/cache/@typescript-eslint-project-service-npm-8.44.1-b0ecde1daf-4b74d9d1c1.zip similarity index 76% rename from .yarn/cache/@typescript-eslint-project-service-npm-8.44.0-3208cc873e-400b4981e6.zip rename to .yarn/cache/@typescript-eslint-project-service-npm-8.44.1-b0ecde1daf-4b74d9d1c1.zip index 2a6e6600c..cda77d9e4 100644 Binary files a/.yarn/cache/@typescript-eslint-project-service-npm-8.44.0-3208cc873e-400b4981e6.zip and b/.yarn/cache/@typescript-eslint-project-service-npm-8.44.1-b0ecde1daf-4b74d9d1c1.zip differ diff --git a/.yarn/cache/@typescript-eslint-scope-manager-npm-8.44.0-02a051c9d1-5dae4a8386.zip b/.yarn/cache/@typescript-eslint-scope-manager-npm-8.44.1-1a9eaf777e-f731becce1.zip similarity index 99% rename from .yarn/cache/@typescript-eslint-scope-manager-npm-8.44.0-02a051c9d1-5dae4a8386.zip rename to .yarn/cache/@typescript-eslint-scope-manager-npm-8.44.1-1a9eaf777e-f731becce1.zip index b72e78edd..a6e861faa 100644 Binary files a/.yarn/cache/@typescript-eslint-scope-manager-npm-8.44.0-02a051c9d1-5dae4a8386.zip and b/.yarn/cache/@typescript-eslint-scope-manager-npm-8.44.1-1a9eaf777e-f731becce1.zip differ diff --git a/.yarn/cache/@typescript-eslint-tsconfig-utils-npm-8.44.0-de2d92d917-c8535d481d.zip b/.yarn/cache/@typescript-eslint-tsconfig-utils-npm-8.44.1-840fd25f78-942d4bb9ec.zip similarity index 80% rename from .yarn/cache/@typescript-eslint-tsconfig-utils-npm-8.44.0-de2d92d917-c8535d481d.zip rename to .yarn/cache/@typescript-eslint-tsconfig-utils-npm-8.44.1-840fd25f78-942d4bb9ec.zip index 74ddb18f7..c227bc1fe 100644 Binary files a/.yarn/cache/@typescript-eslint-tsconfig-utils-npm-8.44.0-de2d92d917-c8535d481d.zip and b/.yarn/cache/@typescript-eslint-tsconfig-utils-npm-8.44.1-840fd25f78-942d4bb9ec.zip differ diff --git a/.yarn/cache/@typescript-eslint-type-utils-npm-8.44.0-4b4c61deae-513c6d3719.zip b/.yarn/cache/@typescript-eslint-type-utils-npm-8.44.1-e119a0ff17-696747b2a0.zip similarity index 90% rename from .yarn/cache/@typescript-eslint-type-utils-npm-8.44.0-4b4c61deae-513c6d3719.zip rename to .yarn/cache/@typescript-eslint-type-utils-npm-8.44.1-e119a0ff17-696747b2a0.zip index ed3ee3498..eb2317ade 100644 Binary files a/.yarn/cache/@typescript-eslint-type-utils-npm-8.44.0-4b4c61deae-513c6d3719.zip and b/.yarn/cache/@typescript-eslint-type-utils-npm-8.44.1-e119a0ff17-696747b2a0.zip differ diff --git a/.yarn/cache/@typescript-eslint-types-npm-8.44.0-89c4325651-9e28c95feb.zip b/.yarn/cache/@typescript-eslint-types-npm-8.44.1-813d7eba17-acebff929b.zip similarity index 94% rename from .yarn/cache/@typescript-eslint-types-npm-8.44.0-89c4325651-9e28c95feb.zip rename to .yarn/cache/@typescript-eslint-types-npm-8.44.1-813d7eba17-acebff929b.zip index f39e164d9..11152b7c8 100644 Binary files a/.yarn/cache/@typescript-eslint-types-npm-8.44.0-89c4325651-9e28c95feb.zip and b/.yarn/cache/@typescript-eslint-types-npm-8.44.1-813d7eba17-acebff929b.zip differ diff --git a/.yarn/cache/@typescript-eslint-typescript-estree-npm-8.44.0-122f9245db-e2e579b15c.zip b/.yarn/cache/@typescript-eslint-typescript-estree-npm-8.44.1-00ec6cde0c-b7b4d177e9.zip similarity index 76% rename from .yarn/cache/@typescript-eslint-typescript-estree-npm-8.44.0-122f9245db-e2e579b15c.zip rename to .yarn/cache/@typescript-eslint-typescript-estree-npm-8.44.1-00ec6cde0c-b7b4d177e9.zip index ccf42b06a..439b5b3cf 100644 Binary files a/.yarn/cache/@typescript-eslint-typescript-estree-npm-8.44.0-122f9245db-e2e579b15c.zip and b/.yarn/cache/@typescript-eslint-typescript-estree-npm-8.44.1-00ec6cde0c-b7b4d177e9.zip differ diff --git a/.yarn/cache/@typescript-eslint-utils-npm-8.44.0-fc612e2915-436e21e3d0.zip b/.yarn/cache/@typescript-eslint-utils-npm-8.44.1-09a8f6a49b-d7757d400a.zip similarity index 93% rename from .yarn/cache/@typescript-eslint-utils-npm-8.44.0-fc612e2915-436e21e3d0.zip rename to .yarn/cache/@typescript-eslint-utils-npm-8.44.1-09a8f6a49b-d7757d400a.zip index fdd1534f3..396e925d6 100644 Binary files a/.yarn/cache/@typescript-eslint-utils-npm-8.44.0-fc612e2915-436e21e3d0.zip and b/.yarn/cache/@typescript-eslint-utils-npm-8.44.1-09a8f6a49b-d7757d400a.zip differ diff --git a/.yarn/cache/@typescript-eslint-visitor-keys-npm-8.44.0-131d4d0e8f-09b008b14f.zip b/.yarn/cache/@typescript-eslint-visitor-keys-npm-8.44.1-4f93f32689-040f579062.zip similarity index 81% rename from .yarn/cache/@typescript-eslint-visitor-keys-npm-8.44.0-131d4d0e8f-09b008b14f.zip rename to .yarn/cache/@typescript-eslint-visitor-keys-npm-8.44.1-4f93f32689-040f579062.zip index 0ab4673ea..8eed6af4d 100644 Binary files a/.yarn/cache/@typescript-eslint-visitor-keys-npm-8.44.0-131d4d0e8f-09b008b14f.zip and b/.yarn/cache/@typescript-eslint-visitor-keys-npm-8.44.1-4f93f32689-040f579062.zip differ diff --git a/.yarn/cache/anymatch-npm-3.1.3-bc81d103b1-3e044fd6d1.zip b/.yarn/cache/anymatch-npm-3.1.3-bc81d103b1-3e044fd6d1.zip deleted file mode 100644 index 095ff2093..000000000 Binary files a/.yarn/cache/anymatch-npm-3.1.3-bc81d103b1-3e044fd6d1.zip and /dev/null differ diff --git a/.yarn/cache/binary-extensions-npm-2.3.0-bd3f20d865-bcad01494e.zip b/.yarn/cache/binary-extensions-npm-2.3.0-bd3f20d865-bcad01494e.zip deleted file mode 100644 index 94214c4b8..000000000 Binary files a/.yarn/cache/binary-extensions-npm-2.3.0-bd3f20d865-bcad01494e.zip and /dev/null differ diff --git a/.yarn/cache/chalk-npm-5.6.2-ecbd482482-1b2f48f6fb.zip b/.yarn/cache/chalk-npm-5.6.2-ecbd482482-1b2f48f6fb.zip new file mode 100644 index 000000000..d465237e2 Binary files /dev/null and b/.yarn/cache/chalk-npm-5.6.2-ecbd482482-1b2f48f6fb.zip differ diff --git a/.yarn/cache/chokidar-npm-3.6.0-3c413a828f-c327fb0770.zip b/.yarn/cache/chokidar-npm-3.6.0-3c413a828f-c327fb0770.zip deleted file mode 100644 index b21d3e799..000000000 Binary files a/.yarn/cache/chokidar-npm-3.6.0-3c413a828f-c327fb0770.zip and /dev/null differ diff --git a/.yarn/cache/chokidar-npm-4.0.3-962354fbb4-bf2a575ea5.zip b/.yarn/cache/chokidar-npm-4.0.3-962354fbb4-bf2a575ea5.zip new file mode 100644 index 000000000..0085cb689 Binary files /dev/null and b/.yarn/cache/chokidar-npm-4.0.3-962354fbb4-bf2a575ea5.zip differ diff --git a/.yarn/cache/eslint-plugin-oxlint-npm-1.16.0-886edaf1f7-88ee2ea014.zip b/.yarn/cache/eslint-plugin-oxlint-npm-1.18.0-d0674ec896-e797ce30d0.zip similarity index 65% rename from .yarn/cache/eslint-plugin-oxlint-npm-1.16.0-886edaf1f7-88ee2ea014.zip rename to .yarn/cache/eslint-plugin-oxlint-npm-1.18.0-d0674ec896-e797ce30d0.zip index b6e4d50a0..c117ae1f2 100644 Binary files a/.yarn/cache/eslint-plugin-oxlint-npm-1.16.0-886edaf1f7-88ee2ea014.zip and b/.yarn/cache/eslint-plugin-oxlint-npm-1.18.0-d0674ec896-e797ce30d0.zip differ diff --git a/.yarn/cache/foreground-child-npm-3.3.1-b7775fda04-427b33f997.zip b/.yarn/cache/foreground-child-npm-3.3.1-b7775fda04-427b33f997.zip new file mode 100644 index 000000000..cacc1fa7c Binary files /dev/null and b/.yarn/cache/foreground-child-npm-3.3.1-b7775fda04-427b33f997.zip differ diff --git a/.yarn/cache/globby-npm-14.1.0-b117053b71-e527ff54f0.zip b/.yarn/cache/globby-npm-14.1.0-b117053b71-e527ff54f0.zip deleted file mode 100644 index b472934da..000000000 Binary files a/.yarn/cache/globby-npm-14.1.0-b117053b71-e527ff54f0.zip and /dev/null differ diff --git a/.yarn/cache/globby-npm-15.0.0-4ac36a9aa3-552203c635.zip b/.yarn/cache/globby-npm-15.0.0-4ac36a9aa3-552203c635.zip new file mode 100644 index 000000000..4ac3a22b2 Binary files /dev/null and b/.yarn/cache/globby-npm-15.0.0-4ac36a9aa3-552203c635.zip differ diff --git a/.yarn/cache/ignore-npm-7.0.5-dea34ee430-f134b96a4d.zip b/.yarn/cache/ignore-npm-7.0.5-dea34ee430-f134b96a4d.zip new file mode 100644 index 000000000..bf990f3a2 Binary files /dev/null and b/.yarn/cache/ignore-npm-7.0.5-dea34ee430-f134b96a4d.zip differ diff --git a/.yarn/cache/is-binary-path-npm-2.1.0-e61d46f557-078e51b4f9.zip b/.yarn/cache/is-binary-path-npm-2.1.0-e61d46f557-078e51b4f9.zip deleted file mode 100644 index 4b78c1aed..000000000 Binary files a/.yarn/cache/is-binary-path-npm-2.1.0-e61d46f557-078e51b4f9.zip and /dev/null differ diff --git a/.yarn/cache/minimatch-npm-10.0.3-23e96438f0-d5b8b2538b.zip b/.yarn/cache/minimatch-npm-10.0.3-23e96438f0-d5b8b2538b.zip new file mode 100644 index 000000000..a7584b7a2 Binary files /dev/null and b/.yarn/cache/minimatch-npm-10.0.3-23e96438f0-d5b8b2538b.zip differ diff --git a/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip b/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip deleted file mode 100644 index 855af70e6..000000000 Binary files a/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip and /dev/null differ diff --git a/.yarn/cache/oxlint-npm-1.16.0-1707fe386d-ddf389804e.zip b/.yarn/cache/oxlint-npm-1.16.0-1707fe386d-ddf389804e.zip deleted file mode 100644 index 5f45c26cd..000000000 Binary files a/.yarn/cache/oxlint-npm-1.16.0-1707fe386d-ddf389804e.zip and /dev/null differ diff --git a/.yarn/cache/oxlint-npm-1.18.0-221393740c-79118edfc9.zip b/.yarn/cache/oxlint-npm-1.18.0-221393740c-79118edfc9.zip new file mode 100644 index 000000000..8c90b8a53 Binary files /dev/null and b/.yarn/cache/oxlint-npm-1.18.0-221393740c-79118edfc9.zip differ diff --git a/.yarn/cache/readdirp-npm-3.6.0-f950cc74ab-196b30ef6c.zip b/.yarn/cache/readdirp-npm-3.6.0-f950cc74ab-196b30ef6c.zip deleted file mode 100644 index e2e27a68f..000000000 Binary files a/.yarn/cache/readdirp-npm-3.6.0-f950cc74ab-196b30ef6c.zip and /dev/null differ diff --git a/.yarn/cache/readdirp-npm-4.1.2-3440472afe-7b817c2659.zip b/.yarn/cache/readdirp-npm-4.1.2-3440472afe-7b817c2659.zip new file mode 100644 index 000000000..7ea4264a0 Binary files /dev/null and b/.yarn/cache/readdirp-npm-4.1.2-3440472afe-7b817c2659.zip differ diff --git a/.yarn/cache/tshy-npm-3.0.2-d850619ed8-48ae27425c.zip b/.yarn/cache/tshy-npm-3.0.3-0de46f70c2-db546c3d82.zip similarity index 57% rename from .yarn/cache/tshy-npm-3.0.2-d850619ed8-48ae27425c.zip rename to .yarn/cache/tshy-npm-3.0.3-0de46f70c2-db546c3d82.zip index d2d7bdb5c..16972b548 100644 Binary files a/.yarn/cache/tshy-npm-3.0.2-d850619ed8-48ae27425c.zip and b/.yarn/cache/tshy-npm-3.0.3-0de46f70c2-db546c3d82.zip differ diff --git a/.yarn/cache/typescript-eslint-npm-8.44.0-644f1e8a6c-7c406b064d.zip b/.yarn/cache/typescript-eslint-npm-8.44.1-b44b812555-9bd0601ef6.zip similarity index 87% rename from .yarn/cache/typescript-eslint-npm-8.44.0-644f1e8a6c-7c406b064d.zip rename to .yarn/cache/typescript-eslint-npm-8.44.1-b44b812555-9bd0601ef6.zip index cdc3ce495..c36b7bf32 100644 Binary files a/.yarn/cache/typescript-eslint-npm-8.44.0-644f1e8a6c-7c406b064d.zip and b/.yarn/cache/typescript-eslint-npm-8.44.1-b44b812555-9bd0601ef6.zip differ diff --git a/.yarn/cache/typescript-npm-5.9.3-48715be868-c089d9d3da.zip b/.yarn/cache/typescript-npm-5.9.3-48715be868-c089d9d3da.zip new file mode 100644 index 000000000..0eabff58d Binary files /dev/null and b/.yarn/cache/typescript-npm-5.9.3-48715be868-c089d9d3da.zip differ diff --git a/.yarn/cache/typescript-patch-6fda4d02cf-696e1b017b.zip b/.yarn/cache/typescript-patch-6fda4d02cf-696e1b017b.zip new file mode 100644 index 000000000..6cd392703 Binary files /dev/null and b/.yarn/cache/typescript-patch-6fda4d02cf-696e1b017b.zip differ diff --git a/package.json b/package.json index 6e7bda5ff..846ee9ef0 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "eslint-plugin-n": "^17.21.0", "eslint-plugin-oxlint": "^1.7.0", "globals": "^16.3.0", - "globby": "^14.1.0", + "globby": "^15.0.0", "husky": "^9.1.7", "lerna": "^8.2.3", "nano-staged": "^0.8.0", diff --git a/packages/checkbox/README.md b/packages/checkbox/README.md index 03c45149e..ae5ad6364 100644 --- a/packages/checkbox/README.md +++ b/packages/checkbox/README.md @@ -104,6 +104,7 @@ The `Choice` object is typed as type Choice = { value: Value; name?: string; + checkedName?: string; description?: string; short?: string; checked?: boolean; @@ -115,6 +116,7 @@ Here's each property: - `value`: The value is what will be returned by `await checkbox()`. - `name`: This is the string displayed in the choice list. +- `checkedName`: Alternative `name` (or format) displayed when the choice is checked. - `description`: Option for a longer description string that'll appear under the list when the cursor highlight a given choice. - `short`: Once the prompt is done (press enter), we'll use `short` if defined to render next to the question. By default we'll use `name`. - `checked`: If `true`, the option will be checked by default. diff --git a/packages/checkbox/checkbox.test.ts b/packages/checkbox/checkbox.test.ts index 7413690f3..cc99acd90 100644 --- a/packages/checkbox/checkbox.test.ts +++ b/packages/checkbox/checkbox.test.ts @@ -1279,5 +1279,53 @@ describe('checkbox prompt', () => { events.keypress('enter'); await expect(answer).resolves.toEqual(['three']); }); + + it('displays checkedName when option is selected', async () => { + const choices = [ + { name: 'npm', value: 'npm', checkedName: 'Node Package Manager' }, + { name: 'yarn', value: 'yarn', checkedName: 'Yet Another Resource Negotiator' }, + new Separator(), + { name: 'jspm', value: 'jspm' }, + { name: 'pnpm', value: 'pnpm', disabled: '(pnpm is not available)' }, + ]; + + const { answer, events, getScreen } = await render(checkbox, { + message: 'Select package managers', + choices, + }); + + expect(getScreen()).toMatchInlineSnapshot(` + "? Select package managers (Press to select, to toggle all, to + invert selection, and to proceed) + ❯◯ npm + ◯ yarn + ────────────── + ◯ jspm + - pnpm (pnpm is not available)" + `); + + events.keypress('space'); + expect(getScreen()).toMatchInlineSnapshot(` + "? Select package managers + ❯◉ Node Package Manager + ◯ yarn + ────────────── + ◯ jspm + - pnpm (pnpm is not available)" + `); + events.keypress('down'); + events.keypress('space'); + expect(getScreen()).toMatchInlineSnapshot(` + "? Select package managers + ◉ Node Package Manager + ❯◉ Yet Another Resource Negotiator + ────────────── + ◯ jspm + - pnpm (pnpm is not available)" + `); + events.keypress('enter'); + await expect(answer).resolves.toEqual(['npm', 'yarn']); + expect(getScreen()).toMatchInlineSnapshot(`"✔ Select package managers npm, yarn"`); + }); }); }); diff --git a/packages/checkbox/src/index.ts b/packages/checkbox/src/index.ts index 5d04652c9..2bca39465 100644 --- a/packages/checkbox/src/index.ts +++ b/packages/checkbox/src/index.ts @@ -62,6 +62,7 @@ const checkboxTheme: CheckboxTheme = { type Choice = { value: Value; name?: string; + checkedName?: string; description?: string; short?: string; disabled?: boolean | string; @@ -72,6 +73,7 @@ type Choice = { type NormalizedChoice = { value: Value; name: string; + checkedName: string; description?: string; short: string; disabled: boolean | string; @@ -131,6 +133,7 @@ function normalizeChoices( value: choice as Value, name: choice, short: choice, + checkedName: choice, disabled: false, checked: false, }; @@ -141,6 +144,7 @@ function normalizeChoices( value: choice.value, name, short: choice.short ?? name, + checkedName: choice.checkedName ?? name, disabled: choice.disabled ?? false, checked: choice.checked ?? false, }; @@ -264,9 +268,10 @@ export default createPrompt( } const checkbox = item.checked ? theme.icon.checked : theme.icon.unchecked; + const name = item.checked ? item.checkedName : item.name; const color = isActive ? theme.style.highlight : (x: string) => x; const cursor = isActive ? theme.icon.cursor : ' '; - return color(`${cursor}${checkbox} ${item.name}`); + return color(`${cursor}${checkbox} ${name}`); }, pageSize, loop, diff --git a/packages/demo/src/demos/checkbox.ts b/packages/demo/src/demos/checkbox.ts index 5964b06b4..075900d90 100644 --- a/packages/demo/src/demos/checkbox.ts +++ b/packages/demo/src/demos/checkbox.ts @@ -53,6 +53,22 @@ const demo = async () => { ], }); console.log('Answer:', answer); + + answer = await checkbox({ + message: 'Select a package manager (custom checked name)', + choices: [ + { name: 'npm', value: 'npm', checkedName: 'Node Package Manager' }, + { name: 'yarn', value: 'yarn', checkedName: 'Yet Another Resource Negotiator' }, + new Separator(), + { name: 'jspm', value: 'jspm' }, + { + name: 'pnpm', + value: 'pnpm', + disabled: '(pnpm is not available)', + }, + ], + }); + console.log('Answer:', answer); }; if (import.meta.url.startsWith('file:')) { diff --git a/yarn.lock b/yarn.lock index 2fb60f842..68c443bb3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -763,7 +763,7 @@ __metadata: eslint-plugin-n: "npm:^17.21.0" eslint-plugin-oxlint: "npm:^1.7.0" globals: "npm:^16.3.0" - globby: "npm:^14.1.0" + globby: "npm:^15.0.0" husky: "npm:^9.1.7" lerna: "npm:^8.2.3" nano-staged: "npm:^0.8.0" @@ -851,6 +851,22 @@ __metadata: languageName: unknown linkType: soft +"@isaacs/balanced-match@npm:^4.0.1": + version: 4.0.1 + resolution: "@isaacs/balanced-match@npm:4.0.1" + checksum: 10/102fbc6d2c0d5edf8f6dbf2b3feb21695a21bc850f11bc47c4f06aa83bd8884fde3fe9d6d797d619901d96865fdcb4569ac2a54c937992c48885c5e3d9967fe8 + languageName: node + linkType: hard + +"@isaacs/brace-expansion@npm:^5.0.0": + version: 5.0.0 + resolution: "@isaacs/brace-expansion@npm:5.0.0" + dependencies: + "@isaacs/balanced-match": "npm:^4.0.1" + checksum: 10/cf3b7f206aff12128214a1df764ac8cdbc517c110db85249b945282407e3dfc5c6e66286383a7c9391a059fc8e6e6a8ca82262fc9d2590bd615376141fbebd2d + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -1462,58 +1478,58 @@ __metadata: languageName: node linkType: hard -"@oxlint/darwin-arm64@npm:1.16.0": - version: 1.16.0 - resolution: "@oxlint/darwin-arm64@npm:1.16.0" +"@oxlint/darwin-arm64@npm:1.18.0": + version: 1.18.0 + resolution: "@oxlint/darwin-arm64@npm:1.18.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@oxlint/darwin-x64@npm:1.16.0": - version: 1.16.0 - resolution: "@oxlint/darwin-x64@npm:1.16.0" +"@oxlint/darwin-x64@npm:1.18.0": + version: 1.18.0 + resolution: "@oxlint/darwin-x64@npm:1.18.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@oxlint/linux-arm64-gnu@npm:1.16.0": - version: 1.16.0 - resolution: "@oxlint/linux-arm64-gnu@npm:1.16.0" +"@oxlint/linux-arm64-gnu@npm:1.18.0": + version: 1.18.0 + resolution: "@oxlint/linux-arm64-gnu@npm:1.18.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@oxlint/linux-arm64-musl@npm:1.16.0": - version: 1.16.0 - resolution: "@oxlint/linux-arm64-musl@npm:1.16.0" +"@oxlint/linux-arm64-musl@npm:1.18.0": + version: 1.18.0 + resolution: "@oxlint/linux-arm64-musl@npm:1.18.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@oxlint/linux-x64-gnu@npm:1.16.0": - version: 1.16.0 - resolution: "@oxlint/linux-x64-gnu@npm:1.16.0" +"@oxlint/linux-x64-gnu@npm:1.18.0": + version: 1.18.0 + resolution: "@oxlint/linux-x64-gnu@npm:1.18.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@oxlint/linux-x64-musl@npm:1.16.0": - version: 1.16.0 - resolution: "@oxlint/linux-x64-musl@npm:1.16.0" +"@oxlint/linux-x64-musl@npm:1.18.0": + version: 1.18.0 + resolution: "@oxlint/linux-x64-musl@npm:1.18.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@oxlint/win32-arm64@npm:1.16.0": - version: 1.16.0 - resolution: "@oxlint/win32-arm64@npm:1.16.0" +"@oxlint/win32-arm64@npm:1.18.0": + version: 1.18.0 + resolution: "@oxlint/win32-arm64@npm:1.18.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@oxlint/win32-x64@npm:1.16.0": - version: 1.16.0 - resolution: "@oxlint/win32-x64@npm:1.16.0" +"@oxlint/win32-x64@npm:1.18.0": + version: 1.18.0 + resolution: "@oxlint/win32-x64@npm:1.18.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1758,10 +1774,10 @@ __metadata: languageName: node linkType: hard -"@sindresorhus/merge-streams@npm:^2.1.0": - version: 2.3.0 - resolution: "@sindresorhus/merge-streams@npm:2.3.0" - checksum: 10/798bcb53cd1ace9df84fcdd1ba86afdc9e0cd84f5758d26ae9b1eefd8e8887e5fc30051132b9e74daf01bb41fa5a2faf1369361f83d76a3b3d7ee938058fd71c +"@sindresorhus/merge-streams@npm:^4.0.0": + version: 4.0.0 + resolution: "@sindresorhus/merge-streams@npm:4.0.0" + checksum: 10/16551c787f5328c8ef05fd9831ade64369ccc992df78deb635ec6c44af217d2f1b43f8728c348cdc4e00585ff2fad6e00d8155199cbf6b154acc45fe65cbf0aa languageName: node linkType: hard @@ -1890,106 +1906,106 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.44.0" +"@typescript-eslint/eslint-plugin@npm:8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/eslint-plugin@npm:8.44.1" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.44.0" - "@typescript-eslint/type-utils": "npm:8.44.0" - "@typescript-eslint/utils": "npm:8.44.0" - "@typescript-eslint/visitor-keys": "npm:8.44.0" + "@typescript-eslint/scope-manager": "npm:8.44.1" + "@typescript-eslint/type-utils": "npm:8.44.1" + "@typescript-eslint/utils": "npm:8.44.1" + "@typescript-eslint/visitor-keys": "npm:8.44.1" graphemer: "npm:^1.4.0" ignore: "npm:^7.0.0" natural-compare: "npm:^1.4.0" ts-api-utils: "npm:^2.1.0" peerDependencies: - "@typescript-eslint/parser": ^8.44.0 + "@typescript-eslint/parser": ^8.44.1 eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10/38d0491d96740d1c9f412b0ee1a8a24ed132433347e52810b030e331b27a846b2c70a8424b5684e7ccd7a7ed231e336dd40a0642f5014409ed28e84561fd0757 + checksum: 10/e0f69d1d24bbf63c3f2937f85b49994eae907656b01bc9d3563f096750add1085c4b15953b82b750b0da2b8444850558a8bf0d5bcfb8f0410dfd628f4245dc11 languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/parser@npm:8.44.0" +"@typescript-eslint/parser@npm:8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/parser@npm:8.44.1" dependencies: - "@typescript-eslint/scope-manager": "npm:8.44.0" - "@typescript-eslint/types": "npm:8.44.0" - "@typescript-eslint/typescript-estree": "npm:8.44.0" - "@typescript-eslint/visitor-keys": "npm:8.44.0" + "@typescript-eslint/scope-manager": "npm:8.44.1" + "@typescript-eslint/types": "npm:8.44.1" + "@typescript-eslint/typescript-estree": "npm:8.44.1" + "@typescript-eslint/visitor-keys": "npm:8.44.1" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10/8c7ddabf46a94877e3af9b029c5e65cc99ec2983ee14842eea7e8ebccc0e24f589cdf7d2ca63ece87284ea7a4d9d622a22452ac5c66cb6ebda1b91b438e20979 + checksum: 10/ff5048c36d9fde27a03f64f3c4ad4739370fde1d744fa7bd1e08280601bd9adfe64c740789fd2adede54dd212a005c59bf1c06c68d05f57b7028332838ed28f8 languageName: node linkType: hard -"@typescript-eslint/project-service@npm:8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/project-service@npm:8.44.0" +"@typescript-eslint/project-service@npm:8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/project-service@npm:8.44.1" dependencies: - "@typescript-eslint/tsconfig-utils": "npm:^8.44.0" - "@typescript-eslint/types": "npm:^8.44.0" + "@typescript-eslint/tsconfig-utils": "npm:^8.44.1" + "@typescript-eslint/types": "npm:^8.44.1" debug: "npm:^4.3.4" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10/400b4981e6f6bd323592df7803383c0f223256f76b4876c03c2e8fa5e9470ce90a6a39555f759a391ba87bbf79add800eadf42ba06acf0732407a225790722de + checksum: 10/4b74d9d1c113b2637b6d65c790bfd2fa15ab1061fe77e68519c3b1939f4b0ee9e15d621ffc946ae2ef457289e830ddea879553868d5c7ff1af4904d7842792e0 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/scope-manager@npm:8.44.0" +"@typescript-eslint/scope-manager@npm:8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/scope-manager@npm:8.44.1" dependencies: - "@typescript-eslint/types": "npm:8.44.0" - "@typescript-eslint/visitor-keys": "npm:8.44.0" - checksum: 10/5dae4a838637df522f0f71d2df238b5fd5045a374cd036e7485d39fc1b20dd1151185463c8fc35441b12c747b795c88b429a5e229fc9449ae7b15d6e7e1b6caf + "@typescript-eslint/types": "npm:8.44.1" + "@typescript-eslint/visitor-keys": "npm:8.44.1" + checksum: 10/f731becce1f79b3add939417e31c7ae38c9150d73de5dec4141376cc64e1bb69f8d6b9f2072f8f442995a1e30eab57fd73c1a4b87220e19abb0f210e2c123096 languageName: node linkType: hard -"@typescript-eslint/tsconfig-utils@npm:8.44.0, @typescript-eslint/tsconfig-utils@npm:^8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/tsconfig-utils@npm:8.44.0" +"@typescript-eslint/tsconfig-utils@npm:8.44.1, @typescript-eslint/tsconfig-utils@npm:^8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/tsconfig-utils@npm:8.44.1" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10/c8535d481d7cda5c846d5b74b7cde7a98b636a558b45510820840dcb9928575c4f3d26b3c021fd7e47b782c6d9a73e9a8adf29191548406ac4b02e1a1dce928f + checksum: 10/942d4bb9ec3d0f1f6c7fe0dc0fef2ae83a12b43ff3537fbd74007d0c9b80f166db2e5fa2f422f0b10ade348e330204dc70fc50e235ee66dc13ba488ac1490778 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/type-utils@npm:8.44.0" +"@typescript-eslint/type-utils@npm:8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/type-utils@npm:8.44.1" dependencies: - "@typescript-eslint/types": "npm:8.44.0" - "@typescript-eslint/typescript-estree": "npm:8.44.0" - "@typescript-eslint/utils": "npm:8.44.0" + "@typescript-eslint/types": "npm:8.44.1" + "@typescript-eslint/typescript-estree": "npm:8.44.1" + "@typescript-eslint/utils": "npm:8.44.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^2.1.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10/513c6d371922c60522a44a659ca99d3c9978b61781a27831fb60f522190c387f2c48f4759614483fb904953a0c1391fd0a9e2027e30ab1eebfea49f404f1a560 + checksum: 10/696747b2a048c281d8cfe74b3f61b7af2e7fa371e9afa58de6d6b49ad7cfa2577d52ddd66fe8b243d2d039b489b6db07bf18a746b14004456c8405842276aa92 languageName: node linkType: hard -"@typescript-eslint/types@npm:8.44.0, @typescript-eslint/types@npm:^8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/types@npm:8.44.0" - checksum: 10/9e28c95feb0d3b9ae83117a8b3db43db4e9a5d2fcbf8fd0c6e231e0ae604fe894b6725642fe3234733e81e32bec6f03b270d8a27d4258c0ee0b44a8bd8685756 +"@typescript-eslint/types@npm:8.44.1, @typescript-eslint/types@npm:^8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/types@npm:8.44.1" + checksum: 10/acebff929b2c64254c430fff54d8d135c9f47bcc20062fd3e52f64952b0ef973db9582812025f5314940889ae4c4a8798726a477b94fbda31881109687567528 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.44.0" +"@typescript-eslint/typescript-estree@npm:8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.44.1" dependencies: - "@typescript-eslint/project-service": "npm:8.44.0" - "@typescript-eslint/tsconfig-utils": "npm:8.44.0" - "@typescript-eslint/types": "npm:8.44.0" - "@typescript-eslint/visitor-keys": "npm:8.44.0" + "@typescript-eslint/project-service": "npm:8.44.1" + "@typescript-eslint/tsconfig-utils": "npm:8.44.1" + "@typescript-eslint/types": "npm:8.44.1" + "@typescript-eslint/visitor-keys": "npm:8.44.1" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" @@ -1998,32 +2014,32 @@ __metadata: ts-api-utils: "npm:^2.1.0" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10/e2e579b15c49e0ef6d2da9d06105ff2c995c785b1bb6cc0a11aa124c1bcc6435ee8897a9d9d6346951a8cc329b8af6410bc982dc5e55272b9af650b11daa536a + checksum: 10/b7b4d177e9339c978a090f1ec23c3f58316845b1cfc4f80a59f481d748b19078ab2cf4fe2d3aa063ad3dc556ea678289e2a9f61e12d7beaeb2bb681599b7481b languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/utils@npm:8.44.0" +"@typescript-eslint/utils@npm:8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/utils@npm:8.44.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.7.0" - "@typescript-eslint/scope-manager": "npm:8.44.0" - "@typescript-eslint/types": "npm:8.44.0" - "@typescript-eslint/typescript-estree": "npm:8.44.0" + "@typescript-eslint/scope-manager": "npm:8.44.1" + "@typescript-eslint/types": "npm:8.44.1" + "@typescript-eslint/typescript-estree": "npm:8.44.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10/436e21e3d01e2f6f70fea1d3175de6836f72aa52220c6482c871e5b72f845215db46a8e58e5ab83a197326559d075afb61bedabacbdaa96a243a18f43ac5d6cb + checksum: 10/d7757d400a14bd69272da5e32dc61893ec958a9776b2436e2980d7e638164c88edb4b56c5faff6cf8ea61b1fd8a3f6c78ad4f7fc5c4e7d217d960e08039f7c40 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.44.0": - version: 8.44.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.44.0" +"@typescript-eslint/visitor-keys@npm:8.44.1": + version: 8.44.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.44.1" dependencies: - "@typescript-eslint/types": "npm:8.44.0" + "@typescript-eslint/types": "npm:8.44.1" eslint-visitor-keys: "npm:^4.2.1" - checksum: 10/09b008b14f46ea14bb5076632745dd527982f231830141a3c789ed0cd3d7bced7340a0ccfb40c640b765de42c267202db83072587144791df4806bd68233596c + checksum: 10/040f57906265d9ba5ec2230e728eea87bf6af9e0d345017de9e5b05211469457d838435f8b776354b403dad7b2c4527b68863c4ab6750f2668731dd2a3b8f9e8 languageName: node linkType: hard @@ -2353,16 +2369,6 @@ __metadata: languageName: node linkType: hard -"anymatch@npm:~3.1.2": - version: 3.1.3 - resolution: "anymatch@npm:3.1.3" - dependencies: - normalize-path: "npm:^3.0.0" - picomatch: "npm:^2.0.4" - checksum: 10/3e044fd6d1d26545f235a9fe4d7a534e2029d8e59fa7fd9f2a6eb21230f6b5380ea1eaf55136e60cbf8e613544b3b766e7a6fa2102e2a3a117505466e3025dc2 - languageName: node - linkType: hard - "aproba@npm:2.0.0, aproba@npm:^1.0.3 || ^2.0.0": version: 2.0.0 resolution: "aproba@npm:2.0.0" @@ -2507,13 +2513,6 @@ __metadata: languageName: node linkType: hard -"binary-extensions@npm:^2.0.0": - version: 2.3.0 - resolution: "binary-extensions@npm:2.3.0" - checksum: 10/bcad01494e8a9283abf18c1b967af65ee79b0c6a9e6fcfafebfe91dbe6e0fc7272bafb73389e198b310516ae04f7ad17d79aacf6cb4c0d5d5202a7e2e52c7d98 - languageName: node - linkType: hard - "bl@npm:^4.0.3, bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" @@ -2544,7 +2543,7 @@ __metadata: languageName: node linkType: hard -"braces@npm:^3.0.3, braces@npm:~3.0.2": +"braces@npm:^3.0.3": version: 3.0.3 resolution: "braces@npm:3.0.3" dependencies: @@ -2699,6 +2698,13 @@ __metadata: languageName: node linkType: hard +"chalk@npm:^5.6.2": + version: 5.6.2 + resolution: "chalk@npm:5.6.2" + checksum: 10/1b2f48f6fba1370670d5610f9cd54c391d6ede28f4b7062dd38244ea5768777af72e5be6b74fb6c6d54cb84c4a2dff3f3afa9b7cb5948f7f022cfd3d087989e0 + languageName: node + linkType: hard + "char-regex@npm:^1.0.2": version: 1.0.2 resolution: "char-regex@npm:1.0.2" @@ -2727,22 +2733,12 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.6.0": - version: 3.6.0 - resolution: "chokidar@npm:3.6.0" +"chokidar@npm:^4.0.3": + version: 4.0.3 + resolution: "chokidar@npm:4.0.3" dependencies: - anymatch: "npm:~3.1.2" - braces: "npm:~3.0.2" - fsevents: "npm:~2.3.2" - glob-parent: "npm:~5.1.2" - is-binary-path: "npm:~2.1.0" - is-glob: "npm:~4.0.1" - normalize-path: "npm:~3.0.0" - readdirp: "npm:~3.6.0" - dependenciesMeta: - fsevents: - optional: true - checksum: 10/c327fb07704443f8d15f7b4a7ce93b2f0bc0e6cea07ec28a7570aa22cd51fcf0379df589403976ea956c369f25aa82d84561947e227cd925902e1751371658df + readdirp: "npm:^4.0.1" + checksum: 10/bf2a575ea5596000e88f5db95461a9d59ad2047e939d5a4aac59dd472d126be8f1c1ff3c7654b477cf532d18f42a97279ef80ee847972fd2a25410bf00b80b59 languageName: node linkType: hard @@ -3607,11 +3603,11 @@ __metadata: linkType: hard "eslint-plugin-oxlint@npm:^1.7.0": - version: 1.16.0 - resolution: "eslint-plugin-oxlint@npm:1.16.0" + version: 1.18.0 + resolution: "eslint-plugin-oxlint@npm:1.18.0" dependencies: jsonc-parser: "npm:^3.3.1" - checksum: 10/88ee2ea0148b3a5f963d90c56bb60366bd734e8779d4bbd7be0718459fc4ac1f66dd918ec1398b9494e0c95ada6a45297f19eda3bdbc914a2a37ea7deb9fffa5 + checksum: 10/e797ce30d07b0f9ed7c1fda7c4d3f772a4db71234a7393bdfeac235e6072640495a3782eed52ee60801b3eb2415d625dc2cdbf5b3d81f20c26cdbd4a9a26f3ba languageName: node linkType: hard @@ -3963,7 +3959,7 @@ __metadata: languageName: node linkType: hard -"foreground-child@npm:^3.1.0, foreground-child@npm:^3.1.1": +"foreground-child@npm:^3.1.0": version: 3.3.0 resolution: "foreground-child@npm:3.3.0" dependencies: @@ -3973,6 +3969,16 @@ __metadata: languageName: node linkType: hard +"foreground-child@npm:^3.3.1": + version: 3.3.1 + resolution: "foreground-child@npm:3.3.1" + dependencies: + cross-spawn: "npm:^7.0.6" + signal-exit: "npm:^4.0.1" + checksum: 10/427b33f997a98073c0424e5c07169264a62cda806d8d2ded159b5b903fdfc8f0a1457e06b5fc35506497acb3f1e353f025edee796300209ac6231e80edece835 + languageName: node + linkType: hard + "form-data@npm:^4.0.0": version: 4.0.4 resolution: "form-data@npm:4.0.4" @@ -4231,7 +4237,7 @@ __metadata: languageName: node linkType: hard -"glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": +"glob-parent@npm:^5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" dependencies: @@ -4319,17 +4325,17 @@ __metadata: languageName: node linkType: hard -"globby@npm:^14.1.0": - version: 14.1.0 - resolution: "globby@npm:14.1.0" +"globby@npm:^15.0.0": + version: 15.0.0 + resolution: "globby@npm:15.0.0" dependencies: - "@sindresorhus/merge-streams": "npm:^2.1.0" + "@sindresorhus/merge-streams": "npm:^4.0.0" fast-glob: "npm:^3.3.3" - ignore: "npm:^7.0.3" + ignore: "npm:^7.0.5" path-type: "npm:^6.0.0" slash: "npm:^5.1.0" unicorn-magic: "npm:^0.3.0" - checksum: 10/e527ff54f0dddf60abfabd0d9e799768619d957feecd8b13ef60481f270bfdce0d28f6b09267c60f8064798fb3003b8ec991375f7fe0233fbce5304e1741368c + checksum: 10/552203c6350bd1be0c472006298305290c489e525dc9e7f6cf43634194714ddcdec1a130a2ea91e31de0c676ef91d1cdefa24e48dc0590e7bb8261f92d716731 languageName: node linkType: hard @@ -4587,13 +4593,20 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^7.0.0, ignore@npm:^7.0.3": +"ignore@npm:^7.0.0": version: 7.0.4 resolution: "ignore@npm:7.0.4" checksum: 10/01ee59df2ffd14b0844efc17f5ab3642c848e45efdb7cc757928da5e076cb74313748f77f5ffe362a6407c5e7cc71f10fad5e8eb9d91c1a17c4e7ef2c1f8e40e languageName: node linkType: hard +"ignore@npm:^7.0.5": + version: 7.0.5 + resolution: "ignore@npm:7.0.5" + checksum: 10/f134b96a4de0af419196f52c529d5c6120c4456ff8a6b5a14ceaaa399f883e15d58d2ce651c9b69b9388491d4669dda47285d307e827de9304a53a1824801bc6 + languageName: node + linkType: hard + "import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0": version: 3.3.0 resolution: "import-fresh@npm:3.3.0" @@ -4729,15 +4742,6 @@ __metadata: languageName: node linkType: hard -"is-binary-path@npm:~2.1.0": - version: 2.1.0 - resolution: "is-binary-path@npm:2.1.0" - dependencies: - binary-extensions: "npm:^2.0.0" - checksum: 10/078e51b4f956c2c5fd2b26bb2672c3ccf7e1faff38e0ebdba45612265f4e3d9fc3127a1fa8370bbf09eab61339203c3d3b7af5662cbf8be4030f8fac37745b0e - languageName: node - linkType: hard - "is-ci@npm:3.0.1": version: 3.0.1 resolution: "is-ci@npm:3.0.1" @@ -4781,7 +4785,7 @@ __metadata: languageName: node linkType: hard -"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": +"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3": version: 4.0.3 resolution: "is-glob@npm:4.0.3" dependencies: @@ -5657,6 +5661,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^10.0.3": + version: 10.0.3 + resolution: "minimatch@npm:10.0.3" + dependencies: + "@isaacs/brace-expansion": "npm:^5.0.0" + checksum: 10/d5b8b2538b367f2cfd4aeef27539fddeee58d1efb692102b848e4a968a09780a302c530eb5aacfa8c57f7299155fb4b4e85219ad82664dcef5c66f657111d9b8 + languageName: node + linkType: hard + "minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" @@ -6067,13 +6080,6 @@ __metadata: languageName: node linkType: hard -"normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": - version: 3.0.0 - resolution: "normalize-path@npm:3.0.0" - checksum: 10/88eeb4da891e10b1318c4b2476b6e2ecbeb5ff97d946815ffea7794c31a89017c70d7f34b3c2ebf23ef4e9fc9fb99f7dffe36da22011b5b5c6ffa34f4873ec20 - languageName: node - linkType: hard - "npm-bundled@npm:^3.0.0": version: 3.0.0 resolution: "npm-bundled@npm:3.0.0" @@ -6342,17 +6348,17 @@ __metadata: linkType: hard "oxlint@npm:^1.7.0": - version: 1.16.0 - resolution: "oxlint@npm:1.16.0" - dependencies: - "@oxlint/darwin-arm64": "npm:1.16.0" - "@oxlint/darwin-x64": "npm:1.16.0" - "@oxlint/linux-arm64-gnu": "npm:1.16.0" - "@oxlint/linux-arm64-musl": "npm:1.16.0" - "@oxlint/linux-x64-gnu": "npm:1.16.0" - "@oxlint/linux-x64-musl": "npm:1.16.0" - "@oxlint/win32-arm64": "npm:1.16.0" - "@oxlint/win32-x64": "npm:1.16.0" + version: 1.18.0 + resolution: "oxlint@npm:1.18.0" + dependencies: + "@oxlint/darwin-arm64": "npm:1.18.0" + "@oxlint/darwin-x64": "npm:1.18.0" + "@oxlint/linux-arm64-gnu": "npm:1.18.0" + "@oxlint/linux-arm64-musl": "npm:1.18.0" + "@oxlint/linux-x64-gnu": "npm:1.18.0" + "@oxlint/linux-x64-musl": "npm:1.18.0" + "@oxlint/win32-arm64": "npm:1.18.0" + "@oxlint/win32-x64": "npm:1.18.0" peerDependencies: oxlint-tsgolint: ">=0.2.0" dependenciesMeta: @@ -6378,7 +6384,7 @@ __metadata: bin: oxc_language_server: bin/oxc_language_server oxlint: bin/oxlint - checksum: 10/ddf389804e2aa063a0d52a58e6dd9865f967d035c6aefd786522035840f5342bb61c2896365823c0b1e8ac54f3631a7015b12c4a61d8762888bf107aeb3aaa45 + checksum: 10/79118edfc90df62011b467a273819f00977208e6aed3a98784e15707fb87612ddf609573fd8f438a75986eaf56768bc0de3f1f2b863c2572c191a0944aa6d619 languageName: node linkType: hard @@ -6724,7 +6730,7 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.3.1": +"picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 10/60c2595003b05e4535394d1da94850f5372c9427ca4413b71210f437f7b2ca091dbd611c45e8b37d10036fa8eade25c1b8951654f9d3973bfa66a2ff4d3b08bc @@ -7045,12 +7051,10 @@ __metadata: languageName: node linkType: hard -"readdirp@npm:~3.6.0": - version: 3.6.0 - resolution: "readdirp@npm:3.6.0" - dependencies: - picomatch: "npm:^2.2.1" - checksum: 10/196b30ef6ccf9b6e18c4e1724b7334f72a093d011a99f3b5920470f0b3406a51770867b3e1ae9711f227ef7a7065982f6ee2ce316746b2cb42c88efe44297fe7 +"readdirp@npm:^4.0.1": + version: 4.1.2 + resolution: "readdirp@npm:4.1.2" + checksum: 10/7b817c265940dba90bb9c94d82920d76c3a35ea2d67f9f9d8bd936adcfe02d50c802b14be3dd2e725e002dddbe2cc1c7a0edfb1bc3a365c9dfd5a61e612eea1e languageName: node linkType: hard @@ -7183,7 +7187,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^6.0.0": +"rimraf@npm:^6.0.0, rimraf@npm:^6.0.1": version: 6.0.1 resolution: "rimraf@npm:6.0.1" dependencies: @@ -7967,23 +7971,23 @@ __metadata: linkType: hard "tshy@npm:^3.0.0, tshy@npm:^3.0.2": - version: 3.0.2 - resolution: "tshy@npm:3.0.2" + version: 3.0.3 + resolution: "tshy@npm:3.0.3" dependencies: - chalk: "npm:^5.3.0" - chokidar: "npm:^3.6.0" - foreground-child: "npm:^3.1.1" - minimatch: "npm:^10.0.0" + chalk: "npm:^5.6.2" + chokidar: "npm:^4.0.3" + foreground-child: "npm:^3.3.1" + minimatch: "npm:^10.0.3" mkdirp: "npm:^3.0.1" polite-json: "npm:^5.0.0" resolve-import: "npm:^2.0.0" - rimraf: "npm:^6.0.0" + rimraf: "npm:^6.0.1" sync-content: "npm:^2.0.1" - typescript: "npm:^5.5.3" + typescript: "npm:^5.9.3" walk-up-path: "npm:^4.0.0" bin: tshy: dist/esm/index.js - checksum: 10/48ae27425cd1bc37fe07323e9d3ca120e53c7ff5de57a1d189e72bffdc573193abd3ba283009777b08653445615c31e42445006c5648765331d27780a8930f30 + checksum: 10/db546c3d82d6edb21f99c2782d40ab4859d52ca31d1b7a17d9ccd633592fe7cbfe1eb83ddf93bb85f087864b2f81aece59665bb1c66b57486d7d8c41c67167bc languageName: node linkType: hard @@ -8100,17 +8104,17 @@ __metadata: linkType: hard "typescript-eslint@npm:^8.37.0": - version: 8.44.0 - resolution: "typescript-eslint@npm:8.44.0" + version: 8.44.1 + resolution: "typescript-eslint@npm:8.44.1" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.44.0" - "@typescript-eslint/parser": "npm:8.44.0" - "@typescript-eslint/typescript-estree": "npm:8.44.0" - "@typescript-eslint/utils": "npm:8.44.0" + "@typescript-eslint/eslint-plugin": "npm:8.44.1" + "@typescript-eslint/parser": "npm:8.44.1" + "@typescript-eslint/typescript-estree": "npm:8.44.1" + "@typescript-eslint/utils": "npm:8.44.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10/7c406b064d35f0fcad95c372a73e7cead2452b2f05ddeaef0a512140de9881d402e6a76c997e014e5719de4eac8a1dac64d293d8958e0178108c49b1dc49c5d6 + checksum: 10/9bd0601ef67d0fb20b095a722f4286b3b5d27905ff926a9375fc0934746626d72339d74ba40eb9d361af7fda1987294b0533dbed5dddbac79814daf196a301ac languageName: node linkType: hard @@ -8124,7 +8128,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:>=3 < 6, typescript@npm:^5.5.3, typescript@npm:^5.8.3": +"typescript@npm:>=3 < 6, typescript@npm:^5.8.3": version: 5.9.2 resolution: "typescript@npm:5.9.2" bin: @@ -8134,6 +8138,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:^5.9.3": + version: 5.9.3 + resolution: "typescript@npm:5.9.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594 + languageName: node + linkType: hard + "typescript@patch:typescript@npm%3A5.6.1-rc#optional!builtin": version: 5.6.1-rc resolution: "typescript@patch:typescript@npm%3A5.6.1-rc#optional!builtin::version=5.6.1-rc&hash=8c6c40" @@ -8144,7 +8158,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin, typescript@patch:typescript@npm%3A^5.5.3#optional!builtin, typescript@patch:typescript@npm%3A^5.8.3#optional!builtin": +"typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin, typescript@patch:typescript@npm%3A^5.8.3#optional!builtin": version: 5.9.2 resolution: "typescript@patch:typescript@npm%3A5.9.2#optional!builtin::version=5.9.2&hash=5786d5" bin: @@ -8154,6 +8168,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin": + version: 5.9.3 + resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10/696e1b017bc2635f4e0c94eb4435357701008e2f272f553d06e35b494b8ddc60aa221145e286c28ace0c89ee32827a28c2040e3a69bdc108b1a5dc8fb40b72e3 + languageName: node + linkType: hard + "uglify-js@npm:^3.1.4": version: 3.17.4 resolution: "uglify-js@npm:3.17.4"