@powerlines/plugin-oxlint 0.7.680 → 0.7.681
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.cjs +1 -2
- package/dist/helpers/generate-config.d.cts +1 -3
- package/dist/helpers/generate-config.d.cts.map +1 -1
- package/dist/helpers/generate-config.d.mts +1 -3
- package/dist/helpers/generate-config.mjs +1 -2
- package/dist/helpers/index.cjs +1 -1
- package/dist/index.cjs +2 -3
- package/dist/index.d.cts +1 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -3
- package/dist/index.mjs +1 -2
- package/dist/{plugin-iulHDbbP.d.cts → plugin-DDc7gDEN.d.cts} +1 -3
- package/dist/plugin-DDc7gDEN.d.cts.map +1 -0
- package/dist/{plugin-iulHDbbP.d.mts → plugin-DDc7gDEN.d.mts} +1 -3
- package/dist/plugin-DDc7gDEN.d.mts.map +1 -0
- 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 +6 -6
- package/dist/plugin-iulHDbbP.d.cts.map +0 -1
- package/dist/plugin-iulHDbbP.d.mts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
let _stryke_convert_neutral = require("@stryke/convert/neutral");
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
// src/helpers/generate-config.ts
|
|
5
5
|
/**
|
|
6
6
|
* Generates an Oxlint configuration file content based on the provided options.
|
|
7
7
|
*
|
|
@@ -55,5 +55,4 @@ function generateConfig(options = {}) {
|
|
|
55
55
|
}`;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
//#endregion
|
|
59
58
|
exports.generateConfig = generateConfig;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as OxlintPluginOptions } from "../plugin-
|
|
2
|
-
//#region src/helpers/generate-config.d.ts
|
|
1
|
+
import { n as OxlintPluginOptions } from "../plugin-DDc7gDEN.cjs";
|
|
3
2
|
/**
|
|
4
3
|
* Generates an Oxlint configuration file content based on the provided options.
|
|
5
4
|
*
|
|
@@ -7,6 +6,5 @@ import { n as OxlintPluginOptions } from "../plugin-iulHDbbP.cjs";
|
|
|
7
6
|
* @returns The generated configuration as a string.
|
|
8
7
|
*/
|
|
9
8
|
declare function generateConfig(options?: OxlintPluginOptions): string;
|
|
10
|
-
//#endregion
|
|
11
9
|
export { generateConfig };
|
|
12
10
|
//# sourceMappingURL=generate-config.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-config.d.cts","names":[],"sources":["../../src/helpers/generate-config.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-config.d.cts","names":[],"sources":["../../src/helpers/generate-config.ts"],"mappings":";;;;;;;iBA2BgB,eAAe,UAAS"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as OxlintPluginOptions } from "../plugin-
|
|
2
|
-
//#region src/helpers/generate-config.d.ts
|
|
1
|
+
import { n as OxlintPluginOptions } from "../plugin-DDc7gDEN.mjs";
|
|
3
2
|
/**
|
|
4
3
|
* Generates an Oxlint configuration file content based on the provided options.
|
|
5
4
|
*
|
|
@@ -7,6 +6,5 @@ import { n as OxlintPluginOptions } from "../plugin-iulHDbbP.mjs";
|
|
|
7
6
|
* @returns The generated configuration as a string.
|
|
8
7
|
*/
|
|
9
8
|
declare function generateConfig(options?: OxlintPluginOptions): string;
|
|
10
|
-
//#endregion
|
|
11
9
|
export { generateConfig };
|
|
12
10
|
//# sourceMappingURL=generate-config.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toArray } from "@stryke/convert/neutral";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// src/helpers/generate-config.ts
|
|
4
4
|
/**
|
|
5
5
|
* Generates an Oxlint configuration file content based on the provided options.
|
|
6
6
|
*
|
|
@@ -54,6 +54,5 @@ function generateConfig(options = {}) {
|
|
|
54
54
|
}`;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
//#endregion
|
|
58
57
|
export { generateConfig };
|
|
59
58
|
//# sourceMappingURL=generate-config.mjs.map
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_helpers_generate_config = require(
|
|
2
|
+
const require_helpers_generate_config = require("./generate-config.cjs");
|
|
3
3
|
|
|
4
4
|
exports.generateConfig = require_helpers_generate_config.generateConfig;
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
require(
|
|
2
|
+
require("./types/index.cjs");
|
|
3
3
|
let _stryke_cli_execute = require("@stryke/cli/execute");
|
|
4
4
|
let _stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
5
5
|
let _stryke_fs_exists = require("@stryke/fs/exists");
|
|
@@ -7,7 +7,7 @@ let _stryke_fs_get_parent_path = require("@stryke/fs/get-parent-path");
|
|
|
7
7
|
let _stryke_fs_package_fns = require("@stryke/fs/package-fns");
|
|
8
8
|
let _stryke_path_join = require("@stryke/path/join");
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// src/index.ts
|
|
11
11
|
/**
|
|
12
12
|
* A Powerlines plugin to assist in linting a project with Oxlint.
|
|
13
13
|
*/
|
|
@@ -74,5 +74,4 @@ function plugin(options = {}) {
|
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
//#endregion
|
|
78
77
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "./plugin-
|
|
1
|
+
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "./plugin-DDc7gDEN.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
|
oxlint?: OxlintPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to assist in linting a project with Oxlint.
|
|
12
11
|
*/
|
|
13
12
|
declare function plugin(options?: OxlintPluginOptions): Plugin<OxlintPluginContext>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, 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":";;;;YA+BY;IACR,SAAS;;;;;;iBAOG,OACd,UAAS,sBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "./plugin-
|
|
1
|
+
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "./plugin-DDc7gDEN.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
|
oxlint?: OxlintPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to assist in linting a project with Oxlint.
|
|
12
11
|
*/
|
|
13
12
|
declare function plugin(options?: OxlintPluginOptions): Plugin<OxlintPluginContext>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { getParentPath } from "@stryke/fs/get-parent-path";
|
|
|
6
6
|
import { isPackageListed } from "@stryke/fs/package-fns";
|
|
7
7
|
import { joinPaths } from "@stryke/path/join";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
// src/index.ts
|
|
10
10
|
/**
|
|
11
11
|
* A Powerlines plugin to assist in linting a project with Oxlint.
|
|
12
12
|
*/
|
|
@@ -73,6 +73,5 @@ function plugin(options = {}) {
|
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
//#endregion
|
|
77
76
|
export { plugin };
|
|
78
77
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
-
//#region src/types/plugin.d.ts
|
|
3
2
|
interface OxlintPluginOptions {
|
|
4
3
|
/**
|
|
5
4
|
* A glob pattern or path to ignore files and directories.
|
|
@@ -68,6 +67,5 @@ interface OxlintPluginResolvedConfig extends ResolvedConfig {
|
|
|
68
67
|
oxlint: Omit<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format"> & Required<Pick<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format">>;
|
|
69
68
|
}
|
|
70
69
|
type OxlintPluginContext<TResolvedConfig extends OxlintPluginResolvedConfig = OxlintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
71
|
-
//#endregion
|
|
72
70
|
export { OxlintPluginUserConfig as i, OxlintPluginOptions as n, OxlintPluginResolvedConfig as r, OxlintPluginContext as t };
|
|
73
|
-
//# sourceMappingURL=plugin-
|
|
71
|
+
//# sourceMappingURL=plugin-DDc7gDEN.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-DDc7gDEN.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";UAoBiB;;;;EAIf;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;;;;;;;;EAYA;;;;;;EAOA;;UAUe,+BAA+B;;;;EAI9C,SAAS;;UAGM,mCAAmC;;;;EAIlD,QAAQ,KACN,kGAGA,SACE,KACE;;KAYI,oBACV,wBAAwB,6BACtB,8BACA,cAAc"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
-
//#region src/types/plugin.d.ts
|
|
3
2
|
interface OxlintPluginOptions {
|
|
4
3
|
/**
|
|
5
4
|
* A glob pattern or path to ignore files and directories.
|
|
@@ -68,6 +67,5 @@ interface OxlintPluginResolvedConfig extends ResolvedConfig {
|
|
|
68
67
|
oxlint: Omit<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format"> & Required<Pick<OxlintPluginOptions, "configFile" | "deny" | "allow" | "warn" | "typeAware" | "fix" | "format">>;
|
|
69
68
|
}
|
|
70
69
|
type OxlintPluginContext<TResolvedConfig extends OxlintPluginResolvedConfig = OxlintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
71
|
-
//#endregion
|
|
72
70
|
export { OxlintPluginUserConfig as i, OxlintPluginOptions as n, OxlintPluginResolvedConfig as r, OxlintPluginContext as t };
|
|
73
|
-
//# sourceMappingURL=plugin-
|
|
71
|
+
//# sourceMappingURL=plugin-DDc7gDEN.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-DDc7gDEN.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-
|
|
1
|
+
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-DDc7gDEN.cjs";
|
|
2
2
|
export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-
|
|
1
|
+
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-DDc7gDEN.mjs";
|
|
2
2
|
export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-
|
|
1
|
+
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-DDc7gDEN.cjs";
|
|
2
2
|
export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-
|
|
1
|
+
import { i as OxlintPluginUserConfig, n as OxlintPluginOptions, r as OxlintPluginResolvedConfig, t as OxlintPluginContext } from "../plugin-DDc7gDEN.mjs";
|
|
2
2
|
export { OxlintPluginContext, OxlintPluginOptions, OxlintPluginResolvedConfig, OxlintPluginUserConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-oxlint",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.681",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running Oxlint on the codebase.",
|
|
6
6
|
"repository": {
|
|
@@ -114,23 +114,23 @@
|
|
|
114
114
|
"files": ["dist"],
|
|
115
115
|
"keywords": ["oxlint", "powerlines", "storm-software", "powerlines-plugin"],
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@storm-software/config-tools": "^1.190.
|
|
117
|
+
"@storm-software/config-tools": "^1.190.151",
|
|
118
118
|
"@stryke/cli": "^0.13.90",
|
|
119
119
|
"@stryke/convert": "^0.7.47",
|
|
120
120
|
"@stryke/fs": "^0.33.118",
|
|
121
121
|
"@stryke/path": "^0.29.43",
|
|
122
122
|
"defu": "^6.1.7",
|
|
123
|
-
"oxlint": "^1.
|
|
123
|
+
"oxlint": "^1.89.0",
|
|
124
124
|
"oxlint-tsgolint": "^0.14.2",
|
|
125
|
-
"powerlines": "^0.47.
|
|
125
|
+
"powerlines": "^0.47.215"
|
|
126
126
|
},
|
|
127
127
|
"devDependencies": {
|
|
128
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
128
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
129
129
|
"@types/node": "^25.9.9"
|
|
130
130
|
},
|
|
131
131
|
"publishConfig": { "access": "public" },
|
|
132
132
|
"main": "./dist/index.cjs",
|
|
133
133
|
"module": "./dist/index.mjs",
|
|
134
134
|
"types": "./dist/index.d.cts",
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
136
136
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-iulHDbbP.d.cts","names":[],"sources":["../src/types/plugin.ts"],"mappings":";;UAoBiB;;;;EAIf;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;;;;;;;;EAYA;;;;;;EAOA;;UAUe,+BAA+B;;;;EAI9C,SAAS;;UAGM,mCAAmC;;;;EAIlD,QAAQ,KACN,kGAGA,SACE,KACE;;KAYI,oBACV,wBAAwB,6BACtB,8BACA,cAAc"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-iulHDbbP.d.mts","names":[],"sources":["../src/types/plugin.ts"],"mappings":""}
|