mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
It's better because it doesn't suffer from npm link's habit of bringing in node_modules of link target, which breaks peer dependencies. Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
14 lines
372 B
TypeScript
14 lines
372 B
TypeScript
import { lensLinkFor } from "./src/lens-link";
|
|
import path from "path";
|
|
|
|
const lensIde = path.join("/Users/jsavolainen/Documents/work/test-lens-link", "lens-ide");
|
|
|
|
const mikkoFeature = path.join("/Users/jsavolainen/Documents/work/test-lens-link", "mikko-feature");
|
|
|
|
const lensLink = lensLinkFor();
|
|
|
|
lensLink({
|
|
targetDirectory: mikkoFeature,
|
|
toDirectory: lensIde,
|
|
});
|