diff --git a/extensions/roc-plugin-repo/CHANGELOG.md b/extensions/roc-plugin-repo/CHANGELOG.md index 6ed9a29..f362cbb 100644 --- a/extensions/roc-plugin-repo/CHANGELOG.md +++ b/extensions/roc-plugin-repo/CHANGELOG.md @@ -1,3 +1,42 @@ + +# 0.1.0-beta.0 (2018-01-16) + +### Bug Fixes + +* Bump conventional-changelog dependencies ([cb3c7c8](https://github.com/rocjs/roc-repo/commit/cb3c7c8)) + * This to make sure we get the fix done in conventional-commits-filter that makes reverts work correctly. +* Improved logging from build, run and exec command ([e3c5379](https://github.com/rocjs/roc-repo/commit/e3c5379)) +* Remove legacy command not meant to be used anymore ([26ad779](https://github.com/rocjs/roc-repo/commit/26ad779)) +* Remove repo.targets since it's not used anymore ([89da3ed](https://github.com/rocjs/roc-repo/commit/89da3ed)) + * This is now instead dynamic based on if the project has a JavaScript file in either "main" or "module". +* Solve a problem that could break auto scopes ([1f2a5b8](https://github.com/rocjs/roc-repo/commit/1f2a5b8)) + * Sometimes auto scope (AUTO/*) detection would fail given certain modified files. +* Sort commits shown when using "roc repo status" ([ad7c826](https://github.com/rocjs/roc-repo/commit/ad7c826)) +* Use execa over execute for better errors ([69666eb](https://github.com/rocjs/roc-repo/commit/69666eb)) +* Use logger instead of console.log ([ecd47f7](https://github.com/rocjs/roc-repo/commit/ecd47f7)) + +### Features + +* Add new command, "import", for importing repos ([6fcfeca](https://github.com/rocjs/roc-repo/commit/6fcfeca)) +* Added new watch command that can be used over -w ([4a61efd](https://github.com/rocjs/roc-repo/commit/4a61efd)) + * This is useful when implementing custom a build commands and want to be able to do the same when running watch. +* Configure types used in changelog and optional body ([a6dacdb](https://github.com/rocjs/roc-repo/commit/a6dacdb)) + * This can be configured in the following way using `roc.config.js`. + + ```js + release: { + changelogTypes: true, // true for all types, will default to ['fix', 'perf', 'revert', 'feat'] + includeBody: true, // Will default to false + } + ``` +* Made it possible to define custom scripts ([b38469b](https://github.com/rocjs/roc-repo/commit/b38469b)) + * This can be done using npm scripts in the package.json for a project. Additionally it's possible to add actions that interact with how projects are built. +* Possible to use AUTO as scope in addition to * ([d981d72](https://github.com/rocjs/roc-repo/commit/d981d72)) +* Require Jest over indirectly exporting it ([0a8bc2f](https://github.com/rocjs/roc-repo/commit/0a8bc2f)) + * Means that project now will need to manage the Jest version themselves which will make it easier for projects to update Jest in the future and less risk for breaking changes in roc-plugin-repo. +* Show location of projects when using list command ([2a946e4](https://github.com/rocjs/roc-repo/commit/2a946e4)) + + ## 0.0.28 (2017-12-01) diff --git a/extensions/roc-plugin-repo/docs/Actions.md b/extensions/roc-plugin-repo/docs/Actions.md index 57d1e2c..2adcf69 100644 --- a/extensions/roc-plugin-repo/docs/Actions.md +++ b/extensions/roc-plugin-repo/docs/Actions.md @@ -6,6 +6,7 @@ * [roc-plugin-repo](#roc-plugin-repo) * [babel-config](#babel-config-1) * [get-projects](#get-projects) + * [run-script](#run-script) ## roc-plugin-babel @@ -32,3 +33,9 @@ __Have post:__ No __Connects to extension:__ Not specified __Connects to hook:__ `get-projects` __Have post:__ No + +### run-script + +__Connects to extension:__ Not specified +__Connects to hook:__ `run-script` +__Have post:__ No diff --git a/extensions/roc-plugin-repo/docs/Commands.md b/extensions/roc-plugin-repo/docs/Commands.md index 4fa8098..41c09eb 100644 --- a/extensions/roc-plugin-repo/docs/Commands.md +++ b/extensions/roc-plugin-repo/docs/Commands.md @@ -25,6 +25,7 @@ All commands can be called with some additional options illustrated in the table * [commit](#commit) * [exec](#exec) * [graph](#graph) + * [import](#import) * [lint](#lint) * [list](#list) * [release](#release) @@ -32,7 +33,7 @@ All commands can be called with some additional options illustrated in the table * [run](#run) * [status](#status) * [test](#test) - * [unlink](#unlink) + * [watch](#watch) ## meta __Meta commands__ @@ -115,15 +116,16 @@ roc repo build [projects] #### Arguments -| Name | Description | Default | Type | Required | Can be empty | -| ----------- | ------------------ | ------- | --------------- | -------- | ------------ | -| projects | Projects to use | | `Array(String)` | No | Yes | +| Name | Description | Default | Type | Required | Can be empty | +| ------------ | ------------------ | ------- | ------------------- | -------- | ------------ | +| projects | Projects to use | | `Array(String)` | No | Yes | #### Command options -| Name | Description | Default | Type | Required | Can be empty | -| ----------- | ------------------ | ------- | --------------- | -------- | ------------ | -| -w, --watch | Enabled watch mode | | `Boolean` | No | | +| Name | Description | Default | Type | Required | Can be empty | +| ------------ | ------------------ | ------- | ------------------- | -------- | ------------ | +| --concurrent | Run concurrently | `2` | `Boolean / Integer` | No | | +| -w, --watch | Enabled watch mode | | `Boolean` | No | | #### Settings options _All groups are available._ @@ -141,9 +143,15 @@ roc repo clean [projects] #### Arguments -| Name | Description | Default | Type | Required | Can be empty | -| -------- | --------------- | ------- | --------------- | -------- | ------------ | -| projects | Projects to use | | `Array(String)` | No | Yes | +| Name | Description | Default | Type | Required | Can be empty | +| ------------ | ---------------- | ------- | ------------------- | -------- | ------------ | +| projects | Projects to use | | `Array(String)` | No | Yes | + +#### Command options + +| Name | Description | Default | Type | Required | Can be empty | +| ------------ | ---------------- | ------- | ------------------- | -------- | ------------ | +| --concurrent | Run concurrently | `false` | `Boolean / Integer` | No | | #### Settings options _All groups are available._ @@ -184,7 +192,6 @@ roc repo exec [projects] | Name | Description | Default | Type | Required | Can be empty | | ------------ | ---------------- | ------- | ------------------- | -------- | ------------ | | --concurrent | Run concurrently | `false` | `Boolean / Integer` | No | | -| --silent | Silent output | `true` | `Boolean` | No | | #### Defined by extensions roc-plugin-repo @@ -211,6 +218,31 @@ roc repo graph [projects] #### Defined by extensions roc-plugin-repo +### import + +``` +roc repo import [location] +``` + +#### Arguments + +| Name | Description | Default | Type | Required | Can be empty | +| -------------- | --------------------------------------------------------------------------------------------- | ------- | --------- | -------- | ------------ | +| repository | Repository to import from | | `String` | Yes | No | +| location | Where to expand the repository | | `String` | No | Yes | + +#### Command options + +| Name | Description | Default | Type | Required | Can be empty | +| -------------- | --------------------------------------------------------------------------------------------- | ------- | --------- | -------- | ------------ | +| --flatten | Import each merge commit as a single change the merge introduced, ignored when using merge | `false` | `Boolean` | No | | +| --merge | If a merge strategy should be used when importing a repository | `false` | `Boolean` | No | | +| --prefix | If commits should be prefixed with the project name for each commit, ignored when using merge | `false` | `Boolean` | No | | +| --subdirectory | Import only a given subdirectory from the repository | | `String` | No | Yes | + +#### Defined by extensions +roc-plugin-repo + ### lint __Runs lint__ @@ -220,16 +252,17 @@ roc repo lint [projects] #### Arguments -| Name | Description | Default | Type | Required | Can be empty | -| -------------- | ----------------------------------------- | ------- | --------------- | -------- | ------------ | -| projects | Projects to use | | `Array(String)` | No | Yes | +| Name | Description | Default | Type | Required | Can be empty | +| -------------- | ----------------------------------------- | ------- | ------------------- | -------- | ------------ | +| projects | Projects to use | | `Array(String)` | No | Yes | #### Command options -| Name | Description | Default | Type | Required | Can be empty | -| -------------- | ----------------------------------------- | ------- | --------------- | -------- | ------------ | -| --fix | Use ESLint --fix option | | `Boolean` | No | | -| --forceDefault | Force use of default ESLint configuration | `false` | `Boolean` | No | | +| Name | Description | Default | Type | Required | Can be empty | +| -------------- | ----------------------------------------- | ------- | ------------------- | -------- | ------------ | +| --concurrent | Run concurrently | `false` | `Boolean / Integer` | No | | +| --fix | Use ESLint --fix option | | `Boolean` | No | | +| --forceDefault | Force use of default ESLint configuration | `false` | `Boolean` | No | | #### Settings options _All groups are available._ @@ -381,12 +414,15 @@ roc repo test [projects] | Name | Description | Default | Type | Required | Can be empty | | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- | ----------------- | -------- | ------------ | +| --all | The opposite of `onlyChanged`. If `onlyChanged` is set by default, running jest with `--all` will force Jest to run all tests instead of running only tests related to changed files. | | | No | | | --automock | Automock all files by default. | | `Boolean` | No | | | --bail | Exit the test suite immediately upon the first failing test. | | `Boolean` | No | | | --browser | Respect the "browser" field in package.json when resolving modules. Some packages export different versions based on whether they are operating in node.js or a browser. | | `Boolean` | No | | | --cache | Whether to use the transform cache. Disable the cache using --no-cache. | | `Boolean` | No | | | --cacheDirectory | The directory where Jest should store its cached dependency information. | | `String` | No | Yes | +| --changedFilesWithAncestor | Runs tests related to the current changes and the changes made in the last commit. Behaves similarly to `--onlyChanged`. | | `Boolean` | No | | | --ci | Whether to run Jest in continuous integration (CI) mode. This option is on by default in most popular CI environments. It will prevent snapshots from being written unless explicitly requested. | `false` | `Boolean` | No | | +| --clearCache | Clears the configured Jest cache directory and then exits. Default directory can be found by calling jest --showConfig | | `Boolean` | No | | | --clearMocks | Automatically clear mock calls and instances between every test. Equivalent to calling jest.clearAllMocks() between each test. | | `Boolean` | No | | | --collectCoverage | Alias for --coverage. | | `Boolean` | No | | | --collectCoverageFrom | relative to glob pattern matching the files that coverage info needs to be collected from. | | `String` | No | Yes | @@ -400,14 +436,17 @@ roc repo test [projects] | --coverageReporters | A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter can be used. | | `Array(Filepath)` | No | Yes | | --coverageThreshold | A JSON string with which will be used to configure minimum threshold enforcement for coverage results | | `String` | No | Yes | | --debug | Print debugging info about your jest config. | | `Boolean` | No | | +| --detectLeaks | **EXPERIMENTAL**: Detect memory leaks in tests. After executing a test, it will try to garbage collect the global object used, and fail if it was leaked | `false` | `Boolean` | No | | | --env | The test environment used for all tests. This can point to any file or node module. Examples: `jsdom`, `node` or `path/to/my-environment.js` | | `String` | No | Yes | | -e, --expand | Use this flag to show full diffs instead of a patch. | | `Boolean` | No | | | --findRelatedTests | Find related tests for a list of source files that were passed in as arguments. Useful for pre-commit hook integration to run the minimal amount of tests necessary. | | `Boolean` | No | | | --forceExit | Force Jest to exit after all tests have completed running. This is useful when resources set up by test code cannot be adequately cleaned up. | | `Boolean` | No | | +| --globalSetup | The path to a module that runs before All Tests. | | `String` | No | Yes | +| --globalTeardown | The path to a module that runs after All Tests. | | `String` | No | Yes | | --globals | A JSON string with map of global variables that need to be available in all test environments. | | `String` | No | Yes | -| --haste | A JSON string with map of variables for the haste module system | | `String` | No | Yes | +| --haste | A JSON string with map of variables for the haste module system | | `String` | No | Yes | | --json | Prints the test results in JSON. This mode will send all other test output and user messages to stderr. | | `Boolean` | No | | -| --lastCommit | Will run all tests affected by file changes in the last commit made. | | `Boolean` | No | | +| --lastCommit | Run all tests affected by file changes in the last commit made. Behaves similarly to `--onlyChanged`. | | `Boolean` | No | | | --listTests | Lists all tests Jest will run given the arguments and exits. Most useful in a CI system together with `--findRelatedTests` to determine the tests Jest will run based on specific files | `false` | `Boolean` | No | | | --logHeapUsage | Logs the heap usage after every test. Useful to debug memory leaks. Use together with `--runInBand` and `--expose-gc` in node. | | `Boolean` | No | | | --mapCoverage | Maps code coverage reports against original source code when transformers supply source maps. | | `Boolean` | No | | @@ -419,8 +458,10 @@ roc repo test [projects] | --modulePaths | An alternative API to setting the NODE_PATH env variable, modulePaths is an array of absolute paths to additional locations to search when resolving modules. | | `Array(Filepath)` | No | Yes | | --noStackTrace | Disables stack trace in test results output | | `Boolean` | No | | | --notify | Activates notifications for test results. | | `Boolean` | No | | -| -o, --onlyChanged | Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a git repository at the moment. | | `Boolean` | No | | +| -o, --onlyChanged | Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a git or hg repository at the moment. | | `Boolean` | No | | +| -f, --onlyFailures | Run tests that failed in the previous execution. | | `Boolean` | No | | | --outputFile | Write test results to a file when the --json option is also specified. | | `String` | No | Yes | +| --passWithNoTests | Will not fail if no tests are found (for example while using `--testPathPattern`.) | `false` | `Boolean` | No | | | --preset | A preset that is used as a base for Jest's configuration. | | `String` | No | Yes | | --projects | A list of projects that use Jest to run all tests of all projects in a single instance of Jest. | | `Array(Filepath)` | No | Yes | | --reporters | A list of custom reporters for the test suite. | | `Array(Filepath)` | No | Yes | @@ -430,16 +471,19 @@ roc repo test [projects] | --rootDir | The root directory that Jest should scan for tests and modules within. | | `String` | No | Yes | | --roots | A list of paths to directories that Jest should use to search for files in. | | `Array(Filepath)` | No | Yes | | -i, --runInBand | Run all tests serially in the current process (rather than creating a worker pool of child processes that run tests). This is sometimes useful for debugging, but such use cases are pretty rare. | | `Boolean` | No | | +| --runTestsByPath | Used when provided patterns are exact file paths. This avoids converting them into a regular expression and matching it against every single file. | `false` | `Boolean` | No | | | --setupFiles | The paths to modules that run some code to configure or set up the testing environment before each test. | | `Array(Filepath)` | No | Yes | | --setupTestFrameworkScriptFile | The path to a module that runs some code to configure or set up the testing framework before each test. | | `String` | No | Yes | | --showConfig | Print your jest config and then exits. | | `Boolean` | No | | | --silent | Prevent tests from printing messages through the console. | | `Boolean` | No | | | --snapshotSerializers | A list of paths to snapshot serializer modules Jest should use for snapshot testing. | | `Array(Filepath)` | No | Yes | | --testEnvironment | Alias for --env | | `String` | No | Yes | +| --testFailureExitCode | Exit code of `jest` command if the test run failed | | `String` | No | Yes | +| --testLocationInResults | Add `location` information to the test results | `false` | `Boolean` | No | | | --testMatch | The glob patterns Jest uses to detect test files. | | `Array(Filepath)` | No | Yes | | -t, --testNamePattern | Run only tests with a name that matches the regex pattern. | | `String` | No | Yes | | --testPathIgnorePatterns | An array of regexp pattern strings that are matched against all test paths before executing the test. If the test path matches any of the patterns, it will be skipped. | | `Array(Filepath)` | No | Yes | -| --testPathPattern | A regexp pattern string that is matched against all tests paths before executing the test. | | `String` | No | Yes | +| --testPathPattern | A regexp pattern string that is matched against all tests paths before executing the test. | | `Array(Filepath)` | No | Yes | | --testRegex | The regexp pattern Jest uses to detect test files. | | `String` | No | Yes | | --testResultsProcessor | Allows the use of a custom results processor. This processor must be a node module that exports a function expecting as the first argument the result object | | `String` | No | Yes | | --testRunner | Allows to specify a custom test runner. The default is `jasmine2`. A path to a custom test runner can be provided: `/path/to/testRunner.js`. | | `String` | No | Yes | @@ -454,6 +498,7 @@ roc repo test [projects] | --version | Print the version and exit | | `Boolean` | No | | | --watch | Watch files for changes and rerun tests related to changed files. If you want to re-run all tests when a file has changed, use the `--watchAll` option. | | `Boolean` | No | | | --watchAll | Watch files for changes and rerun all tests. If you want to re-run only the tests related to the changed files, use the `--watch` option. | | `Boolean` | No | | +| --watchPathIgnorePatterns | An array of regexp pattern strings that are matched against all paths before trigger test re-run in watch mode. If the test path matches any of the patterns, it will be skipped. | | `Array(Filepath)` | No | Yes | | --watchman | Whether to use watchman for file crawling. Disable using --no-watchman. | | `Boolean` | No | | #### Settings options @@ -463,18 +508,24 @@ _All groups are available._ #### Defined by extensions roc-plugin-repo -### unlink -__Unlinks the projects__ +### watch +__Build projects in watch mode__ ``` -roc repo unlink [projects] +roc repo watch [projects] ``` #### Arguments -| Name | Description | Default | Type | Required | Can be empty | -| -------- | --------------- | ------- | --------------- | -------- | ------------ | -| projects | Projects to use | | `Array(String)` | No | Yes | +| Name | Description | Default | Type | Required | Can be empty | +| ------------ | ---------------- | ------- | ------------------- | -------- | ------------ | +| projects | Projects to use | | `Array(String)` | No | Yes | + +#### Command options + +| Name | Description | Default | Type | Required | Can be empty | +| ------------ | ---------------- | ------- | ------------------- | -------- | ------------ | +| --concurrent | Run concurrently | `2` | `Boolean / Integer` | No | | #### Settings options _All groups are available._ diff --git a/extensions/roc-plugin-repo/docs/Dependencies.md b/extensions/roc-plugin-repo/docs/Dependencies.md index 4e838fd..80f203c 100644 --- a/extensions/roc-plugin-repo/docs/Dependencies.md +++ b/extensions/roc-plugin-repo/docs/Dependencies.md @@ -6,7 +6,9 @@ The dependencies that are available in the project. Nothing is exported. ## Requires -Nothing is required. +### [jest](https://www.npmjs.com/package/jest) +__Version__: ^21.2.1 || ^22.0.0 +__Extension__: roc-plugin-repo ## Uses ### roc-plugin-repo diff --git a/extensions/roc-plugin-repo/docs/Hooks.md b/extensions/roc-plugin-repo/docs/Hooks.md index 1e99fe6..4c2a9b2 100644 --- a/extensions/roc-plugin-repo/docs/Hooks.md +++ b/extensions/roc-plugin-repo/docs/Hooks.md @@ -8,6 +8,7 @@ * [get-projects](#get-projects) * [release-after-build](#release-after-build) * [release-preconditions](#release-preconditions) + * [run-script](#run-script) ## roc @@ -75,3 +76,18 @@ __Expected return value:__ _Nothing_ | --------- | ------------------------------ | --------------- | -------- | ------------ | | toRelease | Projects that will be released | `Array(String)` | No | Yes | | Listr | Listr instance | | No | | + +### run-script + +Invoked for build, clean, lint, release and test making it possible to customize what is done and extend existing functionality, the functions can return a promise. + +__Initial value:__ _Nothing_ +__Expected return value:__ `Function / Array(Function)` + +#### Arguments + +| Name | Description | Type | Required | Can be empty | +| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | -------- | ------------ | +| script | The script that has been invoked, can be either `build`, `clean`, `lint`, `release` or `test`. | `String` | No | Yes | +| projects | The projects that the script has been invoked for. | `Array(Object())` | No | Yes | +| extra | Additional arguments containing `options`, `extraArguments` from the command as well as `createLogger` that takes a name and returns a function that can be used for logging | `Object()` | No | Yes | diff --git a/extensions/roc-plugin-repo/docs/Settings.md b/extensions/roc-plugin-repo/docs/Settings.md index e78215d..c6b5e78 100644 --- a/extensions/roc-plugin-repo/docs/Settings.md +++ b/extensions/roc-plugin-repo/docs/Settings.md @@ -2,19 +2,20 @@ ## Repo -| Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions | -| ---------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------- | ---------------------------------------------------------- | ------------------------- | -------- | ------------ | --------------- | -| babelPresetEnv | Configuration to be used with babel-preset-env | repo.babelPresetEnv | --repo-babelPresetEnv | `{}` | `Object()` | No | Yes | roc-plugin-repo | -| input | Location of the code that should run through Babel. | repo.input | --repo-input | `"src"` | `Filepath` | No | Yes | roc-plugin-repo | -| 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 | -| npmBinary | What npm binary to use, can be "yarn" for example. | repo.npmBinary | --repo-npmBinary | `"npm"` | `String` | No | Yes | roc-plugin-repo | -| output | Location of where the compiled code should be saved. | repo.output | --repo-output | `"lib"` | `Filepath` | No | Yes | roc-plugin-repo | -| runGitHooks | If Git hooks should be invoked on automatic commit and push creation | repo.runGitHooks | --repo-runGitHooks | `false` | `Boolean` | No | | roc-plugin-repo | -| targets | The possible build targets. | repo.targets | --repo-targets | `["cjs","esm"]` | `Array(/cjs|esm/)` | No | Yes | roc-plugin-repo | -| 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 | +| Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions | +| ---------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------------- | -------- | ------------ | --------------- | +| babelPresetEnv | Configuration to be used with babel-preset-env | repo.babelPresetEnv | --repo-babelPresetEnv | `{}` | `Object()` | No | Yes | roc-plugin-repo | +| input | Location of the code that should run through Babel. | repo.input | --repo-input | `"src"` | `Filepath` | No | Yes | roc-plugin-repo | +| 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 | +| npmBinary | What npm binary to use, can be "yarn" for example. | repo.npmBinary | --repo-npmBinary | `"npm"` | `String` | No | Yes | roc-plugin-repo | +| output | Location of where the compiled code should be saved. | repo.output | --repo-output | `"lib"` | `Filepath` | No | Yes | roc-plugin-repo | +| runGitHooks | If Git hooks should be invoked on automatic commit and push creation | repo.runGitHooks | --repo-runGitHooks | `false` | `Boolean` | No | | roc-plugin-repo | +| 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 | ### Release -| Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions | -| ---------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------- | ---------------------------------------------------------- | ------------------------- | -------- | ------------ | --------------- | -| 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 | +| Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions | +| ---------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------------- | -------- | ------------ | --------------- | +| changelogTypes | Commit message types that always should create an entry in changelogs or true to create for all | repo.release.changelogTypes | --repo-release-changelogTypes | `["fix","perf","revert","feat"]` | `true / Array(/^(feat|fix|perf|revert|docs|style|refactor|test|chore)$/)` | No | | roc-plugin-repo | +| 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 | +| includeBody | If the body of the commit message should be part of the changelog | repo.release.includeBody | --repo-release-includeBody | `false` | `Boolean` | No | | roc-plugin-repo | diff --git a/extensions/roc-plugin-repo/package.json b/extensions/roc-plugin-repo/package.json index d08348e..2f9d4e2 100644 --- a/extensions/roc-plugin-repo/package.json +++ b/extensions/roc-plugin-repo/package.json @@ -1,6 +1,6 @@ { "name": "roc-plugin-repo", - "version": "0.0.28", + "version": "0.1.0-beta.0", "description": "Roc plugin making it easy to manage JavaScript repositories", "main": "lib/index.js", "files": [