powerlines 0.42.10 → 0.42.11
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/{api-COmAT3Wz.cjs → api-CuHgopi6.cjs} +4 -4
- package/dist/{api-1pXTf_83.mjs → api-DNNDv-om.mjs} +5 -5
- package/dist/api-DNNDv-om.mjs.map +1 -0
- package/dist/astro.cjs +1 -1
- package/dist/astro.mjs +1 -1
- package/dist/context/index.cjs +1 -1
- package/dist/context/index.d.cts.map +1 -1
- package/dist/context/index.d.mts.map +1 -1
- package/dist/context/index.mjs +1 -1
- package/dist/esbuild.cjs +1 -1
- package/dist/esbuild.mjs +1 -1
- package/dist/farm.cjs +1 -1
- package/dist/farm.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/next.cjs +1 -1
- package/dist/next.mjs +1 -1
- package/dist/nuxt.cjs +1 -1
- package/dist/nuxt.mjs +1 -1
- package/dist/rolldown.cjs +1 -1
- package/dist/rolldown.mjs +1 -1
- package/dist/rollup.cjs +1 -1
- package/dist/rollup.mjs +1 -1
- package/dist/rspack.cjs +1 -1
- package/dist/rspack.mjs +1 -1
- package/dist/tsdown.cjs +1 -1
- package/dist/tsdown.mjs +1 -1
- package/dist/tsup.cjs +1 -1
- package/dist/tsup.mjs +1 -1
- package/dist/unloader.cjs +1 -1
- package/dist/unloader.mjs +1 -1
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/webpack.cjs +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +12 -12
- package/dist/api-1pXTf_83.mjs.map +0 -1
|
@@ -53,7 +53,6 @@ let _stryke_helpers_get_unique = require("@stryke/helpers/get-unique");
|
|
|
53
53
|
let _stryke_http_fetch = require("@stryke/http/fetch");
|
|
54
54
|
let _stryke_path_join = require("@stryke/path/join");
|
|
55
55
|
let _stryke_type_checks_is_null = require("@stryke/type-checks/is-null");
|
|
56
|
-
let _stryke_type_checks_is_regexp = require("@stryke/type-checks/is-regexp");
|
|
57
56
|
let _stryke_unique_id_uuid = require("@stryke/unique-id/uuid");
|
|
58
57
|
let bundle_require = require("bundle-require");
|
|
59
58
|
let compatx = require("compatx");
|
|
@@ -68,6 +67,7 @@ let _stryke_path_correct_path = require("@stryke/path/correct-path");
|
|
|
68
67
|
let _stryke_path_glob_to_regex = require("@stryke/path/glob-to-regex");
|
|
69
68
|
let _stryke_path_is_type = require("@stryke/path/is-type");
|
|
70
69
|
let _stryke_path_slash = require("@stryke/path/slash");
|
|
70
|
+
let _stryke_type_checks_is_regexp = require("@stryke/type-checks/is-regexp");
|
|
71
71
|
let node_buffer = require("node:buffer");
|
|
72
72
|
let node_url = require("node:url");
|
|
73
73
|
let _powerlines_core_lib_logger = require("@powerlines/core/lib/logger");
|
|
@@ -76,7 +76,7 @@ let unplugin = require("unplugin");
|
|
|
76
76
|
|
|
77
77
|
//#region package.json
|
|
78
78
|
var name = "powerlines";
|
|
79
|
-
var version = "0.42.
|
|
79
|
+
var version = "0.42.10";
|
|
80
80
|
|
|
81
81
|
//#endregion
|
|
82
82
|
//#region src/_internal/helpers/generate-types.ts
|
|
@@ -1711,7 +1711,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
1711
1711
|
tsconfigRaw: config.tsconfigRaw,
|
|
1712
1712
|
skipCache: config.skipCache,
|
|
1713
1713
|
autoInstall: config.autoInstall,
|
|
1714
|
-
input: config.input,
|
|
1714
|
+
input: (0, _stryke_type_checks_is_set_string.isSetString)(config.input) ? [config.input] : config.input,
|
|
1715
1715
|
plugins: config.plugins,
|
|
1716
1716
|
mode: config.mode,
|
|
1717
1717
|
resolve: config.resolve,
|
|
@@ -2604,7 +2604,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
2604
2604
|
this.#fs ??= await VirtualFileSystem.create(this);
|
|
2605
2605
|
}
|
|
2606
2606
|
mergeUserConfig(from = {}, into = this.config.userConfig ?? {}) {
|
|
2607
|
-
this.config.userConfig = (0, require_plugin_utils.plugin_utils_exports.mergeConfig)(
|
|
2607
|
+
this.config.userConfig = (0, require_plugin_utils.plugin_utils_exports.mergeConfig)(from, into);
|
|
2608
2608
|
if (this.config.userConfig.output?.format) this.config.userConfig.output.format = (0, _stryke_helpers_get_unique.getUnique)((0, _stryke_convert_to_array.toArray)(this.config.userConfig.output?.format));
|
|
2609
2609
|
this.config.userConfig.plugins = (this.config.userConfig.plugins ?? []).filter(Boolean).reduce((ret, plugin) => {
|
|
2610
2610
|
if ((0, require_plugin_utils.plugin_utils_exports.isPlugin)(plugin) && (0, require_plugin_utils.plugin_utils_exports.checkDedupe)(plugin, ret.filter((p) => (0, require_plugin_utils.plugin_utils_exports.isPlugin)(p)))) return ret;
|
|
@@ -50,7 +50,6 @@ import { getUnique, getUniqueBy } from "@stryke/helpers/get-unique";
|
|
|
50
50
|
import { fetchRequest } from "@stryke/http/fetch";
|
|
51
51
|
import { joinPaths as joinPaths$1 } from "@stryke/path/join";
|
|
52
52
|
import { isNull } from "@stryke/type-checks/is-null";
|
|
53
|
-
import { isRegExp } from "@stryke/type-checks/is-regexp";
|
|
54
53
|
import { uuid } from "@stryke/unique-id/uuid";
|
|
55
54
|
import { match, tsconfigPathsToRegExp } from "bundle-require";
|
|
56
55
|
import { resolveCompatibilityDates } from "compatx";
|
|
@@ -64,6 +63,7 @@ import { correctPath, stripStars } from "@stryke/path/correct-path";
|
|
|
64
63
|
import { globToRegex } from "@stryke/path/glob-to-regex";
|
|
65
64
|
import { isAbsolutePath } from "@stryke/path/is-type";
|
|
66
65
|
import { slash } from "@stryke/path/slash";
|
|
66
|
+
import { isRegExp } from "@stryke/type-checks/is-regexp";
|
|
67
67
|
import { Blob as Blob$1 } from "node:buffer";
|
|
68
68
|
import { fileURLToPath } from "node:url";
|
|
69
69
|
import { createLog } from "@powerlines/core/lib/logger";
|
|
@@ -72,7 +72,7 @@ import { setParseImpl } from "unplugin";
|
|
|
72
72
|
|
|
73
73
|
//#region package.json
|
|
74
74
|
var name = "powerlines";
|
|
75
|
-
var version = "0.42.
|
|
75
|
+
var version = "0.42.10";
|
|
76
76
|
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/_internal/helpers/generate-types.ts
|
|
@@ -1707,7 +1707,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
1707
1707
|
tsconfigRaw: config.tsconfigRaw,
|
|
1708
1708
|
skipCache: config.skipCache,
|
|
1709
1709
|
autoInstall: config.autoInstall,
|
|
1710
|
-
input: config.input,
|
|
1710
|
+
input: isSetString(config.input) ? [config.input] : config.input,
|
|
1711
1711
|
plugins: config.plugins,
|
|
1712
1712
|
mode: config.mode,
|
|
1713
1713
|
resolve: config.resolve,
|
|
@@ -2600,7 +2600,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
2600
2600
|
this.#fs ??= await VirtualFileSystem.create(this);
|
|
2601
2601
|
}
|
|
2602
2602
|
mergeUserConfig(from = {}, into = this.config.userConfig ?? {}) {
|
|
2603
|
-
this.config.userConfig = (0, plugin_utils_exports.mergeConfig)(
|
|
2603
|
+
this.config.userConfig = (0, plugin_utils_exports.mergeConfig)(from, into);
|
|
2604
2604
|
if (this.config.userConfig.output?.format) this.config.userConfig.output.format = getUnique(toArray(this.config.userConfig.output?.format));
|
|
2605
2605
|
this.config.userConfig.plugins = (this.config.userConfig.plugins ?? []).filter(Boolean).reduce((ret, plugin) => {
|
|
2606
2606
|
if ((0, plugin_utils_exports.isPlugin)(plugin) && (0, plugin_utils_exports.checkDedupe)(plugin, ret.filter((p) => (0, plugin_utils_exports.isPlugin)(p)))) return ret;
|
|
@@ -3730,4 +3730,4 @@ ${formatTypes(types)}
|
|
|
3730
3730
|
|
|
3731
3731
|
//#endregion
|
|
3732
3732
|
export { createUnpluginFactory as a, FileMetadata as c, FileSystem as d, _capnpFileId as f, createPluginContext as i, FileMetadata_KeyValuePair as l, version as m, PowerlinesAPIContext as n, PowerlinesContext as o, name as p, PowerlinesEnvironmentContext as r, FileId as s, PowerlinesAPI as t, FileStorage as u };
|
|
3733
|
-
//# sourceMappingURL=api-
|
|
3733
|
+
//# sourceMappingURL=api-DNNDv-om.mjs.map
|