@elliemae/pui-cli 8.29.3 → 8.29.5

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.
@@ -155,7 +155,7 @@ const updateRuntimeFile = async (src, dest, version) => {
155
155
  const latestJSFolder = "latest/js";
156
156
  const pipe = (0, import_node_util.promisify)(import_node_stream.pipeline);
157
157
  const results = await (0, import_fast_glob.default)([
158
- import_node_path.default.join(import_fast_glob.default.convertPathToPattern(src), "runtime~app.*.js")
158
+ import_node_path.default.join(src, "runtime~app.*.js").replace(/\\/g, "/")
159
159
  ]);
160
160
  if (!results?.length)
161
161
  throw new Error("Runtime file not found");
@@ -147,7 +147,7 @@ const plugins = [
147
147
  fileName: "./latest/manifest.json",
148
148
  publicPath: "",
149
149
  map: (file) => {
150
- file.name = file.name.replace(/^latest\//, "");
150
+ file.name = file.name.replace(/^latest(\/|\\)/, "");
151
151
  return file;
152
152
  }
153
153
  }),
@@ -43,7 +43,7 @@ var import_webpack_lib_base_babel = require("./webpack.lib.base.babel.js");
43
43
  const { basePath } = (0, import_helpers.getPaths)();
44
44
  const getHtmlWebpackPlugins = () => {
45
45
  const htmlTemplateFiles = import_fast_glob.default.sync([
46
- import_node_path.default.join(import_fast_glob.default.convertPathToPattern(process.cwd()), "lib/*.html")
46
+ import_node_path.default.join(process.cwd(), "lib", "*.html").replace(/\\/g, "/")
47
47
  ]);
48
48
  return htmlTemplateFiles.map(
49
49
  (htmlTemplateFile) => new import_html_webpack_plugin.default({
@@ -42,7 +42,7 @@ var import_helpers = require("./helpers.js");
42
42
  var import_webpack_lib_base_babel = require("./webpack.lib.base.babel.js");
43
43
  const getHtmlWebpackPlugins = () => {
44
44
  const htmlTemplateFiles = import_fast_glob.default.sync([
45
- import_node_path.default.join(import_fast_glob.default.convertPathToPattern(process.cwd()), "lib/*.html")
45
+ import_node_path.default.join(process.cwd(), "lib", "*.html").replace(/\\/g, "/")
46
46
  ]);
47
47
  return htmlTemplateFiles.map(
48
48
  (htmlTemplateFile) => new import_html_webpack_plugin.default({
@@ -124,7 +124,7 @@ const updateRuntimeFile = async (src, dest, version) => {
124
124
  const latestJSFolder = "latest/js";
125
125
  const pipe = promisify(pipeline);
126
126
  const results = await fg([
127
- path.join(fg.convertPathToPattern(src), "runtime~app.*.js")
127
+ path.join(src, "runtime~app.*.js").replace(/\\/g, "/")
128
128
  ]);
129
129
  if (!results?.length)
130
130
  throw new Error("Runtime file not found");
@@ -120,7 +120,7 @@ const plugins = [
120
120
  fileName: "./latest/manifest.json",
121
121
  publicPath: "",
122
122
  map: (file) => {
123
- file.name = file.name.replace(/^latest\//, "");
123
+ file.name = file.name.replace(/^latest(\/|\\)/, "");
124
124
  return file;
125
125
  }
126
126
  }),
@@ -10,7 +10,7 @@ import { baseConfig } from "./webpack.lib.base.babel.js";
10
10
  const { basePath } = getPaths();
11
11
  const getHtmlWebpackPlugins = () => {
12
12
  const htmlTemplateFiles = fg.sync([
13
- path.join(fg.convertPathToPattern(process.cwd()), "lib/*.html")
13
+ path.join(process.cwd(), "lib", "*.html").replace(/\\/g, "/")
14
14
  ]);
15
15
  return htmlTemplateFiles.map(
16
16
  (htmlTemplateFile) => new HtmlWebpackPlugin({
@@ -9,7 +9,7 @@ import { getCompressionPlugins, getLibraryName } from "./helpers.js";
9
9
  import { baseConfig } from "./webpack.lib.base.babel.js";
10
10
  const getHtmlWebpackPlugins = () => {
11
11
  const htmlTemplateFiles = fg.sync([
12
- path.join(fg.convertPathToPattern(process.cwd()), "lib/*.html")
12
+ path.join(process.cwd(), "lib", "*.html").replace(/\\/g, "/")
13
13
  ]);
14
14
  return htmlTemplateFiles.map(
15
15
  (htmlTemplateFile) => new HtmlWebpackPlugin({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "8.29.3",
3
+ "version": "8.29.5",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/cjs/index.cjs",