Commit Graph

14 Commits

Author SHA1 Message Date
ClarkXia 8d57a24aec
Feat: enhance single router mode without react-router (#6761)
* feat: enhance single router mode without react-router

* fix: test case
2024-01-25 13:21:45 +08:00
ClarkXia b691b9e96c
feat: support remove router even if route count is greater than 1 (#6382)
* feat: support remove router even if route count is greater than 1

* fix: add test case

* Update createService.ts

* Update createService.ts
2023-07-18 15:20:26 +08:00
ClarkXia c4f625a22e
fix: single router optimization (#6310)
* fix: optimize single router

* chore: changelog

* fix: test case

* fix: optimize code
2023-06-13 11:23:40 +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
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
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 aa248063ef feat: support optimize router (#456)
* feat: support optimize router

* feat: export useNavigate

* chore: remove useless code
2022-11-15 10:27:18 +08:00
ClarkXia 0345af7202 chore: remove useless devDependencies (#464) 2022-11-15 10:27:18 +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 f3fc4c702f fix: type of ice plugin (#302)
* fix: standard for ice plugin

* feat: force mts config
2022-11-14 19:46:53 +08:00
ClarkXia 051cf93015 chore: optimize document 2022-11-14 19:44:04 +08:00
luhc228 f510bf65cc fix: fs/promises module not found in node12 (#186)
* chore: fs/promises not works in node12

* chore: use fse instead fs

* fix: build error in pnpm v7
2022-11-14 19:17:22 +08:00
大果 69c7ecb251 feat: support tree-shaking react-router deps when only one route (#86)
* feat: support tree-shaking react-router deps when only one route

* chore: optimize history API

* fix: typo error

* chore: make esbuild compile @ice/runtime add inject env vars

* chore: make esbuild compile @ice/runtime add inject env vars

* chore: resolve conflict

* feat: mock react-router api when disable router

* feat: env

* fix: test

* feat: support dotenv

* chore: add stringify

* chore: lock build-scripts

* feat: add removeHistoryDeadCode userConfig

* fix: duplicate register of routes

* fix: default value of define

* chore: optimize code

* fix: typo

* chore: upgrade react

* fix: code

* chore: optimize matchRoutes

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2022-11-14 19:17:06 +08:00