@dcloudio/vue-cli-plugin-hbuilderx 2.0.2-3071120230427001 → 2.0.2-3080420230530001

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/vue-cli-plugin-hbuilderx",
3
- "version": "2.0.2-3071120230427001",
3
+ "version": "2.0.2-3080420230530001",
4
4
  "description": "HBuilderX plugin for vue-cli 3",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -18,5 +18,5 @@
18
18
  "css": "~2.2.1",
19
19
  "escodegen": "^1.8.1"
20
20
  },
21
- "gitHead": "9eec36832c08c90ba3c80bc9021768487b79a8ea"
21
+ "gitHead": "a7f9b00100b54f72f05ad00205f98a5353bd7a4c"
22
22
  }
@@ -1,13 +1,14 @@
1
1
  const {
2
2
  done
3
3
  } = require('@vue/cli-shared-utils')
4
+ const { showRunPrompt } = require('@dcloudio/uni-cli-shared')
4
5
 
5
6
  class WebpackAppPlusNVuePlugin {
6
- apply (compiler) {
7
- let isFirst = !process.env.UNI_USING_NATIVE && !process.env.UNI_USING_V3_NATIVE
8
-
9
- if (process.env.UNI_AUTOMATOR_WS_ENDPOINT) {
10
- isFirst = true
7
+ apply (compiler) {
8
+ let isFirst = !process.env.UNI_USING_NATIVE && !process.env.UNI_USING_V3_NATIVE
9
+
10
+ if (process.env.UNI_AUTOMATOR_WS_ENDPOINT) {
11
+ isFirst = true
11
12
  }
12
13
 
13
14
  const chunkVersions = {}
@@ -38,9 +39,11 @@ class WebpackAppPlusNVuePlugin {
38
39
  done('Build complete. PAGES:' + JSON.stringify(changedFiles))
39
40
  } else {
40
41
  done('Build complete. Watching for changes...')
42
+ showRunPrompt()
41
43
  }
42
44
  } else {
43
45
  done('Build complete. ')
46
+ showRunPrompt()
44
47
  }
45
48
  }
46
49
  resolve()
@@ -49,4 +52,4 @@ class WebpackAppPlusNVuePlugin {
49
52
  }
50
53
  }
51
54
 
52
- module.exports = WebpackAppPlusNVuePlugin
55
+ module.exports = WebpackAppPlusNVuePlugin
@@ -7,6 +7,8 @@ const {
7
7
  done
8
8
  } = require('@vue/cli-shared-utils')
9
9
 
10
+ const { showRunPrompt } = require('@dcloudio/uni-cli-shared')
11
+
10
12
  let nvueCompiled = true
11
13
  let serviceCompiled = true
12
14
  let viewCompiled = true
@@ -93,11 +95,13 @@ class WebpackAppPlusPlugin {
93
95
  } else {
94
96
  // if (!stats.hasErrors()) {
95
97
  !process.env.UNI_AUTOMATOR_WS_ENDPOINT && done('Build complete. Watching for changes...')
98
+ showRunPrompt()
96
99
  // };
97
100
  }
98
101
  isFirst = false
99
102
  } else {
100
103
  done('Build complete. ')
104
+ showRunPrompt()
101
105
  }
102
106
  nvueChangedFiles.length = 0
103
107
  serviceChangedFiles.length = 0
@@ -124,6 +128,7 @@ class WebpackAppPlusPlugin {
124
128
  } else {
125
129
  done('Build complete. ')
126
130
  }
131
+ showRunPrompt()
127
132
  resolve()
128
133
  }
129
134
  // Copy manifest.json
@@ -146,4 +151,4 @@ class WebpackAppPlusPlugin {
146
151
  }
147
152
  }
148
153
 
149
- module.exports = WebpackAppPlusPlugin
154
+ module.exports = WebpackAppPlusPlugin