New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Jan 3, 2018

Conversation

Projects
None yet
4 participants
@Hanks10100
Contributor

Hanks10100 commented Dec 29, 2017

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.
* [jsfm] Adjust the file structure 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

This comment has been minimized.

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 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

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment