@b4run/config-biome 0.8.28

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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +49 -0
  3. package/biome.json +44 -0
  4. package/package.json +42 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Brian Love
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # @b4run/config-biome
2
+
3
+ Shared Biome lint and format configuration for B4.run TypeScript workspace packages.
4
+
5
+ **Use this when:** You are extending B4.run's internal shared Biome configuration. Application authors may copy these conventions, but this package primarily follows B4.run's own workspace tooling.
6
+
7
+ ## Install
8
+
9
+ Install it as a dev dependency alongside Biome:
10
+
11
+ ```bash
12
+ pnpm add -D @b4run/config-biome @biomejs/biome
13
+ ```
14
+
15
+ ## Configuration
16
+
17
+ Extend the package from your `biome.json`:
18
+
19
+ ```json
20
+ {
21
+ "$schema": "https://biomejs.dev/schemas/2.4.11/schema.json",
22
+ "extends": ["@b4run/config-biome"]
23
+ }
24
+ ```
25
+
26
+ Or point Biome directly at the published configuration:
27
+
28
+ ```bash
29
+ pnpm exec biome check --config-path ./node_modules/@b4run/config-biome/biome.json .
30
+ ```
31
+
32
+ ## Runtime and stability
33
+
34
+ The root export and `@b4run/config-biome/biome` both resolve to the supported `biome.json` tooling artifact. This is static configuration with no runtime import. It is maintained for B4.run's internal workspace and may evolve with B4.run's pinned Biome version.
35
+
36
+ ## Related
37
+
38
+ - [`@b4run/config-typescript`](https://www.npmjs.com/package/@b4run/config-typescript) — shared compiler configurations for the same workspace packages.
39
+ - [API catalog entry](https://b4.run/docs/api#b4runconfig-biome) — published configuration surfaces.
40
+ - [Getting Started](https://b4.run/docs/getting-started) — scaffold a B4.run application with workspace tooling configured.
41
+ - [B4.run repository contribution guide](https://github.com/cacheplane/b4run/blob/main/CONTRIBUTING.md) — workspace development commands and checks.
42
+
43
+ ## Maturity and support
44
+
45
+ This package is pre-1.0 and releases in B4.run's fixed package group. Review the [changelog](https://github.com/cacheplane/b4run/blob/main/packages/config-biome/CHANGELOG.md) before upgrading. For support, [open an issue](https://github.com/cacheplane/b4run/issues).
46
+
47
+ ## License
48
+
49
+ MIT. See the [repository license](https://github.com/cacheplane/b4run/blob/main/LICENSE).
package/biome.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.4.11/schema.json",
3
+ "files": {
4
+ "ignoreUnknown": true,
5
+ "includes": ["**", "!**/.b4", "!scripts/release/terminal-records"]
6
+ },
7
+ "formatter": {
8
+ "enabled": true,
9
+ "indentStyle": "space",
10
+ "indentWidth": 2,
11
+ "lineWidth": 100
12
+ },
13
+ "javascript": {
14
+ "formatter": {
15
+ "quoteStyle": "double",
16
+ "semicolons": "asNeeded"
17
+ }
18
+ },
19
+ "linter": {
20
+ "enabled": true,
21
+ "rules": {
22
+ "recommended": true
23
+ }
24
+ },
25
+ "vcs": {
26
+ "enabled": false,
27
+ "clientKind": "git",
28
+ "useIgnoreFile": true
29
+ },
30
+ "overrides": [
31
+ {
32
+ "includes": [
33
+ "scripts/release/recovery-platform-reviews/*.json",
34
+ "scripts/release/recovery-fence-contracts/*.json",
35
+ "scripts/release/recovery-fence-evidence/*.json",
36
+ "scripts/release/recovery-adoptions/*.json",
37
+ "scripts/release/recovery-verifier-repairs/*.json"
38
+ ],
39
+ "formatter": {
40
+ "enabled": false
41
+ }
42
+ }
43
+ ]
44
+ }
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@b4run/config-biome",
3
+ "version": "0.8.28",
4
+ "private": false,
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "description": "Shared Biome configuration for B4.run TypeScript workspace packages.",
8
+ "keywords": [
9
+ "b4",
10
+ "biome",
11
+ "linting",
12
+ "formatting",
13
+ "typescript",
14
+ "configuration"
15
+ ],
16
+ "homepage": "https://github.com/cacheplane/b4run/tree/main/packages/config-biome#readme",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/cacheplane/b4run.git",
20
+ "directory": "packages/config-biome"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/cacheplane/b4run/issues"
24
+ },
25
+ "engines": {
26
+ "node": ">=24.0.0"
27
+ },
28
+ "files": [
29
+ "biome.json"
30
+ ],
31
+ "exports": {
32
+ ".": "./biome.json",
33
+ "./biome": "./biome.json"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ },
38
+ "scripts": {
39
+ "check": "biome check --config-path ./biome.json ./biome.json",
40
+ "lint": "biome check --config-path ../config-biome/biome.json package.json biome.json"
41
+ }
42
+ }