Commit Graph

284 Commits

Author SHA1 Message Date
ClarkXia 44bba1843a
fix: export types (#3887) 2020-12-03 15:05:21 +08:00
ClarkXia 01e2d48d4a chore: version 2020-12-03 14:57:53 +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 cf43e0b163 chore: release version 2020-11-12 15:46:05 +08:00
fushen f15255c5cf fix: injectBabel 2020-11-09 16:06:44 +08:00
fushen 3f91638c09 feat: support pages which not under the src/pages 2020-10-30 16:01:17 +08:00
Hengchang Lu 6c1d7bc2de
chore: icejs v1.10.0-beta (#3737) 2020-10-29 16:17:38 +08:00
Hengchang Lu d5aa323a3d
fix: store types not existed (#3729) 2020-10-28 17:17:21 +08:00
chenbin92 9ba0ae4571
docs: replace createApp with runApp (#3643) 2020-10-21 11:09:25 +08:00
Hengchang Lu f2e8baff56
fix: rax store of null (#3641) 2020-10-13 16:14:20 +08:00
狒狒神 e1aadd4528
chore: bump version (#3622) 2020-10-12 20:56:32 +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
思忠 9d1838ddc5 chore: publish icejs@1.9.0 2020-09-03 17:24:30 +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
思忠 2501c9bb68 chore: publish icejs@1.7.2 2020-08-17 10:51:31 +08:00
思忠 2eb6c33826 chore: publish icejs@1.7.1-beta 2020-08-13 16:36:37 +08:00
f00bar 159f7aa668
fix: get src dir from entry (#3422) 2020-08-13 10:52:07 +08:00
chenbin92 2272f1838c
chore: update version (#3409)
* chore: update version

* chore: use latest version
2020-08-10 14:55:42 +08:00
chenbin92 974e0a0152
feat: support use react write miniapp (#3393) (#3344) 2020-08-06 17:48:19 +08:00
思忠 468b54dfa1 v1.6.4-alpha.0 2020-07-30 10:36:39 +08:00
思忠 943b267519 v1.6.3 2020-07-09 15:53:14 +08:00
思忠 014641ef40 v1.6.3-alpha.1 2020-07-09 15:20:25 +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
思忠 a223f053a5 v1.6.3-alpha.0 2020-07-08 17:21:01 +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
思忠 c8f23b7b72 v1.6.2 2020-07-02 13:57:54 +08:00
思忠 909a39b0f8 v1.6.2-alpha.0 2020-07-02 11:54:11 +08:00
思忠 507624d291 v1.6.1 2020-06-30 11:09:45 +08:00
思忠 403bede88f v1.6.1-alpha.0 2020-06-30 10:36:23 +08:00
思忠 60a12793b7 v1.6.0 2020-06-22 16:36:39 +08:00
思忠 2643f28470 v1.6.0-alpha.2 2020-06-22 16:17:25 +08:00
Hengchang Lu c84011a98a
Feat: support prerender (#3252)
* feat: init plugin-prerender

* feat: support minify and renderer

* feat: add example

* feat: support mpa prerender

* fix: fix entryName

* docs: add prerender docs

* docs: add README.md

* docs: update docs

* fix: fix by the comment

* fix: fix ci problem

* fix: fix ci problem

* fix: fix by the comment

* docs: update docs

* docs: update docs

* docs: update docs

* v1.6.0-alpha.0

* docs: add nginx deploy docs

* docs: optimize

* docs: update prerender docs

Co-authored-by: 思忠 <chenbinbin.cb@alibaba-inc.com>
2020-06-22 14:48:13 +08:00
思忠 7b19bfbd18 v1.6.0-alpha.1 2020-06-18 11:16:03 +08:00
思忠 9699162c17 v1.5.0 2020-06-08 14:45:07 +08:00
思忠 3bda971349 v1.5.0-alpha.2 2020-06-08 12:39:10 +08:00
思忠 b5f5aa5fad v1.5.0-alpha.1 2020-06-08 10:54:26 +08:00
chenbin92 a2d991b001
Feat/enhance useRequest (#3243)
* feat: integration ahooks useRequest

* refactor: useRequest types

* chore: fix lint

* refactor: rename template

* docs: add useRequest api

* feat: useRequest test (#3247)

* feat: setup test environment

* feat: add request test

* feat: add useRequest test

* fix: remove codecov.yml

* fix: exclude test in tsconfig

* fix: ci scripts

* chore: optimize code

* refactor: workflows

* fix: add react-test-renderer deps

* feat: useRequest test case

* feat: codecov ci

* chore: optimize code

* chore: update yarn lock
2020-06-08 09:49:38 +08:00
思忠 03828281ec v1.5.0-alpha.0 2020-06-04 16:39:05 +08:00
chenbin92 5e85122f0e
fix: ignore dot file (#3248)
* fix: ignore dot file

* fix: match rule
2020-06-04 10:26:42 +08:00
思忠 bebc7bc64f v1.4.0 2020-05-25 16:43:16 +08:00
思忠 a81e834cb6 v1.4.0-alpha.2 2020-05-25 15:56:35 +08:00
思忠 00a821a2c0 v1.4.0-y.0 2020-05-25 15:51:02 +08:00
思忠 a746905929 v1.4.0-alpha.1 2020-05-25 14:57:17 +08:00
思忠 c70f7eda8c v1.4.0-alpha.0 2020-05-25 09:01:52 +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
思忠 dda52a4c1c v1.3.0 2020-05-14 16:37:27 +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
思忠 c4b6dde4a3 v1.2.2-alpha.3 2020-05-14 13:42:05 +08:00
chenbin92 c8bcd14c84
feat: enhance use request types (#3195)
* feat: enhance useRequest types

* chore: remove comments

* docs: useRequest usage

* v1.2.2-alpha.2

* docs: add withFullResponse api

* docs: refactor request docs

* chore: typo

* chore: useRequest docs

* docs: fix typo

* docs: optimize title
2020-05-14 13:23:57 +08:00
chenbin92 b5c10cbb77
fix: upgrate react-dev-utils (#3190)
* fix: upgrate react-dev-utils

* v1.2.2-alpha.1

* fix: set transportMode to ws

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2020-05-11 22:41:27 +08:00
chenbin92 a6f265a2dd
fix: repository url (#3192) 2020-05-11 14:15:16 +08:00
思忠 88656e076e fix: compatible with the index page 2020-05-10 00:53:37 +08:00
ClarkXia a95e53346c fix: disable eslint by default (#295)
* fix: disable eslint by default

* chore: remove plugin-rml

* chore: version

* v1.2.1-alpha.1

* v1.2.1
2020-04-28 18:55:36 +08:00
思忠 183b1d9b61 v1.2.0 2020-04-27 16:58:50 +08:00
思忠 2a6632f55f v1.2.0-alpha.2 2020-04-27 16:21:53 +08:00
思忠 60641c08e3 v1.2.0-alpha.1 2020-04-27 12:20:01 +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
思忠 91c1b7029b v1.2.0-alpha.0 2020-04-26 16:12:11 +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
思忠 09a372429d v1.1.8 2020-04-20 21:19:23 +08:00
chenbin92 7af8eda679 fix: regex optimize (#258) 2020-04-20 20:45:09 +08:00
思忠 80590ef932 v1.1.7 2020-04-20 17:20:19 +08:00
思忠 6b995839f7 v1.1.7-alpha.1 2020-04-20 17:02:14 +08:00
chenbin92 8b5bf55743 fix: pass props to component (#256) 2020-04-20 16:55:12 +08:00
思忠 29d3388baf v1.1.6 2020-04-20 14:13:54 +08:00
思忠 98db9394cc v1.1.6-alpha.2 2020-04-20 10:22:02 +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
思忠 8e4f9f9a93 v1.1.6-alpha.1 2020-04-17 15:01:51 +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
chenbin92 055f4555ef chore: ci support dependency check (#238)
* feat: support dependency check

* feat: setup ci

* fix: move dependency-check to devDependencies

* chore: fix lint

* fix: update yarn lock

* chore: test ci

* chore: add the missing dependencies

* fix: use fs-extra@8.x
2020-04-14 21:22:34 +08:00
思忠 278c868c90 v1.1.5 2020-04-08 18:58:50 +08:00
ClarkXia 4abd05d04c v1.1.5-alpha.5 2020-04-08 18:34:34 +08:00
liuxiong.lx ea05224a6d v1.1.5-alpha.4 2020-04-08 17:46:39 +08:00
思忠 6e95a41c22 v1.1.5-alpha.2 2020-04-08 16:39:45 +08:00
思忠 4a91d50943 v1.1.5-alpha.1 2020-04-08 13:47:50 +08:00
思忠 eff5dccf67 v1.1.5-alpha.0 2020-04-08 12:23:32 +08:00
思忠 b5bd477b91 v1.1.4 2020-04-07 23:10:49 +08:00
思忠 5a44a79a01 v1.1.4-alpha.8 2020-04-07 19:52:47 +08:00
思忠 749993279c fix: add prettier to plugin-store 2020-04-07 19:33:12 +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
思忠 9b0f651818 v1.1.4-alpha.6 2020-04-07 12:16:41 +08:00
chenbin92 88b9ef6ef6 fix: use initialStates (#221) 2020-04-07 12:09:40 +08:00
思忠 6a0f045446 v1.1.4-alpha.5 2020-04-07 11:45:22 +08:00
思忠 431f4e6788 v1.1.4-alpha.4 2020-04-07 11:32:38 +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
思忠 f7531b7360 v1.1.4-alpha.3 2020-04-03 21:29:55 +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
思忠 c676c9073b v1.1.4-alpha.2 2020-04-03 16:48:56 +08:00
思忠 f899727e2d v1.1.4-alpha.1 2020-04-02 14:33:50 +08:00
思忠 8d26a1838f v1.1.4-alpha.0 2020-03-31 21:05:55 +08:00
思忠 4d39cb638f v1.1.3 2020-03-30 17:09:40 +08:00
思忠 c331cc12e4 v1.1.3-alpha.4 2020-03-30 16:35:34 +08:00
chenbin92 e90fd6d988 fix: lint error (#190) 2020-03-30 14:04:55 +08:00
大果 37044ae198 chore: revert beforeload (#185)
* Revert "Feat/enhance request (#161)"

This reverts commit 04f50b1104de5dbe8908c1bb4c2ccb904fc18f59 [formerly 0ceed05e05].

* v1.1.3-alpha.3
2020-03-27 23:38:45 +08:00
chenbin92 3a937d379b chore: fix lint (#183) 2020-03-27 18:54:23 +08:00
思忠 bf8d2ec70f v1.1.3-alpha.2 2020-03-27 18:35:28 +08:00
思忠 491d5b5c70 v1.1.3-alpha.1 2020-03-27 17:26:50 +08:00
liuxiong.lx b5c0e2e592 v1.1.3-alpha.0 2020-03-26 22:44:00 +08:00
chenbin92 2b88dd9625 fix: semicolons is required (#162) 2020-03-26 17:17:09 +08:00
ClarkXia 80c746f52a chore: release 1.1.2 (#154)
* fix: fs-extra dependency

* v1.1.2-alpha.0

* v1.1.2

Co-authored-by: liuxiong.lx <liuxiong.lx@alibaba-inc.com>
2020-03-24 17:30:02 +08:00
大果 f844fd113e chore: release v1.1.1 (#152) 2020-03-24 16:26:53 +08:00
liuxiong.lx e6d775ba6d v1.1.1-alpha.2 2020-03-24 15:37:20 +08:00
liuxiong.lx 50981ba8fb v1.1.1-alpha.1 2020-03-24 14:11:05 +08:00
大果 fe2f654463 fix: add dependencies (#148) 2020-03-24 13:27:27 +08:00
ClarkXia 23910f4181 fix: add dependencies 2020-03-24 11:36:43 +08:00
liuxiong.lx f6d68f8368 chore: 1.1.0-alpha.0 2020-03-24 09:47:21 +08:00
liuxiong.lx 9bb071d91c chore: version 2020-03-23 17:48:15 +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
思忠 b3b82b6ca0 v1.0.16 2020-03-17 14:14:37 +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
思忠 916e38c16c v1.0.15 2020-03-12 22:27:33 +08:00
思忠 e0cafb925e v1.0.15-alpha.0 2020-03-12 21:34:01 +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
chenbin92 8fae66d1ae chore: update basic-mpa example (#103)
* chore: upgrade icestore version (#90)

* chore: remove unnecessary code

* fix: icestore version

* chore: update basic-mpa example

* chore: update yarn lock

* chore: code optim
2020-03-11 18:09:04 +08:00
思忠 49aa13b3e8 v1.0.14 2020-03-07 00:03:26 +08:00
思忠 54afb4083e v1.0.13 2020-03-06 23:09:56 +08:00
思忠 44f944c89c v1.0.13-alpha.3 2020-03-06 22:05:20 +08:00
思忠 ea43ddafcc chore: add types file 2020-03-06 22:04:33 +08:00
思忠 2320a547a6 v1.0.13-alpha.2 2020-03-06 20:35:42 +08:00
思忠 5b21ab6c28 v1.0.13-alpha.1 2020-03-06 15:04:17 +08:00
思忠 36b8f21b4d v1.0.13-alpha.0 2020-03-05 17:00:35 +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
大果 5829234da2 refactor: store example (#81)
* refactor: store example

* chore: remove spa-base example

* refactor: better store example
2020-03-05 16:51:27 +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
思忠 58d7e8f2e3 v1.0.12 2020-02-27 21:58:43 +08:00
思忠 39399877fe v1.0.12-alpha.1 2020-02-27 21:46:22 +08:00
思忠 b5f0339c74 v1.0.12-alpha.0 2020-02-26 23:41:51 +08:00
思忠 2c6c1b4647 v1.0.11 2020-02-25 21:28:06 +08:00
思忠 ef91327284 v1.0.11-alpha.0 2020-02-25 21:07:42 +08:00
chenbin92 20cdc55db0 fix: format path (#58) 2020-02-25 18:53:06 +08:00
思忠 a21af67ae2 v1.0.10 2020-02-24 20:05:33 +08:00
思忠 ab9c70c185 v1.0.10-alpha.0 2020-02-24 19:42:37 +08:00
思忠 5157ecb2e6 refactor: code optim 2020-02-24 18:21:49 +08:00