Commit Graph

57 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 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
ClarkXia 9878e74079
chore: update versions (#6387) 2023-07-20 11:52:07 +08:00
ClarkXia 76ef029d0c
chore: update versions (#6368) 2023-07-06 16:41:48 +08:00
ClarkXia 45fbf7d5d7
chore: update versions (#6300) 2023-06-16 10:07:54 +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 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 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
逆葵 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
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
ClarkXia be9816f996
chore: update versions (#6089)
* chore: update versions

* Update CHANGELOG.md

* Update CHANGELOG.md
2023-03-30 13:22:49 +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
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
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
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
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
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
染陌同学 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
染陌同学 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
染陌同学 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
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
染陌同学 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
染陌同学 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
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 2b00899d5d feat: automatic JSX transform of esbuild (#490)
* fix: jsx transform of esbuild

* fix: jsx transform

* chore: optimize code
2022-11-15 10:29:03 +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 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 5d33c97559 fix: files 2022-11-14 19:47:16 +08:00
ClarkXia bde0d45f61 fix: remove code 2022-11-14 19:46:29 +08:00
ClarkXia 842ffeaac9 feat: remove top level code 2022-11-14 19:46:13 +08:00
ClarkXia 599d279165 feat: optimize code 2022-11-14 19:43:16 +08:00