@powerlines/plugin-rollup 0.7.13 → 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.
@@ -1,6 +1,6 @@
1
1
  export { createRollupPlugin } from './unplugin.cjs';
2
2
  import 'esbuild';
3
- import '../index-CZF94EYr.cjs';
3
+ import '../index-BO-ibNia.cjs';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/package-json';
@@ -1,6 +1,6 @@
1
1
  export { createRollupPlugin } from './unplugin.js';
2
2
  import 'esbuild';
3
- import '../index-CZF94EYr.js';
3
+ import '../index-BO-ibNia.js';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/package-json';
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import { R as RollupPluginContext } from '../index-CZF94EYr.cjs';
2
+ import { R as RollupPluginContext } from '../index-BO-ibNia.cjs';
3
3
  import 'rollup';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/package-json';
@@ -1,5 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
- import { R as RollupPluginContext } from '../index-CZF94EYr.js';
2
+ import { R as RollupPluginContext } from '../index-BO-ibNia.js';
3
3
  import 'rollup';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/package-json';
@@ -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 | undefined = undefined> {
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 | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
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 | undefined = undefined> {
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 | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
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
  */
@@ -1,4 +1,4 @@
1
- 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('../chunk-FBBMZ4NC.cjs'),toArray=require('@stryke/convert/to-array'),u=require('defu'),rollup$1=require('powerlines/lib/build/rollup'),rollup=require('rollup'),unplugin=require('./helpers/unplugin'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var u__default=/*#__PURE__*/_interopDefault(u);/*****************************************
1
+ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var chunkFBBMZ4NC_cjs=require('./chunk-FBBMZ4NC.cjs'),toArray=require('@stryke/convert/to-array'),u=require('defu'),rollup$1=require('powerlines/lib/build/rollup'),rollup=require('rollup'),unplugin=require('./helpers/unplugin'),helpers=require('./helpers'),types=require('./types');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var u__default=/*#__PURE__*/_interopDefault(u);/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
@@ -1,6 +1,6 @@
1
- import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from '../index-CZF94EYr.cjs';
2
- export { b as RollupPluginResolvedConfig } from '../index-CZF94EYr.cjs';
3
- export { createRollupPlugin } from '../helpers/unplugin.cjs';
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
+ export { createRollupPlugin } from './helpers/unplugin.cjs';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/package-json';
@@ -1,6 +1,6 @@
1
- import { R as RollupPluginContext, a as RollupPluginOptions, P as Plugin } from '../index-CZF94EYr.js';
2
- export { b as RollupPluginResolvedConfig } from '../index-CZF94EYr.js';
3
- export { createRollupPlugin } from '../helpers/unplugin.js';
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
+ export { createRollupPlugin } from './helpers/unplugin.js';
4
4
  import 'rollup';
5
5
  import '@stryke/env/get-env-paths';
6
6
  import '@stryke/types/package-json';
@@ -1,4 +1,4 @@
1
- import {a}from'../chunk-UCUR73HG.js';import {toArray}from'@stryke/convert/to-array';import u from'defu';import {extractRollupConfig}from'powerlines/lib/build/rollup';import {rollup}from'rollup';import {createRollupPlugin}from'./helpers/unplugin';export*from'./helpers';export*from'./types';/*****************************************
1
+ import {a}from'./chunk-UCUR73HG.js';import {toArray}from'@stryke/convert/to-array';import u from'defu';import {extractRollupConfig}from'powerlines/lib/build/rollup';import {rollup}from'rollup';import {createRollupPlugin}from'./helpers/unplugin';export*from'./helpers';export*from'./types';/*****************************************
2
2
  *
3
3
  * ⚡ Built by Storm Software
4
4
  *
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-CZF94EYr.cjs';
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';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-CZF94EYr.js';
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';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-CZF94EYr.cjs';
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';
@@ -1,4 +1,4 @@
1
- export { R as RollupPluginContext, a as RollupPluginOptions, b as RollupPluginResolvedConfig } from '../index-CZF94EYr.js';
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.13",
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": {
@@ -127,22 +127,22 @@
127
127
  "files": ["dist/**/*"],
128
128
  "keywords": ["rollup", "powerlines", "storm-software", "powerlines-plugin"],
129
129
  "dependencies": {
130
- "@stryke/convert": "^0.6.0",
131
- "@stryke/fs": "^0.32.10",
132
- "@stryke/path": "^0.18.5",
133
- "@stryke/type-checks": "^0.3.10",
134
- "@stryke/types": "^0.10.0",
130
+ "@stryke/convert": "^0.6.1",
131
+ "@stryke/fs": "^0.32.11",
132
+ "@stryke/path": "^0.19.0",
133
+ "@stryke/type-checks": "^0.3.11",
134
+ "@stryke/types": "^0.10.1",
135
135
  "defu": "^6.1.4",
136
136
  "jiti": "^2.6.1",
137
- "powerlines": "^0.19.0",
138
- "rollup": "^4.52.5",
137
+ "powerlines": "^0.19.2",
138
+ "rollup": "^4.53.0",
139
139
  "unplugin": "^2.3.10"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.4",
143
- "@powerlines/plugin-plugin": "^0.11.12",
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": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
147
+ "gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
148
148
  }