48 Commits

Author SHA1 Message Date
zoomchan-cxj a728bf61b9 ci(workflows): add js release workflow 2022-12-07 18:08:38 +08:00
zoomchan-cxj d219a124ae fix(script): fix build script error 2022-10-13 17:11:50 +08:00
Lxy 0445c4ec41 feat(hippy-vue-next): support vue3.x (#2357)
* feat(hippy-vue-next): initialize hippy-vue-next package

* feat(hippy-vue-next): rollup build config

* feat(example): add vue-next demo

* docs(hippy-vue-next): update vue version

* feat(hippy-vue-next): update branch up to date with Tencent:master

* feat(hippy-vue-next): update comment

* feat(example): use @vue/runtime-core with package

* docs(hippy-vue-next): update comment

* fix(hippy-vue-next): fix demo debug problem

* feat(hippy-vue-next): modify import type of runtime in demo

* feat(hippy-vue-next): generate d.ts file

* fix(hippy-vue-next): fix android horizontal problem in demo-list

* feat(hippy-vue-next): modify eslint options to check demo's code

* feat(hippy-vue-next): add vue-next unit test

* feat(hippy-vue-next): fix & commit unit tests

* feat(hippy-vue-next): ignore api-extractor warnings

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update comment

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update docs

* chore(license): add license header

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): add once event demo

* refactor(hippy-vue-next): rename tool package

* docs(hippy-vue-next): update docs

* docs(hippy-vue-next): update comment

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): modify regexp

* docs(hippy-vue-next): update docs

* feat(hippy-vue-next): modify regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): perf regexp

* feat(hippy-vue-next): reset old package-lock

* feat(hippy-vue-next): update breakStrategy demo

* feat(hippy-vue-next): add utils unit test case

* feat(hippy-vue-next): add utils & element unit test case

* feat(hippy-vue-next): add event & element unit test case

* feat(hippy-vue-next): add native unit test case

* feat(hippy-vue-next): add built-in & patch unit test case

* feat(hippy-vue-next): add patch unit test case

* feat(hippy-vue-next): add style unit test case

* feat(hippy-vue-next): add style unit test case

* feat(hippy-vue-next): add style & util unit test case

* fix(hippy-vue-next): fix swiper & animation warn in debug mode

* feat(hippy-vue-next): use shallowRef to up perf for component reactive

* fix(hippy-vue-next): fix animation warn in debug mode

* feat(hippy-vue-next): upgrade debug package

* feat(hippy-vue-next): fix CR problem

* feat(hippy-vue-next): fix CR problem

* feat(hippy-vue-next): app start support both callback & promise

* feat(hippy-vue-next): fix turbo proxy value problem

* feat(hippy-vue-next): update docs

* feat(hippy-vue-next): fix animation demo problem

* feat(hippy-vue-next): modify register hippy method to compatible vue2

* feat(hippy-vue-next): update docs

* feat(hippy-vue-next): update vue3 docs

* feat(hippy-vue-next): add waterfall lose props

* fix(vue-next): fix lint issues and logic robust issues

* feat(hippy-vue-next): add event bus & unit test case

* feat(hippy-vue-next): add webpack vendor options

* feat(hippy-vue-next): add webpack vendor options

* feat(hippy-vue-next): remove unused demo method

* feat(hippy-vue-next): modify event bus to compatible vue2

* feat(hippy-vue-next): modify event bus to compatible vue2

* feat(hippy-vue-next): add event-bus unit test cases

* feat(hippy-vue-next): add build vendor directive

* feat(hippy-vue-next): remove demo redundant method & add silent option

* feat(hippy-vue-next): update debug doc

* feat(hippy-vue-next): add console output style

* feat(hippy-vue-next): add custom nativeapis and components demo

* docs(text): extend custom nativeapis and components docs

* feat(hippy-vue-next): remove auto generated declaration files

* feat(hippy-vue-next): update demo list & compatible vue3.2.39+ event

* feat(hippy-vue-next): support scoped & attribute selector & merge update

* feat(hippy-vue-next): support scoped & add unit tests

* feat(hippy-vue-next): update vue-next-demo same to vue-demo

* feat(hippy-vue-next): add unit tests

* feat(hippy-vue-next): use named export instead universal export

* feat(hippy-vue-next): update css-loader name to compatible vue-loader

* feat(hippy-vue-next): fix style matched issue

* refactor(vue-next): update docs & lock

* fix(npm,eslint): update npm package & fix lint

* feat(hippy-vue-next): add style unit tests

* feat(hippy-vue-next): fix eslint issue

* feat(hippy-vue-next): add android router inject logic & doc

* feat(hippy-vue-next): use hippy history to solve router inject logic

* feat(hippy-vue-next): update router history doc

* feat(hippy-vue-next): update router history doc

* feat(vue): add getElemCss scoped judgement

* refactor(vue-demo): remove stop

Co-authored-by: anqinli <anqinli@tencent.com>
Co-authored-by: birdguo <birdguo@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
Co-authored-by: birdguo <gguoyu@users.noreply.github.com>
2022-10-11 14:24:18 +08:00
zoomchan-cxj b5d94e4a83 feat(vue-css-loader): change dist file name to be parsed by vue-loader 2022-10-11 14:20:26 +08:00
zoomchan-cxj 751e2e02c4 chore(script): perf build script error report 2022-10-11 14:20:26 +08:00
little 44440e197a chore(hippy-react-web): output es5 code 2022-10-11 14:20:25 +08:00
zoomchan-cxj 36f748459a chore(license): add license header 2022-08-10 10:41:18 +08:00
zoomchan-cxj 4bce58cf49 fix(buildcore): fix buildcore script 2022-08-01 16:01:54 +08:00
LittleCo 95fc4c54c9 fix(hippy-react-web): support ListView renderPullFooter (#2166)
* feat(hippy-react-web): support onFooterPulling

* feat(hippy-react-web): reset cookie & support collapse option

* feat(hippy-react-web): doc update & rm unused code

* feat(hippy-react-demo): use latest @hippy/rmc dep

* feat(hippy-react-demo): use latest @hippy/rmc dep

* feat(hippy-react-web): fix pulling footer offset

* feat(hippy-react-web): update cookieModule

Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-07-25 13:14:07 +08:00
zoomchan-cxj c062b2e70c refactor(debug-server): remove debug-server package from Hippy repo 2022-07-25 13:12:22 +08:00
LittleCo 75ece3bb37 feat(hippy-react-web): support tree-sharking & fix issues (#2069)
* feat(hippy-react-web): support tree-sharking & fix issues

* feat(hippy-react-web): use en comment

Co-authored-by: Zoom Chan <zoom_chan@163.com>
2022-06-21 21:44:48 +08:00
zoomchan-cxj e21c92268a ci(js): add node_modules cache 2022-06-21 21:44:47 +08:00
LittleCo f6a6c015d9 feat(hippy-react-web): perfect hippy-react-web components (#1427)
* feat(hippy-react-web): supports hippy-react components

* feat(hippy-react-web): fix cr issues

* feat(hippy-react-web): add boxShadow

* feat(hippy-react-web): add textShadow

* feat(hippy-react-web): update ScrollView & demo Slider

* feat(hippy-react-web): fix tabHost scroll

* feat(hippy-react-web): add Localization

* feat(hippy-react-web): NetInfo & websocket

* feat(hippy-react-web): networkModule

* feat(hippy-react-web): fix pullHeader

* feat(hippy-react-web): add refreshWrapper

* feat(hippy-react-web): fix useLayout

* feat(hippy-react-web): add AsyncStorage

* feat(hippy-react-web): color transform

* feat(hippy-react-web): fix device.screen in safari

* feat(hippy-react-web): rm pullHeader getPullHeaderHeight prop

* feat(hippy-react-web): rm pullHeader getPullHeaderHeight prop

* feat(hippy-react-web): local image

* feat(hippy-react-web): code improve & add Modal animation

* feat(hippy-react-web): support modal animated

* feat(hippy-react-web): refactor viewpager

* feat(hippy-react-web): add warn when use unsupported prop

* feat(hippy-react-web): add asyncStorage methods

* feat(hippy-react-web): add ImageLoaderModule

* feat(hippy-react-web): add Image getSize prefetch

* feat(hippy-react-web): PixelRatio & docs

* feat(hippy-react-web): callNative add init function

* docs(video): change to gif

* docs(debug): perf debug steps introduction

* fix(core): fix log delegate crash

* refactor(core): refactor log delegate and remove lock for log

* feat(hippy-react-web): rm demo code & add RippleViewAndroid export

* feat(hippy-react-web): update components docs

* feat(hippy-react-web): add license header

* feat(hippy-react-web): update hippy-react docs

* feat(hippy-react-web): rm list-view prop

* feat(hippy-react-web): tranform linear-gradient

* feat(hippy-react-web): add view unsupported method  warning

* feat(ios): localstorage can handle error

* fix(ios): fix value fetch error

* fix(hippy-react-web): fix cr issues

* chore(hippy-react-web): rm unused console

* docs(hippy-vue-web): update react-web components

* chore(hippy-react-web): fix listview & modal issues

* chore(hippy-react-web): rm unused console

* refactor(hippy-react-web): refactor Image

* fix(hippy-react-web): fix image resizeMode

* fix(hippy-react-web): fix rippleViewAndroid error

* docs(hippy-react-web): add hippy-react-web module info

* refactor(hippy-react-web): rename prop to props

* fix(hippy-react-web): onAppear observeer

* feat(hippy-react-web): publish react-web@14.0-beta.1

* feat(hippy-react-web): fix uiM issues & fix typo

* chore(hippy-react-demo): support web dev hot reload

* chore(hippy-react-web): add source-map

* chore(hippy-react-web): rm ts hotreload

* chore(ios): recover ios localStorage

Co-authored-by: corinli <corinli@tencent.com>
Co-authored-by: zoomchan-cxj <zoom_chan@163.com>
Co-authored-by: pollyzhang <pollyzhang@tencent.com>
Co-authored-by: mengyanluo <mengyanluo@tencent.com>
2022-05-27 23:33:18 +08:00
zoomchan-cxj c9e28f460f fix(hippy-react-web): change rmc-list-view to hippy domain 2022-05-24 18:32:35 +08:00
chestershen e0cf7654f4 feat(devtools): support vue-devtools 2022-04-27 11:24:59 +08:00
zoomchan-cxj 2fcee4ca36 chore(README): update init script 2022-04-27 11:20:56 +08:00
zoomchan-cxj d62dff77c6 chore(debug): change debug script 2022-03-29 10:45:01 +08:00
zoomchan-cxj f94281aa75 build(debug): add debug example compact script 2022-02-09 10:27:38 +08:00
zoomchan-cxj 43fc8d71f3 build(log): remove circular warnings 2022-02-09 10:26:23 +08:00
zoomchan-cxj 5552f0aa36 chore(dependency): update marked npm package to safe version 2022-02-09 10:26:23 +08:00
zoomchan-cxj 981b5f8542 build(js): change ts syntax & rollup babel config 2022-02-09 10:26:23 +08:00
zoomchan-cxj 6a9804eb74 fix(ci): add packages npm install 2022-02-09 10:26:22 +08:00
zoomchan-cxj 2df21c55ae fix(js): update ts version and ts declaration issues 2022-02-09 10:25:40 +08:00
chestershen bee45135ac fix(build script): fix debug-server build script 2022-01-05 01:03:22 +08:00
chestershen ff9f763a45 feat(vue, react, debug-server, vue-loader, vue-css-loader): support HMR
- hippy-vue: ElementNode add repaintWithChildren API

- hippy-vue: support remove outdated style of HMR chunk

- hippy-vue-loader: support style hmr

- hippy-vue-css-loader: support remove outdated style of HMR chunk

- debug-server, vue-demo, react-demo, hippy-react: support hmr

- debug-server: add hippy-dev command
2022-01-05 01:03:18 +08:00
zoomchan-cxj 10da99c696 feat(react): add commitEffects hook to change batch update synchronously 2022-01-05 01:00:54 +08:00
zoomchan-cxj 44e5f59665 chore(lint): fixed js lint problem 2021-12-06 16:49:27 +08:00
zoomchan-cxj f20864045b refactor(eslint): fix eslint issue 2021-11-18 13:00:15 +08:00
derekazhang 368874dda6 feat(vue): add vue jsi 2021-11-18 12:59:52 +08:00
zoomchan-cxj bfa7a4503c chore(lint): add commitlint & eslint check before commit 2021-08-03 22:40:17 +08:00
zoomchan-cxj 999d0ddc35 refactor(hippy-react,hippy-vue): reduce cyclomatic complexity 2021-03-17 15:13:25 +08:00
Zoom Chan 0dc50af2cd refactor(hippy-vue,hippy-react): change eslint to eslint-config-tencent (#614)
* refactor(hippy-vue,hippy-react): change eslint format

* refactor(hippy-vue,hippy-react): change eslint to eslint-config-tencent
2021-03-17 15:13:25 +08:00
pollyzhang 38b99dd951 fix(feat): change build-core script 2021-02-24 17:57:12 +08:00
zoomchan-cxj bbdc95cd60 fix(hippy-vue): fix vue webpack dll problem 2021-02-23 21:33:43 +08:00
pollyzhang 20e2ed983d feat(core): add dynamic load 2020-12-25 16:40:02 +08:00
kiddxu 1fb9eefdaf refactor(react-web): refined the ListView component with rmc-list-view 2020-05-12 15:32:47 +08:00
XQ Kuang 62cbdb0cb7 feat(hippy-react-web): added default export for hippy-react web
1. added defualt export for hippy-react-web
2. added version demo for hippy-react-web
3. fixed some typo mistake
2020-04-23 16:32:41 +08:00
XQ Kuang 7aa5b49689 refactor(core): moved bootstrap.js to core/js 2020-04-16 22:43:58 +08:00
XQ Kuang 4f5e6a81b8 chore(build): fixed js2cpp eslint issues 2020-04-13 23:01:37 +08:00
XQ Kuang a3aa0b8514 fix(core): drop Object.entries() for lower iOS compatible 2020-04-10 18:08:01 +08:00
XQ Kuang 069c35710b chore: make packages to have @hippy prefix 2020-01-22 15:20:27 +08:00
jeromehan fa64ae2cc3 chore(example): fixed example building script for integration 2020-01-22 08:53:42 +08:00
XQ Kuang cad4f1c436 chore(build): use shelljs to rewrite the buildexample command 2020-01-15 10:56:21 +08:00
liulinboyi a29d79d81d fix: npm run build scripts windows path error 2020-01-10 09:18:03 +08:00
XQ Kuang 1584402f4d refactor(vue): make refreshComplected available for ul-refresh
fix: fixed typo mistake of RefreshWrappr method `refreshComplected`
2020-01-07 14:31:22 +08:00
pollyzhang ce7031d35e fix: fix script bug 2019-12-31 15:36:10 +08:00
kassadin 6a5c9d1799 chore(build): refined the build example script with node. 2019-12-30 21:15:32 +08:00
xqkuang(旷旭卿) cd46465a1c refactor: make it public 2019-12-20 13:45:18 +08:00