@powerlines/plugin-biome 0.2.684 → 0.2.685

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.
Files changed (2) hide show
  1. package/README.md +34 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -74,6 +74,40 @@ A package containing a Powerlines plugin that integrates Biome into the Powerlin
74
74
 
75
75
  <!-- END doctoc -->
76
76
 
77
+ ## Features
78
+
79
+ - Runs Biome linting on TypeScript source through the `lint` hook
80
+ - Supports a custom config file and autofix; log level follows the Powerlines log level
81
+ - Fails fast at `config` time when no Biome config file exists and none is given
82
+
83
+ ## Usage
84
+
85
+ Install the plugin:
86
+
87
+ ```bash
88
+ pnpm add @powerlines/plugin-biome
89
+ ```
90
+
91
+ Register it in `powerlines.config.ts`:
92
+
93
+ ```ts
94
+ import { defineConfig } from "powerlines";
95
+ import { plugin as biome } from "@powerlines/plugin-biome";
96
+
97
+ export default defineConfig({
98
+ plugins: [
99
+ biome({
100
+ configFile: "./biome.json",
101
+ fix: true
102
+ })
103
+ ]
104
+ });
105
+ ```
106
+
107
+ Requires peer `@biomejs/biome >= 2.0.0`, installed by the consumer.
108
+
109
+ Run the Powerlines build for your project to activate the plugin.
110
+
77
111
  ## Installing
78
112
 
79
113
  Using [pnpm](http://pnpm.io):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-biome",
3
- "version": "0.2.684",
3
+ "version": "0.2.685",
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.151",
91
+ "@storm-software/config-tools": "^1.190.154",
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.216"
97
+ "powerlines": "^0.47.217"
98
98
  },
99
99
  "devDependencies": {
100
100
  "@biomejs/biome": "^2.6.2",
101
- "@powerlines/plugin-plugin": "^0.12.629",
101
+ "@powerlines/plugin-plugin": "^0.12.630",
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": "75efa1cc4eb8bc90093202669065576aa70fbfef"
108
+ "gitHead": "bb4e1f2b32a8bb9d20559ca7c3df3a2f30a0d14e"
109
109
  }