Commit Graph

22 Commits

Author SHA1 Message Date
染陌同学 39c92e5b0a
fix: format of dataLoaderConfig loader changed (#6384)
* fix: format of dataLoaderConfig loader changed

* chore: modify titleId

* test: modify test
2023-07-12 00:27:43 -07:00
染陌同学 ce94e05489
fix: fix frames error with multiple (#6154)
* fix: fix frames error with multiple

* chore: add changeset
2023-04-16 23:07:56 -07:00
染陌同学 d4f943fb42
feat: support downgradeUrl (#6161) 2023-04-16 21:06:09 -07:00
染陌同学 83af2887c8
Feat/support pullfresh (#6121)
* feat: support page of pullrefresh

* feat: support pull refresh

* chore: add changeset and test
2023-03-29 19:05:58 -07:00
ClarkXia 085498aa8a
feat: support plugin API of excuteServerEntry (#6097)
* feat: support plugin API of excuteServerEntry

* fix: build error

* chore: optimize code

* fix: remove cache for excute server entry
2023-03-22 17:53:24 +08:00
染陌同学 6824ad630e
fix: modify type of config and fix data of prefetch is decamelized (#5973)
* fix: modify type of config and fix data of prefetch is decamelized

* chore: add changeset

* chore: add test

* chore: remove only of test

* chore: dealwith warning
2023-02-24 03:19:06 -08:00
染陌同学 97ad30edef
fix: template should work for tabBar (#5925)
* fix: template should work for tabBar

* chore: add test for template tabBar
2023-02-16 18:21:46 -08:00
染陌同学 d1a5bf098c
feat: support enable_expired_manifest (#5731)
* feat: support enable_expired_manifest

* feat: modify enableExpiredManifest

* test: add test for enableExpiredManifest

* chore: modify type

* chore: modify type
2023-01-04 23:45:18 -08:00
染陌同学 c72c7d3b08
feat: support PHA static dataloader to manifest (#5685)
* feat: get dataloader config from pages

* feat: Set static dataloader to data_prefetch of manifest

* feat: set static dataloader to data_prefetch of frames

* chore: dealwith lint

* feat: support loaderConfig in middleware

* feat: add getLoadersConfig in index

* chore: modify title

* test: add test for static dataloader of pha

* feat: merge loaders and dataloaderCOnfig

* feat: modify name

* chore: deal with ts

* feat: modify loaders

* feat: modify getDataloaderConfig

* feat: modify loadersconfig

* chore: modify changelog and versiion

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-12-14 19:41:51 -08:00
ClarkXia a1eaf9458f
fix: get route config by route id in plugin pha (#5609)
* fix: route match of plugin pha

* Update manifestHelpers.ts

* chore: changelog
2022-11-23 15:26:52 +08:00
ClarkXia ad531405a8 test: improve test case (#497)
* test: improve test case

* test: compat win32

* test: test case

* test: add test case

* test: add test case

* test: test case for rax-compat

* test: test case for routes

* fix: types error

* fix: to strict equal

* chore: remove unused props

* fix: types

* test: test case for run client app

* chore: remove empty router

* test: test case of run server app

* chore: remove log

* chore: do not remove file by test case

* fix: remove document dependency when run client app

* chore: lint

* chore: remove config

* fix: lint

* chore: lint warning

* fix: test case

* chore: update unplugin
2022-11-15 10:30:52 +08:00
ClarkXia 0d57ab4cad feat: support getAppConfig and getRoutesConfig (#410)
* feat: remove code

* feat: get config

* fix: test case
2022-11-15 10:16:02 +08:00
ClarkXia f803a17191 fix: document is not found when generate pha manifest (#360)
* fix: document is not found when generate pha manifest

* chore: fix test case
2022-11-15 10:13:31 +08:00
ClarkXia 7d6c987b21 feat: pha (#337)
* feat: scaffold of pha plugin

* feat: scaffold of plugin pha

* feat: pha

* feat: manifest type

* feat: add types

* feat: add test case

* fix: optimize code and test case

* feat: add example of pha

* chore: remove yml file

* chore: bump dependencies version

* feat: pha plugin

* test: add test case

* chore: update lock file

* chore: update lock file

* chore: rename option

* fix: get multipile manifest

* chore: optimize code

* fix: add url prefix

* feat: compile appConfig for start command

* feat: optimize code

* chore: optimize document

* fix: add customDataSource

* feat: remove top level code

* fix: remove code

* fix: optimize code

* fix: optimize code

* fix: plugin

* fix: plugin order

* fix: pha

* feat: add test case

* fix: files

* fix: lint

* fix: url public for dev

* fix: jsx transform in build

* fix: fallback value

* fix: basename

* fix: minify code

* fix: basename

* fix: basename

* chore: remove log

* fix: generate pha manifest

* fix: path for page item

* fix: route id

* chore: optimize test case

* fix: default basename

* fix: split chart

* fix: regex for url

* fix: default basename

* feat: support full path

* fix: default value of url

* chore: optimize code

* chore: comments

* fix: remove exports

* chore: readme
2022-11-14 19:51:45 +08:00
ClarkXia 7bd95ad70d Revert "feat: plugin for PHA" (#336) 2022-11-14 19:51:16 +08:00
ClarkXia 3e62eddfa0 chore: optimize test case 2022-11-14 19:48:42 +08:00
ClarkXia 57d4b714b0 fix: get multipile manifest 2022-11-14 19:43:16 +08:00
ClarkXia 24c179dfcc chore: rename option 2022-11-14 19:41:32 +08:00
ClarkXia ce6f850d01 test: add test case 2022-11-14 19:25:41 +08:00
ClarkXia 46eff48ff0 fix: optimize code and test case 2022-11-14 19:23:58 +08:00
ClarkXia c6f7474762 feat: add test case 2022-11-14 19:23:26 +08:00
ClarkXia 6a10474dbd feat: pha 2022-11-14 19:22:08 +08:00