@react-native-windows/find-repo-root
Advanced tools
Comparing version 0.0.0-canary.20 to 0.0.0-canary.21
@@ -5,3 +5,38 @@ { | ||
{ | ||
"date": "Fri, 21 May 2021 05:14:43 GMT", | ||
"date": "Thu, 03 Jun 2021 05:07:27 GMT", | ||
"tag": "@react-native-windows/find-repo-root_v0.0.0-canary.21", | ||
"version": "0.0.0-canary.21", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Enable esModuleInterop Repo Wide", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "6c871e6ba27888804c776e5deeefbc7064e181d0", | ||
"package": "@react-native-windows/find-repo-root" | ||
} | ||
], | ||
"patch": [ | ||
{ | ||
"comment": "Bump @rnw-scripts/just-task to v2.1.2", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "b481f0a4ea68a8100860eb061902b715fca6652e", | ||
"package": "@react-native-windows/find-repo-root" | ||
}, | ||
{ | ||
"comment": "Bump @rnw-scripts/ts-config to v2.0.0", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "6c871e6ba27888804c776e5deeefbc7064e181d0", | ||
"package": "@react-native-windows/find-repo-root" | ||
}, | ||
{ | ||
"comment": "Bump @rnw-scripts/eslint-config to v1.1.7", | ||
"author": "ngerlem@microsoft.com", | ||
"commit": "b481f0a4ea68a8100860eb061902b715fca6652e", | ||
"package": "@react-native-windows/find-repo-root" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Fri, 21 May 2021 05:17:18 GMT", | ||
"tag": "@react-native-windows/find-repo-root_v0.0.0-canary.20", | ||
@@ -8,0 +43,0 @@ "version": "0.0.0-canary.20", |
# Change Log - @react-native-windows/find-repo-root | ||
This log was last generated on Fri, 21 May 2021 05:14:43 GMT and should not be manually modified. | ||
This log was last generated on Thu, 03 Jun 2021 05:07:27 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.0.0-canary.21 | ||
Thu, 03 Jun 2021 05:07:27 GMT | ||
### Patches | ||
- Bump @rnw-scripts/just-task to v2.1.2 (ngerlem@microsoft.com) | ||
- Bump @rnw-scripts/ts-config to v2.0.0 (ngerlem@microsoft.com) | ||
- Bump @rnw-scripts/eslint-config to v1.1.7 (ngerlem@microsoft.com) | ||
### Changes | ||
- Enable esModuleInterop Repo Wide (ngerlem@microsoft.com) | ||
## 0.0.0-canary.20 | ||
Fri, 21 May 2021 05:14:43 GMT | ||
Fri, 21 May 2021 05:17:18 GMT | ||
@@ -11,0 +25,0 @@ ### Patches |
@@ -9,5 +9,8 @@ "use strict"; | ||
*/ | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const findUp = require("find-up"); | ||
const path = require("path"); | ||
const find_up_1 = __importDefault(require("find-up")); | ||
const path_1 = __importDefault(require("path")); | ||
/** | ||
@@ -17,4 +20,4 @@ * Find the root directory of a repo upward from cwd | ||
exports.default = async () => { | ||
const root = await findUp(async (dir) => { | ||
return (await findUp.exists(path.join(dir, '.git'))) ? dir : undefined; | ||
const root = await find_up_1.default(async (dir) => { | ||
return (await find_up_1.default.exists(path_1.default.join(dir, '.git'))) ? dir : undefined; | ||
}, { type: 'directory' }); | ||
@@ -21,0 +24,0 @@ if (!root) { |
{ | ||
"name": "@react-native-windows/find-repo-root", | ||
"version": "0.0.0-canary.20", | ||
"version": "0.0.0-canary.21", | ||
"license": "MIT", | ||
@@ -17,5 +17,5 @@ "scripts": { | ||
"devDependencies": { | ||
"@rnw-scripts/eslint-config": "1.1.6", | ||
"@rnw-scripts/just-task": "2.1.1", | ||
"@rnw-scripts/ts-config": "1.1.0", | ||
"@rnw-scripts/eslint-config": "1.1.7", | ||
"@rnw-scripts/just-task": "2.1.2", | ||
"@rnw-scripts/ts-config": "2.0.0", | ||
"@types/find-up": "^4.0.0", | ||
@@ -22,0 +22,0 @@ "@types/node": "^14.14.22", |
Sorry, the diff of this file is not supported yet
11603
237