Generate a JavaScript based module for Mobile Web Applications.
uupaa / webmodule Goto Github PK
View Code? Open in Web Editor NEWGenerate a JavaScript based module for Mobile Web Application.
License: MIT License
Generate a JavaScript based module for Mobile Web Application.
License: MIT License
Generate a JavaScript based module for Mobile Web Applications.
現在のv0.0.36のWebModuleでnode ../WebModule/clone GITHUB-ACCOUNTすると、生成されたpackage.jsonのバージョン番号も0.0.36になります。
{
"name": "legokichi.hoge.js",
"version": "0.0.36",
新規のMyWebModle.js開発のためのcloneコマンドですので、0.0.0で始まる方が良いのではないでしょうか。
version 0.6.0 で Electron のサポートを追加したが、dependency module の package.json に webmodule.el エントリが存在しないと、test/el/index.html の __MODULES__
が空になってしまう。
webmodule.el エントリが存在せず、webmodule.nw が存在する場合は、webmodule.nw の設定を webmodule.el にコピーする必要がある。
WebModule.publish を WebModule.PUBLISH にリネームした時の修正漏れにより、プライマリモジュールとセカンダリモジュールの入れ替えが失敗していた
https://github.com/uupaa/WebModule/wiki/WebModuleWorkflow#install_webmodule
- WebModule をローカルにクローンします
- MyWebModule.js リポジトリを github.com に作成します
- WebModule/clone で MyWebModule.js を生成します
とのことですが、3の前にWebModuleディレクトリ内でnpm installしておかないとclone内でrequireしているuupaa.task.jsが読めないようです。
$ npm install
を記載すべきではないでしょうか。
https://github.com/uupaa/WebModule/wiki/WebModuleWorkflow/_compare/867817e46d2404afc738603477306b867e9703ed...e156a3f3c69ff72d1f59e33e9120490acec3c4c8
npm install
の追記とgit clone repo
形式の修正をしました
version 0.7.7 で埋め込まれたバグにより以下の不具合が発生していた
・WebWorkerのテストができない
・WebWorkerのテストが止まるため、Primaryテストが途中で止まってしまい、続くSecondaryテストも走らなくなっていた
test/xxx/template 以下のファイルが存在しないと npm run sync
などのコマンド実行でエラーが発生します。
これらのファイルが存在しない場合は無視して処理を進めます。
node ../WebModule/clone GITHUB-USER_NAME
としてるので、package.jsonも
"author": "GITHUB-USER_NAME <[email protected]>",
と出力しても良いのではないでしょうか
https://github.com/uupaa/WebModule/blame/master/MODULE_README.md#L19
<script src="lib/Zzz.js">
<script>
console.log( Zzz() );
</script>
<script src="lib/Zzz.js"></script>
<script>
console.log( Zzz() );
</script>
閉じタグが足りません
https://github.com/uupaa/WebModule/wiki/WebModuleWorkflow#create_foo_repository
この行程でhoge-hugaといったようなリポジトリを作成してしまったところ、その後の行程で
/hoge-huga/hoge-huga/lib/hoge-huga.js
に作成されたテンプレートJS内のクラス名が
function hoge-huga(value) {
等、全てハイフン付きになってしまったインシデントが発生しました。
リポジトリ名がそのままクラス名になるためJSのクラス名規則に則る等の注釈をWebModuleWorkflowに記載してはいかがでしょうか
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.