Commit Graph

381 Commits

Author SHA1 Message Date
shuilan.cj dbace390b0 fix: error info 2022-11-14 18:54:37 +08:00
shuilan.cj a943078c07 fix: lint 2022-11-14 18:52:33 +08:00
shuilan.cj c8fdcedf96 refactor: fn name 2022-11-14 18:52:08 +08:00
shuilan.cj 5f7fff3b55 chore: remove dead code 2022-11-14 18:51:14 +08:00
shuilan.cj ee6cd1481e fix: lint 2022-11-14 18:50:38 +08:00
shuilan.cj 3689971527 fix: no-suspense 2022-11-14 18:50:38 +08:00
shuilan.cj 361888e8d6 chore: change params order 2022-11-14 18:50:14 +08:00
大果 2b11d0578e feat: router (#28)
* feat: generate route manifest

* chore: lock

* feat: support generate nested route manifest

* chore: type

* chore: rename test to tests

* chore: remove caseSensitive

* chore: support generate routes

* fix: lint

* fix: lint

* feat: add componentName

* feat: support generate route

* feat: not add Router when only has one page

* fix: merge confict

* refactor: service route generate

* chore: update route-manifest readme

* test: add more route test cases

* chore: remove comment

* test: add invalid routes test case

* chore: update invalid char judge logic

* fix: comment

* fix: lint error

* chore: lock

Co-authored-by: luhc228 <luhengchang228@gmail.com>
2022-11-14 18:49:43 +08:00
shuilan.cj 1c9f8c4207 feat: ssg 2022-11-14 18:05:22 +08:00
shuilan.cj 763452108a fix: lint 2022-11-14 18:03:49 +08:00
shuilan.cj e96d5f8f7d fix: lint 2022-11-14 18:00:23 +08:00
大果 400b31e4e6 feat: support useAppContext API (#26) 2022-11-14 17:54:57 +08:00
大果 a225545066 feat: rework entry (#23)
* feat: rework entry

* chore: setup lock

* fix: createRequire

* fix: IAuth -> AuthConfig
2022-11-14 17:53:49 +08:00
shuilan.cj af020d04b9 feat: ssr entry 2022-11-14 17:52:55 +08:00
liuxiong.lx 72a6f3bfb7 feat: rework entry 2022-11-14 17:52:01 +08:00
大果 6bbc638e45 feat: render router (#17)
* feat: renderRouter

* fix: lint

* fix: test case

* feat: remove renderComponent

* chore: add types

* fix: scripts

* chore: build order

* chore: remove workspace from version

* chore: upgrade lock

* chore: upgrade lock
2022-11-14 17:49:04 +08:00
大果 49ff12f30b feat: runtime structure & output dir (#16)
* chore: optimize runtime

* chore: fix lint

* fix: test case lib -> esm
2022-11-14 17:48:18 +08:00
luhc228 7c171732a3 feat: use esm standard (#14)
* feat: esm

* fix: require in esm

* fix: test fail
2022-11-14 17:47:51 +08:00
ClarkXia 5d43928afe chore: refactor package structrue (#10)
* chore: refactor package structrue

* chore: remove unexpected code

* fix: package info

* chore: fix readme

* chore: version
2022-11-14 17:45:35 +08:00
ClarkXia 282543d2df feat: basic runtime 2022-11-14 17:42:51 +08:00
ClarkXia 6131e93cb5 feat: basic runtime 2022-11-14 17:42:00 +08:00
ClarkXia ac910ed2dc refactor: remove 2.x code 2022-11-14 17:17:45 +08:00
luhc228 dd397109a9
feat: add compatible toString() function (#5399) 2022-07-11 17:51:42 +08:00
ClarkXia 4f833cfe86
chore: version and changelog (#5133)
* chore: changelog

* fix: dts generation

* chore: update lock

* chore: version
2022-01-17 13:57:08 +08:00
ClarkXia a111afa1eb
fix: use process.env.__IS_SERVER__ in SSR (#5119)
* chore: optimize code

* fix: version

* fix: env
2022-01-11 11:40:56 +08:00
ClarkXia 723a8b7b25
feat: SSR in mode vite ssr (#5045)
* feat: vite ssr

* chore: fix unexpected remove

* fix: ts type

* feat: ssr build in vite mode

* chore: optimize code

* fix: optimize code

* fix: ssr in dev

* chore: version and changelog

* feat: support redirect url

* fix: vite ssr

* chore: optimize code

* chore: optimize code

* chore: update lock file

* fix: noExternal with miniapp-history

* feat: support ssg

* feat: isServer

* chore: comment

* chore: rename plugin

* chore: comment

* fix: import env file

* chore: changelog

* chore: ts lint

* fix: env path
2022-01-11 10:36:40 +08:00
luhc228 1b5c693e7a chore: add sideEffects as false to @ice/runtime 2021-11-23 14:38:18 +08:00
luhc228 0c60375dbf chore: version and changelog 2021-11-19 14:41:44 +08:00
luhc228 6735a2bcbb fix: ssg render error 2021-11-19 11:35:21 +08:00
ClarkXia cd7d9bcafd fix: runtime compile 2021-09-17 11:58:32 +08:00
ClarkXia dbe6438e63
feat: lock axios version (#4640)
* feat: lock axios version

* chore: verison
2021-09-17 11:51:46 +08:00