@powerlines/plugin-unenv 0.1.111 → 0.1.112

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/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, l as Plugin, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "./plugin-CKuYRX0Z.cjs";
1
+ import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, l as Plugin, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "./plugin-BK8qPAAJ.cjs";
2
2
  import "./index-CEgs-Dz2.cjs";
3
3
 
4
4
  //#region src/index.d.ts
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, l as Plugin, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "./plugin-D7opZ4Ng.mjs";
1
+ import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, l as Plugin, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "./plugin-08_31gHJ.mjs";
2
2
  import "./index-BgAdqTbb.mjs";
3
3
 
4
4
  //#region src/index.d.ts
@@ -1,3 +1,5 @@
1
+ import * as unenv0 from "unenv";
2
+ import { CreateEnvOptions } from "unenv";
1
3
  import { ArrayValues } from "@stryke/types/array";
2
4
  import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
3
5
  import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
@@ -20,8 +22,6 @@ import { DateString } from "compatx";
20
22
  import { ResolveOptions } from "@stryke/fs/resolve";
21
23
  import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
22
24
  import ts from "typescript";
23
- import * as unenv0 from "unenv";
24
- import { CreateEnvOptions } from "unenv";
25
25
 
26
26
  //#region ../powerlines/src/types/build.d.ts
27
27
  type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
@@ -937,6 +937,13 @@ interface CommonUserConfig extends BaseConfig {
937
937
  * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
938
938
  */
939
939
  description?: string;
940
+ /**
941
+ * The organization or author of the project
942
+ *
943
+ * @remarks
944
+ * 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.
945
+ */
946
+ organization?: string;
940
947
  /**
941
948
  * The date to use for compatibility checks
942
949
  *
@@ -1092,7 +1099,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
1092
1099
  /**
1093
1100
  * The resolved options for the Powerlines project configuration.
1094
1101
  */
1095
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = 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">> & {
1102
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = 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">> & {
1096
1103
  /**
1097
1104
  * The configuration options that were provided inline to the Powerlines CLI.
1098
1105
  */
@@ -1,5 +1,3 @@
1
- import * as unenv0 from "unenv";
2
- import { CreateEnvOptions } from "unenv";
3
1
  import { ArrayValues } from "@stryke/types/array";
4
2
  import { FunctionLike, MaybePromise, NonUndefined } from "@stryke/types/base";
5
3
  import { ExternalIdResult, HookFilter, TransformResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage, UnpluginOptions } from "unplugin";
@@ -22,6 +20,8 @@ import { DateString } from "compatx";
22
20
  import { ResolveOptions } from "@stryke/fs/resolve";
23
21
  import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
24
22
  import ts from "typescript";
23
+ import * as unenv0 from "unenv";
24
+ import { CreateEnvOptions } from "unenv";
25
25
 
26
26
  //#region ../powerlines/src/types/build.d.ts
27
27
  type UnpluginBuildVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown";
@@ -937,6 +937,13 @@ interface CommonUserConfig extends BaseConfig {
937
937
  * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
938
938
  */
939
939
  description?: string;
940
+ /**
941
+ * The organization or author of the project
942
+ *
943
+ * @remarks
944
+ * 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.
945
+ */
946
+ organization?: string;
940
947
  /**
941
948
  * The date to use for compatibility checks
942
949
  *
@@ -1092,7 +1099,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
1092
1099
  /**
1093
1100
  * The resolved options for the Powerlines project configuration.
1094
1101
  */
1095
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = 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">> & {
1102
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = 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">> & {
1096
1103
  /**
1097
1104
  * The configuration options that were provided inline to the Powerlines CLI.
1098
1105
  */
@@ -1,3 +1,3 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-CKuYRX0Z.cjs";
1
+ import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-BK8qPAAJ.cjs";
2
2
  import "../index-CEgs-Dz2.cjs";
3
3
  export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
@@ -1,3 +1,3 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-D7opZ4Ng.mjs";
1
+ import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-08_31gHJ.mjs";
2
2
  import "../index-BgAdqTbb.mjs";
3
3
  export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-CKuYRX0Z.cjs";
1
+ import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-BK8qPAAJ.cjs";
2
2
  export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
@@ -1,2 +1,2 @@
1
- import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-D7opZ4Ng.mjs";
1
+ import { a as __ΩUnenvPluginContext, c as __ΩUnenvPluginUserConfig, i as UnenvPluginUserConfig, n as UnenvPluginOptions, o as __ΩUnenvPluginOptions, r as UnenvPluginResolvedConfig, s as __ΩUnenvPluginResolvedConfig, t as UnenvPluginContext } from "../plugin-08_31gHJ.mjs";
2
2
  export { UnenvPluginContext, UnenvPluginOptions, UnenvPluginResolvedConfig, UnenvPluginUserConfig, __ΩUnenvPluginContext, __ΩUnenvPluginOptions, __ΩUnenvPluginResolvedConfig, __ΩUnenvPluginUserConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unenv",
3
- "version": "0.1.111",
3
+ "version": "0.1.112",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to transform source code to be platform agnostic using unenv.",
6
6
  "repository": {
@@ -122,14 +122,14 @@
122
122
  "@stryke/hash": "^0.12.33",
123
123
  "unenv": "npm:unenv-nightly@2.0.0-rc.24",
124
124
  "defu": "^6.1.4",
125
- "powerlines": "^0.36.26",
125
+ "powerlines": "^0.36.27",
126
126
  "typescript": "^5.9.3",
127
127
  "vite": "8.0.0-beta.2"
128
128
  },
129
129
  "devDependencies": {
130
- "@powerlines/nx": "^0.11.52",
130
+ "@powerlines/nx": "^0.11.53",
131
131
  "@types/node": "^24.10.4"
132
132
  },
133
133
  "publishConfig": { "access": "public" },
134
- "gitHead": "a703a2dd9be6175a67a9bf4847d0217be4e920af"
134
+ "gitHead": "fbc59ce584fd0f78d90d2dbaa18f9c9267bd3b61"
135
135
  }