1.0.0 • Published 3 years ago
@computas/nx-yarn v1.0.0
@computas/nx-yarn
A plugin to help make nx with yarn a pleasant experience.
Install
yarn add @computas/nx-yarnExecutors
@computas/nx-yarn:publish
Modifies the yarn workspace to point to the dist folder and runs yarn followed by yarn npm publish.
Cleanup points the workspace back to what it was originally and then runs yarn again.
These steps are required because you cannot publish a folder that is not a part of your yarn workspace.
Example usage for project.json:
{
"root": "packages/my-package",
"sourceRoot": "packages/my-package/src",
"projectType": "library",
"targets": {
"publish": {
"executor": "@computas/nx-yarn:publish",
"options": {
"outputPath": "dist/packages/my-package",
"publishTag": "alpha",
"access": "restricted"
}
}
}
}1.0.0
3 years ago
1.0.0-alpha3
3 years ago
1.0.0-alpha2
3 years ago
1.0.0-alpha1
3 years ago
0.0.1
3 years ago