generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Revised to use Lerna to help with the build process
Signed-off-by: Antonette Caldwell <[email protected]>
- Loading branch information
1 parent
d75c0e4
commit a5cb646
Showing
4 changed files
with
2,583 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"version": "0.0.0", | ||
"npmClient": "yarn" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default", | ||
"options": { | ||
"cacheableOperations": [ | ||
"build-storybook", | ||
"dev", | ||
"lint", | ||
"lint:fix", | ||
"preview", | ||
"storybook", | ||
"build", | ||
"api-generate", | ||
"coverage", | ||
"test" | ||
] | ||
} | ||
} | ||
}, | ||
"targetDefaults": { | ||
"build-storybook": { | ||
"dependsOn": [ | ||
"^build-storybook" | ||
], | ||
"outputs": [ | ||
"{projectRoot}/storybook-static" | ||
] | ||
}, | ||
"dev": { | ||
"dependsOn": [ | ||
"^dev" | ||
] | ||
}, | ||
"init-msw": { | ||
"dependsOn": [ | ||
"^init-msw" | ||
], | ||
"outputs": [ | ||
"{projectRoot}/public" | ||
] | ||
}, | ||
"lint": { | ||
"dependsOn": [ | ||
"^lint" | ||
] | ||
}, | ||
"lint:fix": { | ||
"dependsOn": [ | ||
"^lint:fix" | ||
] | ||
}, | ||
"preview": { | ||
"dependsOn": [ | ||
"^preview" | ||
] | ||
}, | ||
"storybook": { | ||
"dependsOn": [ | ||
"^storybook" | ||
] | ||
}, | ||
"build": { | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"outputs": [ | ||
"{projectRoot}/storybook-static" | ||
] | ||
}, | ||
"api-generate": { | ||
"dependsOn": [ | ||
"^api-generate" | ||
], | ||
"outputs": [ | ||
"{projectRoot}/dist" | ||
] | ||
}, | ||
"coverage": { | ||
"dependsOn": [ | ||
"^coverage" | ||
], | ||
"outputs": [ | ||
"{projectRoot}/coverage" | ||
] | ||
}, | ||
"test": { | ||
"dependsOn": [ | ||
"^test" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.