@pnpm/symlink-dependency
Advanced tools
Comparing version 5.0.10 to 6.0.0
@@ -1,6 +0,5 @@ | ||
import symlinkDirectRootDependency from './symlinkDirectRootDependency'; | ||
export default function symlinkDependency(dependencyRealLocation: string, destModulesDir: string, importAs: string): Promise<{ | ||
export { symlinkDirectRootDependency } from './symlinkDirectRootDependency'; | ||
export declare function symlinkDependency(dependencyRealLocation: string, destModulesDir: string, importAs: string): Promise<{ | ||
reused: Boolean; | ||
warn?: string | undefined; | ||
}>; | ||
export { symlinkDirectRootDependency }; |
@@ -6,8 +6,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.symlinkDirectRootDependency = void 0; | ||
exports.symlinkDependency = exports.symlinkDirectRootDependency = void 0; | ||
const path_1 = __importDefault(require("path")); | ||
const core_loggers_1 = require("@pnpm/core-loggers"); | ||
const symlink_dir_1 = __importDefault(require("symlink-dir")); | ||
const symlinkDirectRootDependency_1 = __importDefault(require("./symlinkDirectRootDependency")); | ||
exports.symlinkDirectRootDependency = symlinkDirectRootDependency_1.default; | ||
var symlinkDirectRootDependency_1 = require("./symlinkDirectRootDependency"); | ||
Object.defineProperty(exports, "symlinkDirectRootDependency", { enumerable: true, get: function () { return symlinkDirectRootDependency_1.symlinkDirectRootDependency; } }); | ||
async function symlinkDependency(dependencyRealLocation, destModulesDir, importAs) { | ||
@@ -18,3 +18,3 @@ const link = path_1.default.join(destModulesDir, importAs); | ||
} | ||
exports.default = symlinkDependency; | ||
exports.symlinkDependency = symlinkDependency; | ||
//# sourceMappingURL=index.js.map |
import { DependenciesField } from '@pnpm/types'; | ||
export default function symlinkDirectRootDependency(dependencyLocation: string, destModulesDir: string, importAs: string, opts: { | ||
export declare function symlinkDirectRootDependency(dependencyLocation: string, destModulesDir: string, importAs: string, opts: { | ||
fromDependenciesField?: DependenciesField; | ||
@@ -4,0 +4,0 @@ linkedPackage: { |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.symlinkDirectRootDependency = void 0; | ||
const fs_1 = require("fs"); | ||
@@ -64,3 +65,3 @@ const path_1 = __importDefault(require("path")); | ||
} | ||
exports.default = symlinkDirectRootDependency; | ||
exports.symlinkDirectRootDependency = symlinkDirectRootDependency; | ||
//# sourceMappingURL=symlinkDirectRootDependency.js.map |
{ | ||
"name": "@pnpm/symlink-dependency", | ||
"description": "Symlink a dependency to node_modules", | ||
"version": "5.0.10", | ||
"version": "6.0.0", | ||
"bugs": { | ||
@@ -15,7 +15,7 @@ "url": "https://github.com/pnpm/pnpm/issues" | ||
"peerDependencies": { | ||
"@pnpm/logger": "^4.0.0" | ||
"@pnpm/logger": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"@pnpm/prepare": "0.0.54", | ||
"@pnpm/symlink-dependency": "5.0.10" | ||
"@pnpm/prepare": "0.0.55", | ||
"@pnpm/symlink-dependency": "6.0.0" | ||
}, | ||
@@ -36,3 +36,3 @@ "directories": { | ||
"dependencies": { | ||
"@pnpm/core-loggers": "7.1.0", | ||
"@pnpm/core-loggers": "8.0.0", | ||
"@pnpm/types": "8.7.0", | ||
@@ -39,0 +39,0 @@ "symlink-dir": "^5.0.1" |
@@ -14,3 +14,3 @@ # @pnpm/symlink-dependency | ||
```ts | ||
import symlinkDependency from '@pnpm/symlink-dependency' | ||
import { symlinkDependency } from '@pnpm/symlink-dependency' | ||
@@ -17,0 +17,0 @@ await symlinkDependency('/home/src/foo', '/home/src/my-project/node_modules', 'foo') |
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
9254
+ Added@pnpm/core-loggers@8.0.0(transitive)
+ Added@pnpm/logger@5.2.0(transitive)
+ Addedbole@5.0.17(transitive)
- Removed@pnpm/core-loggers@7.1.0(transitive)
- Removed@pnpm/logger@4.0.0(transitive)
- Removedbole@4.0.1(transitive)
Updated@pnpm/core-loggers@8.0.0