@wiajs/core 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierignore +1 -2
- package/CHANGELOG.md +14 -1
- package/dist/core.cmn.js +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/core.js +1 -1
- package/dist/core.min.js +2 -2
- package/package.json +2 -2
- package/util/wiafile.js +2 -2
package/.prettierignore
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 2023-08-13
|
|
4
|
+
|
|
5
|
+
- src/touch
|
|
6
|
+
document touch 事件传递到 app,便于 app.on 接收。
|
|
7
|
+
|
|
8
|
+
## 2023-08-08
|
|
9
|
+
|
|
10
|
+
- wiapage.js
|
|
11
|
+
输出 page 类,方便 vite 模式下加载调试。
|
|
12
|
+
- wia.config.js
|
|
13
|
+
wia 相关配置从 src/config/app.js 中移到 wia.config.js 中
|
|
14
|
+
|
|
15
|
+
|
|
3
16
|
## 2020-04-06
|
|
4
17
|
|
|
5
18
|
- \* util/wiamap.js
|
|
@@ -11,7 +24,7 @@
|
|
|
11
24
|
pub pubing 存放到 wia 下面
|
|
12
25
|
|
|
13
26
|
- \* util/pages.js
|
|
14
|
-
|
|
27
|
+
-> wiapage.js
|
|
15
28
|
自动处理编译、发布时 page 目录下的页面代码
|
|
16
29
|
- \+ wiaconfig.js
|
|
17
30
|
wia 相关配置从 src/config/app.js 中移到 wiaconfig.js 中
|
package/dist/core.cmn.js
CHANGED
package/dist/core.esm.js
CHANGED
package/dist/core.js
CHANGED
package/dist/core.min.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* wia core v1.0.
|
|
2
|
+
* wia core v1.0.9
|
|
3
3
|
* (c) 2015-2023 Sibyl Yu and contributors
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
/*!
|
|
7
|
-
* wia core v1.0.
|
|
7
|
+
* wia core v1.0.9
|
|
8
8
|
* (c) 2015-2023 Sibyl Yu and contributors
|
|
9
9
|
* Released under the MIT License.
|
|
10
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wiajs/core",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "wia app core package. refer
|
|
3
|
+
"version": "1.0.10",
|
|
4
|
+
"description": "wia app core package. refer from Framework7.",
|
|
5
5
|
"main": "./dist/core.cmn.js",
|
|
6
6
|
"module": "./dist/core.esm.js",
|
|
7
7
|
"types": "./dist/core.d.ts",
|
package/util/wiafile.js
CHANGED
|
@@ -83,13 +83,13 @@ async function make(dir, cfg, act = 'build', all = false) {
|
|
|
83
83
|
if (!skip) {
|
|
84
84
|
// 获取目标项目目录、子目录下的文件MD5对象
|
|
85
85
|
await getFile(_src, rs, act);
|
|
86
|
-
console.log('wiafile make getFile', {dir, rs, act});
|
|
86
|
+
// console.log('wiafile make getFile', {dir, rs, act});
|
|
87
87
|
|
|
88
88
|
if (!_.isEmpty(rs)) {
|
|
89
89
|
R = rs; // .update || {};
|
|
90
90
|
if (act === 'build') rs = {local: rs, wia: r && r.pub ? r.pub : {}};
|
|
91
91
|
else rs = {pub: rs, local: r && r.local ? r.local : {}};
|
|
92
|
-
console.log('wiafile', {dir, rs, act});
|
|
92
|
+
// console.log('wiafile', {dir, rs, act});
|
|
93
93
|
save(rs, f);
|
|
94
94
|
}
|
|
95
95
|
}
|