@ankhorage/devtools 1.0.1 → 1.0.2
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/README.md +8 -2
- package/package.json +14 -4
package/README.md
CHANGED
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
Shared ESLint and Prettier configuration for modern TypeScript projects.
|
|
4
4
|
|
|
5
5
|
## What you get
|
|
6
|
+
|
|
6
7
|
- Consistent linting across repos
|
|
7
8
|
- Zero-config Prettier setup
|
|
8
9
|
- Strict TypeScript rules without compromise
|
|
9
10
|
- One source of truth for tooling
|
|
10
11
|
|
|
11
12
|
## Features
|
|
13
|
+
|
|
12
14
|
- Flat ESLint config (latest standard)
|
|
13
15
|
- Preconfigured plugin ecosystem
|
|
14
16
|
- Prettier integration
|
|
@@ -25,9 +27,9 @@ bun add -D @ankhorage/devtools
|
|
|
25
27
|
### ESLint
|
|
26
28
|
|
|
27
29
|
```js
|
|
28
|
-
import config from '@ankhorage/devtools/eslint'
|
|
30
|
+
import config from '@ankhorage/devtools/eslint';
|
|
29
31
|
|
|
30
|
-
export default config()
|
|
32
|
+
export default config();
|
|
31
33
|
```
|
|
32
34
|
|
|
33
35
|
### Prettier
|
|
@@ -39,6 +41,7 @@ export default config()
|
|
|
39
41
|
```
|
|
40
42
|
|
|
41
43
|
## Use Cases
|
|
44
|
+
|
|
42
45
|
- Monorepos with shared standards
|
|
43
46
|
- Teams that want strict, predictable linting
|
|
44
47
|
- Projects avoiding duplicated config
|
|
@@ -46,6 +49,7 @@ export default config()
|
|
|
46
49
|
## Why this exists
|
|
47
50
|
|
|
48
51
|
Maintaining ESLint + Prettier configs across multiple repositories leads to:
|
|
52
|
+
|
|
49
53
|
- duplication
|
|
50
54
|
- inconsistency
|
|
51
55
|
- drift over time
|
|
@@ -55,9 +59,11 @@ This package centralizes tooling so all projects stay aligned.
|
|
|
55
59
|
## Scope
|
|
56
60
|
|
|
57
61
|
Includes:
|
|
62
|
+
|
|
58
63
|
- ESLint configuration
|
|
59
64
|
- Prettier configuration
|
|
60
65
|
|
|
61
66
|
Excludes:
|
|
67
|
+
|
|
62
68
|
- runtime code
|
|
63
69
|
- build tooling
|
package/package.json
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/devtools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Shared Lint and Format Configuration for Ankhorage",
|
|
5
|
+
"homepage": "https://github.com/ankhorage/devtools#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/ankhorage/devtools/issues"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/ankhorage/devtools.git"
|
|
12
|
+
},
|
|
5
13
|
"type": "module",
|
|
6
14
|
"publishConfig": {
|
|
7
15
|
"access": "public"
|
|
@@ -26,7 +34,8 @@
|
|
|
26
34
|
"lint": "eslint .",
|
|
27
35
|
"format": "prettier --write .",
|
|
28
36
|
"format:check": "prettier --check .",
|
|
29
|
-
"test": "bun test"
|
|
37
|
+
"test": "bun test",
|
|
38
|
+
"version-packages": "changeset version"
|
|
30
39
|
},
|
|
31
40
|
"dependencies": {
|
|
32
41
|
"@eslint/js": "^10.0.1",
|
|
@@ -41,8 +50,9 @@
|
|
|
41
50
|
},
|
|
42
51
|
"devDependencies": {
|
|
43
52
|
"@changesets/cli": "^2.30.0",
|
|
53
|
+
"@types/bun": "^1.3.13",
|
|
44
54
|
"@types/node": "^25.2.3",
|
|
45
|
-
"bun-types": "^1.3.11",
|
|
46
55
|
"typescript": "^5.9.3"
|
|
47
|
-
}
|
|
56
|
+
},
|
|
57
|
+
"packageManager": "bun@1.3.13"
|
|
48
58
|
}
|