Hengchang Lu
7f748fb3e9
Feat: support page store state reset ( #4167 )
...
* feat: support page store state reset
* chore: update example name
* chore: add example case
* feat: add resetPageInitialStates param
* fix: test
* fix: store test
* chore: example
* fix: restPageState
* fix: name
* fix: comment
* fix: deps
* chore: changelog
* chore: changelog
* chore: store.ts change changelog
2021-04-08 12:08:44 +08:00
Hengchang Lu
989c0f098f
feat: watch store.ts file change ( #4189 )
2021-04-07 10:59:27 +08:00
ClarkXia
cc2db2090f
refactor: generate runtime module ( #4132 )
...
* refactor: generate runtime module
* fix: npm files
* feat: debug runtime as default
* fix: remove moduleName
* fix: ts lint of runtime
* fix: ts error
2021-03-09 18:12:30 +08:00
ClarkXia
b486cf07f1
feat: support react jsx runtime ( #4077 )
...
* feat: react-jsx transform
* feat: support react-jsx
* fix: babel config
* fix: default option
* fix: auto detect of jsx runtime
* feat: userConfig disableJSXTransform
2021-02-22 14:00:23 +08:00
Hengchang Lu
0d156d2e98
Hotfix: store provider in ssr lazy ( #4064 )
2021-01-28 14:37:16 +08:00
Hengchang Lu
d96e222ca6
fix: store getInitialProps error ( #4061 )
2021-01-27 16:18:01 +08:00
fushen
ecdd4aca09
Merge branch 'master' into release/next
2021-01-25 16:41:38 +08:00
ClarkXia
b9afe83e2a
chore: bump dependencies version ( #4034 )
...
* chore: update typescript version
* chore: bump version
* fix: remove css-hot-loader
* fix: eslint
* fix: mini-css-extract-plugin params
* fix: example lint
* fix: example lint
2021-01-25 10:18:15 +08:00
fushen
752e9777d8
fix: store wrapper getInitialProps
2021-01-21 10:41:39 +08:00
Hengchang Lu
72c2c0b829
refactor: remove rax logic in plugin-store ( #3975 )
2021-01-05 11:36:19 +08:00
ClarkXia
0837d131da
feat: support modular import of runtime ( #3982 )
...
* feat: support modular import of runtime
* fix: check config module
* fix: consider with rax-app
2021-01-05 11:26:37 +08:00
Hengchang Lu
3407373520
feat: enhance debug store ( #3984 )
...
* feat: give warning when store or model or index file not existed
* chore: typo
* chore: update code comment
* fix: ci
* fix: comment
* fix: ci
2021-01-05 10:58:34 +08:00
Hengchang Lu
8fae61455c
chore: lint ( #3948 )
2020-12-22 16:25:09 +08:00
Hengchang Lu
1f64063d8f
feat: auto buildin icestore ( #3932 )
2020-12-22 15:32:13 +08:00
ClarkXia
9f4b3a9eb8
refactor: support generator api for plugins ( #3899 )
2020-12-14 10:48:47 +08:00
ClarkXia
44bba1843a
fix: export types ( #3887 )
2020-12-03 15:05:21 +08:00
ClarkXia
5d31f7215e
Release ( #3811 )
...
* feat: support uniqueName of plugin-icestark (#3804 )
* feat: support uniqueName of plugin-icestark
* chore: version
* fix: update userconfig
* fix: ci error
* chore: optimize code
* fix: update userconfig (#3829 )
* fix: update userconfig
* fix: ci error
* chore: optimize code
* fix: component name with dash code in store config (#3824 )
* fix: returns html with UNICODE when Chinese words are passed in ssr (#3819 )
* fix: ssr html decode error
* fix: ssr html decode error
* fix: cheerio decodeEntities config
* fix: package version
* fix: typo mpa (#3826 )
* chore: formate yml
* fix: compatible with undefined options (#3828 )
* fix: compatible with undefined options
* chore: version
* feat: inner plugin ice auth (#3805 )
* feat: inner build-plugin-ice-auth
* feat: compatible with adding plugin
* fix: comment
* refactor: mpa config (#3825 )
* refactor: remove inline loader of entry
* fix: format path in win
* fix: mpa entries
* fix: mpa config
* fix: default src dir when use mpa
* fix: compatible with files do not export component
* feat: support wrappers of Layout component (#3822 )
* feat: support wrappers of Layout
* fix: wrapper router
* chore: remove useless code
* refactor: motify userconfig
* chore: revert minify file
* chore: optimize code
* feat: support off eslint
* feat: support framework custom cli options (#3838 )
* feat: support framework custom cli options
* chore: rename config
* feat: update review
* fix: compatible with build-mpa-config
* fix: default config output dir (#3847 )
* fix: same instance of task config (#3848 )
* feat: ssr fallback (#3837 )
* feat: support ssr fallback
* feat: support csr get ctx
* chore: getInitialContext func
* fix: location undefined
* chore: remove package.json
* chore: remove useless code
* fix: format
* fix: state
* fix: comment
* fix: lint warning
* fix: lint warning
* fix: ci
* docs: update notice of wrappers (#3849 )
* chore: version (#3834 )
* chore: version
* chore: plugin-mpa version
* chore: versions
* chore: plugin-store version
* chore: version
* chore: version
Co-authored-by: fushen <fushen.jzw@alibaba-inc.com>
Co-authored-by: Hengchang Lu <44047106+luhc228@users.noreply.github.com>
Co-authored-by: William <wiolem@hotmail.com>
Co-authored-by: yangfan <18767120422@163.com>
2020-11-23 14:53:22 +08:00
fushen
3f91638c09
feat: support pages which not under the src/pages
2020-10-30 16:01:17 +08:00
Hengchang Lu
d5aa323a3d
fix: store types not existed ( #3729 )
2020-10-28 17:17:21 +08:00
Hengchang Lu
f2e8baff56
fix: rax store of null ( #3641 )
2020-10-13 16:14:20 +08:00
chenbin92
c3b1ad8e72
docs: update store docs ( #3636 )
...
* docs: update store docs
* docs: add tip
* docs: optimize
* docs: add types desc
* docs: export types api
* docs: rename types api
* chore: update store example
2020-10-12 17:38:03 +08:00
chenbin92
e0b150c925
feat: refactor store ( #3555 )
...
* chore: nested page with store example
* chore: add index.html
* feat: support nested layout
* chore: update nested-store example
* chore: remove jest config
* docs: update store guide
* Feat: support create app store (#3590 )
* chore: typo
Co-authored-by: Hengchang Lu <44047106+luhc228@users.noreply.github.com>
Co-authored-by: luhc228 <luhengchang228@gmail.com>
2020-09-28 21:49:59 +08:00
狒狒神
907546003e
feat: the next rax app framework
2020-09-28 20:54:38 +08:00
Hengchang Lu
d1be342e78
hotifx: store is undefined in class component ( #3579 )
2020-09-25 15:53:44 +08:00
思忠
73e8b81cb7
feat: support custom temp dir
2020-09-02 12:06:07 +08:00
狒狒神
821af53150
feat: support store ( #3442 )
2020-08-21 17:56:26 +08:00
f00bar
159f7aa668
fix: get src dir from entry ( #3422 )
2020-08-13 10:52:07 +08:00
chenbin92
974e0a0152
feat: support use react write miniapp ( #3393 ) ( #3344 )
2020-08-06 17:48:19 +08:00
chenbin92
4d25c5a81e
fix: statement error ( #3333 )
2020-07-09 15:13:58 +08:00
chenbin92
7cdd928119
fix: compatible model is empty ( #3325 )
2020-07-09 10:57:39 +08:00
sspku-yqLiu
710e75611c
feat: change module.ts to runtime.ts ( #3323 )
...
* feat: change module.ts to runtime.ts
issue: #3286
* feat: change 'module.ts' in filenames, docs and comments to 'runtime.ts'
* fix: add WARN message when plugins using 'module.ts' & edit comment
2020-07-07 18:01:53 +08:00
chenbin92
5e85122f0e
fix: ignore dot file ( #3248 )
...
* fix: ignore dot file
* fix: match rule
2020-06-04 10:26:42 +08:00
chenbin92
b1cb26d5bb
refactor: store getInitialStates deprecated ( #3222 )
...
* refactor: store getInitialStates deprecated
* fix: lint
* fix: getInitialStates order
* fix: lint rule
* docs: update getInitialData api
2020-05-22 13:58:14 +08:00
chenbin92
fa630bf5a0
Fix/release bugs ( #3205 )
...
* fix: types & log
* v1.2.2-alpha.4
* fix: no match single page file
* v1.2.2-alpha.5
2020-05-14 15:56:58 +08:00
思忠
88656e076e
fix: compatible with the index page
2020-05-10 00:53:37 +08:00
Hengchang Lu
0552a8a704
feat: refactor plugin types ( #285 )
2020-04-27 12:13:21 +08:00
chenbin92
740b6b35b9
feat: support register provider with mpa ( #283 )
2020-04-27 12:03:31 +08:00
chenbin92
d6391b1078
fix: not generate routes when MPA ( #267 )
2020-04-26 15:32:19 +08:00
chenbin92
a2e17db3ce
feat: detect page is export default ( #277 )
...
* feat: detect page is export default
* fix: condition
2020-04-24 14:05:17 +08:00
chenbin92
9f97e10eaf
Release v1.1.9
...
* fix: file path formats on Windows (#270 )
* fix: compatible single file page (#275 )
* v1.1.9
2020-04-23 16:57:43 +08:00
chenbin92
7af8eda679
fix: regex optimize ( #258 )
2020-04-20 20:45:09 +08:00
chenbin92
8b5bf55743
fix: pass props to component ( #256 )
2020-04-20 16:55:12 +08:00
许文涛
5802e3ad0c
Merge pull request #248 from ice-lab/refactor/remove-component-model-logic
...
refactor: remove component model logic
2020-04-20 10:14:04 +08:00
chenbin92
3196f012e1
fix: remove dependent component name ( #246 )
...
* refactor: remove dependent component name
* chore: fix lint
* chore: remove empty line
2020-04-20 10:11:26 +08:00
思忠
7ec6386ea2
fix: watch pages
2020-04-20 10:00:59 +08:00
思忠
e2b5e0e273
refactor: remove component model logic
2020-04-20 00:20:49 +08:00
思忠
c3f76ffeb3
refactor: code optim
2020-04-17 12:30:09 +08:00
chenbin92
a787dd099b
feat: support lazy store ( #236 )
...
* feat: support lazy store
* feat: support component model
* fix: typo
* feat: support store api
* chore: lazy example
* feat: add babelPluginReplacePath
* feat: replace router component path
* feat: add getRoutes util
* feat: support custom routes path
* feat: support replace custom alias
* fix: only transform Import node
* fix: alias key
* fix: only transform pages
* fix: set default alias
* fix: match pages
* fix: calculate relative path
Co-authored-by: 许文涛 <alvin.hui@qq.com>
2020-04-17 12:13:37 +08:00
思忠
d57575d665
fix: move types to template
2020-04-07 17:43:19 +08:00
思忠
ca3fa80519
chore: optimize
2020-04-07 17:05:38 +08:00
思忠
4e8021f824
feat: format code
2020-04-07 16:51:34 +08:00
思忠
3e0acde3da
feat: define AppModel interface
2020-04-07 16:16:27 +08:00
思忠
7eaa882da4
refactor: export store types
2020-04-07 15:41:51 +08:00
chenbin92
88b9ef6ef6
fix: use initialStates ( #221 )
2020-04-07 12:09:40 +08:00
chenbin92
30c09a6ad7
feat: export icestore types ( #212 )
...
* feat: export icestore types
* fix: export IcestoreRootState and IcestoreDispatch
2020-04-07 11:22:24 +08:00
chenbin92
5aa5636dc8
feat: upgrade icestore to 1.3.0 ( #208 )
...
* feat: upgrade icestore to 1.3.0
* fix: remove default key
* refactor: get appConfig
* feat: delay load appStore
* chore: remove store
* chore: update basic-ssr example
* chore: update basic-store example
* chore: update version
* chore: remove log
* chore: add comments
* chore: clear code
* fix: move appConfig alias
2020-04-03 20:48:31 +08:00
chenbin92
e90fd6d988
fix: lint error ( #190 )
2020-03-30 14:04:55 +08:00
chenbin92
3a937d379b
chore: fix lint ( #183 )
2020-03-27 18:54:23 +08:00
chenbin92
2b88dd9625
fix: semicolons is required ( #162 )
2020-03-26 17:17:09 +08:00
chenbin92
077fb17dc6
Release ( #125 )
...
* chore: release v1.1.0
* feat: support ssr (#117 )
* feat: support update apps in layout (#126 )
* fix: wrapper route component with suspense (#112 )
* fix:keep classnames and fnames when minifying (#119 )
* fix: compatible with pages folder (#124 )
* fix: config entry is not effective (#134 )
2020-03-20 23:54:15 +08:00
chenbin92
5d5c22f4d1
Release ( #110 )
...
* fix: wrapper route component with suspense (#112 )
* fix:keep classnames and fnames when minifying (#119 )
* fix: component names
* fix: keep classnames and fnames when minifying
* fix: merge terserOptions
* feat: sync package to tnpm
2020-03-17 12:00:41 +08:00
chenbin92
7bb8c703ef
fix: ts types ( #102 )
...
* fix: request types
* refactor: add icestark types
* refactor: add types to example
2020-03-11 18:52:27 +08:00
ClarkXia
15c315d716
fest: support plugin types ( #48 )
...
* feat: add addIceTypesExport api
* refactor: plugin types
* fix: appConfig is optional
* refactor: add IApp interface
* fix: optional config
* fix: export types
* chore: define types
2020-03-05 16:52:38 +08:00
思忠
6fb16f632f
refactor: code optim
2020-03-03 21:26:11 +08:00
思忠
3268118b57
fix: dynamic registration Provider
2020-03-02 10:43:17 +08:00
chenbin92
20cdc55db0
fix: format path ( #58 )
2020-02-25 18:53:06 +08:00
思忠
5157ecb2e6
refactor: code optim
2020-02-24 18:21:49 +08:00
思忠
1b6ff3bf0f
refactor: register formatWinPath method
2020-02-24 18:01:42 +08:00
思忠
fdee4e4f64
fix: model path
2020-02-24 17:39:53 +08:00
ClarkXia
c88d82920d
chore: lint
2020-02-20 19:58:10 +08:00
ClarkXia
0c38708e38
fix: pass default props in wrapper component
2020-02-20 19:56:46 +08:00
思忠
f5c08c639d
refactor: change usePage to page api
2020-02-18 16:18:17 +08:00
思忠
b8652ce094
refactor: export global store from ice
2020-02-18 14:52:29 +08:00
思忠
a2078932b5
feat: the Provider support initialState properties
2020-02-17 20:15:29 +08:00
思忠
38f82cc335
fix: use default namespace
2020-02-17 17:57:05 +08:00
思忠
2551d6438b
fix: change models to model
2020-02-17 17:13:38 +08:00
思忠
507309a6ac
refactor: automatically mount component static properties
2020-02-14 16:15:54 +08:00
思忠
81d905a11d
fix: pass static properties with wrapperComponent
2020-02-14 15:19:49 +08:00
思忠
eebd118c7e
feat: initial project
2020-02-13 23:14:08 +08:00