@trebired/configs 0.1.5 → 0.2.1

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.
@@ -1,5 +1,5 @@
1
1
  export default {
2
- forVersion: "6.1.0",
2
+ forVersion: "7.0.0",
3
3
  logging: {
4
4
  warnings: false,
5
5
  },
@@ -16,6 +16,7 @@ export default {
16
16
  ],
17
17
  },
18
18
  minDeclarationName: {},
19
+ maxDeclarationName: {},
19
20
  maxCharactersPerLine: {},
20
21
  structuralBlankLines: {},
21
22
  minFileLines: {},
@@ -26,7 +27,7 @@ export default {
26
27
  max: 50,
27
28
  },
28
29
  redundantPathSegments: {},
29
- emptyFolders: {},
30
+ removeEmptyFolders: {},
30
31
  removeComments: {},
31
32
  imports: {
32
33
  alias: {
package/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@trebired/configs` will be documented here.
4
+
5
+ This project follows semantic versioning once published.
6
+
7
+ ## 0.2.0
8
+
9
+ - Added the shared Trebired Code Discipline config package.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Miroslav Machynka (Trebired)
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,48 @@
1
+ # @trebired/configs
2
+
3
+ Shared Trebired configuration presets for package tooling.
4
+
5
+ This package owns reusable Trebired tool configuration payloads. Callers own their repository-specific overrides, banned patterns, source boundaries, and package-specific runtime configs.
6
+
7
+ ## Install
8
+
9
+ Runtime support: Bun 1+.
10
+
11
+ ```sh
12
+ bun i @trebired/configs
13
+ ```
14
+
15
+ ## Quick Start
16
+
17
+ Use the package as an external Code Discipline preset:
18
+
19
+ ```ts
20
+ import { defineConfig } from "@trebired/code-discipline";
21
+
22
+ export default defineConfig({
23
+ presets: {
24
+ use: ["@trebired/configs"],
25
+ },
26
+ });
27
+ ```
28
+
29
+ ## Configuration
30
+
31
+ ### Code Discipline
32
+
33
+ The root export points at `.trebired/code-discipline/config.ts`. The config declares the Code Discipline major and minor version it targets through `forVersion`.
34
+
35
+ Repositories add only their own overrides in `.trebired/code-discipline/config.ts`.
36
+
37
+ ## Public API
38
+
39
+ The package exports one default config object from the package root. It does not export helper functions.
40
+
41
+ ## What It Does Not Do
42
+
43
+ This package does not:
44
+
45
+ - Own application-specific banned patterns.
46
+ - Own package runtime config.
47
+ - Wrap or replace `@trebired/code-discipline`.
48
+ - Ship generated alias maps for consuming repositories.
package/package.json CHANGED
@@ -1,10 +1,25 @@
1
1
  {
2
+ "author": "Miroslav Machynka (Trebired)",
3
+ "config": {
4
+ "organization": {
5
+ "displayName": "Trebired",
6
+ "name": "trebired",
7
+ "website": "https://trebired.com"
8
+ },
9
+ "creator": {
10
+ "name": "Miroslav Machynka"
11
+ }
12
+ },
2
13
  "name": "@trebired/configs",
3
- "version": "0.1.5",
14
+ "version": "0.2.1",
4
15
  "description": "Shared Trebired package configuration presets.",
5
16
  "type": "module",
6
17
  "private": false,
18
+ "license": "MIT",
7
19
  "packageManager": "bun@1.3.12",
20
+ "engines": {
21
+ "bun": ">=1.0.0"
22
+ },
8
23
  "main": "./.trebired/code-discipline/config.ts",
9
24
  "types": "./.trebired/code-discipline/config.ts",
10
25
  "exports": {
@@ -14,7 +29,10 @@
14
29
  }
15
30
  },
16
31
  "files": [
17
- ".trebired/code-discipline/config.ts"
32
+ ".trebired/code-discipline/config.ts",
33
+ "CHANGELOG.md",
34
+ "LICENSE",
35
+ "README.md"
18
36
  ],
19
37
  "repository": {
20
38
  "type": "git",