Commit Graph

127 Commits

Author SHA1 Message Date
ClarkXia fd44784155
Feat: update react-router for new feature (#6764)
* feat: update react-router for new feature

* feat: export new api of react-router

* fix: merge error
2024-01-31 16:40:43 +08:00
ClarkXia 617484237f
feat: pre-pack bundler (#6601)
* chore: bump rspack version

* fix: bump rspack version

* feat: pre bundle rspack/core

* fix: pre bundle

* fix: import path in esm
2023-11-23 11:16:08 +08:00
ClarkXia fbeaf932cb
chore: update versions (#6509) 2023-09-14 10:58:37 +08:00
luhc228 b8b1d5e41f
fix: source map url in prod files but the sourceMap files not published (#6511)
* fix: source map url in prod files

* chore: changeset
2023-09-06 10:09:59 +08:00
ClarkXia 1ccd3a6ef2 chore: fix type error 2023-08-21 17:38:24 +08:00
ClarkXia f5d155b5f0
feat: support register different bundler (#6440)
* feat: refactor bundler

* fix: refactor getwebpack config

* fix: add start and build

* fix: optimize code

* fix: remove useless file

* chore: remove useless file

* chore: optimize code

* fix: bump build-scripts version

* fix: bump build-scripts version

* chore: refactor file

* feat: refactor shared config

* feat: support rspack config

* fix: reset example

* chore: optimize code

* fix: update css rule

* chore: version

* chore: update lock

* fix: get css modules ident

* feat: support rspack build

* fix: css modules ident rule

* chore: add changelog

* chore: test case

* chore: test case

* chore: optimize code

* fix: compilation.chunks cause performace issue

* fix: hmr

* chore: lint

* feat: support dataLoader in rspack mode

* chore: format

* fix: add dependencies to bundles

* chore: reduce dependencies

* refactor: optimize code
2023-08-21 17:17:17 +08:00
ClarkXia 1dbcfa51a6
chore: bump version of dependencies (#6472)
* chore: bump version of dependencies

* fix: update transform rule

* fix: test case

* chore: update core-js
2023-08-21 16:26:00 +08:00
ClarkXia 8ef8384696
chore: update versions (#6415) 2023-08-03 14:45:10 +08:00
长喆 e40a7cb282
fix(plugin-pha): add attr (#6421) 2023-07-27 02:13:45 -07:00
ClarkXia 9878e74079
chore: update versions (#6387) 2023-07-20 11:52:07 +08:00
染陌同学 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
ClarkXia 76ef029d0c
chore: update versions (#6368) 2023-07-06 16:41:48 +08:00
ClarkXia 110b282b47
feat: support user config htmlGenerating (#6346)
* feat: support user config htmlGenerating to control the generation of html

* fix: add warning

* chore: add user config comments

* Update build.ts

* fix: do not render document when template is false

* fix: comments
2023-07-06 10:41:44 +08:00
ClarkXia 45fbf7d5d7
chore: update versions (#6300) 2023-06-16 10:07:54 +08:00
染陌同学 583c29b3e0
feat: support isPHAAppWorker (#6321)
* feat: support isPHAAppWorker

* feat: remove isPHAWorker from env

* chore: modify changeset
2023-06-14 11:10:04 +08:00
ClarkXia f95bbc2e71
fix: optimize deprecation warning of webpack (#6319)
* fix: optimize deprecation warning of webpack

* fix: changelog
2023-06-14 11:09:13 +08:00
ClarkXia c50367ae9b Revert "fix: backforward for ts error"
This reverts commit ce71f72e46.
2023-06-12 17:21:21 +08:00
ClarkXia ce71f72e46 fix: backforward for ts error 2023-06-12 16:51:12 +08:00
ClarkXia c70c77379d
fix: refactor error handling (#6286)
* fix: refactor error handling

* fix: logger

* fix: sourcemap

* fix: test case

* fix: test

* fix: add brief error message

* fix: changelog and lint
2023-06-08 18:12:12 +08:00
ClarkXia d173faeef4
fix: changelog (#6244) 2023-05-16 17:42:51 +08:00
染陌同学 a878225f59
fix: fix dataLoader is sent repeatedly in PHA (#6062)
* fix: fix dataLoader is sent repeatedly in PHA

* chore: add changeset

* chore: add default wrapper for entry clinet

* feat: add init function to dataLoaderWrapper

* chore: modify number

* feat: modify decorator

* chore: modify decorator

* chore: add no unused vars
2023-05-16 02:10:01 -07:00
ClarkXia 68a95ab8c6
chore: update versions (#6147) 2023-05-16 16:06:21 +08:00
ClarkXia 9c801f6241
fix: bump version of react-router (#6223)
* fix: bump version of react-router

* fix: property of errorElement
2023-05-15 11:35:41 +08:00
染陌同学 922f070012
feat: support dataLoader config for pha plugin (#6156)
* feat: support dataLoader config for pha plugin

* fix: modify dynamic

* chore: modify useAppWorker

* chore: modify dynamic

* chore: modify useAppWorker
2023-05-08 03:00:27 -07:00
逆葵 6f7a47e0b4 chore: update dependencies version 2023-04-25 10:49:28 +08:00
ClarkXia 8f97e538d6
chore: bump build-scripts version to unify esbuild version (#6179) 2023-04-24 14:27:07 +08:00
luhc228 1c3d3fec6c
feat: i18n plugin (#6149)
* feat: antd5 example with i18n

* feat: fusion example with i18n

* feat: init plugin-i18n

* feat: init i18n example

* chore: lock

* feat: add language selector

* feat: i18n route

* feat: getAllLocales and getDefaultLocale API

* fix: ssr render error

* feat: support auto redirect

* fix: redirect without url param

* feat: support add response handler

* chore: lock

* feat: support blockCookie option

* fix: route test

* fix: ssg error

* fix: i18n response

* feat: add server example

* chore: add basename

* chore: add headers

* feat: i18n docs

* fix: i18n plugin

* feat: enhance disable cookie

* docs: update disabledCookie documentation

* chore: update desc

* fix: param not defined

* fix: generate routes.ts

* fix: remove todo

* test: i18n

* test: i18n

* fix: lint warning

* fix: addDefineRoutesFunc to addRoutesDefinition

* chore: i18n plugin version

* chore: changelog

* feat: use modifyRenderData instead of runtimeOptions.raw

* chore: update changelog

* chore: rename param

* fix: comment

* feat: use createLogger instead of consola directly

* feat: change customRuntimeOptions type from string to object

* refactor: route id

* chore: remove unused console.log

* chore: add comment

* fix: win32 test fail

* chore: changelog
2023-04-24 10:18:53 +08:00
NK 71bd7926a2
feat: upgrade esbuild version to v0.17 (#6146)
* feat: upgrade esbuild version to v0.17

* chore: update lock file && add registry

* fix: lint warning
2023-04-20 16:31:33 +08: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
染陌同学 b1e89bc73c
fix: PHA plugin can only run in web (#6155) 2023-04-16 21:06:23 -07:00
染陌同学 d4f943fb42
feat: support downgradeUrl (#6161) 2023-04-16 21:06:09 -07: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