Skip to content

Commit

Permalink
build after API change
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdottv committed Aug 25, 2020
1 parent 8538335 commit ce0edd6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
17 changes: 15 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ new LernaProject(options: LernaProjectOptions)
* **stability** (<code>string</code>) Package's Stability. __*Optional*__
* **lernaVersion** (<code>[Semver](#projen-semver)</code>) Version of lerna to use. __*Default*__: '^3.22.1'
* **npmClient** (<code>string</code>) Specify a specific client to run commands with (this can also be specified on a per command basis). __*Default*__: 'yarn'
* **packages** (<code>Array<[LernaPackage](#projen-lernapackage)></code>) Packages to create. __*Optional*__
* **packages** (<code>Array<[LernaPackage](#projen-lernapackage)></code>) Packages to create. __*Default*__: []
* **useWorkspaces** (<code>boolean</code>) Enables integration with Yarn Workspaces (available since yarn@0.27+). __*Default*__: true


Expand All @@ -661,6 +661,19 @@ addPackage(project: NodeProject, location?: string): void



#### addWorkspace(pattern)🔹 <a id="projen-lernaproject-addworkspace"></a>

Adds a workspace to the yarn workspaces list.

```ts
addWorkspace(pattern: string): void
```

* **pattern** (<code>string</code>) The pattern to add.




#### noHoist(project, dependency)🔹 <a id="projen-lernaproject-nohoist"></a>

This can be used to opt out of hoisting for certain dependencies.
Expand Down Expand Up @@ -1660,7 +1673,7 @@ Name | Type | Description
**npmClient**?🔹 | <code>string</code> | Specify a specific client to run commands with (this can also be specified on a per command basis).<br/>__*Default*__: 'yarn'
**npmDistTag**?🔹 | <code>string</code> | The dist-tag to use when releasing to npm.<br/>__*Default*__: "latest"
**npmignore**?🔹 | <code>Array<string></code> | Additional entries to .npmignore.<br/>__*Optional*__
**packages**?🔹 | <code>Array<[LernaPackage](#projen-lernapackage)></code> | Packages to create.<br/>__*Optional*__
**packages**?🔹 | <code>Array<[LernaPackage](#projen-lernapackage)></code> | Packages to create.<br/>__*Default*__: []
**peerDependencies**?🔹 | <code>Map<string, [Semver](#projen-semver)></code> | __*Optional*__
**peerDependencyOptions**?🔹 | <code>[PeerDependencyOptions](#projen-peerdependencyoptions)</code> | __*Optional*__
**private**?🔹 | <code>boolean</code> | If you do not want your package published in a package manager, set this to true.<br/>__*Optional*__
Expand Down
1 change: 1 addition & 0 deletions test/__snapshots__/inventory.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,7 @@ Array [
"type": "unknown",
},
Object {
"default": "[]",
"docs": "Packages to create.",
"name": "packages",
"optional": true,
Expand Down

0 comments on commit ce0edd6

Please sign in to comment.