@rnx-kit/tools-workspaces
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -5,2 +5,3 @@ type PackageManager = { | ||
}; | ||
export declare const BUN_LOCKB = "bun.lockb"; | ||
export declare const LERNA_JSON = "lerna.json"; | ||
@@ -7,0 +8,0 @@ export declare const PACKAGE_LOCK_JSON = "package-lock.json"; |
@@ -29,3 +29,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.readJSONSync = exports.readJSON = exports.getImplementationSync = exports.getImplementation = exports.findSentinelSync = exports.findSentinel = exports.findPackagesSync = exports.findPackages = exports.WORKSPACE_ROOT_SENTINELS = exports.YARN_LOCK = exports.RUSH_JSON = exports.PNPM_WORKSPACE_YAML = exports.PACKAGE_LOCK_JSON = exports.LERNA_JSON = void 0; | ||
exports.readJSONSync = exports.readJSON = exports.getImplementationSync = exports.getImplementation = exports.findSentinelSync = exports.findSentinel = exports.findPackagesSync = exports.findPackages = exports.WORKSPACE_ROOT_SENTINELS = exports.YARN_LOCK = exports.RUSH_JSON = exports.PNPM_WORKSPACE_YAML = exports.PACKAGE_LOCK_JSON = exports.LERNA_JSON = exports.BUN_LOCKB = void 0; | ||
const fast_glob_1 = __importDefault(require("fast-glob")); | ||
@@ -37,2 +37,3 @@ const find_up_1 = __importDefault(require("find-up")); | ||
const strip_json_comments_1 = __importDefault(require("strip-json-comments")); | ||
exports.BUN_LOCKB = "bun.lockb"; | ||
exports.LERNA_JSON = "lerna.json"; | ||
@@ -49,2 +50,3 @@ exports.PACKAGE_LOCK_JSON = "package-lock.json"; | ||
exports.PNPM_WORKSPACE_YAML, | ||
exports.BUN_LOCKB, | ||
]; | ||
@@ -85,3 +87,4 @@ function dirnameAll(paths) { | ||
switch (path.basename(sentinel)) { | ||
case exports.PACKAGE_LOCK_JSON: // fallthrough - logic defining workspaces config is the same for npm and yarn | ||
case exports.BUN_LOCKB: // fallthrough — logic defining workspaces config is the same as for npm and yarn | ||
case exports.PACKAGE_LOCK_JSON: // fallthrough — logic defining workspaces config is the same for npm and yarn | ||
case exports.YARN_LOCK: | ||
@@ -101,3 +104,4 @@ return Promise.resolve().then(() => __importStar(require("./yarn"))); | ||
switch (path.basename(sentinel)) { | ||
case exports.PACKAGE_LOCK_JSON: // fallthrough | ||
case exports.BUN_LOCKB: // fallthrough — logic defining workspaces config is the same as for npm and yarn | ||
case exports.PACKAGE_LOCK_JSON: // fallthrough — logic defining workspaces config is the same for npm and yarn | ||
case exports.YARN_LOCK: | ||
@@ -104,0 +108,0 @@ return require("./yarn"); |
{ | ||
"name": "@rnx-kit/tools-workspaces", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A collection of tools for working with workspaces", | ||
@@ -12,6 +12,15 @@ "homepage": "https://github.com/microsoft/rnx-kit/tree/main/packages/tools-workspaces#readme", | ||
"files": [ | ||
"lib/*" | ||
"lib/*", | ||
"src/*" | ||
], | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./lib/index.d.ts", | ||
"typescript": "./src/index.ts", | ||
"default": "./lib/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"repository": { | ||
@@ -18,0 +27,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42536
32
715