@powerlines/plugin-nitro 0.1.14 → 0.1.15
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 +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/{plugin-COtLXD_M.d.mts → plugin-BcH3HJs-.d.cts} +10 -3
- package/dist/{plugin-IsqCeNUe.d.cts → plugin-DRXUBpcx.d.mts} +10 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.mts +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, d as Plugin, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "./plugin-
|
|
1
|
+
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, d as Plugin, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "./plugin-BcH3HJs-.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 NitroPluginUserConfig, c as __ΩNitroPluginOptions, d as Plugin, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "./plugin-
|
|
1
|
+
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, d as Plugin, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "./plugin-DRXUBpcx.mjs";
|
|
2
2
|
import "./index-BgAdqTbb.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/index.d.ts
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
2
|
-
import { createDevServer } from "nitro/builder";
|
|
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";
|
|
@@ -14,6 +12,7 @@ import { Range } from "semver";
|
|
|
14
12
|
import { Project } from "ts-morph";
|
|
15
13
|
import { RequestInfo, Response } from "undici";
|
|
16
14
|
import { Format } from "@storm-software/build-tools/types";
|
|
15
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
17
16
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
18
17
|
import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
19
18
|
import { AssetGlob } from "@stryke/types/file";
|
|
@@ -21,6 +20,7 @@ import { DateString } from "compatx";
|
|
|
21
20
|
import { ResolveOptions } from "@stryke/fs/resolve";
|
|
22
21
|
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
23
22
|
import ts from "typescript";
|
|
23
|
+
import { createDevServer } from "nitro/builder";
|
|
24
24
|
import { Nitro, NitroConfig } from "nitro/types";
|
|
25
25
|
import { NitroPluginConfig, ServiceConfig } from "nitro/vite";
|
|
26
26
|
|
|
@@ -938,6 +938,13 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
938
938
|
* If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
|
|
939
939
|
*/
|
|
940
940
|
description?: string;
|
|
941
|
+
/**
|
|
942
|
+
* The organization or author of the project
|
|
943
|
+
*
|
|
944
|
+
* @remarks
|
|
945
|
+
* 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.
|
|
946
|
+
*/
|
|
947
|
+
organization?: string;
|
|
941
948
|
/**
|
|
942
949
|
* The date to use for compatibility checks
|
|
943
950
|
*
|
|
@@ -1093,7 +1100,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
1093
1100
|
/**
|
|
1094
1101
|
* The resolved options for the Powerlines project configuration.
|
|
1095
1102
|
*/
|
|
1096
|
-
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">> & {
|
|
1103
|
+
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">> & {
|
|
1097
1104
|
/**
|
|
1098
1105
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
1099
1106
|
*/
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
2
|
+
import { createDevServer } from "nitro/builder";
|
|
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";
|
|
@@ -12,7 +14,6 @@ import { Range } from "semver";
|
|
|
12
14
|
import { Project } from "ts-morph";
|
|
13
15
|
import { RequestInfo, Response } from "undici";
|
|
14
16
|
import { Format } from "@storm-software/build-tools/types";
|
|
15
|
-
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
16
17
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
17
18
|
import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
18
19
|
import { AssetGlob } from "@stryke/types/file";
|
|
@@ -20,7 +21,6 @@ import { DateString } from "compatx";
|
|
|
20
21
|
import { ResolveOptions } from "@stryke/fs/resolve";
|
|
21
22
|
import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
|
|
22
23
|
import ts from "typescript";
|
|
23
|
-
import { createDevServer } from "nitro/builder";
|
|
24
24
|
import { Nitro, NitroConfig } from "nitro/types";
|
|
25
25
|
import { NitroPluginConfig, ServiceConfig } from "nitro/vite";
|
|
26
26
|
|
|
@@ -938,6 +938,13 @@ interface CommonUserConfig extends BaseConfig {
|
|
|
938
938
|
* If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
|
|
939
939
|
*/
|
|
940
940
|
description?: string;
|
|
941
|
+
/**
|
|
942
|
+
* The organization or author of the project
|
|
943
|
+
*
|
|
944
|
+
* @remarks
|
|
945
|
+
* 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.
|
|
946
|
+
*/
|
|
947
|
+
organization?: string;
|
|
941
948
|
/**
|
|
942
949
|
* The date to use for compatibility checks
|
|
943
950
|
*
|
|
@@ -1093,7 +1100,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
|
|
|
1093
1100
|
/**
|
|
1094
1101
|
* The resolved options for the Powerlines project configuration.
|
|
1095
1102
|
*/
|
|
1096
|
-
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">> & {
|
|
1103
|
+
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">> & {
|
|
1097
1104
|
/**
|
|
1098
1105
|
* The configuration options that were provided inline to the Powerlines CLI.
|
|
1099
1106
|
*/
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "../plugin-
|
|
1
|
+
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "../plugin-BcH3HJs-.cjs";
|
|
2
2
|
import "../index-CEgs-Dz2.cjs";
|
|
3
3
|
export { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig, __ΩNitroContext, __ΩNitroPluginContext, __ΩNitroPluginOptions, __ΩNitroPluginResolvedConfig, __ΩNitroPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "../plugin-
|
|
1
|
+
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "../plugin-DRXUBpcx.mjs";
|
|
2
2
|
import "../index-BgAdqTbb.mjs";
|
|
3
3
|
export { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig, __ΩNitroContext, __ΩNitroPluginContext, __ΩNitroPluginOptions, __ΩNitroPluginResolvedConfig, __ΩNitroPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "../plugin-
|
|
1
|
+
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "../plugin-BcH3HJs-.cjs";
|
|
2
2
|
export { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig, __ΩNitroContext, __ΩNitroPluginContext, __ΩNitroPluginOptions, __ΩNitroPluginResolvedConfig, __ΩNitroPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "../plugin-
|
|
1
|
+
import { a as NitroPluginUserConfig, c as __ΩNitroPluginOptions, i as NitroPluginResolvedConfig, l as __ΩNitroPluginResolvedConfig, n as NitroPluginContext, o as __ΩNitroContext, r as NitroPluginOptions, s as __ΩNitroPluginContext, t as NitroContext, u as __ΩNitroPluginUserConfig } from "../plugin-DRXUBpcx.mjs";
|
|
2
2
|
export { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig, __ΩNitroContext, __ΩNitroPluginContext, __ΩNitroPluginOptions, __ΩNitroPluginResolvedConfig, __ΩNitroPluginUserConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-nitro",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for creating a server application that runs on Nitro.",
|
|
6
6
|
"repository": {
|
|
@@ -107,13 +107,13 @@
|
|
|
107
107
|
"@stryke/path": "^0.24.1",
|
|
108
108
|
"defu": "^6.1.4",
|
|
109
109
|
"nitro": "3.0.1-alpha.1",
|
|
110
|
-
"powerlines": "^0.36.
|
|
110
|
+
"powerlines": "^0.36.27"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@powerlines/nx": "^0.11.
|
|
113
|
+
"@powerlines/nx": "^0.11.53",
|
|
114
114
|
"@storm-software/tsup": "^0.2.73",
|
|
115
115
|
"@types/node": "^24.10.4"
|
|
116
116
|
},
|
|
117
117
|
"publishConfig": { "access": "public" },
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "fbc59ce584fd0f78d90d2dbaa18f9c9267bd3b61"
|
|
119
119
|
}
|