Commit Graph

79 Commits

Author SHA1 Message Date
ClarkXia 8e27933423
feat: add SuspenseWrappers to Runtime (#7131) (#7134)
* feat: add SuspenseWrappers to Runtime (#7131)

* feat: add SuspenseWrappers to Runtime

* chore(runtime): format code

* fix(runtime): Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix(runtime): remove redundant composeSuspenseWrappers function

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: update versions (#7133)

* chore: update versions

* Remove 3.6.6 entry from CHANGELOG

Removed version 3.6.6 entry from CHANGELOG.

* Update package.json

* Update CHANGELOG.md

* Downgrade version from 1.1.7 to 1.1.6

* Remove changelog entry for version 1.2.7

Removed version 1.2.7 entry from changelog.

* Update package.json

* Update CHANGELOG.md

* Update package.json

* Update package.json

* Update package.json

* Update pnpm-lock.yaml

---------

Co-authored-by: Mixiu <112144929+riopop@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-27 16:05:42 +08:00
ClarkXia 7f302fa439
chore: update versions (#7126) 2025-07-24 10:01:12 +08:00
ClarkXia 72bfa88d17 chore: update version
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-07-08 19:24:32 +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 3670eadc31
fix: miniapp using absolute path to match route manifest (#7095)
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-05-20 17:25:54 +08:00
ClarkXia cfde6ccad0
chore: update versions (#7075)
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-04-09 11:32:49 +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
XGHeaven cce46e9b67
fix: should check skeleton file existed before read (#7021) 2024-11-19 17:56:38 +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 c7048603c7
chore: update versions (#6684) 2023-12-25 13:26:16 +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 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 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
hzyhbk ed97eccd28
feat: 兼容一套代码同构流式SSR和小程序的模式 (#6268)
* feat: 兼容一套代码同构流式SSR和小程序的模式

* fix: miniapp-runtime 增加 useSuspenseData 注释
2023-06-09 11:35:15 +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
逆葵 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
逆葵 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
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
逆葵 925d186dd8 chore: update package.json 2023-03-29 11:00:41 +08:00
逆葵 7840bd2c9b test(miniapp): add test case 2023-03-28 19:53:50 +08:00
逆葵 b1bfef0ca9 Merge remote-tracking branch 'origin/release/next' into feat/miniapp-native-events 2023-03-28 15:05:11 +08:00
逆葵 d3ddcccad0 fix(miniapp): update swc helpers config 2023-03-28 14:16:44 +08:00
逆葵 2d7d4bf1fc Merge branch 'master' into feat/miniapp-native-events 2023-03-28 11:40:52 +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
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
ClarkXia 39b181d54d
chore: changelog (#5849) 2023-02-02 17:45:34 +08:00
ZeroLing 28d250860e
Using alias + generate template to replace keepPlatform impl (#5710)
* 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

* feat: support target and renderMode

* fix: test case and renderer

* chore: update lock

* Update build.ts

* chore: add default value to urls

* refactor: constant

* feat: add with weex

* chore: change multi target

* fix: output orders

* fix: build order

* feat: modify disttype

* feat: modify textContent to support styleElement in weex

* fix: dist type javascript

* chore: version change

* fix: merge and versions

* fix: target renderer

* feat: using resolve universal-env

* chore: remove with weex example

* fix: unexpected escape

* fix: add commandArgs defaults for target, rename miniapp platforms to targets

* fix: bundle slash

* fix: add isKraken for env

* fix: compilationConfig type definition

* fix: keepPlatform

* fix: test case

* fix: make env tree shaking works

* fix: using env replacement plugin

---------

Co-authored-by: answershuto <answershuto@gmail.com>
2023-01-30 12:09:40 +08:00
ZeroLing 08e1eed8fc
Refactor part of web plugin into common logic. (#5807)
* 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

* feat: support target and renderMode

* fix: test case and renderer

* chore: update lock

* Update build.ts

* chore: add default value to urls

* refactor: constant

* feat: add with weex

* chore: change multi target

* fix: output orders

* fix: build order

* feat: modify disttype

* feat: modify textContent to support styleElement in weex

* fix: dist type javascript

* chore: version change

* fix: merge and versions

* fix: target renderer

* chore: remove with weex example

* fix: add commandArgs defaults for target, rename miniapp platforms to targets

* fix: bundle slash

Co-authored-by: answershuto <answershuto@gmail.com>
2023-01-11 14:33:14 +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
ClarkXia dc406e0a0c
feat: support multiple runtime entry of development (#5596)
* feat: support multiple runtime entry of development

* feat: optimize code
2022-11-23 15:34:14 +08:00
NK 29ce172fab
fix: miniapp bugs (#5566)
* fix(miniapp): compatible with no params passed to miniapp plugin

* fix(miniapp): not ignore outputDir in webpack watchOptions

* docs(miniapp): update miniapp start article

* fix(miniapp): only when public dir exists should copy-webpack-plugin be enabled
2022-11-17 11:53:27 +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
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 3be3f6ab5c refactor: miniapp runtime (#597) 2022-11-15 10:32:48 +08:00