@we-debug/gulp-tool 0.32.0 → 0.33.0
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/CHANGELOG.md +11 -0
- package/dist/lookup.js +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +2 -2
- package/src/lookup.ts +1 -1
- package/src/types.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.33.0](https://github.com/dlhandsome/we-debug/compare/v0.32.3...v0.33.0) (2024-08-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **gulp-tool:** 兼容subPackages写法 ([17bd7df](https://github.com/dlhandsome/we-debug/commit/17bd7df33f51c4eae3cbc54040913ff16cecf23e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [0.32.0](https://github.com/dlhandsome/we-debug/compare/v0.31.18...v0.32.0) (2024-06-24)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @we-debug/gulp-tool
|
package/dist/lookup.js
CHANGED
|
@@ -18,7 +18,7 @@ function lookupPages(projectDir) {
|
|
|
18
18
|
try {
|
|
19
19
|
var appJson = require(appPath);
|
|
20
20
|
pages = appJson.pages;
|
|
21
|
-
subpackages = appJson.subpackages || [];
|
|
21
|
+
subpackages = appJson.subpackages || appJson.subPackages || [];
|
|
22
22
|
pages = pages.map(function (p) {
|
|
23
23
|
return path_1.default.resolve(projectDir, p);
|
|
24
24
|
});
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@we-debug/gulp-tool",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "we-debug, gulp",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/types.d.ts",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"readme": "ERROR: No README data found!",
|
|
33
33
|
"_id": "@we-debug/gulp-tool@0.1.3",
|
|
34
34
|
"_commitid": "f35f53c",
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "80c2980c0b35506f81896f14ec657580cf3bf796"
|
|
36
36
|
}
|
package/src/lookup.ts
CHANGED
|
@@ -21,7 +21,7 @@ export function lookupPages (projectDir: string) {
|
|
|
21
21
|
const appJson: WechatMiniprogram.IAppJson = require(appPath);
|
|
22
22
|
|
|
23
23
|
pages = appJson.pages;
|
|
24
|
-
subpackages = appJson.subpackages || [];
|
|
24
|
+
subpackages = appJson.subpackages || appJson.subPackages || [];
|
|
25
25
|
|
|
26
26
|
pages = pages.map(p => {
|
|
27
27
|
return path.resolve(projectDir, p);
|