@powerlines/plugin-oxlint 0.7.9 → 0.7.10
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/generate-config.d.cts +1 -1
- package/dist/helpers/generate-config.d.ts +1 -1
- package/dist/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/{index-C5NOLAZb.d.cts → index-Bx6UWENm.d.cts} +3 -3
- package/dist/{index-C5NOLAZb.d.ts → index-Bx6UWENm.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 +4 -4
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1106,7 +1106,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1106
1106
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1107
1107
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1108
1108
|
|
|
1109
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1109
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1110
1110
|
/**
|
|
1111
1111
|
* The order in which the plugin should be applied.
|
|
1112
1112
|
*/
|
|
@@ -1114,13 +1114,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1114
1114
|
/**
|
|
1115
1115
|
* A filter to determine when the hook should be called.
|
|
1116
1116
|
*/
|
|
1117
|
-
filter?: TFilter
|
|
1117
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1118
1118
|
/**
|
|
1119
1119
|
* The hook function to be called.
|
|
1120
1120
|
*/
|
|
1121
1121
|
handler: THookFunction;
|
|
1122
1122
|
}
|
|
1123
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1123
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1124
1124
|
/**
|
|
1125
1125
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1126
1126
|
*/
|
|
@@ -1106,7 +1106,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1106
1106
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1107
1107
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1108
1108
|
|
|
1109
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1109
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1110
1110
|
/**
|
|
1111
1111
|
* The order in which the plugin should be applied.
|
|
1112
1112
|
*/
|
|
@@ -1114,13 +1114,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1114
1114
|
/**
|
|
1115
1115
|
* A filter to determine when the hook should be called.
|
|
1116
1116
|
*/
|
|
1117
|
-
filter?: TFilter
|
|
1117
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1118
1118
|
/**
|
|
1119
1119
|
* The hook function to be called.
|
|
1120
1120
|
*/
|
|
1121
1121
|
handler: THookFunction;
|
|
1122
1122
|
}
|
|
1123
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1123
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1124
1124
|
/**
|
|
1125
1125
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1126
1126
|
*/
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OxlintPluginOptions, P as Plugin, a as OxlintPluginContext } from './index-
|
|
2
|
-
export { c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from './index-
|
|
1
|
+
import { O as OxlintPluginOptions, P as Plugin, a as OxlintPluginContext } from './index-Bx6UWENm.cjs';
|
|
2
|
+
export { c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from './index-Bx6UWENm.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OxlintPluginOptions, P as Plugin, a as OxlintPluginContext } from './index-
|
|
2
|
-
export { c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from './index-
|
|
1
|
+
import { O as OxlintPluginOptions, P as Plugin, a as OxlintPluginContext } from './index-Bx6UWENm.js';
|
|
2
|
+
export { c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from './index-Bx6UWENm.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OxlintPluginContext, O as OxlintPluginOptions, c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from '../index-
|
|
1
|
+
export { a as OxlintPluginContext, O as OxlintPluginOptions, c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from '../index-Bx6UWENm.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OxlintPluginContext, O as OxlintPluginOptions, c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from '../index-
|
|
1
|
+
export { a as OxlintPluginContext, O as OxlintPluginOptions, c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from '../index-Bx6UWENm.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OxlintPluginContext, O as OxlintPluginOptions, c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from '../index-
|
|
1
|
+
export { a as OxlintPluginContext, O as OxlintPluginOptions, c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from '../index-Bx6UWENm.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OxlintPluginContext, O as OxlintPluginOptions, c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from '../index-
|
|
1
|
+
export { a as OxlintPluginContext, O as OxlintPluginOptions, c as OxlintPluginResolvedConfig, b as OxlintPluginUserConfig } from '../index-Bx6UWENm.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-oxlint",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running Oxlint on the codebase.",
|
|
6
6
|
"repository": {
|
|
@@ -96,13 +96,13 @@
|
|
|
96
96
|
"defu": "^6.1.4",
|
|
97
97
|
"oxlint": "^1.26.0",
|
|
98
98
|
"oxlint-tsgolint": "^0.2.1",
|
|
99
|
-
"powerlines": "^0.19.
|
|
99
|
+
"powerlines": "^0.19.2"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@powerlines/nx": "^0.10.
|
|
102
|
+
"@powerlines/nx": "^0.10.6",
|
|
103
103
|
"@storm-software/tsup": "^0.2.17",
|
|
104
104
|
"@types/node": "^22.19.0"
|
|
105
105
|
},
|
|
106
106
|
"publishConfig": { "access": "public" },
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
|
|
108
108
|
}
|