@powerlines/plugin-vite 0.14.123 → 0.14.124
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/helpers/index.cjs +1 -1
- package/dist/helpers/index.d.cts +2 -2
- package/dist/helpers/index.d.mts +2 -2
- package/dist/helpers/index.mjs +1 -1
- package/dist/helpers/unplugin.cjs +1 -1
- package/dist/helpers/unplugin.d.cts +2 -2
- package/dist/helpers/unplugin.d.mts +2 -2
- package/dist/helpers/unplugin.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{plugin-DltT0Eo-.d.mts → plugin-Dc12T6ZF.d.mts} +8 -1
- package/dist/{plugin-ig0w5dJe.d.cts → plugin-vkCGh5de.d.cts} +8 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/internal.d.cts +1 -1
- package/dist/types/internal.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/dist/{unplugin-coawd-Mc.mjs → unplugin-B3TcDD6I.mjs} +2 -0
- package/dist/{unplugin-Bs-gD2UV.cjs → unplugin-Bv2agFkI.cjs} +2 -0
- package/dist/{unplugin-ChUI7J-4.d.mts → unplugin-D_zrAqRh.d.mts} +1 -1
- package/dist/{unplugin-BhONWbBU.d.cts → unplugin-F1UAxbOS.d.cts} +1 -1
- package/package.json +5 -5
package/dist/helpers/index.cjs
CHANGED
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.mts
CHANGED
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../plugin-
|
|
2
|
-
import { t as createVitePlugin } from "../unplugin-
|
|
1
|
+
import "../plugin-vkCGh5de.cjs";
|
|
2
|
+
import { t as createVitePlugin } from "../unplugin-F1UAxbOS.cjs";
|
|
3
3
|
export { createVitePlugin };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../plugin-
|
|
2
|
-
import { t as createVitePlugin } from "../unplugin-
|
|
1
|
+
import "../plugin-Dc12T6ZF.mjs";
|
|
2
|
+
import { t as createVitePlugin } from "../unplugin-D_zrAqRh.mjs";
|
|
3
3
|
export { createVitePlugin };
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const require_unplugin = require('./unplugin-
|
|
2
|
+
const require_unplugin = require('./unplugin-Bv2agFkI.cjs');
|
|
3
3
|
require('./helpers-LF26RHol.cjs');
|
|
4
4
|
require('./plugin-pBKbb5K9.cjs');
|
|
5
5
|
require('./types-o3zWarRp.cjs');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Plugin, a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "./plugin-
|
|
2
|
-
import { t as createVitePlugin } from "./unplugin-
|
|
1
|
+
import { S as Plugin, a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "./plugin-vkCGh5de.cjs";
|
|
2
|
+
import { t as createVitePlugin } from "./unplugin-F1UAxbOS.cjs";
|
|
3
3
|
import "./index-_wQ5ClJU.cjs";
|
|
4
4
|
import "./index-BR1oNnaF.cjs";
|
|
5
5
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Plugin, a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "./plugin-
|
|
2
|
-
import { t as createVitePlugin } from "./unplugin-
|
|
1
|
+
import { S as Plugin, a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "./plugin-Dc12T6ZF.mjs";
|
|
2
|
+
import { t as createVitePlugin } from "./unplugin-D_zrAqRh.mjs";
|
|
3
3
|
import "./index-vkGVyY9v.mjs";
|
|
4
4
|
import "./index-DEHBdV_z.mjs";
|
|
5
5
|
|
package/dist/index.mjs
CHANGED
|
@@ -686,7 +686,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
686
686
|
/**
|
|
687
687
|
* The resolved options for the Powerlines project configuration.
|
|
688
688
|
*/
|
|
689
|
-
type ResolvedConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
689
|
+
type ResolvedConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Omit<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
690
690
|
/**
|
|
691
691
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
692
692
|
*/
|
|
@@ -1248,6 +1248,13 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
1248
1248
|
* If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
|
|
1249
1249
|
*/
|
|
1250
1250
|
description?: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* The organization or author of the project
|
|
1253
|
+
*
|
|
1254
|
+
* @remarks
|
|
1255
|
+
* If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
|
|
1256
|
+
*/
|
|
1257
|
+
organization?: string;
|
|
1251
1258
|
/**
|
|
1252
1259
|
* The date to use for compatibility checks
|
|
1253
1260
|
*
|
|
@@ -683,7 +683,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
683
683
|
/**
|
|
684
684
|
* The resolved options for the Powerlines project configuration.
|
|
685
685
|
*/
|
|
686
|
-
type ResolvedConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
686
|
+
type ResolvedConfig<TUserConfig extends UserConfig$1 = UserConfig$1> = Omit<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
|
|
687
687
|
/**
|
|
688
688
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
689
689
|
*/
|
|
@@ -1245,6 +1245,13 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
1245
1245
|
* If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
|
|
1246
1246
|
*/
|
|
1247
1247
|
description?: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* The organization or author of the project
|
|
1250
|
+
*
|
|
1251
|
+
* @remarks
|
|
1252
|
+
* If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
|
|
1253
|
+
*/
|
|
1254
|
+
organization?: string;
|
|
1248
1255
|
/**
|
|
1249
1256
|
* The date to use for compatibility checks
|
|
1250
1257
|
*
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "../plugin-vkCGh5de.cjs";
|
|
2
2
|
import "../index-BR1oNnaF.cjs";
|
|
3
3
|
export { VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "../plugin-Dc12T6ZF.mjs";
|
|
2
2
|
import "../index-DEHBdV_z.mjs";
|
|
3
3
|
export { VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ResolvedConfig, _ as DocsInlineConfig, b as PluginConfig, c as EnvironmentContext, d as HookKeys, f as InferHookParameters, g as DeployInlineConfig, h as CleanInlineConfig, l as PluginContext, m as BuildInlineConfig, p as InferHookReturnType, r as VitePluginResolvedConfig, s as APIContext, u as SelectHooksOptions, v as LintInlineConfig, x as PrepareInlineConfig, y as NewInlineConfig } from "../plugin-
|
|
1
|
+
import { C as ResolvedConfig, _ as DocsInlineConfig, b as PluginConfig, c as EnvironmentContext, d as HookKeys, f as InferHookParameters, g as DeployInlineConfig, h as CleanInlineConfig, l as PluginContext, m as BuildInlineConfig, p as InferHookReturnType, r as VitePluginResolvedConfig, s as APIContext, u as SelectHooksOptions, v as LintInlineConfig, x as PrepareInlineConfig, y as NewInlineConfig } from "../plugin-vkCGh5de.cjs";
|
|
2
2
|
import { MaybePromise } from "@stryke/types/base";
|
|
3
3
|
import { ArrayValues } from "@stryke/types/array";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ResolvedConfig, _ as DocsInlineConfig, b as PluginConfig, c as EnvironmentContext, d as HookKeys, f as InferHookParameters, g as DeployInlineConfig, h as CleanInlineConfig, l as PluginContext, m as BuildInlineConfig, p as InferHookReturnType, r as VitePluginResolvedConfig, s as APIContext, u as SelectHooksOptions, v as LintInlineConfig, x as PrepareInlineConfig, y as NewInlineConfig } from "../plugin-
|
|
1
|
+
import { C as ResolvedConfig, _ as DocsInlineConfig, b as PluginConfig, c as EnvironmentContext, d as HookKeys, f as InferHookParameters, g as DeployInlineConfig, h as CleanInlineConfig, l as PluginContext, m as BuildInlineConfig, p as InferHookReturnType, r as VitePluginResolvedConfig, s as APIContext, u as SelectHooksOptions, v as LintInlineConfig, x as PrepareInlineConfig, y as NewInlineConfig } from "../plugin-Dc12T6ZF.mjs";
|
|
2
2
|
import { MaybePromise } from "@stryke/types/base";
|
|
3
3
|
import { ArrayValues } from "@stryke/types/array";
|
|
4
4
|
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "../plugin-vkCGh5de.cjs";
|
|
2
2
|
export { VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "../plugin-
|
|
1
|
+
import { a as __ΩVitePluginOptions, i as __ΩVitePluginContext, n as VitePluginOptions, o as __ΩVitePluginResolvedConfig, r as VitePluginResolvedConfig, t as VitePluginContext } from "../plugin-Dc12T6ZF.mjs";
|
|
2
2
|
export { VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig };
|
|
@@ -2660,6 +2660,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
2660
2660
|
projectRoot: config.root,
|
|
2661
2661
|
name: config.name,
|
|
2662
2662
|
title: config.title,
|
|
2663
|
+
organization: config.organization,
|
|
2663
2664
|
compatibilityDate: config.compatibilityDate,
|
|
2664
2665
|
description: config.description,
|
|
2665
2666
|
sourceRoot: config.sourceRoot,
|
|
@@ -3460,6 +3461,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
3460
3461
|
this.config.entry = getUniqueEntries(this.config.entry);
|
|
3461
3462
|
if (this.config.name?.startsWith("@") && this.config.name.split("/").filter(Boolean).length > 1) this.config.name = this.config.name.split("/").filter(Boolean)[1];
|
|
3462
3463
|
this.config.title ??= titleCase(this.config.name);
|
|
3464
|
+
this.config.organization ??= (isSetObject(this.workspaceConfig.organization) ? this.workspaceConfig.organization.name : this.workspaceConfig.organization) || (isSetObject(this.packageJson?.author) ? this.packageJson?.author?.name : this.packageJson?.author) || this.config.name;
|
|
3463
3465
|
if (this.config.userConfig.build?.external) this.config.userConfig.build.external = getUnique(this.config.userConfig.build.external);
|
|
3464
3466
|
if (this.config.userConfig.build?.noExternal) this.config.userConfig.build.noExternal = getUnique(this.config.userConfig.build.noExternal);
|
|
3465
3467
|
if (this.config.build.external) this.config.build.external = getUnique(this.config.build.external);
|
|
@@ -2693,6 +2693,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
2693
2693
|
projectRoot: config.root,
|
|
2694
2694
|
name: config.name,
|
|
2695
2695
|
title: config.title,
|
|
2696
|
+
organization: config.organization,
|
|
2696
2697
|
compatibilityDate: config.compatibilityDate,
|
|
2697
2698
|
description: config.description,
|
|
2698
2699
|
sourceRoot: config.sourceRoot,
|
|
@@ -3493,6 +3494,7 @@ var PowerlinesContext = class PowerlinesContext {
|
|
|
3493
3494
|
this.config.entry = getUniqueEntries(this.config.entry);
|
|
3494
3495
|
if (this.config.name?.startsWith("@") && this.config.name.split("/").filter(Boolean).length > 1) this.config.name = this.config.name.split("/").filter(Boolean)[1];
|
|
3495
3496
|
this.config.title ??= (0, __stryke_string_format_title_case.titleCase)(this.config.name);
|
|
3497
|
+
this.config.organization ??= ((0, __stryke_type_checks_is_set_object.isSetObject)(this.workspaceConfig.organization) ? this.workspaceConfig.organization.name : this.workspaceConfig.organization) || ((0, __stryke_type_checks_is_set_object.isSetObject)(this.packageJson?.author) ? this.packageJson?.author?.name : this.packageJson?.author) || this.config.name;
|
|
3496
3498
|
if (this.config.userConfig.build?.external) this.config.userConfig.build.external = (0, __stryke_helpers_get_unique.getUnique)(this.config.userConfig.build.external);
|
|
3497
3499
|
if (this.config.userConfig.build?.noExternal) this.config.userConfig.build.noExternal = (0, __stryke_helpers_get_unique.getUnique)(this.config.userConfig.build.noExternal);
|
|
3498
3500
|
if (this.config.build.external) this.config.build.external = (0, __stryke_helpers_get_unique.getUnique)(this.config.build.external);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-vite",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.124",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -152,14 +152,14 @@
|
|
|
152
152
|
"defu": "^6.1.4",
|
|
153
153
|
"jiti": "^2.6.1",
|
|
154
154
|
"vite": "8.0.0-beta.2",
|
|
155
|
-
"powerlines": "^0.36.
|
|
155
|
+
"powerlines": "^0.36.27"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
158
|
"vite": "8.0.0-beta.2",
|
|
159
|
-
"@powerlines/nx": "^0.11.
|
|
160
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
159
|
+
"@powerlines/nx": "^0.11.53",
|
|
160
|
+
"@powerlines/plugin-plugin": "^0.12.75",
|
|
161
161
|
"@types/node": "^24.10.4"
|
|
162
162
|
},
|
|
163
163
|
"publishConfig": { "access": "public" },
|
|
164
|
-
"gitHead": "
|
|
164
|
+
"gitHead": "fbc59ce584fd0f78d90d2dbaa18f9c9267bd3b61"
|
|
165
165
|
}
|