Skip to content

Commit a0b95be

Browse files
committed
release(roc-plugin-repo): 0.0.8
1 parent 12d98f8 commit a0b95be

File tree

4 files changed

+88
-29
lines changed

4 files changed

+88
-29
lines changed

extensions/roc-plugin-repo/CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
<a name="0.0.8"></a>
2+
## 0.0.8 (2017-08-24)
3+
4+
5+
### Bug Fixes
6+
7+
* Add check for repository field for GitHub releases ([f12dd68](https://github.com/rocjs/roc-plugin-repo/commit/f12dd68))
8+
* Add from flag to status and release for start hash ([25eb2bb](https://github.com/rocjs/roc-plugin-repo/commit/25eb2bb))
9+
* Add graph command, shows how projects are related ([151be26](https://github.com/rocjs/roc-plugin-repo/commit/151be26))
10+
* Add new interactive mode when doing a release ([75e1351](https://github.com/rocjs/roc-plugin-repo/commit/75e1351))
11+
* Add support for making prereleases of projects ([0fe421b](https://github.com/rocjs/roc-plugin-repo/commit/0fe421b))
12+
* Add support for the revert type for commits ([39feca1](https://github.com/rocjs/roc-plugin-repo/commit/39feca1))
13+
* Addressed issue generating status for non monorepo ([573f536](https://github.com/rocjs/roc-plugin-repo/commit/573f536))
14+
* Better changelog generation for both repo types ([a3b95ff](https://github.com/rocjs/roc-plugin-repo/commit/a3b95ff))
15+
* Display current version when listing projects ([c40ee81](https://github.com/rocjs/roc-plugin-repo/commit/c40ee81))
16+
* Enabled support for creating GitHub releases ([193a2fc](https://github.com/rocjs/roc-plugin-repo/commit/193a2fc))
17+
* Fix issue when generating status for some repos ([e635986](https://github.com/rocjs/roc-plugin-repo/commit/e635986))
18+
* Ignore __mocks__ when building projects ([f984884](https://github.com/rocjs/roc-plugin-repo/commit/f984884))
19+
* Improve bootstrap command, making it support npm[@5](https://github.com/5) ([00fa904](https://github.com/rocjs/roc-plugin-repo/commit/00fa904))
20+
* Made it possible to force linking all projects ([34556e5](https://github.com/rocjs/roc-plugin-repo/commit/34556e5))
21+
22+
23+
124
<a name="0.0.7"></a>
225
## 0.0.7 (2017-07-31)
326

extensions/roc-plugin-repo/docs/Commands.md

+49-19
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ All commands can be called with some additional options illustrated in the table
2424
* [clean](#clean)
2525
* [commit](#commit)
2626
* [exec](#exec)
27+
* [graph](#graph)
2728
* [lint](#lint)
2829
* [list](#list)
2930
* [release](#release)
@@ -86,15 +87,15 @@ roc repo bootstrap [projects]
8687

8788
#### Arguments
8889

89-
| Name | Description | Default | Type | Required | Can be empty |
90-
| -------- | ----------------------------------------------- | ------- | --------------- | -------- | ------------ |
91-
| projects | Projects to use | | `Array(String)` | No | Yes |
90+
| Name | Description | Default | Type | Required | Can be empty |
91+
| --------- | ------------------------------------------------------------------------ | ------- | --------------- | -------- | ------------ |
92+
| projects | Projects to use | | `Array(String)` | No | Yes |
9293

9394
#### Command options
9495

95-
| Name | Description | Default | Type | Required | Can be empty |
96-
| -------- | ----------------------------------------------- | ------- | --------------- | -------- | ------------ |
97-
| --extra | Modules that should be linked into the projects | | `Array(String)` | No | Yes |
96+
| Name | Description | Default | Type | Required | Can be empty |
97+
| --------- | ------------------------------------------------------------------------ | ------- | --------------- | -------- | ------------ |
98+
| --linkAll | If all projects should be linked with each other, ignoring SemVer ranges | `false` | `Boolean` | No | |
9899

99100
#### Settings options
100101
_All groups are available._
@@ -186,6 +187,22 @@ roc repo exec [projects]
186187
#### Defined by extensions
187188
roc-plugin-repo
188189

190+
### graph
191+
__Shows how the projects are connected with each other__
192+
193+
```
194+
roc repo graph [projects]
195+
```
196+
197+
#### Arguments
198+
199+
| Name | Description | Default | Type | Required | Can be empty |
200+
| -------- | --------------- | ------- | --------------- | -------- | ------------ |
201+
| projects | Projects to use | | `Array(String)` | No | Yes |
202+
203+
#### Defined by extensions
204+
roc-plugin-repo
205+
189206
### lint
190207
__Runs lint__
191208

@@ -236,19 +253,25 @@ roc repo release [projects]
236253

237254
#### Arguments
238255

239-
| Name | Description | Default | Type | Required | Can be empty |
240-
| --------- | ----------------------------------------- | ---------- | --------------- | -------- | ------------ |
241-
| projects | Projects to use | | `Array(String)` | No | Yes |
256+
| Name | Description | Default | Type | Required | Can be empty |
257+
| ------------ | -------------------------------------------------------------------------------------------------------------- | ---------- | ------------------ | -------- | ------------ |
258+
| projects | Projects to use | | `Array(String)` | No | Yes |
242259

243260
#### Command options
244261

245-
| Name | Description | Default | Type | Required | Can be empty |
246-
| --------- | ----------------------------------------- | ---------- | --------------- | -------- | ------------ |
247-
| --clean | If the project should be cleaned | `true` | `Boolean` | No | |
248-
| --git | If project commits should be created | `true` | `Boolean` | No | |
249-
| --publish | If projects should be published | `true` | `Boolean` | No | |
250-
| --push | If commits should be pushed to the remote | `true` | `Boolean` | No | |
251-
| --tag | dist-tag to be used when publishing | `"latest"` | `String` | No | Yes |
262+
| Name | Description | Default | Type | Required | Can be empty |
263+
| ------------ | -------------------------------------------------------------------------------------------------------------- | ---------- | ------------------ | -------- | ------------ |
264+
| --automatic | If an automated release should be performed, useful for CI environments | `false` | `Boolean` | No | |
265+
| --clean | If the project should be cleaned | `true` | `Boolean` | No | |
266+
| --dist-tag | dist-tag to be used when publishing to npm | `"latest"` | `String` | No | Yes |
267+
| --draft | If the GitHub release should be done as a draft or not | `true` | `Boolean` | No | |
268+
| --from | Manually specify from which commit the status generation should be performed, by default all commits | | `String` | No | Yes |
269+
| --git | If project commits should be created | `true` | `Boolean` | No | |
270+
| --github | If a GitHub release should be made, will read from GITHUB_AUTH if true or use the value provided to the option | `true` | `Boolean / String` | No | |
271+
| --prerelease | If a prerelease should be done, and what name that should be used for the tag, will default to "alpha" | `false` | `Boolean / String` | No | |
272+
| --publish | If projects should be published | `true` | `Boolean` | No | |
273+
| --push | If commits should be pushed to the remote | `true` | `Boolean` | No | |
274+
| --tag | If git tags should be created | `true` | `Boolean` | No | |
252275

253276
#### Settings options
254277
_All groups are available._
@@ -312,9 +335,16 @@ roc repo status [projects]
312335

313336
#### Arguments
314337

315-
| Name | Description | Default | Type | Required | Can be empty |
316-
| -------- | --------------- | ------- | --------------- | -------- | ------------ |
317-
| projects | Projects to use | | `Array(String)` | No | Yes |
338+
| Name | Description | Default | Type | Required | Can be empty |
339+
| ------------ | ------------------------------------------------------------------------------------------------------ | ------- | ------------------ | -------- | ------------ |
340+
| projects | Projects to use | | `Array(String)` | No | Yes |
341+
342+
#### Command options
343+
344+
| Name | Description | Default | Type | Required | Can be empty |
345+
| ------------ | ------------------------------------------------------------------------------------------------------ | ------- | ------------------ | -------- | ------------ |
346+
| --from | Manually specify from which commit the status generation should be performed, by default all commits | | `String` | No | Yes |
347+
| --prerelease | If a prerelease should be done, and what name that should be used for the tag, will default to "alpha" | `false` | `Boolean / String` | No | |
318348

319349
#### Settings options
320350
_All groups are available._

extensions/roc-plugin-repo/docs/Settings.md

+15-9
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22

33
## Repo
44

5-
| Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions |
6-
| -------------- | ------------------------------------------------------------------------------------- | ------------------- | --------------------- | ---------------------------------------------------------- | ------------------------- | -------- | ------------ | --------------- |
7-
| babelPresetEnv | Configuration to be used with babel-preset-env | repo.babelPresetEnv | --repo-babelPresetEnv | `{}` | `Object()` | No | Yes | roc-plugin-repo |
8-
| input | Location of the code that should run through Babel. | repo.input | --repo-input | `"src"` | `Filepath` | No | Yes | roc-plugin-repo |
9-
| mono | Directories that should be scanned for projects or false to disable monorepo support. | repo.mono | --repo-mono | `["packages","extensions"]` | `Array(Filepath) / false` | No | | roc-plugin-repo |
10-
| npmBinary | What npm binary to use, can be &quot;yarn&quot; for example. | repo.npmBinary | --repo-npmBinary | `"npm"` | `String` | No | Yes | roc-plugin-repo |
11-
| output | Location of where the compiled code should be saved. | repo.output | --repo-output | `"lib"` | `Filepath` | No | Yes | roc-plugin-repo |
12-
| targets | The possible build targets. | repo.targets | --repo-targets | `["cjs","esm"]` | `Array(/cjs|esm/)` | No | Yes | roc-plugin-repo |
13-
| test | Glob patterns for where tests can be found. | repo.test | --repo-test | `["**/__tests__/**/*.js?(x)","**/(*.)(spec|test).js?(x)"]` | `Array(String)` | No | Yes | roc-plugin-repo |
5+
| Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions |
6+
| ---------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------- | ---------------------------------------------------------- | ------------------------- | -------- | ------------ | --------------- |
7+
| babelPresetEnv | Configuration to be used with babel-preset-env | repo.babelPresetEnv | --repo-babelPresetEnv | `{}` | `Object()` | No | Yes | roc-plugin-repo |
8+
| input | Location of the code that should run through Babel. | repo.input | --repo-input | `"src"` | `Filepath` | No | Yes | roc-plugin-repo |
9+
| mono | Directories that should be scanned for projects or false to disable monorepo support. | repo.mono | --repo-mono | `["packages","extensions"]` | `Array(Filepath) / false` | No | | roc-plugin-repo |
10+
| npmBinary | What npm binary to use, can be &quot;yarn&quot; for example. | repo.npmBinary | --repo-npmBinary | `"npm"` | `String` | No | Yes | roc-plugin-repo |
11+
| output | Location of where the compiled code should be saved. | repo.output | --repo-output | `"lib"` | `Filepath` | No | Yes | roc-plugin-repo |
12+
| targets | The possible build targets. | repo.targets | --repo-targets | `["cjs","esm"]` | `Array(/cjs|esm/)` | No | Yes | roc-plugin-repo |
13+
| test | Glob patterns for where tests can be found. | repo.test | --repo-test | `["**/__tests__/**/*.js?(x)","**/(*.)(spec|test).js?(x)"]` | `Array(String)` | No | Yes | roc-plugin-repo |
14+
15+
### Release
16+
17+
| Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions |
18+
| ---------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------- | ---------------------------------------------------------- | ------------------------- | -------- | ------------ | --------------- |
19+
| collectedRelease | Should be a template string if collected releases should be performed for monorepos or false if not. | repo.release.collectedRelease | --repo-release-collectedRelease | `"[name:2:a].[hash:6].[date:yyyy-mm-dd]"` | `false / String` | No | | roc-plugin-repo |

extensions/roc-plugin-repo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "roc-plugin-repo",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "Roc plugin making it easy to manage JavaScript repositories",
55
"main": "lib/index.js",
66
"files": [

0 commit comments

Comments
 (0)