@pulse-editor/cli 0.1.8 → 0.1.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.
|
@@ -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.
|
|
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.
|
|
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.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pulse": "dist/cli.js"
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"@module-federation/enhanced": "2.0.1",
|
|
24
24
|
"@module-federation/node": "2.7.32",
|
|
25
25
|
"@module-federation/runtime": "2.0.1",
|
|
26
|
-
"@pulse-editor/shared-utils": "^0.1.1-beta.
|
|
26
|
+
"@pulse-editor/shared-utils": "^0.1.1-beta.85",
|
|
27
27
|
"concurrently": "^9.2.1",
|
|
28
28
|
"connect-livereload": "^0.6.1",
|
|
29
|
-
"copy-webpack-plugin": "^
|
|
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",
|