@wordpress-flow/cli 1.0.6 → 1.0.7
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/dist/index.js +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -114815,8 +114815,7 @@ class AbortableWorkerPool {
|
|
|
114815
114815
|
this.webpackConfigPath = options.webpackConfigPath;
|
|
114816
114816
|
this.scriptsPath = options.scriptsPath;
|
|
114817
114817
|
const currentDir = import.meta.dirname;
|
|
114818
|
-
|
|
114819
|
-
this.workerPath = path9.join(distDir, "block-build-worker.js");
|
|
114818
|
+
this.workerPath = path9.join(currentDir, "build", "block-build-worker.js");
|
|
114820
114819
|
}
|
|
114821
114820
|
isBuilding(blockName) {
|
|
114822
114821
|
return this.activeWorkers.has(blockName);
|
|
@@ -115882,7 +115881,7 @@ add_action('enqueue_block_assets', 'wordpress_flow_enqueue_block_scripts');
|
|
|
115882
115881
|
// package.json
|
|
115883
115882
|
var package_default = {
|
|
115884
115883
|
name: "@wordpress-flow/cli",
|
|
115885
|
-
version: "1.0.
|
|
115884
|
+
version: "1.0.7",
|
|
115886
115885
|
type: "module",
|
|
115887
115886
|
description: "TypeScript-based WordPress block creation system",
|
|
115888
115887
|
main: "dist/index.js",
|
|
@@ -116885,8 +116884,7 @@ class WorkerPool {
|
|
|
116885
116884
|
this.webpackConfigPath = options.webpackConfigPath;
|
|
116886
116885
|
this.scriptsPath = options.scriptsPath;
|
|
116887
116886
|
const currentDir = import.meta.dirname;
|
|
116888
|
-
|
|
116889
|
-
this.workerPath = path20.join(distDir, "block-build-worker.js");
|
|
116887
|
+
this.workerPath = path20.join(currentDir, "build", "block-build-worker.js");
|
|
116890
116888
|
}
|
|
116891
116889
|
async buildAll(blocks, onProgress) {
|
|
116892
116890
|
const results = [];
|