From e29068eb415884adf0f561ef3b5159873e1c6bda Mon Sep 17 00:00:00 2001 From: Gustaf Dalemar Date: Fri, 14 Oct 2016 10:49:37 +0200 Subject: [PATCH] Version 1.0.0-beta.4 --- extensions/roc-package-web-app-react-dev/docs/Actions.md | 2 +- extensions/roc-package-web-app-react-dev/docs/Commands.md | 8 ++++---- .../roc-package-web-app-react-dev/docs/Extensions.md | 4 ++-- extensions/roc-package-web-app-react-dev/docs/Hooks.md | 7 ++++--- extensions/roc-package-web-app-react-dev/docs/Settings.md | 1 + extensions/roc-package-web-app-react-dev/package.json | 2 +- extensions/roc-package-web-app-react/docs/Commands.md | 2 +- extensions/roc-package-web-app-react/docs/Dependencies.md | 5 +++++ extensions/roc-package-web-app-react/docs/Extensions.md | 2 +- extensions/roc-package-web-app-react/docs/Settings.md | 6 ++++++ extensions/roc-package-web-app-react/package.json | 2 +- 11 files changed, 27 insertions(+), 14 deletions(-) diff --git a/extensions/roc-package-web-app-react-dev/docs/Actions.md b/extensions/roc-package-web-app-react-dev/docs/Actions.md index 290cb73..6e2b0b7 100644 --- a/extensions/roc-package-web-app-react-dev/docs/Actions.md +++ b/extensions/roc-package-web-app-react-dev/docs/Actions.md @@ -66,7 +66,7 @@ __Have post:__ Yes ### babel-config -__Connects to extension:__ `roc-package-webpack-dev` +__Connects to extension:__ Not specified __Connects to hook:__ `babel-config` __Have post:__ No diff --git a/extensions/roc-package-web-app-react-dev/docs/Commands.md b/extensions/roc-package-web-app-react-dev/docs/Commands.md index 507bf2f..b96712c 100644 --- a/extensions/roc-package-web-app-react-dev/docs/Commands.md +++ b/extensions/roc-package-web-app-react-dev/docs/Commands.md @@ -46,7 +46,7 @@ roc development build [targets] | targets | The targets the project should be built for, overrides the settings if provided. | | `[String]` | No | Yes | #### Settings options -* [build](/Users/gustaf/Desktop/test-hest/roc-package-web-app-react/extensions/roc-package-web-app-react-dev/docs/Settings.md#build) +* [build](docs/Settings.md#build) #### Defined by extensions roc-abstract-package-base-dev, roc-package-webpack-dev @@ -59,7 +59,7 @@ roc development clean ``` #### Settings options -* [build](/Users/gustaf/Desktop/test-hest/roc-package-web-app-react/extensions/roc-package-web-app-react-dev/docs/Settings.md#build) +* [build](docs/Settings.md#build) #### Defined by extensions roc-abstract-package-base-dev @@ -79,8 +79,8 @@ roc development dev [targets] #### Settings options _All groups are available._ -* [build](/Users/gustaf/Desktop/test-hest/roc-package-web-app-react/extensions/roc-package-web-app-react-dev/docs/Settings.md#build) -* [dev](/Users/gustaf/Desktop/test-hest/roc-package-web-app-react/extensions/roc-package-web-app-react-dev/docs/Settings.md#dev) +* [build](docs/Settings.md#build) +* [dev](docs/Settings.md#dev) #### Defined by extensions roc-abstract-package-base-dev, roc-package-webpack-dev diff --git a/extensions/roc-package-web-app-react-dev/docs/Extensions.md b/extensions/roc-package-web-app-react-dev/docs/Extensions.md index 9a849b9..5107fe7 100644 --- a/extensions/roc-package-web-app-react-dev/docs/Extensions.md +++ b/extensions/roc-package-web-app-react-dev/docs/Extensions.md @@ -18,11 +18,11 @@ Package providing Node support through Webpack for Roc (Development) ### roc-package-webpack-web-dev — [v1.0.0-beta.3](https://www.npmjs.com/package/roc-package-webpack-web-dev) Package providing browser support through Webpack for Roc (Development) -### roc-package-web-app-dev — [v1.0.0-beta.3](https://www.npmjs.com/package/roc-package-web-app-dev) +### roc-package-web-app-dev — [v1.0.0-beta.4](https://www.npmjs.com/package/roc-package-web-app-dev) Package for building web applications using Roc (Development) ## Plugins -### roc-plugin-babel — [v1.0.0-beta.1](https://www.npmjs.com/package/roc-plugin-babel) +### roc-plugin-babel — [v1.0.0-beta.2](https://www.npmjs.com/package/roc-plugin-babel) Roc plugin that adds basic Babel management ### roc-plugin-browsersync — [v1.0.0-beta.2](https://www.npmjs.com/package/roc-plugin-browsersync) diff --git a/extensions/roc-package-web-app-react-dev/docs/Hooks.md b/extensions/roc-package-web-app-react-dev/docs/Hooks.md index 8f4dcae..5d5cdd2 100644 --- a/extensions/roc-package-web-app-react-dev/docs/Hooks.md +++ b/extensions/roc-package-web-app-react-dev/docs/Hooks.md @@ -119,9 +119,10 @@ __Expected return value:__ `{}` #### Arguments -| Name | Description | Type | Required | Can be empty | -| ------ | ------------------------------------------------------------------- | -------- | -------- | ------------ | -| target | The target for which the Webpack configuration should be build for. | `String` | No | Yes | +| Name | Description | Type | Required | Can be empty | +| ----------- | ------------------------------------------------------------------- | -------- | -------- | ------------ | +| target | The target for which the Webpack configuration should be build for. | `String` | No | Yes | +| babelConfig | The Babel configuration that should be used for the Webpack build. | `{}` | No | Yes | ### create-watchers diff --git a/extensions/roc-package-web-app-react-dev/docs/Settings.md b/extensions/roc-package-web-app-react-dev/docs/Settings.md index fc80f6c..d8208a5 100644 --- a/extensions/roc-package-web-app-react-dev/docs/Settings.md +++ b/extensions/roc-package-web-app-react-dev/docs/Settings.md @@ -77,6 +77,7 @@ Options that will be used as query parameters. | Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions | | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- | ---------------------------------------------------- | --------------------------------------------------------------------- | --------------------------- | -------- | ------------ | ----------------------------------------------------------------------------------------------------------------- | | middlewares | The middlewares to use if no entry file is given, will use default entry files internally. | build.redux.middlewares | --build-redux-middlewares | `"src/redux/middlewares.js"` | `Filepath` | No | No | roc-package-web-app-react-dev | +| sagas | The Redux Saga to use as the root saga. | build.redux.sagas | --build-redux-sagas | `"src/redux/sagas.js"` | `Filepath` | No | No | roc-package-web-app-react-dev | | useDefaultMiddlewares | If Roc should use internally defined middlewares, please look at the documentation for what middlewares that are included. | build.redux.useDefaultMiddlewares | --build-redux-useDefaultMiddlewares | `true` | `Boolean` | Yes | | roc-package-web-app-react-dev | | useDefaultReducers | If Roc should use internally defined reducers, please look at the documentation for what reducers that are included. | build.redux.useDefaultReducers | --build-redux-useDefaultReducers | `true` | `Boolean` | Yes | | roc-package-web-app-react-dev | diff --git a/extensions/roc-package-web-app-react-dev/package.json b/extensions/roc-package-web-app-react-dev/package.json index 6d57ef6..58964fe 100644 --- a/extensions/roc-package-web-app-react-dev/package.json +++ b/extensions/roc-package-web-app-react-dev/package.json @@ -1,7 +1,7 @@ { "name": "roc-package-web-app-react-dev", "description": "Package for building React applications with Roc (Development)", - "version": "1.0.0-beta.3", + "version": "1.0.0-beta.4", "main": "lib/index.js", "scripts": { "lint": "eslint .", diff --git a/extensions/roc-package-web-app-react/docs/Commands.md b/extensions/roc-package-web-app-react/docs/Commands.md index 4aefe5f..d4ff351 100644 --- a/extensions/roc-package-web-app-react/docs/Commands.md +++ b/extensions/roc-package-web-app-react/docs/Commands.md @@ -34,7 +34,7 @@ roc start [artifact] | artifact | Path to an artifact to start. | | `Filepath` | No | Yes | ### Settings options -* [runtime](/Users/gustaf/Desktop/test-hest/roc-package-web-app-react/extensions/roc-package-web-app-react/docs/Settings.md#runtime) +* [runtime](docs/Settings.md#runtime) ### Defined by extensions roc-plugin-start diff --git a/extensions/roc-package-web-app-react/docs/Dependencies.md b/extensions/roc-package-web-app-react/docs/Dependencies.md index 64e45d9..56d374c 100644 --- a/extensions/roc-package-web-app-react/docs/Dependencies.md +++ b/extensions/roc-package-web-app-react/docs/Dependencies.md @@ -63,6 +63,11 @@ __Version__: ~3.4.0 __Extension__: roc-package-web-app-react __Custom resolve function__: No +### [redux-saga](https://www.npmjs.com/package/redux-saga) +__Version__: 0.12.0 +__Extension__: roc-package-web-app-react +__Custom resolve function__: No + ### [redux-thunk](https://www.npmjs.com/package/redux-thunk) __Version__: ~2.1.0 __Extension__: roc-package-web-app-react diff --git a/extensions/roc-package-web-app-react/docs/Extensions.md b/extensions/roc-package-web-app-react/docs/Extensions.md index 2927717..8296aea 100644 --- a/extensions/roc-package-web-app-react/docs/Extensions.md +++ b/extensions/roc-package-web-app-react/docs/Extensions.md @@ -18,7 +18,7 @@ Package providing Node support through Webpack. ### roc-package-webpack-web — [v1.0.0-beta.3](https://www.npmjs.com/package/roc-package-webpack-web) Package providing support bundling for Browser runtimes. -### roc-package-web-app — [v1.0.0-beta.3](https://www.npmjs.com/package/roc-package-web-app) +### roc-package-web-app — [v1.0.0-beta.4](https://www.npmjs.com/package/roc-package-web-app) Package for building web applications using Roc ## Plugins diff --git a/extensions/roc-package-web-app-react/docs/Settings.md b/extensions/roc-package-web-app-react/docs/Settings.md index bfc43b9..25b5cd6 100644 --- a/extensions/roc-package-web-app-react/docs/Settings.md +++ b/extensions/roc-package-web-app-react/docs/Settings.md @@ -56,6 +56,12 @@ Base tag to be used in . | href | The document base address from which relative links are made. | runtime.head.base.href | --runtime-head-base-href | `"ROC_PATH"` | `String` | No | No | roc-package-web-app-react | | target | The browsing context in which the links should open. | runtime.head.base.target | --runtime-head-base-target | | `String` | No | No | roc-package-web-app-react | +### History + +| Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions | +| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | ------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------- | -------- | ------------ | ------------------------------------- | +| forceRefresh | Whether to force load from server rather than do single page navigation | runtime.history.forceRefresh | --runtime-history-forceRefresh | | `Boolean / Function` | No | | roc-package-web-app-react | + ### Https | Name | Description | Path | CLI option | Default | Type | Required | Can be empty | Extensions | diff --git a/extensions/roc-package-web-app-react/package.json b/extensions/roc-package-web-app-react/package.json index d6eb032..b2395e6 100644 --- a/extensions/roc-package-web-app-react/package.json +++ b/extensions/roc-package-web-app-react/package.json @@ -1,7 +1,7 @@ { "name": "roc-package-web-app-react", "description": "Package for building React applications with Roc", - "version": "1.0.0-beta.3", + "version": "1.0.0-beta.4", "main": "lib/index.js", "scripts": { "lint": "eslint .",