Skip to content

Commit

Permalink
prepare 1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ShMcK committed Sep 30, 2018
1 parent 0f58064 commit 6372d24
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 65 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2018-09-27
### Added
- 6 mint leaves, 3/4oz simple syrup, 3/4oz lime juice, 1oz rum, 2oz club soda. Happy 1.0!


## [1.0.0-beta.5] - 2018-06-27
### Added
- Added `model.baseReducer` for using normal redux reducers within a model [#450](https://github.com/rematch/rematch/pull/446). Additional `model.reducers` run after the baseReducer to produce the final state. See [model.baseReducer](https://github.com/rematch/rematch/blob/master/docs/api.md#basereducer) for details.
Expand Down
125 changes: 79 additions & 46 deletions package-lock.json

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

15 changes: 7 additions & 8 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "@rematch/core",
"version": "1.0.0-beta.5",
"version": "1.0.0",
"description": "A Redux Framework",
"keywords": [
"@rematch",
Expand Down Expand Up @@ -38,7 +38,6 @@
"build": "npm run clean && rollup -c",
"build:all": "bash ./scripts/build.sh",
"dev": "tsc --watch src",
"postinstall": " node ./scripts/post_install.js",
"install:all": "tsc && bash ./scripts/setup_plugins.sh",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"test": "jest",
Expand All @@ -49,7 +48,7 @@
},
"devDependencies": {
"@types/jest": "^23.3.2",
"@types/node": "^10.9.4",
"@types/node": "^10.11.3",
"bundlesize": "^0.17.0",
"coveralls": "^3.0.1",
"cross-env": "^5.2.0",
Expand All @@ -60,15 +59,15 @@
"redux-persist": "^5.9.1",
"reselect": "^3.0.1",
"rimraf": "^2.6.2",
"rollup": "^0.65.2",
"rollup-plugin-commonjs": "^9.1.6",
"rollup": "^0.66.2",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-typescript2": "^0.17.0",
"rollup-plugin-uglify": "^5.0.2",
"ts-jest": "^23.1.4",
"rollup-plugin-uglify": "^6.0.0",
"ts-jest": "^23.10.2",
"tslint": "^5.11.0",
"typescript": "^3.0.3",
"typescript": "^3.1.1",
"uglify-es": "^3.3.9"
},
"jest": {
Expand Down
10 changes: 0 additions & 10 deletions scripts/post_install.js

This file was deleted.

3 changes: 2 additions & 1 deletion src/typings.d.ts
Expand Up @@ -141,7 +141,7 @@ export type Validation = [boolean | undefined, string]

export interface Model<S = any, SS = S> extends ModelConfig<S, SS> {
name: string,
reducers: ModelReducers<S>,
reducers: ModelReducers<S>,
}

export interface ModelConfig<S = any, SS = S> {
Expand All @@ -150,6 +150,7 @@ export interface ModelConfig<S = any, SS = S> {
baseReducer?: (state: SS, action: Action) => SS,
reducers?: ModelReducers<S>,
effects?: ModelEffects<any> | ((dispatch: RematchDispatch) => ModelEffects<any>),
selectors?: any
}

export interface PluginFactory extends Plugin {
Expand Down

0 comments on commit 6372d24

Please sign in to comment.