@elliemae/pui-cli 8.29.2 → 8.29.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.
@@ -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_fast_glob.default.convertPathToPattern(import_node_path.default.join(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");
@@ -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_fast_glob.default.convertPathToPattern(import_node_path.default.join(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_fast_glob.default.convertPathToPattern(import_node_path.default.join(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
- fg.convertPathToPattern(path.join(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");
@@ -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
- fg.convertPathToPattern(path.join(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
- fg.convertPathToPattern(path.join(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,11 +1,11 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "8.29.2",
3
+ "version": "8.29.4",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/cjs/index.cjs",
7
7
  "module": "./dist/esm/index.js",
8
- "types": "./dist/types/index.d.ts",
8
+ "types": "./dist/types/lib/index.d.ts",
9
9
  "bin": {
10
10
  "pui-cli": "./dist/esm/cli.js"
11
11
  },