Commit Graph

40 Commits

Author SHA1 Message Date
ClarkXia 7f302fa439
chore: update versions (#7126) 2025-07-24 10:01:12 +08:00
ClarkXia 1a08895dc5
chore: update versions (#7115)
CI / build (16.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (16.x, windows-latest) (push) Has been cancelled Details
CI / build (18.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (18.x, windows-latest) (push) Has been cancelled Details
Coverage / coverage (16.x) (push) Has been cancelled Details
Release / Release (16) (push) Has been cancelled Details
* chore: update versions

* Update package.json

* Update CHANGELOG.md
2025-07-02 16:35:46 +08:00
ClarkXia 22b10c0d1c
chore: update versions (#7113)
CI / build (16.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (16.x, windows-latest) (push) Has been cancelled Details
CI / build (18.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (18.x, windows-latest) (push) Has been cancelled Details
Coverage / coverage (16.x) (push) Has been cancelled Details
Release / Release (16) (push) Has been cancelled Details
2025-07-01 09:53:00 +08:00
ClarkXia ebf15cd8c5
chore: update versions (#7077)
Publish canary / Check Changeset exists (push) Has been cancelled Details
CI / build (16.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (16.x, windows-latest) (push) Has been cancelled Details
CI / build (18.x, ubuntu-latest) (push) Has been cancelled Details
CI / build (18.x, windows-latest) (push) Has been cancelled Details
Version / Version (16) (push) Has been cancelled Details
Publish canary / Publish Canary (18) (push) Has been cancelled Details
2025-06-24 10:10:55 +08:00
XGHeaven d27ad76cad
fix(miniapp-runtime): enter same page twice then exit should not throw error (#7104)
Publish canary / Check Changeset exists (push) Waiting to run Details
Publish canary / Publish Canary (18) (push) Blocked by required conditions Details
CI / build (16.x, ubuntu-latest) (push) Waiting to run Details
CI / build (16.x, windows-latest) (push) Waiting to run Details
CI / build (18.x, ubuntu-latest) (push) Waiting to run Details
CI / build (18.x, windows-latest) (push) Waiting to run Details
Version / Version (16) (push) Waiting to run Details
2025-06-04 21:11:02 +08:00
ClarkXia 89de26e969
chore: update versions (#7036)
* chore: update versions

* Update CHANGELOG.md

* Update package.json
2025-03-12 11:26:07 +08:00
ClarkXia f0c2ddee5e
chore: update versions (#7016) 2024-11-25 13:59:33 +08:00
ClarkXia fac9889f84
chore: update versions (#7017)
* chore: update versions

* chore: update package.json

* Update CHANGELOG.md
2024-11-18 11:59:10 +08:00
Bradley Xu 710b2e48a0
feat: improve miniapp (#6985) 2024-11-11 14:41:31 +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 45fbf7d5d7
chore: update versions (#6300) 2023-06-16 10:07:54 +08:00
hzyhbk ed97eccd28
feat: 兼容一套代码同构流式SSR和小程序的模式 (#6268)
* feat: 兼容一套代码同构流式SSR和小程序的模式

* fix: miniapp-runtime 增加 useSuspenseData 注释
2023-06-09 11:35:15 +08:00
ClarkXia 68a95ab8c6
chore: update versions (#6147) 2023-05-16 16:06:21 +08:00
逆葵 39b66b27fb fix: lint warning 2023-04-26 14:51:38 +08:00
逆葵 6f7a47e0b4 chore: update dependencies version 2023-04-25 10:49:28 +08:00
逆葵 c59b5f4c9e Merge branch 'release/next' into feat/miniapp-native-events 2023-04-24 18:05:57 +08:00
ClarkXia 4763bc7666
Refactor: router (#6123)
* chore: refactor unfinished

* feat: support create router

* refactor: render mode

* fix: code splitting false

* feat: add location for icestark

* chore: remove console

* test: examples

* fix: dataloader is undefined

* fix: test

* fix: test case

* fix: test case

* fix: types

* fix: test case

* fix: lock

* fix: update lock

* fix: hydration

* fix: router

* fix: router

* chore: log

* fix: hmr

* fix: test

* fix: test

* chore: optimize code

* Update singleRoute.test.tsx

* fix: types
2023-04-13 12:01:16 +08:00
逆葵 cc448339dc feat(miniapp): set miniappLifecycles default value 2023-04-11 11:18:13 +08:00
逆葵 f79764a5b0 Merge branch 'release/next' into feat/miniapp-native-events 2023-04-10 16:17:05 +08:00
逆葵 925d186dd8 chore: update package.json 2023-03-29 11:00:41 +08:00
逆葵 2d7d4bf1fc Merge branch 'master' into feat/miniapp-native-events 2023-03-28 11:40:52 +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
luhc228 8eee4f0dc9
fix: prebundle esm module error (#5935)
* fix: prebundle esm module error

* fix: test case error

* chore: changeset

* chore: release beta version

* chore: remove unused code and deps

* chore: update comment

* chore: remove debugger

* chore: changeset

* chore: release beta version
2023-02-20 10:22:46 +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
逆葵 e3672cbeaa fix(miniapp): onReady not triggered 2022-11-29 19:29:37 +08:00
逆葵 37da805963 Merge branch 'master' into feat/miniapp-native-events 2022-11-29 17:33:11 +08:00
逆葵 06061f26fd refactor(miniapp): update miniapp page lifecycles hooks 2022-11-29 17:05:53 +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
逆葵 b7afac2d70 feat(miniapp): support app and page native events 2022-11-24 18:06:50 +08:00
逆葵 2c96556e6a refactor(miniapp): use static create method to create instance of EventSource 2022-11-18 11:24:19 +08:00
NK 8a60304b0b Fix/miniapp problems (#671)
* fix(miniapp): page load after getAppData

* docs(miniapp): update miniapp-runtime readme

* feat(miniapp): support turn off rpx2vw using enableRpx2Vw

* chore(miniapp): update example

* fix(miniapp): outputDir is wrong in command line

* fix(miniapp): no log in build command

* fix(miniapp): history type

* chore(miniapp): update example

* feat(miniapp): support enableCache to disable cache in miniapp task

* fix(miniapp): throw error if no getConfig function in page component

* feat(miniapp): add params to specify getData and getConfig

* fix(miniapp): getData/getAppData existence situation

* feat(miniapp): normalize route in history

* fix: lint warning

* feat(miniapp): align Link to props and history.push props

* docs(miniapp): add more articles

* feat(miniapp): support nativeConfig in plugin-miniapp

* feat(miniapp): rename getConfig to pageConfig

* feat(miniapp): rename getData to dataLoader

* fix: lint warning

* docs: fix broken links

* docs(miniapp): update miniapp location and relative links

* Update start.md

Co-authored-by: ZeroLing <i@zeroling.com>
2022-11-15 16:31:24 +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
luhc228 1b38b5eb43 refactor: app provider (#644)
* refactor: app Provider

* feat: add example

* fix: example warning

* fix: AppProvider to AppRuntimeProvider

* feat: miniapp AppRuntimeProvider

* fix: miniapp provider order

* chore: remove type
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 3c5866e533 feat: support static runtime (#609)
* feat: support static runtime

* fix: optimize code

* fix: optimize code

* fix: update app data

* fix: optimize code and add test case
2022-11-15 10:32:49 +08:00
ClarkXia 3be3f6ab5c refactor: miniapp runtime (#597) 2022-11-15 10:32:48 +08:00
NK 7af2915af6 fix(miniapp): lint warning (#562) 2022-11-15 10:32:43 +08:00
NK 3e031c477b feat: miniapp (#333)
* feat(miniapp): use platform in cli to generate miniapp code

* fix: lint error

* feat(miniapp): add miniapp project

* chore: revert example code

* chore: optimize code

* feat(miniapp): migrate some packages to ice

* feat(miniapp): update swcOptions for miniapp

* chore(example): add more pages

* feat(miniapp): add miniapp runClientApp

* feat(miniapp): update compile config for miniapp

* feat(miniapp): support get app and routes config in compile

* fix(miniapp): lint warning

* feat(miniapp): support routeData/routeConfig and reduce size

* fix: lint warning

* fix: lint warning

* feat(miniapp): support global css and page css

* feat(miniapp): support css modules

* feat(miniapp): support copying assets in public dir

* feat(miniapp): support Link and getSearchParams

* feat(miniapp): use index.ts.ejs as template

* feat(miniapp): support passing params in Link

* feat(miniapp): support history in miniapp

* fix(miniapp): build without compiling server bundle

* fix(miniapp): use getRoutesConfig

* feat(miniapp): support build options like outputDir

* chore(miniapp): update miniapp examples

* feat(miniapp): support html tags

* feat(miniapp): remove taro related code

* fix(miniapp): some cases

* fix(miniapp): use require.resolve to get page loader

* chore(miniapp): update lock

* fix(miniapp): page loader check this name

* chore(miniapp): add devDependencies

* chore: update index ejs template

* refactor(miniapp): update multiple platforms logic in ice

* chore: lock regenerator-runtime version

* chore(miniapp): add ali miniapp build command

* fix(ice): set default value of platform to web

* fix(runtime): remove duplicated denpdencies

* chore: set default value of platform to web

* feat(miniapp): registerSerialization when plugin activated

* test(miniapp): suit for vitest

* chore(miniapp): add webpack-sources to bundles

* chore: clean code

* chore(miniapp): remove jest config file

* fix: lint error

* fix: add default value of outputDir

* refactor(miniapp): remove openBrowser from logMessage

* chore(miniapp): remove unnecessary ts-ignore

* fix: type error

* chore(miniapp): rename Adapter to adapter

* chore(miniapp): update interface name

* refactor: use plugins to support miniapp

* chore(miniapp): update example name

* fix: update dependencies

* feat(miniapp): add platform check in cli

* chore: update lock

* fix: remove useless platform option

* fix: lint warning

* fix: lint warning

* test: use src code in tests

* chore(miniapp): remove ||= operators

* fix(miniapp): exclude miniapp-runtime esm code

* fix(ice-cli): update platform for build command
2022-11-15 10:32:43 +08:00