Skip to content

Commit d4cce2e

Browse files
Merge pull request #12 from technote-space/release/next-v0.1.3
release: v0.1.4
2 parents 7c447f3 + daabf1d commit d4cce2e

5 files changed

Lines changed: 691 additions & 720 deletions

File tree

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ GA Framework
2222
</details>
2323
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
2424

25-
## Setup
26-
### yarn
27-
- `yarn setup`
28-
### npm
29-
- `npm run setup`
25+
## Install
26+
```shell script
27+
yarn add @technote-space/ga-framework
28+
```
3029

3130
## Author
3231
[GitHub (Technote)](https://github.com/technote-space)

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@technote-space/ga-framework",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "GA Framework",
55
"author": {
66
"name": "Technote",
@@ -34,7 +34,7 @@
3434
"@material-ui/core": "^4.10.0",
3535
"@mui-treasury/layout": "^4.2.2",
3636
"@technote-space/genetic-algorithms-js": "^0.5.0",
37-
"@technote-space/worker-controller": "^0.2.1",
37+
"@technote-space/worker-controller": "^0.2.2",
3838
"clsx": "^1.1.0",
3939
"keycharm": "^0.3.1",
4040
"moment": "^2.26.0",
@@ -47,14 +47,14 @@
4747
"vis-util": "^4.0.2"
4848
},
4949
"devDependencies": {
50-
"@babel/core": "^7.10.0",
51-
"@babel/plugin-proposal-class-properties": "^7.8.3",
52-
"@babel/plugin-proposal-object-rest-spread": "^7.10.0",
53-
"@babel/plugin-transform-react-inline-elements": "^7.9.0",
54-
"@babel/preset-env": "^7.10.0",
55-
"@babel/preset-flow": "^7.9.0",
56-
"@babel/preset-react": "^7.10.0",
57-
"@babel/preset-typescript": "^7.9.0",
50+
"@babel/core": "^7.10.1",
51+
"@babel/plugin-proposal-class-properties": "^7.10.1",
52+
"@babel/plugin-proposal-object-rest-spread": "^7.10.1",
53+
"@babel/plugin-transform-react-inline-elements": "^7.10.1",
54+
"@babel/preset-env": "^7.10.1",
55+
"@babel/preset-flow": "^7.10.1",
56+
"@babel/preset-react": "^7.10.1",
57+
"@babel/preset-typescript": "^7.10.1",
5858
"@commitlint/cli": "^8.3.5",
5959
"@commitlint/config-conventional": "^8.3.4",
6060
"@types/node": "^14.0.5",
@@ -80,8 +80,8 @@
8080
"scripts": {
8181
"build": "tsc",
8282
"test": "yarn lint",
83-
"lint": "eslint './src/app/**/*.{ts,tsx}' --cache",
84-
"lint:fix": "eslint --fix './src/app/**/*.{ts,tsx}'",
83+
"lint": "eslint './src/**/*.{ts,tsx}' --cache",
84+
"lint:fix": "eslint --fix './src/**/*.{ts,tsx}'",
8585
"update": "npx ncu -u && yarn install && yarn upgrade && yarn audit"
8686
}
8787
}

src/assets/images/loading.svg

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/types.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ export type AppOptions = {
1818
afterHeaderTitle?: () => FC;
1919
};
2020
store?: {
21-
state?: (state: object) => object;
22-
reducer?: (store: object, action: object) => object;
21+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
22+
state?: (state: { [key: string]: any }) => { [key: string]: any };
23+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
24+
reducer?: (store: { [key: string]: any }, action: { [key: string]: any }) => { [key: string]: any };
2325
};
2426
// eslint-disable-next-line @typescript-eslint/no-explicit-any
25-
controllerListener?: (dispatch: Function, result: any) => void;
27+
controllerListener?: (dispatch: (action: { [key: string]: any }) => void, result: any) => void;
2628
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2729
getWorkerContext?: () => any;
2830
}

0 commit comments

Comments
 (0)