@pulse-editor/cli 0.1.8 → 0.1.9

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.
@@ -31,7 +31,7 @@ class MFServerPlugin {
31
31
  this.cleanServerDist();
32
32
  });
33
33
  // When a file changes and triggers a new compilation
34
- compiler.hooks.watchRun.tap("ReloadMessagePlugin", async (compiler) => {
34
+ compiler.hooks.watchRun.tapPromise("ReloadMessagePlugin", async (compiler) => {
35
35
  this.printChanges(compiler);
36
36
  if (!isFirstRun) {
37
37
  console.log(`[Server] 🔄 Reloading app...`);
@@ -78,7 +78,7 @@ ${Object.entries(funcs)
78
78
  }
79
79
  else {
80
80
  // Print build success/failed message
81
- compiler.hooks.done.tap("BuildMessagePlugin", async (stats) => {
81
+ compiler.hooks.done.tapPromise("BuildMessagePlugin", async (stats) => {
82
82
  if (stats.hasErrors()) {
83
83
  console.log(`[Server] ❌ Failed to build server.`);
84
84
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulse-editor/cli",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "pulse": "dist/cli.js"
@@ -26,7 +26,7 @@
26
26
  "@pulse-editor/shared-utils": "^0.1.1-beta.76",
27
27
  "concurrently": "^9.2.1",
28
28
  "connect-livereload": "^0.6.1",
29
- "copy-webpack-plugin": "^13.0.1",
29
+ "copy-webpack-plugin": "^14.0.0",
30
30
  "cors": "^2.8.6",
31
31
  "cross-env": "^10.1.0",
32
32
  "dotenv": "^17.3.1",