@powerlines/plugin-nitro 0.1.568 → 0.1.570
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.cjs +3 -5
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,15 +25,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
require('./types/index.cjs');
|
|
28
|
+
require("./types/index.cjs");
|
|
30
29
|
let _stryke_path_append = require("@stryke/path/append");
|
|
31
30
|
let defu = require("defu");
|
|
32
31
|
defu = __toESM(defu, 1);
|
|
33
32
|
let nitro_builder = require("nitro/builder");
|
|
34
33
|
let powerlines_plugin_utils = require("powerlines/plugin-utils");
|
|
35
34
|
|
|
36
|
-
|
|
35
|
+
// src/index.ts
|
|
37
36
|
/**
|
|
38
37
|
* A Powerlines plugin to integrate with Nitro.
|
|
39
38
|
*/
|
|
@@ -100,5 +99,4 @@ const plugin = (options = {}) => {
|
|
|
100
99
|
];
|
|
101
100
|
};
|
|
102
101
|
|
|
103
|
-
//#endregion
|
|
104
102
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig } from "./types/plugin.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
nitro?: NitroPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to integrate with Nitro.
|
|
12
11
|
*/
|
|
13
12
|
declare const plugin: <TContext extends NitroPluginContext = NitroPluginContext>(options?: NitroPluginOptions) => Plugin<TContext>[];
|
|
14
|
-
//#endregion
|
|
15
13
|
export { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YAmCY;IACR,QAAQ;;;;;;cAOC,SACX,iBAAiB,qBAAqB,oBAEtC,UAAS,uBAoFJ,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig } from "./types/plugin.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
nitro?: NitroPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to integrate with Nitro.
|
|
12
11
|
*/
|
|
13
12
|
declare const plugin: <TContext extends NitroPluginContext = NitroPluginContext>(options?: NitroPluginOptions) => Plugin<TContext>[];
|
|
14
|
-
//#endregion
|
|
15
13
|
export { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import defu from "defu";
|
|
|
4
4
|
import { createNitro } from "nitro/builder";
|
|
5
5
|
import { getConfigPath } from "powerlines/plugin-utils";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* A Powerlines plugin to integrate with Nitro.
|
|
10
10
|
*/
|
|
@@ -71,6 +71,5 @@ const plugin = (options = {}) => {
|
|
|
71
71
|
];
|
|
72
72
|
};
|
|
73
73
|
|
|
74
|
-
//#endregion
|
|
75
74
|
export { plugin };
|
|
76
75
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -2,7 +2,6 @@ import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
|
2
2
|
import { createDevServer } from "nitro/builder";
|
|
3
3
|
import { Nitro, NitroConfig } from "nitro/types";
|
|
4
4
|
import { NitroPluginConfig, ServiceConfig } from "nitro/vite";
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
5
|
interface NitroPluginOptions extends Omit<NitroConfig, "root" | "compatibilityDate" | "logLevel" | "sourcemap" | "minify"> {
|
|
7
6
|
/**
|
|
8
7
|
* The path to a separate Nitro configuration file.
|
|
@@ -33,6 +32,5 @@ interface NitroContext {
|
|
|
33
32
|
type NitroPluginContext<TResolvedConfig extends NitroPluginResolvedConfig = NitroPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
34
33
|
nitro: NitroContext;
|
|
35
34
|
};
|
|
36
|
-
//#endregion
|
|
37
35
|
export { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig };
|
|
38
36
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;UAuBiB,2BAA2B,KAC1C;;;;EAMA;;UAGe,8BAA8B;;;;EAI7C,QAAQ;;UAGO,kCAAkC;;;;EAIjD,OAAO;;UAGQ;EACf,QAAQ;EACR,cAAc;EACd,MAAM,kBAAkB;EACxB,UAAU,eAAe;EACzB;EACA;EACA;;KAGU,mBACV,wBAAwB,4BAA4B,6BAClD,cAAc;EAChB,OAAO"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { createDevServer } from "nitro/builder";
|
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
3
|
import { Nitro, NitroConfig } from "nitro/types";
|
|
4
4
|
import { NitroPluginConfig, ServiceConfig } from "nitro/vite";
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
5
|
interface NitroPluginOptions extends Omit<NitroConfig, "root" | "compatibilityDate" | "logLevel" | "sourcemap" | "minify"> {
|
|
7
6
|
/**
|
|
8
7
|
* The path to a separate Nitro configuration file.
|
|
@@ -33,6 +32,5 @@ interface NitroContext {
|
|
|
33
32
|
type NitroPluginContext<TResolvedConfig extends NitroPluginResolvedConfig = NitroPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
34
33
|
nitro: NitroContext;
|
|
35
34
|
};
|
|
36
|
-
//#endregion
|
|
37
35
|
export { NitroContext, NitroPluginContext, NitroPluginOptions, NitroPluginResolvedConfig, NitroPluginUserConfig };
|
|
38
36
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-nitro",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.570",
|
|
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": {
|
|
@@ -86,22 +86,22 @@
|
|
|
86
86
|
"files": ["dist/**/*"],
|
|
87
87
|
"keywords": ["nitro", "powerlines", "storm-software", "powerlines-plugin"],
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@storm-software/config-tools": "^1.190.
|
|
89
|
+
"@storm-software/config-tools": "^1.190.151",
|
|
90
90
|
"@stryke/cli": "^0.13.90",
|
|
91
91
|
"@stryke/convert": "^0.7.47",
|
|
92
92
|
"@stryke/fs": "^0.33.118",
|
|
93
93
|
"@stryke/path": "^0.29.43",
|
|
94
94
|
"defu": "^6.1.7",
|
|
95
95
|
"nitro": "3.0.260429-beta",
|
|
96
|
-
"powerlines": "^0.47.
|
|
96
|
+
"powerlines": "^0.47.216"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
99
|
+
"@powerlines/plugin-plugin": "^0.12.629",
|
|
100
100
|
"@types/node": "^25.9.9"
|
|
101
101
|
},
|
|
102
102
|
"publishConfig": { "access": "public" },
|
|
103
103
|
"main": "./dist/index.cjs",
|
|
104
104
|
"module": "./dist/index.mjs",
|
|
105
105
|
"types": "./dist/index.d.cts",
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
|
|
107
107
|
}
|