@powerlines/plugin-rollup 0.7.14 → 0.7.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/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/unplugin.d.cts +1 -1
- package/dist/helpers/unplugin.d.ts +1 -1
- package/dist/{index-CZF94EYr.d.cts → index-BO-ibNia.d.cts} +3 -3
- package/dist/{index-CZF94EYr.d.ts → index-BO-ibNia.d.ts} +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +5 -5
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1114,7 +1114,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1114
1114
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1115
1115
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1116
1116
|
|
|
1117
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1117
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1118
1118
|
/**
|
|
1119
1119
|
* The order in which the plugin should be applied.
|
|
1120
1120
|
*/
|
|
@@ -1122,13 +1122,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1122
1122
|
/**
|
|
1123
1123
|
* A filter to determine when the hook should be called.
|
|
1124
1124
|
*/
|
|
1125
|
-
filter?: TFilter
|
|
1125
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* The hook function to be called.
|
|
1128
1128
|
*/
|
|
1129
1129
|
handler: THookFunction;
|
|
1130
1130
|
}
|
|
1131
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1131
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1132
1132
|
/**
|
|
1133
1133
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1134
1134
|
*/
|
|
@@ -1114,7 +1114,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1114
1114
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1115
1115
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1116
1116
|
|
|
1117
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1117
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1118
1118
|
/**
|
|
1119
1119
|
* The order in which the plugin should be applied.
|
|
1120
1120
|
*/
|
|
@@ -1122,13 +1122,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1122
1122
|
/**
|
|
1123
1123
|
* A filter to determine when the hook should be called.
|
|
1124
1124
|
*/
|
|
1125
|
-
filter?: TFilter
|
|
1125
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* The hook function to be called.
|
|
1128
1128
|
*/
|
|
1129
1129
|
handler: THookFunction;
|
|
1130
1130
|
}
|
|
1131
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1131
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1132
1132
|
/**
|
|
1133
1133
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1134
1134
|
*/
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { b as RollupPluginResolvedConfig } from './index-
|
|
1
|
+
import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-BO-ibNia.cjs';
|
|
2
|
+
export { b as RollupPluginResolvedConfig } from './index-BO-ibNia.cjs';
|
|
3
3
|
export { createRollupPlugin } from './helpers/unplugin.cjs';
|
|
4
4
|
import 'rollup';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-
|
|
2
|
-
export { b as RollupPluginResolvedConfig } from './index-
|
|
1
|
+
import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from './index-BO-ibNia.js';
|
|
2
|
+
export { b as RollupPluginResolvedConfig } from './index-BO-ibNia.js';
|
|
3
3
|
export { createRollupPlugin } from './helpers/unplugin.js';
|
|
4
4
|
import 'rollup';
|
|
5
5
|
import '@stryke/env/get-env-paths';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-
|
|
1
|
+
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-BO-ibNia.cjs';
|
|
2
2
|
import 'rollup';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-
|
|
1
|
+
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-BO-ibNia.js';
|
|
2
2
|
import 'rollup';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-
|
|
1
|
+
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-BO-ibNia.cjs';
|
|
2
2
|
import 'rollup';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-
|
|
1
|
+
export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-BO-ibNia.js';
|
|
2
2
|
import 'rollup';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/types/package-json';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-rollup",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -134,15 +134,15 @@
|
|
|
134
134
|
"@stryke/types": "^0.10.1",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
136
|
"jiti": "^2.6.1",
|
|
137
|
-
"powerlines": "^0.19.
|
|
137
|
+
"powerlines": "^0.19.2",
|
|
138
138
|
"rollup": "^4.53.0",
|
|
139
139
|
"unplugin": "^2.3.10"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
|
-
"@powerlines/nx": "^0.10.
|
|
143
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
142
|
+
"@powerlines/nx": "^0.10.6",
|
|
143
|
+
"@powerlines/plugin-plugin": "^0.11.14",
|
|
144
144
|
"@types/node": "^22.19.0"
|
|
145
145
|
},
|
|
146
146
|
"publishConfig": { "access": "public" },
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
|
|
148
148
|
}
|