Commit Graph

3297 Commits

Author SHA1 Message Date
染陌同学 f24b045de9
Feat/support sourcemap (#6158)
* feat: add generateSourceMap

* feat: generate souce map

* chore: add changeset

* feat: add data-sourcemap

* feat: add with-entry-type example

* feat: add sourcemap info

* fix: modify toJson to toString

* chore: rename generate sourcemap

* feat: modify line of child map

* feat: add base line

* chore: modify BASE_COLUMN

* chore: modify pnpm lock

* feat: data-sourcemap should be delete

* chore: update lock

* chore: add changeset

* chore: modify lock

* chore: remove app worker and data loader

* chore: if sourceMapFileList is empty, return empty string

* feat: support sourcemap meta

* feat: dealwith style

* feat: add prependCode

* chore: modify package

* chore: modify if
2023-05-17 20:01:34 -07:00
ClarkXia 15a96cc7fd
chore: update versions (#6252) 2023-05-17 19:07:04 +08:00
Gao Yang 7a5cd06ceb
feat: shared (#6232)
* feat: shared

* style: optimise

* test: shared

* refactor: shared

* chore: changeset

* refactor: import statement

* fix: React not defined

---------

Co-authored-by: ZeroLing <i@zeroling.com>
2023-05-17 18:19:28 +08:00
ClarkXia 5266fedc7b
fix: import store source before swc compiler (#6248) 2023-05-17 15:06:17 +08:00
水澜 51b6df6bb2
docs: compile deps (#6247)
* docs: compile deps

* chore: add caution

* chore: add caution
2023-05-17 14:01:17 +08:00
ClarkXia df7a474973
Merge pull request #6148 from alibaba/release/next
Release 3.2.0
2023-05-17 10:38:05 +08:00
ClarkXia 8176bce92e
chore: add version check (#6240) 2023-05-16 18:15:09 +08:00
ClarkXia d173faeef4
fix: changelog (#6244) 2023-05-16 17:42:51 +08:00
ClarkXia 55cacbfa8b
fix: make a copy of keep exports list (#6243) 2023-05-16 17:35:18 +08:00
luhc228 076a64fc2a
fix: basename not prepend (#6241)
* fix: basename not prepend

* fix: type

* fix: type

* fix: this bind
2023-05-16 17:24:22 +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
luhc228 70df4e7fac
fix: version script not found (#6233) 2023-05-15 11:35:59 +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
ZeroLing 4b280b77ef
refactor: possible standard properties (#6230)
* refactor: possible standard properties

* chore: add eslint ignore for limited usage of hasOwnProperty
2023-05-12 03:01:11 -07:00
luhc228 8642d57988
feat: release snapshot version (#6229)
* feat: release snapshot script

* chore: update changeset config

* chore: update readme
2023-05-11 22:53:45 -07:00
ClarkXia d927acb577 Merge branch 'master' into release/next 2023-05-10 14:34:55 +08:00
ClarkXia c9766245d1
fix: test case after merge (#6224) 2023-05-10 14:19:30 +08:00
ClarkXia 5db5b662ec
fix: use import.meta.renderer for client judgement (#6222)
* fix: use import.meta.renderer for client judgement

* chore: changelog
2023-05-10 14:13:00 +08:00
luhc228 86ff43db66
docs: update externals config (#6226) 2023-05-10 11:18:20 +08:00
ClarkXia a8e1c971d9
hotfix: parsing url path without using URL (#6225)
* fix: parsing url path without using URL

* fix: rule
2023-05-09 17:34:46 +08:00
ClarkXia 07687cc157 Merge branch 'master' into release/next 2023-05-09 15:34:11 +08:00
ClarkXia 4efd05a322
Merge pull request #6206 from alibaba/release/patch
Release 3.1.7
2023-05-09 14:42:43 +08:00
ClarkXia d77e216f3a
chore: update versions (#6202) 2023-05-09 14:20:53 +08:00
luhc228 0d54977961
fix: read the same task target (#6221)
* fix: read the same target

* chore: changeset
2023-05-09 11:54:29 +08:00
ClarkXia b226e3566f
fix: bump @swc/helpers to 0.5.1 (#6213)
* fix: bump @swc/helpers to 0.5.1

* fix: cjs path of @swc/helpers

* fix: test case
2023-05-08 19:44:59 +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
luhc228 6e9c822af8
fix: define config (#6198)
* chore: remove useless define variables

* chore: remove useless define variables

* fix: server define config

* chore: changeset

* chore: update comment

* fix: define variables in onDemand server

* docs: update define config

* fix: test

* chore: update test case

* fix: process.env variable
2023-05-08 12:04:07 +08:00
luhc228 25357326b0
fix: style props convert error (#6217)
* fix: style value convert object error

* chore: changeset
2023-05-08 12:03:41 +08:00
ZeroLing bb07fd9198
Fix/parse path (#6214)
* fix: parsePath to parseUrl

* test: add test for full url

* chore: add changeset
2023-05-06 05:49:07 -07:00
水澜 41be75ff23
fix: rax compat state (#6166)
* fix: state not update error

* fix: forwardRef with defaultProps

* fix: get latest eagerState in useCallback

* fix: lint

* fix: lint

* chore: add changeset

* test: rax-compat useCallback

* fix: test

* fix: lint

---------

Co-authored-by: soar.gy <soar.gy@alibaba-inc.com>
2023-05-01 23:46:25 +08:00
水澜 65680d4465
fix: inline style (#6167)
* fix: inline style

* fix: test for css modules

* chore: add changeset

* fix: support global css

* revert: version

* fix: version

* refactor: add option to config css module

* fix: default support css modules

* fix: default support css modules

* fix: lint
2023-05-01 23:44:28 +08:00
ClarkXia 5d5fb33446
fix: support case of import module with aliased name (#6205)
* fix: bump version

* chore: changelog

* fix: bump version
2023-04-28 16:13:00 +08:00
ClarkXia 816f1b2850 Merge branch 'release/patch' of github.com:alibaba/ice into release/patch 2023-04-27 19:07:17 +08:00
luhc228 28de278f7f
feat: support match target entry to bundle (#6200)
* feat: support match target entry to bundle

* chore: changeset
2023-04-27 12:00:59 +08:00
NK 7380bfe9d0
Merge pull request #5620 from alibaba/feat/miniapp-native-events
feat(miniapp): support app and page native events
2023-04-26 16:22:20 +08:00
逆葵 39b66b27fb fix: lint warning 2023-04-26 14:51:38 +08:00
luhc228 ee4c22db90
fix: route specifier is invalid (#6195) 2023-04-25 19:18:44 +08:00
luhc228 904b88134d
chore: bump appear version (#6194) 2023-04-25 19:18:11 +08:00
ClarkXia 753845c321
chore: update versions (#6193) 2023-04-25 16:21:41 +08:00
ClarkXia cd7c6c72be
fix: encode route path to escape xss (#6191) 2023-04-25 16:00:19 +08:00
逆葵 77c144b403 chore: remove changeset pre.json 2023-04-25 15:32:01 +08:00
逆葵 c7ec3a43a8 Merge branch 'release/next' into feat/miniapp-native-events 2023-04-25 15:25:10 +08:00
ClarkXia a164ec0d10
fix: coerce beta version into semver (#6185) 2023-04-25 11:37:18 +08:00
逆葵 ddee1c3ed7 chore: add changeset 2023-04-25 11:08:26 +08:00
ClarkXia 1ed81fee3c
chore: add changelog for plugins (#6186) 2023-04-25 11:05:00 +08:00
逆葵 4539817317 docs(miniapp): update doc and example 2023-04-25 10:57:36 +08:00
逆葵 6f7a47e0b4 chore: update dependencies version 2023-04-25 10:49:28 +08:00
水澜 f56497f694
feat: async data loader (#6137)
* 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

* feat: async data loader

* fix: update lock

* fix: hydration

* fix: router

* fix: router

* chore: log

* fix: hmr

* fix: test

* fix: test

* feat: await

* fix: await component

* fix: lint

* refactor: type

* fix: type

* fix: app data loader

* fix: test

* fix: test

* test: async data

* test: async data

* docs: async data loader

* fix: lint

* refactor: loader config

* fix: test

* fix: compat with old useage

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-04-25 10:47:40 +08:00
逆葵 c59b5f4c9e Merge branch 'release/next' into feat/miniapp-native-events 2023-04-24 18:05:57 +08:00