@brnshkr/config 0.0.1-alpha.10
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/LICENSE +21 -0
- package/README.md +664 -0
- package/conf/eslint.config.mjs.example +1 -0
- package/conf/stylelint.config.mjs.example +1 -0
- package/conf/tsconfig.json +74 -0
- package/conf/tsconfig.json.example +3 -0
- package/dist/eslint/index.d.mts +15518 -0
- package/dist/eslint/index.mjs +2571 -0
- package/dist/scripts/eslint.mjs +18 -0
- package/dist/scripts/stylelint.mjs +31 -0
- package/dist/shared.mjs +398 -0
- package/dist/stylelint/index.d.mts +97 -0
- package/dist/stylelint/index.mjs +409 -0
- package/package.json +289 -0
package/package.json
ADDED
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package",
|
|
3
|
+
"name": "@brnshkr/config",
|
|
4
|
+
"version": "0.0.1-alpha.10",
|
|
5
|
+
"description": "Centralized collection of configuration and tooling used across all @brnshkr projects",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Patrick Rupp",
|
|
8
|
+
"homepage": "https://github.com/brnshkr/config",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/brnshkr/config.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/brnshkr/config/issues"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"scripts": {
|
|
18
|
+
"lint": "bun --bun lint:css && bun --bun lint:js && bun --bun lint:commit",
|
|
19
|
+
"lint:css": "bun --bun ./scripts/stylelint.ts",
|
|
20
|
+
"lint:js": "bun --bun ./scripts/eslint.ts",
|
|
21
|
+
"lint:commit": "bun --bun commitlint --config ./conf/commitlint.config.mjs --edit",
|
|
22
|
+
"inspect:eslint": "bun --bun eslint-config-inspector --config ./conf/eslint.config.ts",
|
|
23
|
+
"inspect:modules": "bun --bun node-modules-inspector",
|
|
24
|
+
"test": "bun --bun vitest --run --testTimeout 120000 --exclude **/fixtures/**",
|
|
25
|
+
"test-update": "bun --bun run test --update",
|
|
26
|
+
"check": "bun --bun tsc && bun --bun lint && bun --bun run test",
|
|
27
|
+
"build": "bun --bun typegen && bun --bun tsdown --config ./conf/tsdown.config.ts",
|
|
28
|
+
"watch": "bun --bun tsdown --config ./conf/tsdown.config.ts --watch",
|
|
29
|
+
"typegen": "bun --bun scripts/typegen.ts",
|
|
30
|
+
"changelog": "bun --bun conventional-changelog",
|
|
31
|
+
"install-hooks": "bun --bun simple-git-hooks"
|
|
32
|
+
},
|
|
33
|
+
"exports": {
|
|
34
|
+
"./eslint": "./dist/eslint/index.mjs",
|
|
35
|
+
"./scripts/eslint": "./dist/scripts/eslint.mjs",
|
|
36
|
+
"./stylelint": "./dist/stylelint/index.mjs",
|
|
37
|
+
"./scripts/stylelint": "./dist/scripts/stylelint.mjs"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"./conf/eslint.config.mjs.example",
|
|
41
|
+
"./conf/stylelint.config.mjs.example",
|
|
42
|
+
"./conf/tsconfig.json",
|
|
43
|
+
"./conf/tsconfig.json.example",
|
|
44
|
+
"./dist"
|
|
45
|
+
],
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@eslint/js": "^9.39.2",
|
|
48
|
+
"confusing-browser-globals": "^1.0.11",
|
|
49
|
+
"eslint-flat-config-utils": "^3.0.0",
|
|
50
|
+
"globals": "^17.3.0",
|
|
51
|
+
"local-pkg": "^1.1.2",
|
|
52
|
+
"stylelint-config-standard": "^40.0.0"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.6.0",
|
|
56
|
+
"@eslint/css": "^0.14.1",
|
|
57
|
+
"@eslint/json": "^1.0.0",
|
|
58
|
+
"@eslint/markdown": "^7.5.1",
|
|
59
|
+
"@stylistic/eslint-plugin": "^5.7.1",
|
|
60
|
+
"@stylistic/stylelint-config": "^4.0.0",
|
|
61
|
+
"@vitest/eslint-plugin": "^1.6.6",
|
|
62
|
+
"eslint": "^9.39.2",
|
|
63
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
64
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
65
|
+
"eslint-merge-processors": "^2.0.0",
|
|
66
|
+
"eslint-plugin-antfu": "^3.1.3",
|
|
67
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
68
|
+
"eslint-plugin-jsdoc": "^62.5.0",
|
|
69
|
+
"eslint-plugin-jsonc": "^2.21.0",
|
|
70
|
+
"eslint-plugin-n": "^17.23.2",
|
|
71
|
+
"eslint-plugin-perfectionist": "^5.4.0",
|
|
72
|
+
"eslint-plugin-regexp": "^3.0.0",
|
|
73
|
+
"eslint-plugin-svelte": "^3.14.0",
|
|
74
|
+
"eslint-plugin-toml": "^1.0.3",
|
|
75
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
76
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
77
|
+
"eslint-plugin-yml": "^3.0.0",
|
|
78
|
+
"jsonc-eslint-parser": "^2.4.2",
|
|
79
|
+
"postcss-html": "^1.8.1",
|
|
80
|
+
"stylelint": "^17.1.0",
|
|
81
|
+
"stylelint-config-css-modules": "^4.6.0",
|
|
82
|
+
"stylelint-config-html": "^1.1.0",
|
|
83
|
+
"stylelint-config-recess-order": "^7.6.0",
|
|
84
|
+
"stylelint-config-standard-scss": "^17.0.0",
|
|
85
|
+
"stylelint-declaration-strict-value": "^1.10.11",
|
|
86
|
+
"stylelint-order": "^7.0.1",
|
|
87
|
+
"stylelint-plugin-defensive-css": "^1.1.1",
|
|
88
|
+
"stylelint-plugin-logical-css": "^1.3.0",
|
|
89
|
+
"stylelint-plugin-use-baseline": "^1.2.1",
|
|
90
|
+
"stylelint-use-nesting": "^6.0.1",
|
|
91
|
+
"svelte": "^5.49.1",
|
|
92
|
+
"toml-eslint-parser": "^1.0.3",
|
|
93
|
+
"typescript": "^5.9.3",
|
|
94
|
+
"typescript-eslint": "^8.54.0",
|
|
95
|
+
"yaml-eslint-parser": "^2.0.0"
|
|
96
|
+
},
|
|
97
|
+
"peerDependenciesMeta": {
|
|
98
|
+
"@eslint-community/eslint-plugin-eslint-comments": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"@eslint/css": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"@eslint/json": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"@eslint/markdown": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"@stylistic/eslint-plugin": {
|
|
111
|
+
"optional": true
|
|
112
|
+
},
|
|
113
|
+
"@stylistic/stylelint-config": {
|
|
114
|
+
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"@vitest/eslint-plugin": {
|
|
117
|
+
"optional": true
|
|
118
|
+
},
|
|
119
|
+
"eslint-config-flat-gitignore": {
|
|
120
|
+
"optional": true
|
|
121
|
+
},
|
|
122
|
+
"eslint-import-resolver-typescript": {
|
|
123
|
+
"optional": true
|
|
124
|
+
},
|
|
125
|
+
"eslint-merge-processors": {
|
|
126
|
+
"optional": true
|
|
127
|
+
},
|
|
128
|
+
"eslint-plugin-antfu": {
|
|
129
|
+
"optional": true
|
|
130
|
+
},
|
|
131
|
+
"eslint-plugin-import-x": {
|
|
132
|
+
"optional": true
|
|
133
|
+
},
|
|
134
|
+
"eslint-plugin-jsdoc": {
|
|
135
|
+
"optional": true
|
|
136
|
+
},
|
|
137
|
+
"eslint-plugin-jsonc": {
|
|
138
|
+
"optional": true
|
|
139
|
+
},
|
|
140
|
+
"eslint-plugin-n": {
|
|
141
|
+
"optional": true
|
|
142
|
+
},
|
|
143
|
+
"eslint-plugin-perfectionist": {
|
|
144
|
+
"optional": true
|
|
145
|
+
},
|
|
146
|
+
"eslint-plugin-regexp": {
|
|
147
|
+
"optional": true
|
|
148
|
+
},
|
|
149
|
+
"eslint-plugin-svelte": {
|
|
150
|
+
"optional": true
|
|
151
|
+
},
|
|
152
|
+
"eslint-plugin-toml": {
|
|
153
|
+
"optional": true
|
|
154
|
+
},
|
|
155
|
+
"eslint-plugin-unicorn": {
|
|
156
|
+
"optional": true
|
|
157
|
+
},
|
|
158
|
+
"eslint-plugin-unused-imports": {
|
|
159
|
+
"optional": true
|
|
160
|
+
},
|
|
161
|
+
"eslint-plugin-yml": {
|
|
162
|
+
"optional": true
|
|
163
|
+
},
|
|
164
|
+
"jsonc-eslint-parser": {
|
|
165
|
+
"optional": true
|
|
166
|
+
},
|
|
167
|
+
"postcss-html": {
|
|
168
|
+
"optional": true
|
|
169
|
+
},
|
|
170
|
+
"stylelint": {
|
|
171
|
+
"optional": true
|
|
172
|
+
},
|
|
173
|
+
"stylelint-config-css-modules": {
|
|
174
|
+
"optional": true
|
|
175
|
+
},
|
|
176
|
+
"stylelint-config-html": {
|
|
177
|
+
"optional": true
|
|
178
|
+
},
|
|
179
|
+
"stylelint-config-recess-order": {
|
|
180
|
+
"optional": true
|
|
181
|
+
},
|
|
182
|
+
"stylelint-config-standard-scss": {
|
|
183
|
+
"optional": true
|
|
184
|
+
},
|
|
185
|
+
"stylelint-declaration-strict-value": {
|
|
186
|
+
"optional": true
|
|
187
|
+
},
|
|
188
|
+
"stylelint-order": {
|
|
189
|
+
"optional": true
|
|
190
|
+
},
|
|
191
|
+
"stylelint-plugin-defensive-css": {
|
|
192
|
+
"optional": true
|
|
193
|
+
},
|
|
194
|
+
"stylelint-plugin-logical-css": {
|
|
195
|
+
"optional": true
|
|
196
|
+
},
|
|
197
|
+
"stylelint-plugin-use-baseline": {
|
|
198
|
+
"optional": true
|
|
199
|
+
},
|
|
200
|
+
"stylelint-use-nesting": {
|
|
201
|
+
"optional": true
|
|
202
|
+
},
|
|
203
|
+
"svelte": {
|
|
204
|
+
"optional": true
|
|
205
|
+
},
|
|
206
|
+
"toml-eslint-parser": {
|
|
207
|
+
"optional": true
|
|
208
|
+
},
|
|
209
|
+
"typescript": {
|
|
210
|
+
"optional": true
|
|
211
|
+
},
|
|
212
|
+
"typescript-eslint": {
|
|
213
|
+
"optional": true
|
|
214
|
+
},
|
|
215
|
+
"yaml-eslint-parser": {
|
|
216
|
+
"optional": true
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"devDependencies": {
|
|
220
|
+
"@commitlint/config-conventional": "20.4.0",
|
|
221
|
+
"@commitlint/types": "20.4.0",
|
|
222
|
+
"@eslint-community/eslint-plugin-eslint-comments": "4.6.0",
|
|
223
|
+
"@eslint/config-inspector": "1.4.2",
|
|
224
|
+
"@eslint/css": "0.14.1",
|
|
225
|
+
"@eslint/json": "1.0.0",
|
|
226
|
+
"@eslint/markdown": "7.5.1",
|
|
227
|
+
"@stylistic/eslint-plugin": "5.7.1",
|
|
228
|
+
"@stylistic/stylelint-config": "4.0.0",
|
|
229
|
+
"@total-typescript/ts-reset": "0.6.1",
|
|
230
|
+
"@types/bun": "1.3.8",
|
|
231
|
+
"@types/confusing-browser-globals": "1.0.3",
|
|
232
|
+
"@typescript-eslint/utils": "8.54.0",
|
|
233
|
+
"@vitest/eslint-plugin": "1.6.6",
|
|
234
|
+
"commitlint": "20.4.0",
|
|
235
|
+
"conventional-changelog": "7.1.1",
|
|
236
|
+
"eslint": "9.39.2",
|
|
237
|
+
"eslint-config-flat-gitignore": "2.1.0",
|
|
238
|
+
"eslint-import-resolver-typescript": "4.4.4",
|
|
239
|
+
"eslint-merge-processors": "2.0.0",
|
|
240
|
+
"eslint-plugin-antfu": "3.1.3",
|
|
241
|
+
"eslint-plugin-import-x": "4.16.1",
|
|
242
|
+
"eslint-plugin-jsdoc": "62.5.0",
|
|
243
|
+
"eslint-plugin-jsonc": "2.21.0",
|
|
244
|
+
"eslint-plugin-n": "17.23.2",
|
|
245
|
+
"eslint-plugin-perfectionist": "5.4.0",
|
|
246
|
+
"eslint-plugin-regexp": "3.0.0",
|
|
247
|
+
"eslint-plugin-svelte": "3.14.0",
|
|
248
|
+
"eslint-plugin-toml": "1.0.3",
|
|
249
|
+
"eslint-plugin-unicorn": "62.0.0",
|
|
250
|
+
"eslint-plugin-unused-imports": "4.3.0",
|
|
251
|
+
"eslint-plugin-yml": "3.0.0",
|
|
252
|
+
"eslint-typegen": "2.3.0",
|
|
253
|
+
"jiti": "2.6.1",
|
|
254
|
+
"jsonc-eslint-parser": "2.4.2",
|
|
255
|
+
"node-modules-inspector": "1.3.1",
|
|
256
|
+
"postcss-html": "1.8.1",
|
|
257
|
+
"simple-git-hooks": "2.13.1",
|
|
258
|
+
"stylelint": "17.1.0",
|
|
259
|
+
"stylelint-config-css-modules": "4.6.0",
|
|
260
|
+
"stylelint-config-html": "1.1.0",
|
|
261
|
+
"stylelint-config-recess-order": "7.6.0",
|
|
262
|
+
"stylelint-config-standard-scss": "17.0.0",
|
|
263
|
+
"stylelint-declaration-strict-value": "1.10.11",
|
|
264
|
+
"stylelint-order": "7.0.1",
|
|
265
|
+
"stylelint-plugin-defensive-css": "1.1.1",
|
|
266
|
+
"stylelint-plugin-logical-css": "1.3.0",
|
|
267
|
+
"stylelint-plugin-use-baseline": "1.2.1",
|
|
268
|
+
"stylelint-use-nesting": "6.0.1",
|
|
269
|
+
"svelte": "5.49.1",
|
|
270
|
+
"toml-eslint-parser": "1.0.3",
|
|
271
|
+
"tsdown": "0.16.0",
|
|
272
|
+
"type-fest": "5.4.3",
|
|
273
|
+
"typescript": "5.9.3",
|
|
274
|
+
"typescript-eslint": "8.54.0",
|
|
275
|
+
"vitest": "4.0.18",
|
|
276
|
+
"yaml-eslint-parser": "2.0.0"
|
|
277
|
+
},
|
|
278
|
+
"keywords": [
|
|
279
|
+
"dev",
|
|
280
|
+
"brnshkr",
|
|
281
|
+
"config",
|
|
282
|
+
"eslint",
|
|
283
|
+
"lint",
|
|
284
|
+
"linting"
|
|
285
|
+
],
|
|
286
|
+
"simple-git-hooks": {
|
|
287
|
+
"commit-msg": "bun lint:commit"
|
|
288
|
+
}
|
|
289
|
+
}
|