@powerlines/plugin-biome 0.2.682 → 0.2.683
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 +2 -3
- 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 +6 -6
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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_fs_exists = require("@stryke/fs/exists");
|
|
5
5
|
let _stryke_fs_package_fns = require("@stryke/fs/package-fns");
|
|
6
6
|
let _stryke_path_join = require("@stryke/path/join");
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// src/index.ts
|
|
9
9
|
/**
|
|
10
10
|
* A Powerlines plugin to assist in linting a project with Biome.
|
|
11
11
|
*/
|
|
@@ -82,5 +82,4 @@ function plugin(options = {}) {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
//#endregion
|
|
86
85
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BiomePluginContext, BiomePluginOptions, BiomePluginResolvedConfig, BiomePluginUserConfig } 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
|
biome?: BiomePluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to assist in linting a project with Biome.
|
|
12
11
|
*/
|
|
13
12
|
declare function plugin(options?: BiomePluginOptions): Plugin<BiomePluginContext>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { BiomePluginContext, BiomePluginOptions, BiomePluginResolvedConfig, BiomePluginUserConfig, 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":";;;;YA6BY;IACR,QAAQ;;;;;;iBAOI,OACd,UAAS,qBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BiomePluginContext, BiomePluginOptions, BiomePluginResolvedConfig, BiomePluginUserConfig } 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
|
biome?: BiomePluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to assist in linting a project with Biome.
|
|
12
11
|
*/
|
|
13
12
|
declare function plugin(options?: BiomePluginOptions): Plugin<BiomePluginContext>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { BiomePluginContext, BiomePluginOptions, BiomePluginResolvedConfig, BiomePluginUserConfig, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { existsSync } from "@stryke/fs/exists";
|
|
|
4
4
|
import { isPackageListed } from "@stryke/fs/package-fns";
|
|
5
5
|
import { joinPaths } from "@stryke/path/join";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* A Powerlines plugin to assist in linting a project with Biome.
|
|
10
10
|
*/
|
|
@@ -81,6 +81,5 @@ function plugin(options = {}) {
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
//#endregion
|
|
85
84
|
export { plugin };
|
|
86
85
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
-
//#region src/types/plugin.d.ts
|
|
3
2
|
interface BiomePluginOptions {
|
|
4
3
|
/**
|
|
5
4
|
* A glob pattern or path to ignore files and directories.
|
|
@@ -155,6 +154,5 @@ interface BiomePluginResolvedConfig extends ResolvedConfig {
|
|
|
155
154
|
biome: BiomePluginOptions;
|
|
156
155
|
}
|
|
157
156
|
type BiomePluginContext<TResolvedConfig extends BiomePluginResolvedConfig = BiomePluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
158
|
-
//#endregion
|
|
159
157
|
export { BiomePluginContext, BiomePluginOptions, BiomePluginResolvedConfig, BiomePluginUserConfig };
|
|
160
158
|
//# 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":";UAoBiB;;;;EAIf;;;;;;EAOA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAeA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;EAKA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;UAGe,8BAA8B;;;;EAI7C,QAAQ;;UAGO,kCAAkC;;;;EAIjD,OAAO;;KAGG,mBACV,wBAAwB,4BAA4B,6BAClD,cAAc"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
|
-
//#region src/types/plugin.d.ts
|
|
3
2
|
interface BiomePluginOptions {
|
|
4
3
|
/**
|
|
5
4
|
* A glob pattern or path to ignore files and directories.
|
|
@@ -155,6 +154,5 @@ interface BiomePluginResolvedConfig extends ResolvedConfig {
|
|
|
155
154
|
biome: BiomePluginOptions;
|
|
156
155
|
}
|
|
157
156
|
type BiomePluginContext<TResolvedConfig extends BiomePluginResolvedConfig = BiomePluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
158
|
-
//#endregion
|
|
159
157
|
export { BiomePluginContext, BiomePluginOptions, BiomePluginResolvedConfig, BiomePluginUserConfig };
|
|
160
158
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-biome",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.683",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running Biome linting on the codebase.",
|
|
6
6
|
"repository": {
|
|
@@ -88,22 +88,22 @@
|
|
|
88
88
|
"peerDependencies": { "@biomejs/biome": ">=2.0.0" },
|
|
89
89
|
"peerDependenciesMeta": { "@biomejs/biome": { "optional": false } },
|
|
90
90
|
"dependencies": {
|
|
91
|
-
"@storm-software/config-tools": "^1.190.
|
|
91
|
+
"@storm-software/config-tools": "^1.190.151",
|
|
92
92
|
"@stryke/cli": "^0.13.90",
|
|
93
93
|
"@stryke/convert": "^0.7.47",
|
|
94
94
|
"@stryke/fs": "^0.33.118",
|
|
95
95
|
"@stryke/path": "^0.29.43",
|
|
96
96
|
"defu": "^6.1.7",
|
|
97
|
-
"powerlines": "^0.47.
|
|
97
|
+
"powerlines": "^0.47.215"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@biomejs/biome": "^2.
|
|
101
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
100
|
+
"@biomejs/biome": "^2.6.2",
|
|
101
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
102
102
|
"@types/node": "^25.9.9"
|
|
103
103
|
},
|
|
104
104
|
"publishConfig": { "access": "public" },
|
|
105
105
|
"main": "./dist/index.cjs",
|
|
106
106
|
"module": "./dist/index.mjs",
|
|
107
107
|
"types": "./dist/index.d.cts",
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
109
109
|
}
|