Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@yarn-tool/require-resolve

bluelovers1.6kISC3.0.1TypeScript support: included

require.resolve with search on extra paths

yarn, yarn-tool, npm, lerna, workspaces, pkg, dependencies, packages, package

readme

README.md

require.resolve with search on extra paths

install

yarn add @yarn-tool/require-resolve
yarn-tool add @yarn-tool/require-resolve
yt add @yarn-tool/require-resolve
const tsdx_path = requireResolveExtra('tsdx').result;

let actual = requireResolveExtra('ts-jest', {
            includeGlobal: true,
            includeCurrentDirectory: true,
            paths: [
                tsdx_path,
            ],
        });

console.dir(actual);

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.0.1 (2024-05-03)

🛠 Build System

3.0.0 (2023-10-10)

📌 Dependencies

2.0.11 (2022-12-09)

📌 Dependencies

2.0.10 (2022-11-14)

📌 Dependencies

2.0.9 (2022-10-28)

📌 Dependencies

2.0.8 (2022-10-01)

🔖 Miscellaneous

2.0.7 (2022-09-29)

🔖 Miscellaneous

2.0.6 (2022-09-27)

🔖 Miscellaneous

2.0.5 (2022-09-27)

🐛 Bug Fixes

2.0.4 (2022-09-06)

📚 Documentation

🔖 Miscellaneous

2.0.3 (2022-08-26)

🚨 Tests

  • snapshot: snapshots updated (50bff7c)

🔖 Miscellaneous

2.0.2 (2022-08-13)

🚨 Tests

  • update jest.config.js and deps (d1d501b)

🛠 Build System

2.0.1 (2022-07-31)

🚨 Tests

  • preset: use @bluelovers/jest-config (e239ecf)

2.0.0 (2022-07-07)

Note: Version bump only for package @yarn-tool/require-resolve

1.0.8 (2022-05-11)

♻️ Chores

1.0.7 (2021-12-16)

🔖 Miscellaneous

1.0.6 (2021-11-28)

📦 Code Refactoring

  • update import remove /index (8324cd8)

1.0.5 (2021-10-13)

📦 Code Refactoring

  • @yarn-tool/get-paths-by-type (9596dbe)

1.0.4 (2021-08-13)

♻️ Chores

1.0.3 (2021-07-11)

🛠 Build System

🔖 Miscellaneous

1.0.2 (2021-07-11)

🛠 Build System

1.0.1 (2021-06-05)

✨ Features

  • @yarn-tool/require-resolve (232d8c8)