everything-dev 1.3.2 → 1.3.4

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/src/plugin.ts CHANGED
@@ -303,6 +303,12 @@ async function buildEnvVars(
303
303
  }
304
304
 
305
305
  async function buildEveryPluginQuietly(cwd: string) {
306
+ const packageDir = `${cwd}/packages/every-plugin`;
307
+ const packageExists = await Bun.file(`${packageDir}/package.json`).exists();
308
+ if (!packageExists) {
309
+ return;
310
+ }
311
+
306
312
  const distPath = `${cwd}/packages/every-plugin/dist/build/rspack/plugin.mjs`;
307
313
  const distExists = await Bun.file(distPath).exists();
308
314
 
@@ -334,6 +340,12 @@ async function buildEveryPluginQuietly(cwd: string) {
334
340
  }
335
341
 
336
342
  async function buildEverythingDevQuietly(cwd: string) {
343
+ const packageDir = `${cwd}/packages/everything-dev`;
344
+ const packageExists = await Bun.file(`${packageDir}/package.json`).exists();
345
+ if (!packageExists) {
346
+ return;
347
+ }
348
+
337
349
  const distPath = `${cwd}/packages/everything-dev/dist/index.mjs`;
338
350
  const distExists = await Bun.file(distPath).exists();
339
351
 
@@ -1117,6 +1129,7 @@ export default createPlugin({
1117
1129
  parentGateway: gateway,
1118
1130
  name: name || account,
1119
1131
  domain: domain || gateway,
1132
+ workspaceOpts: { sourceDir },
1120
1133
  });
1121
1134
 
1122
1135
  if (!input.noInstall) {