Commit Graph

97 Commits

Author SHA1 Message Date
answershuto 89cc8ee4fa fix: fix frames with multiple 2023-04-15 14:22:51 +08:00
ClarkXia be9816f996
chore: update versions (#6089)
* chore: update versions

* Update CHANGELOG.md

* Update CHANGELOG.md
2023-03-30 13:22:49 +08:00
水澜 4e1d906560
fix: resue route paths (#6074)
* refactor: resue route paths

* chore: add changeset

* fix: type

* refactor: don't pass data cache

* fix: lint

* fix: should include layout file
2023-03-29 19:34:06 -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
ClarkXia ee4141d5c3
chore: update dependencies (#6026)
* chore: update dependencies

* chore: remove empty line

* chore: update swc version

* Revert "chore: update swc version"

This reverts commit 47c62bbe56.

* fix: update lock

* chore: update lock

* fix: bump @swc/core and swc plugins version

* chore: update changelog

* chore: update changelog

* fix: update lock
2023-03-21 17:00:31 +08:00
ClarkXia b119e346e7
chore: update versions (#6005)
* chore: update versions

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2023-03-16 13:29:42 +08:00
水澜 0c61f469af
fix: pha with data loader (#6029)
* fix: prevent data loader side effect code to breack pha

* chore: add changeset

* fix: campat build manifest

* fix: changelog

* fix: replace envs

* fix: build options

* fix: changelog

* fix: type
2023-03-09 03:53:28 -08:00
github-actions[bot] e3ca513f56
chore: update versions (#5949)
* chore: update versions

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-03-02 13:55:59 +08:00
ClarkXia 56fb406e8a
fix: import path of types and runtime (#5981)
* fix: import path of types and runtime

* chore: package.json

* chore: add changelog

* fix: typings

* fix: type declare
2023-02-28 15:08:10 +08:00
长喆 1c09e79e3f
Feat/pha: support plugin-pha interface optional (#5978)
* feat: interface optional

* chore: add changesets

* fix: change version type
2023-02-27 18:16:40 -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
染陌同学 73ae8bf4f7
Fix/custom appworker (#5946)
* fix: fix app-worker can't work when set custom name

* chore: add changelog

* chore: add changeset
2023-02-21 18:12:24 -08:00
github-actions[bot] a20807b473
chore: update versions (#5930)
* chore: update versions

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-02-20 11:15:53 +08:00
染陌同学 b993b89dd0
fix: dev manifest should work when manifest has not tabbar (#5941)
* fix: dev manifest should work when manifest has not tabbar

* chore: add changelog
2023-02-20 10:22:25 +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
ClarkXia c893a64a1c
chore: changeset config (#5909)
* chore: reset version

* fix: changeset

* chore: publish beta

* chore: update pre

* chore: custom version

* chore: remove test

* fix: version

* chore: test case

* chore: version

* fix: reset changelog

* fix: update lock

* fix: changelog

* chore: release beta version

* chore: add changeset

* chore: release beta version

* chore: update @ice/app version

* chore: update version and lock

---------

Co-authored-by: luhc228 <luhengchang228@126.com>
2023-02-16 16:11:49 +08:00
染陌同学 abc9a1dabd
chore: preload should be false default (#5927) 2023-02-15 22:47:33 -08:00
染陌同学 5877a5fb80
feat: support configure for resource_prefetch (#5908) 2023-02-13 18:05:47 -08:00
ZeroLing 895f423898
Fix/pha print once (#5859)
* fix: pha logout message print once

* chore: add CHANGELOG and bump version
2023-02-13 15:11:02 +08:00
luhc228 db495382b2
feat: use changeset to publish and version (#5864)
* feat: add changesets config

* chore: remove version publish scripts

* chore: update ci workflow

* chore: update checkout branch step

* chore: lock

* fix: lost scripts

* fix: ts type error

* chore: remove scripts

* chore: update README

* chore: update lock

* chore: update dependency and script

* chore: remove version check

* chore: add publishConfig to package.json

* chore: update ci step

* chore: update release:beta script

* chore: add private field to examples

* chore: remove registry

* chore: update lock

* chore: update ci workflow

* chore: update workflow

* chore: update README

* chore: update changeset README

* chore: update cache key

* feat: update cache

* chore: update cache config
2023-02-13 14:48:34 +08:00
染陌同学 c47fa3e4de
chore: add changelog for plugin pha (#5883) 2023-02-09 18:00:19 -08:00
ClarkXia 585f093772
chore: bump version of build-scripts (#5858) 2023-02-02 20:14:06 +08:00
ClarkXia 39b181d54d
chore: changelog (#5849) 2023-02-02 17:45:34 +08:00
水澜 23f4d86bf4
refactor: html to js (#5838)
* refactor: html to js

* fix: config

* revert: keep renderToEntry

* fix: types

* refactor: simplify dist type

* chore: changelog
2023-02-02 16:47:16 +08:00
染陌同学 1b1b2bbb09
Feat/support dynamic data loader pha (#5808)
* feat: add dynamicDataLoaders

* feat: support dynimic dataLoader in PHA

* feat: remove dynamicDataLoaders

* feat: add swc config

* fix: should get key from detail

* chore: modify type

* feat: support dev server

* fix: don't remove app-worker.ts

* chore: add build-script

* chore: remove log

* chore: dealwith cr

* fix: should checkout dataloaderConfig

* chore: update lock

* chore: remove keepPlatform

* chore: modify type

* chore: update lock

* fix: modify ejs

* chore: dealwith warning
2023-02-02 15:59:54 +08:00
ZeroLing 8a94c4b503 Merge branch 'master' into release/3.1.0 2023-01-13 16:39:56 +08:00
染陌同学 ccb0d86aa0
feat: pha preload (#5796)
* feat: support preload source for PHA

* feat: support resource_prefetch to preload resource

* chore: remove htmlparser

* feat: stylesheet rel should be stylesheet

* feat: take out the page preload and assign it to root

* feat: updatelock

* chore: modify type

* chore: modify version and changelog

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-01-12 14:21:16 +08:00
ZeroLing 9f2ee217c2 Merge branch 'release/3.0' into release/3.1.0 2023-01-12 13:57:41 +08:00
ClarkXia b551b33e33
chore: changelog (#5813)
* chore: changelog

* chore: version
2023-01-11 18:41:37 +08:00
ZeroLing 914a5e7e55 Merge branch 'release/3.0' into release/3.1.0 2023-01-09 22:00:36 +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
长喆 fc408b9235
Fix(plugin-pha): getRouteIdByPage (#5753)
* feat: map route page to page id

* feat: map route page to page id

* feat: finish examples

* fix: route key

* feat: add layout to dataloader

* Update manifestHelpers.ts

* feat: name staticDataLoaders
2023-01-03 22:58:14 -08:00
ClarkXia 6892bca40b
feat: update esbuild and refactor server compiler (#5708)
* feat: upate esbuild and refactor server compiler

* fix: update lock

* fix: lock

* fix: log level

* feat: support incremental compile

* chore: optimize code
2022-12-20 15:44:46 +08:00
染陌同学 a44e145088
Feat/support js entry bundle (#5615)
* feat: modify generateHtml to generateEntry

* feat: support entry

* chore: update lock

* feat: support extra script

* feat: add config for entry

* feat: support entryType

* feat: add documentToJs

* feat: remove ejs to template

* chore: modify entry to output

* feat: add dom render

* chore: update lock

* chore: should publish templates

* feat: modify type and merge config

* feat: remove setConfig for output

* chore: modify jsOutput

* feat: add paths of outputs

* fix: should get data when after.start.compile

* feat: support dev

* feat: modify dist type

* chore: modify htmlOutput

* fix: modify dirname

* chore: modify dirname

* chore: add type for __ICE__CREATE_ELEMENT

* test: add test for domRender

* feat: add renderToHTML

* chore: modify platform

* chore: version

* fix: remove dataloaderFetcher (#5687)

* fix: remove dataloaderFetcher

* chore: add changelog

* docs: add docs of cumstom render for document (#5689)

* Fix/appear ref (#5693)

* fix: fix ref of Visibility

* chore: modify version

* feat: modify type of ref

* feat: fix appear and add test

* chore: add default value to urls

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-12-18 19:40:52 -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
luhc228 e041933de4
fix: optimize log (#5688)
* fix: process exits directly when has error

* fix: log duplicated log on server compiler

* fix: can not start dev server

* chore: add error log

* chore: version and changelog

* chore: version

Co-authored-by: ZeroLing <i@zeroling.com>
2022-12-14 20:17:16 +08:00
染陌同学 0e8b583e1d
fix: plugin pha with build error (#5696)
Co-authored-by: ZeroLing <zhuoling.lcl@alibaba-inc.com>
2022-12-11 22:22:06 -08:00
ClarkXia 5aa0eb1395
chore: version and changelog (#5679) 2022-12-08 11:34:03 +08:00
染陌同学 4eaaa4098c
feat: add pha query (#5666)
* feat: add pha query

* chore: add version and changelog
2022-12-07 19:03:35 -08:00
染陌同学 e78d214427
feat: title should transform (#5667)
* feat: title should transform

* chore: add version and changelog

Co-authored-by: ZeroLing <i@zeroling.com>
2022-12-07 04:00:06 -08:00
染陌同学 25adda2eb6
fix: fix dev path for pha (#5661)
* fix: fix dev path for pha

* chore: dealwith lint

* chore: modify version and changelog
2022-12-06 23:28:10 -08:00
ZeroLing 31eb662648
chore: update repo and changelog (#5618)
* chore: add changelog and docs update

* docs: update docs repo

* Update CHANGELOG.md
2022-11-24 19:11:13 +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
染陌同学 3092f2ba60 feat: default value of template should be true (#694) 2022-11-15 19:04:17 +08:00
ClarkXia e21fb48509 fix: release 3.0 2022-11-15 10:37:30 +08:00
ClarkXia f9a3829e63 fix: rename getConfig as pageConfig (#684)
* fix: rename getConfig as pageConfig

* chore: optimize code

* fix: type

* fix: optimzie code
2022-11-15 10:33:11 +08:00
ZeroLing d2c7e0696d chore: optimize (#676)
* chore: optimize with rax-compat docs

* refactor: add mock express types dependency

* refactor: change usage for definePageConfig

* chore: change docs

* docs: ICE to ice.js

* fix: templorary remove the type

* chore: handle with lint problems

* fix: lock file
2022-11-15 10:33:11 +08:00
ClarkXia 7b1cb86299 refactor: type dependencies (#638)
* refactor: types dependencies

* chore: types

* fix: tsconfig

* chore: optimize code

* fix: conflict
2022-11-15 10:33:00 +08:00
ClarkXia 5b61d8acbd feat: support route config type (#595)
* feat: support route config type

* fix: type

* fix: optimize code
2022-11-15 10:32:49 +08:00