Skip to content

Commit

Permalink
Add SampleRouterComponent to Palette for demo of path parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
adrw committed Aug 2, 2019
1 parent 3b82e3d commit 70c2bcc
Show file tree
Hide file tree
Showing 34 changed files with 287 additions and 367 deletions.
308 changes: 21 additions & 287 deletions common/config/rush/shrinkwrap.yaml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/data/package.json
Expand Up @@ -15,14 +15,14 @@
"prepare": "npm run-script build"
},
"dependencies": {
"@misk/core": "0.1.15",
"@misk/core": "0.1.16-3",
"fs-extra": "8.0.1"
},
"devDependencies": {
"@misk/dev": "0.1.15",
"@misk/prettier": "0.1.15",
"@misk/dev": "0.1.16-3",
"@misk/prettier": "0.1.16-3",
"@types/fs-extra": "7.0.0",
"@misk/tslint": "0.1.15",
"@misk/tslint": "0.1.16-3",
"@types/node": "11.13.1",
"@types/prop-types": "15.7.1",
"@types/react": "16.8.21",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions examples/services/dashboard/demo/@misk/common/styles.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/services/dashboard/demo/@misk/core/core.js.map

Large diffs are not rendered by default.

@@ -1,4 +1,6 @@
import { History, Location } from "history";
import { Map } from "immutable";
import { match } from "react-router";
import { ForkEffectDescriptor, SimpleEffect } from "redux-saga/effects";
export interface CombinatorEffect<T, E> {
"@@redux-saga/IO": true;
Expand All @@ -10,6 +12,11 @@ export declare type CombinatorEffectDescriptor<E> = {
[key: string]: E;
} | E[];
export declare type SimpleReduxSaga = IterableIterator<CombinatorEffect<"ALL", SimpleEffect<"FORK", ForkEffectDescriptor>>>;
export interface IRouterProvidedProps {
history?: History;
location?: Location;
match?: match;
}
export interface IDefaultState {
data: any;
error: any;
Expand Down
2 changes: 1 addition & 1 deletion examples/services/dashboard/miskTab.json
Expand Up @@ -10,7 +10,7 @@
"relative_path_prefix": "",
"slug": "dashboard",
"useWebpackExternals": true,
"version": "0.1.15",
"version": "0.1.16-3",
"zipOnBuild": false,
"___DeprecatedKeys": "Any keys below this point in your miskTab.json are deprecated and can be safely removed."
}
14 changes: 7 additions & 7 deletions examples/services/dashboard/package.json
Expand Up @@ -19,9 +19,9 @@
"zip": "tar --exclude='.gitignore' --exclude='.old_build_files' --exclude='package.json' --exclude='package-lock.json' --exclude='prettier.config.js' --exclude='tsconfig.json' --exclude='tslint.json' --exclude='webpack.config.js' --exclude='yarn.lock' --exclude='demo' --exclude='lib' --exclude='.DS_Store' --exclude='*.log' --exclude='node_modules' --exclude='dashboard.tgz' -czvf dashboard.tgz ./"
},
"dependencies": {
"@misk/common": "0.1.15",
"@misk/core": "0.1.15",
"@misk/simpleredux": "0.1.15",
"@misk/common": "0.1.16-3",
"@misk/core": "0.1.16-3",
"@misk/simpleredux": "0.1.16-3",
"@blueprintjs/core": "3.16.0",
"@blueprintjs/datetime": "3.10.0",
"@blueprintjs/icons": "3.9.0",
Expand Down Expand Up @@ -52,10 +52,10 @@
"styled-components": "4.3.2"
},
"devDependencies": {
"@misk/dev": "0.1.15",
"@misk/prettier": "0.1.15",
"@misk/test": "0.1.15",
"@misk/tslint": "0.1.15",
"@misk/dev": "0.1.16-3",
"@misk/prettier": "0.1.16-3",
"@misk/test": "0.1.16-3",
"@misk/tslint": "0.1.16-3",
"@types/history": "4.7.2",
"@types/jest": "24.0.15",
"@types/node": "11.13.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/tabs/palette-exemplar/miskTab.json
Expand Up @@ -10,7 +10,7 @@
"relative_path_prefix": "",
"slug": "palette-exemplar",
"useWebpackExternals": true,
"version": "0.1.15",
"version": "0.1.16-3",
"zipOnBuild": true,
"___DeprecatedKeys": "Any keys below this point in your miskTab.json are deprecated and can be safely removed."
}
14 changes: 7 additions & 7 deletions examples/tabs/palette-exemplar/package.json
Expand Up @@ -19,9 +19,9 @@
"zip": "tar --exclude='.gitignore' --exclude='.old_build_files' --exclude='package.json' --exclude='package-lock.json' --exclude='prettier.config.js' --exclude='tsconfig.json' --exclude='tslint.json' --exclude='webpack.config.js' --exclude='yarn.lock' --exclude='demo' --exclude='lib' --exclude='.DS_Store' --exclude='*.log' --exclude='node_modules' --exclude='palette-exemplar.tgz' -czvf palette-exemplar.tgz ./"
},
"dependencies": {
"@misk/common": "0.1.14",
"@misk/core": "0.1.14",
"@misk/simpleredux": "0.1.14",
"@misk/common": "0.1.15",
"@misk/core": "0.1.15",
"@misk/simpleredux": "0.1.15",
"@blueprintjs/core": "3.16.0",
"@blueprintjs/datetime": "3.10.0",
"@blueprintjs/icons": "3.9.0",
Expand Down Expand Up @@ -53,11 +53,11 @@
"styled-components": "4.3.2"
},
"devDependencies": {
"@misk/dev": "0.1.14",
"@misk/prettier": "0.1.14",
"@misk/test": "0.1.14",
"@misk/dev": "0.1.15",
"@misk/prettier": "0.1.15",
"@misk/test": "0.1.15",
"jest-emotion": "10.0.11",
"@misk/tslint": "0.1.14",
"@misk/tslint": "0.1.15",
"@types/history": "4.7.2",
"@types/jest": "24.0.15",
"@types/node": "11.13.1",
Expand Down
Binary file modified examples/tabs/palette-exemplar/palette-exemplar.tgz
Binary file not shown.
8 changes: 5 additions & 3 deletions examples/tabs/palette-exemplar/src/ducks/index.ts
Expand Up @@ -3,6 +3,7 @@ import {
dispatchSimpleNetwork,
IDispatchSimpleForm,
IDispatchSimpleNetwork,
IRouterProvidedProps,
ISimpleFormImmutableState,
ISimpleFormState,
ISimpleNetworkImmutableState,
Expand Down Expand Up @@ -46,9 +47,10 @@ export interface IState {
* Dispatcher
*/
export interface IDispatchProps
extends IDispatchSimpleForm,
IDispatchSimpleNetwork,
IDispatchPaletteExemplar {}
extends IRouterProvidedProps,
IDispatchSimpleForm,
IDispatchSimpleNetwork,
IDispatchPaletteExemplar { }

export const rootDispatcher: IDispatchProps = {
...dispatchSimpleForm,
Expand Down

0 comments on commit 70c2bcc

Please sign in to comment.