@elliemae/pui-cli 6.0.0-beta.57 → 6.0.0-beta.58

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.
@@ -26,6 +26,7 @@ async function buildService() {
26
26
  esmOnly: true,
27
27
  target: TARGETS.node,
28
28
  injectReactShim: false,
29
+ skipNestedPackageJSON: true,
29
30
  });
30
31
  }
31
32
 
@@ -65,6 +65,7 @@ exports.esBuild = async ({
65
65
  esmOnly = false,
66
66
  target = TARGETS.browerslist,
67
67
  injectReactShim = true,
68
+ skipNestedPackageJSON = false,
68
69
  }) => {
69
70
  const inputFiles = [
70
71
  `${srcdir}/**/*.{js,jsx,ts,tsx}`,
@@ -103,6 +104,7 @@ exports.esBuild = async ({
103
104
  });
104
105
  // copy files that are not built by esbuild
105
106
  await copyFiles({ srcdir, outdir: esmOutdir });
106
- await createPackageJson({ outdir: esmOutdir, type: NODE_MODULE_TYPES.ESM });
107
+ if (!skipNestedPackageJSON)
108
+ await createPackageJson({ outdir: esmOutdir, type: NODE_MODULE_TYPES.ESM });
107
109
  };
108
110
  exports.TARGETS = TARGETS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "6.0.0-beta.57",
3
+ "version": "6.0.0-beta.58",
4
4
  "private": false,
5
5
  "description": "ICE MT UI Platform CLI",
6
6
  "sideEffects": false,