@wixc3/resolve-directory-context
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -1,2 +0,2 @@ | ||
import { ResolveWorkspacePackagesHost } from './yarn-workspaces'; | ||
import { ResolveWorkspacePackagesHost } from './workspaces'; | ||
import { INpmPackage, ResolveLinkedPackagesHost } from './npm-package'; | ||
@@ -3,0 +3,0 @@ import { FindUpHost } from './find-up'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getRootPackage = exports.allPackagesFromContext = exports.childPackagesFromContext = exports.resolveDirectoryContext = void 0; | ||
const yarn_workspaces_1 = require("./yarn-workspaces"); | ||
const workspaces_1 = require("./workspaces"); | ||
const language_helpers_1 = require("./language-helpers"); | ||
@@ -32,3 +32,3 @@ const npm_package_1 = require("./npm-package"); | ||
rootPackage, | ||
packages: (0, npm_package_1.sortPackagesByDepth)((0, yarn_workspaces_1.resolveWorkspacePackages)(directoryPath, (0, yarn_workspaces_1.extractPackageLocations)(packageJson.workspaces), host)), | ||
packages: (0, npm_package_1.sortPackagesByDepth)((0, workspaces_1.resolveWorkspacePackages)(directoryPath, (0, workspaces_1.extractPackageLocations)(packageJson.workspaces), host)), | ||
}; | ||
@@ -44,3 +44,3 @@ } | ||
rootPackage, | ||
packages: (0, npm_package_1.sortPackagesByDepth)((0, yarn_workspaces_1.resolveWorkspacePackages)(directoryPath, (0, yarn_workspaces_1.extractPackageLocations)(lernaJson.packages), host)), | ||
packages: (0, npm_package_1.sortPackagesByDepth)((0, workspaces_1.resolveWorkspacePackages)(directoryPath, (0, workspaces_1.extractPackageLocations)(lernaJson.packages), host)), | ||
}; | ||
@@ -47,0 +47,0 @@ } |
@@ -5,3 +5,3 @@ export * from './directory-context'; | ||
export * from './npm-package'; | ||
export * from './yarn-workspaces'; | ||
export * from './workspaces'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -21,3 +21,3 @@ "use strict"; | ||
__exportStar(require("./npm-package"), exports); | ||
__exportStar(require("./yarn-workspaces"), exports); | ||
__exportStar(require("./workspaces"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@wixc3/resolve-directory-context", | ||
"description": "Helpers to get information about single/multi-package contexts", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"main": "./dist/index.js", | ||
@@ -18,21 +18,21 @@ "scripts": { | ||
"dependencies": { | ||
"minimatch": "^5.1.0", | ||
"type-fest": "^3.0.0" | ||
"minimatch": "^5.1.2", | ||
"type-fest": "^3.5.0" | ||
}, | ||
"devDependencies": { | ||
"@file-services/memory": "^7.0.1", | ||
"@file-services/path": "^7.0.1", | ||
"@file-services/memory": "^7.2.0", | ||
"@file-services/path": "^7.2.0", | ||
"@ts-tools/node": "^4.0.0", | ||
"@ts-tools/webpack-loader": "^4.0.0", | ||
"@types/chai": "^4.3.3", | ||
"@types/chai": "^4.3.4", | ||
"@types/minimatch": "^5.1.2", | ||
"@types/mocha": "^9.1.1", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "14", | ||
"chai": "^4.3.6", | ||
"mocha": "^10.0.0", | ||
"mocha-play": "^3.1.0", | ||
"playwright-chromium": "^1.26.0", | ||
"chai": "^4.3.7", | ||
"mocha": "^10.2.0", | ||
"mocha-play": "^4.1.0", | ||
"playwright-chromium": "^1.29.1", | ||
"rimraf": "^3.0.2", | ||
"typescript": "~4.8.3", | ||
"webpack": "^5.74.0" | ||
"typescript": "~4.9.4", | ||
"webpack": "^5.75.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "files": [ |
import type { PackageJson } from 'type-fest'; | ||
import { resolveWorkspacePackages, ResolveWorkspacePackagesHost, extractPackageLocations } from './yarn-workspaces'; | ||
import { resolveWorkspacePackages, ResolveWorkspacePackagesHost, extractPackageLocations } from './workspaces'; | ||
import { isPlainObject, isString } from './language-helpers'; | ||
@@ -4,0 +4,0 @@ import { |
@@ -5,2 +5,2 @@ export * from './directory-context'; | ||
export * from './npm-package'; | ||
export * from './yarn-workspaces'; | ||
export * from './workspaces'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
46082
Updatedminimatch@^5.1.2
Updatedtype-fest@^3.5.0