You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by Hanks10100 <gi...@git.apache.org> on 2017/12/29 13:12:51 UTC
[GitHub] incubator-weex pull request #964: [jsfm] Adjust the file structure and build...
GitHub user Hanks10100 opened a pull request:
https://github.com/apache/incubator-weex/pull/964
[jsfm] Adjust the file structure and build scripts of js framework
According to the discussion on the mailing list ([Separate the weex-vue-render from the incubator-weex repo](https://lists.apache.org/thread.html/2c3c994c14a7521ff3ea97925107921ad08a30db58c261b95f079fdd@%3Cdev.weex.apache.org%3E)), 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
```
2. 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
```
3. Move `html5/test` into `test/` folder:
```
rename: html5/test -> test/js-framework
```
4. Update the build scripts of js framework.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Hanks10100/incubator-weex jsfm-refactor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/964.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #964
----
commit 51dd277e5cd579c7fda524a0a0972e2972d04ab8
Author: Hanks <zh...@...>
Date: 2017-12-29T12:37:26Z
* [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
commit b855108d59befc4af0ad808513dde1bc9f06ce4b
Author: Hanks <zh...@...>
Date: 2017-12-29T12:58:43Z
* [build] update build scripts of js framework
----
---
[GitHub] incubator-weex pull request #964: [jsfm] Adjust the file structure and build...
Posted by Hanks10100 <gi...@git.apache.org>.
Github user Hanks10100 closed the pull request at:
https://github.com/apache/incubator-weex/pull/964
---
[GitHub] incubator-weex pull request #964: [jsfm] Adjust the file structure and build...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-weex/pull/964
---
[GitHub] incubator-weex pull request #964: [jsfm] Adjust the file structure and build...
Posted by Hanks10100 <gi...@git.apache.org>.
GitHub user Hanks10100 reopened a pull request:
https://github.com/apache/incubator-weex/pull/964
[jsfm] Adjust the file structure and build scripts of js framework
According to the discussion on the mailing list ([Separate the weex-vue-render from the incubator-weex repo](https://lists.apache.org/thread.html/2c3c994c14a7521ff3ea97925107921ad08a30db58c261b95f079fdd@%3Cdev.weex.apache.org%3E)), 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
```
2. 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
```
3. Move `html5/test` into `test/` folder:
```
rename: html5/test -> test/js-framework
```
4. Update the build scripts of js framework.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Hanks10100/incubator-weex jsfm-refactor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/964.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #964
----
commit 51dd277e5cd579c7fda524a0a0972e2972d04ab8
Author: Hanks <zh...@...>
Date: 2017-12-29T12:37:26Z
* [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
commit b855108d59befc4af0ad808513dde1bc9f06ce4b
Author: Hanks <zh...@...>
Date: 2017-12-29T12:58:43Z
* [build] update build scripts of js framework
----
---
[GitHub] incubator-weex issue #964: [jsfm] Adjust the file structure and build script...
Posted by weex-bot <gi...@git.apache.org>.
Github user weex-bot commented on the issue:
https://github.com/apache/incubator-weex/pull/964
<!--
6 failure: Code file runtime..., Code file runtime..., Code file runtime..., Code file runtime..., Code file runtime..., Code file runtime...
2 warning: No Changelog chan..., These new JS file...
1 messages
-->
<table>
<thead>
<tr>
<th width="50"></th>
<th width="100%" data-danger-table="true">Fails</th>
</tr>
</thead>
<tbody><tr>
<td>:no_entry_sign:</td>
<td>Code file runtime/frameworks/legacy/core/array.js does not have the copyright header.</td>
</tr>
<tr>
<td>:no_entry_sign:</td>
<td>Code file runtime/frameworks/legacy/core/dep.js does not have the copyright header.</td>
</tr>
<tr>
<td>:no_entry_sign:</td>
<td>Code file runtime/frameworks/legacy/core/object.js does not have the copyright header.</td>
</tr>
<tr>
<td>:no_entry_sign:</td>
<td>Code file runtime/frameworks/legacy/core/observer.js does not have the copyright header.</td>
</tr>
<tr>
<td>:no_entry_sign:</td>
<td>Code file runtime/frameworks/legacy/core/state.js does not have the copyright header.</td>
</tr>
<tr>
<td>:no_entry_sign:</td>
<td>Code file runtime/frameworks/legacy/core/watcher.js does not have the copyright header.</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th width="50"></th>
<th width="100%" data-danger-table="true">Warnings</th>
</tr>
</thead>
<tbody><tr>
<td>:warning:</td>
<td>No Changelog changes!</td>
</tr>
<tr>
<td>:warning:</td>
<td>These new JS files do not have Flow enabled: runtime/entries/rax.js, runtime/entries/vue.js</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th width="50"></th>
<th width="100%" data-danger-table="true">Messages</th>
</tr>
</thead>
<tbody><tr>
<td>:book:</td>
<td>danger test finished.</td>
</tr>
</tbody>
</table>
<p align="right">
Generated by :no_entry_sign: <a href="http://github.com/danger/danger-js/">dangerJS</a>
</p>
---