Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[jsfm] Adjust the file structure and build scripts of js framework #964

Merged
merged 2 commits into from
Jan 3, 2018

Conversation

Hanks10100
Copy link
Contributor

According to the discussion on the mailing list (Separate the weex-vue-render from the incubator-weex repo), the last step is to adjust the file structure in html5/ and rename it to runtime/.

This PR contains:

  1. Rename html5/ to runtime/ and move api, bridge, vdom out:
  rename: html5/frameworks       -> runtime/frameworks
  rename: html5/runtime/api      -> runtime/api
  rename: html5/runtime/bridge   -> runtime/bridge
  rename: html5/runtime/vdom     -> runtime/vdom
  rename: html5/runtime/utils.js -> runtime/shared/utils.js
  rename: html5/services         -> runtime/services
  rename: html5/shared           -> runtime/shared
  1. Delete html5/render/, move it to entries:
  delete: html5/render/
  rename: html5/runtime/index.js       -> runtime/api/index.js
  rename: html5/render/native/index.js -> runtime/entries/index.js
  rename: html5/render/native/setup.js -> runtime/entries/setup.js
  add: runtime/entries/vue.js
  add: runtime/entries/rax.js
  1. Move html5/test into test/ folder:
  rename: html5/test -> test/js-framework
  1. Update the build scripts of js framework.

1. Rename `html5/` to `runtime/` and move api, bridge, vdom out:

  rename: html5/frameworks       -> runtime/frameworks
  rename: html5/runtime/api      -> runtime/api
  rename: html5/runtime/bridge   -> runtime/bridge
  rename: html5/runtime/vdom     -> runtime/vdom
  rename: html5/runtime/utils.js -> runtime/shared/utils.js
  rename: html5/services         -> runtime/services
  rename: html5/shared           -> runtime/shared

2. Delete `html5/render/`, move it to `entries`:

  delete: html5/render/
  rename: html5/runtime/index.js       -> runtime/entries/runtime.js
  rename: html5/render/native/index.js -> runtime/entries/index.js
  rename: html5/render/native/setup.js -> runtime/entries/setup.js

3. Move `html5/test` into `test/` folder:

  rename: html5/test -> test/js-framework
@weex-bot
Copy link

weex-bot commented Dec 29, 2017

Messages
📖 has no android file changed.
📖 android test finished.

Generated by 🚫 dangerJS

@Hanks10100 Hanks10100 closed this Dec 29, 2017
@Hanks10100 Hanks10100 reopened this Dec 29, 2017
@Hanks10100 Hanks10100 force-pushed the jsfm-refactor branch 3 times, most recently from d0dd5a0 to 1f76f8d Compare January 1, 2018 12:02
Hanks10100 added a commit to Hanks10100/incubator-weex that referenced this pull request Jan 3, 2018
@asfgit asfgit merged commit 9dd6cba into apache:master Jan 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants