Skip to content

Commit

Permalink
lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
nchanged committed Nov 21, 2019
1 parent 3bac740 commit bbebc58
Show file tree
Hide file tree
Showing 51 changed files with 27,080 additions and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 4 additions & 0 deletions lerna-megarepo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1. Checkout repository
2. Run `npm run bootstrap` from root
3. `cd project-b/packages/baz`
4. `npm start`
19 changes: 19 additions & 0 deletions lerna-megarepo/fuse.base.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import * as path from "path";

export function createBaseConfig<Base>(props: {
dir: string;
entry: string;
config?: Base;
}): any {
return {
homeDir: __dirname,
output: path.join(props.dir, "build"),
target: "browser",
tsConfig: path.join(props.dir, "tsconfig.json"),
entry: path.join(props.dir, props.entry),
devServer: true,
webIndex: true,
cache: false,
...(props.config || {})
};
}
10 changes: 10 additions & 0 deletions lerna-megarepo/lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"packages": [
"project-a",
"project-a/packages/*",
"project-b",
"project-b/packages/*",
"."
],
"version": "0.0.0"
}
Loading

0 comments on commit bbebc58

Please sign in to comment.