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

Package detail

git-root2

bluelovers593ISC1.0.41TypeScript support: included

get git root path

git, git-root, lazy-git

readme

git-root2

get git root path
declare function gitRoot(cwd?: string): string;
declare const _default: typeof gitRoot & {
    gitRoot(cwd?: string): string;
    default(cwd?: string): string;
    async(cwd?: string): Promise<string>;
};
export = _default;

changelog

Change Log

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

1.0.41 (2024-03-09)

Note: Version bump only for package git-root2

1.0.40 (2024-03-09)

BREAKING CHANGES

  • update cross-spawn-extra

📌 Dependencies

  • update cross-spawn-extra (7c6738b)

1.0.39 (2024-02-03)

Note: Version bump only for package git-root2

1.0.38 (2022-10-28)

📌 Dependencies

1.0.37 (2022-10-02)

🔖 Miscellaneous

1.0.36 (2022-10-02)

🔖 Miscellaneous

1.0.35 (2022-10-01)

📌 Dependencies

1.0.34 (2022-09-30)

📚 Documentation

📌 Dependencies

1.0.33 (2022-08-27)

📦 Code Refactoring

  • update configuration and import (6a4d6d4)

1.0.32 (2022-07-27)

🔖 Miscellaneous

1.0.31 (2022-07-26)

📦 Code Refactoring

BREAKING CHANGES

  • remove same function

1.0.30 (2022-07-14)

📦 Code Refactoring

  • { crossSpawnOutput, stripAnsi } (287760c)

1.0.29 (2022-03-29)

Note: Version bump only for package git-root2

1.0.28 (2022-02-21)

Note: Version bump only for package git-root2

1.0.27 (2022-02-15)

♻️ Chores

1.0.26 (2021-12-15)

🔖 Miscellaneous

1.0.25 (2021-08-29)

♻️ Chores

1.0.24 (2021-07-20)

🛠 Build System

♻️ Chores

  • update deps and use tslib (910fc69)

1.0.23 (2021-05-30)

♻️ Chores

1.0.22 (2021-02-12)

🐛 Bug Fixes

1.0.21 (2021-02-12)

♻️ Chores

1.0.20 (2020-07-19)

♻️ Chores

1.0.19 (2020-07-01)

🔖 Miscellaneous

1.0.18 (2020-06-15)

📦 Code Refactoring

1.0.17 (2020-06-15)

✨ Features

1.0.16 (2020-06-10)

Note: Version bump only for package git-root2

1.0.15 (2020-06-09)

Note: Version bump only for package git-root2

1.0.14 (2020-06-08)

Note: Version bump only for package git-root2

1.0.13 (2020-06-08)

Note: Version bump only for package git-root2

1.0.12 (2020-06-08)

Note: Version bump only for package git-root2

1.0.11 (2020-06-06)

Note: Version bump only for package git-root2

1.0.10 (2020-06-05)

Note: Version bump only for package git-root2

1.0.9 (2020-06-04)

Note: Version bump only for package git-root2

1.0.8 (2020-06-04)

Features