@regardio/dev 1.13.4 → 1.13.6
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/package.json +80 -83
- package/src/biome/preset.json +46 -7
package/package.json
CHANGED
|
@@ -1,60 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package.json",
|
|
3
|
-
"name": "@regardio/dev",
|
|
4
|
-
"version": "1.13.4",
|
|
5
|
-
"private": false,
|
|
6
|
-
"description": "Regardio developer tooling for testing, linting, and build workflows",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"biome",
|
|
9
|
-
"changesets",
|
|
10
|
-
"commitlint",
|
|
11
|
-
"dev",
|
|
12
|
-
"husky",
|
|
13
|
-
"linting",
|
|
14
|
-
"markdownlint",
|
|
15
|
-
"playwright",
|
|
16
|
-
"testing",
|
|
17
|
-
"tooling",
|
|
18
|
-
"typescript",
|
|
19
|
-
"vitest"
|
|
20
|
-
],
|
|
21
|
-
"homepage": "https://github.com/regardio/dev/blob/main/README.md",
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://github.com/regardio/dev/issues"
|
|
24
|
-
},
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "git+https://github.com/regardio/dev.git"
|
|
28
|
-
},
|
|
29
|
-
"license": "MIT",
|
|
30
3
|
"author": "Bernd Matzner <bernd.matzner@regard.io>",
|
|
31
|
-
"sideEffects": false,
|
|
32
|
-
"type": "module",
|
|
33
|
-
"exports": {
|
|
34
|
-
"./biome": "./src/biome/preset.json",
|
|
35
|
-
"./commitlint": "./src/commitlint/commitlint.cjs",
|
|
36
|
-
"./markdownlint": "./src/markdownlint/markdownlint.json",
|
|
37
|
-
"./markdownlint-cli2": "./src/markdownlint/markdownlint-cli2.jsonc",
|
|
38
|
-
"./playwright": {
|
|
39
|
-
"types": "./dist/playwright/index.d.ts",
|
|
40
|
-
"default": "./dist/playwright/index.js"
|
|
41
|
-
},
|
|
42
|
-
"./testing/setup-react": {
|
|
43
|
-
"types": "./dist/testing/setup-react.d.ts",
|
|
44
|
-
"default": "./dist/testing/setup-react.js"
|
|
45
|
-
},
|
|
46
|
-
"./typescript/base.json": "./src/typescript/base.json",
|
|
47
|
-
"./typescript/build.json": "./src/typescript/build.json",
|
|
48
|
-
"./typescript/react.json": "./src/typescript/react.json",
|
|
49
|
-
"./vitest/node": {
|
|
50
|
-
"types": "./dist/vitest/node.d.ts",
|
|
51
|
-
"default": "./dist/vitest/node.js"
|
|
52
|
-
},
|
|
53
|
-
"./vitest/react": {
|
|
54
|
-
"types": "./dist/vitest/react.d.ts",
|
|
55
|
-
"default": "./dist/vitest/react.js"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
4
|
"bin": {
|
|
59
5
|
"exec-clean": "dist/bin/exec-clean.js",
|
|
60
6
|
"exec-husky": "dist/bin/exec-husky.js",
|
|
@@ -69,39 +15,20 @@
|
|
|
69
15
|
"lint-md": "dist/bin/lint-md.js",
|
|
70
16
|
"lint-package": "dist/bin/lint-package.js"
|
|
71
17
|
},
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"src"
|
|
75
|
-
],
|
|
76
|
-
"scripts": {
|
|
77
|
-
"build": "tsc -p tsconfig.build.json",
|
|
78
|
-
"clean": "tsx src/bin/exec-clean.ts .turbo dist",
|
|
79
|
-
"fix": "run-p fix:*",
|
|
80
|
-
"fix:biome": "biome check --write --unsafe .",
|
|
81
|
-
"fix:md": "markdownlint-cli2 --fix",
|
|
82
|
-
"fix:pkg": "tsx src/bin/lint-package.ts",
|
|
83
|
-
"lint": "run-p lint:*",
|
|
84
|
-
"lint:biome": "biome check .",
|
|
85
|
-
"lint:md": "markdownlint-cli2",
|
|
86
|
-
"prepare": "husky",
|
|
87
|
-
"release": "tsx src/bin/flow-release.ts",
|
|
88
|
-
"report": "vitest run --coverage",
|
|
89
|
-
"test": "run-p test:*",
|
|
90
|
-
"test:unit": "vitest run",
|
|
91
|
-
"typecheck": "tsc --noEmit",
|
|
92
|
-
"version": "tsx src/bin/flow-changeset.ts version"
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/regardio/dev/issues"
|
|
93
20
|
},
|
|
94
21
|
"dependencies": {
|
|
95
|
-
"@biomejs/biome": "2.4.
|
|
22
|
+
"@biomejs/biome": "2.4.4",
|
|
96
23
|
"@changesets/changelog-github": "0.5.2",
|
|
97
24
|
"@changesets/cli": "2.29.8",
|
|
98
|
-
"@commitlint/cli": "20.4.
|
|
99
|
-
"@commitlint/config-conventional": "20.4.
|
|
25
|
+
"@commitlint/cli": "20.4.2",
|
|
26
|
+
"@commitlint/config-conventional": "20.4.2",
|
|
100
27
|
"@playwright/test": "1.58.2",
|
|
101
28
|
"@testing-library/jest-dom": "6.9.1",
|
|
102
29
|
"@testing-library/react": "16.3.2",
|
|
103
30
|
"@total-typescript/ts-reset": "0.6.1",
|
|
104
|
-
"@types/node": "25.
|
|
31
|
+
"@types/node": "25.3.0",
|
|
105
32
|
"@vitest/coverage-v8": "4.0.18",
|
|
106
33
|
"@vitest/ui": "4.0.18",
|
|
107
34
|
"husky": "9.1.7",
|
|
@@ -116,6 +43,53 @@
|
|
|
116
43
|
"vite": "7.3.1",
|
|
117
44
|
"vitest": "4.0.18"
|
|
118
45
|
},
|
|
46
|
+
"description": "Regardio developer tooling for testing, linting, and build workflows",
|
|
47
|
+
"engines": {
|
|
48
|
+
"node": ">=18"
|
|
49
|
+
},
|
|
50
|
+
"exports": {
|
|
51
|
+
"./biome": "./src/biome/preset.json",
|
|
52
|
+
"./commitlint": "./src/commitlint/commitlint.cjs",
|
|
53
|
+
"./markdownlint": "./src/markdownlint/markdownlint.json",
|
|
54
|
+
"./markdownlint-cli2": "./src/markdownlint/markdownlint-cli2.jsonc",
|
|
55
|
+
"./playwright": {
|
|
56
|
+
"default": "./dist/playwright/index.js",
|
|
57
|
+
"types": "./dist/playwright/index.d.ts"
|
|
58
|
+
},
|
|
59
|
+
"./testing/setup-react": {
|
|
60
|
+
"default": "./dist/testing/setup-react.js",
|
|
61
|
+
"types": "./dist/testing/setup-react.d.ts"
|
|
62
|
+
},
|
|
63
|
+
"./typescript/base.json": "./src/typescript/base.json",
|
|
64
|
+
"./typescript/build.json": "./src/typescript/build.json",
|
|
65
|
+
"./typescript/react.json": "./src/typescript/react.json",
|
|
66
|
+
"./vitest/node": {
|
|
67
|
+
"default": "./dist/vitest/node.js",
|
|
68
|
+
"types": "./dist/vitest/node.d.ts"
|
|
69
|
+
},
|
|
70
|
+
"./vitest/react": {
|
|
71
|
+
"default": "./dist/vitest/react.js",
|
|
72
|
+
"types": "./dist/vitest/react.d.ts"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"files": ["dist", "src"],
|
|
76
|
+
"homepage": "https://github.com/regardio/dev/blob/main/README.md",
|
|
77
|
+
"keywords": [
|
|
78
|
+
"biome",
|
|
79
|
+
"changesets",
|
|
80
|
+
"commitlint",
|
|
81
|
+
"dev",
|
|
82
|
+
"husky",
|
|
83
|
+
"linting",
|
|
84
|
+
"markdownlint",
|
|
85
|
+
"playwright",
|
|
86
|
+
"testing",
|
|
87
|
+
"tooling",
|
|
88
|
+
"typescript",
|
|
89
|
+
"vitest"
|
|
90
|
+
],
|
|
91
|
+
"license": "MIT",
|
|
92
|
+
"name": "@regardio/dev",
|
|
119
93
|
"peerDependencies": {
|
|
120
94
|
"postcss": "8.4"
|
|
121
95
|
},
|
|
@@ -124,10 +98,33 @@
|
|
|
124
98
|
"optional": true
|
|
125
99
|
}
|
|
126
100
|
},
|
|
127
|
-
"
|
|
128
|
-
"node": ">=18"
|
|
129
|
-
},
|
|
101
|
+
"private": false,
|
|
130
102
|
"publishConfig": {
|
|
131
103
|
"access": "public"
|
|
132
|
-
}
|
|
104
|
+
},
|
|
105
|
+
"repository": {
|
|
106
|
+
"type": "git",
|
|
107
|
+
"url": "git+https://github.com/regardio/dev.git"
|
|
108
|
+
},
|
|
109
|
+
"scripts": {
|
|
110
|
+
"build": "tsc -p tsconfig.build.json",
|
|
111
|
+
"clean": "tsx src/bin/exec-clean.ts .turbo dist",
|
|
112
|
+
"fix": "run-p fix:*",
|
|
113
|
+
"fix:biome": "biome check --write --unsafe .",
|
|
114
|
+
"fix:md": "markdownlint-cli2 --fix",
|
|
115
|
+
"fix:pkg": "tsx src/bin/lint-package.ts",
|
|
116
|
+
"lint": "run-p lint:*",
|
|
117
|
+
"lint:biome": "biome check .",
|
|
118
|
+
"lint:md": "markdownlint-cli2",
|
|
119
|
+
"prepare": "husky",
|
|
120
|
+
"release": "tsx src/bin/flow-release.ts",
|
|
121
|
+
"report": "vitest run --coverage",
|
|
122
|
+
"test": "run-p test:*",
|
|
123
|
+
"test:unit": "vitest run",
|
|
124
|
+
"typecheck": "tsc --noEmit",
|
|
125
|
+
"version": "tsx src/bin/flow-changeset.ts version"
|
|
126
|
+
},
|
|
127
|
+
"sideEffects": false,
|
|
128
|
+
"type": "module",
|
|
129
|
+
"version": "1.13.6"
|
|
133
130
|
}
|
package/src/biome/preset.json
CHANGED
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
"$schema": "https://biomejs.dev/schemas/latest/schema.json",
|
|
3
3
|
"assist": {
|
|
4
4
|
"actions": {
|
|
5
|
+
"recommended": true,
|
|
5
6
|
"source": {
|
|
7
|
+
"noDuplicateClasses": "on",
|
|
6
8
|
"organizeImports": "on",
|
|
9
|
+
"recommended": true,
|
|
7
10
|
"useSortedAttributes": "on",
|
|
11
|
+
"useSortedInterfaceMembers": "on",
|
|
8
12
|
"useSortedKeys": "on",
|
|
9
13
|
"useSortedProperties": "on"
|
|
10
14
|
}
|
|
11
|
-
}
|
|
15
|
+
},
|
|
16
|
+
"enabled": true
|
|
12
17
|
},
|
|
13
18
|
"css": {
|
|
14
19
|
"assist": {
|
|
@@ -20,23 +25,27 @@
|
|
|
20
25
|
"indentWidth": 2,
|
|
21
26
|
"lineEnding": "lf",
|
|
22
27
|
"lineWidth": 100,
|
|
23
|
-
"quoteStyle": "double"
|
|
28
|
+
"quoteStyle": "double",
|
|
29
|
+
"trailingNewline": true
|
|
24
30
|
},
|
|
31
|
+
"globals": [],
|
|
25
32
|
"linter": {
|
|
26
33
|
"enabled": true
|
|
27
34
|
},
|
|
28
35
|
"parser": {
|
|
36
|
+
"allowWrongLineComments": false,
|
|
29
37
|
"cssModules": true,
|
|
30
38
|
"tailwindDirectives": true
|
|
31
39
|
}
|
|
32
40
|
},
|
|
33
41
|
"files": {
|
|
34
42
|
"ignoreUnknown": false,
|
|
35
|
-
"includes": ["**"
|
|
43
|
+
"includes": ["**"],
|
|
36
44
|
"maxSize": 1048576
|
|
37
45
|
},
|
|
38
46
|
"formatter": {
|
|
39
47
|
"attributePosition": "multiline",
|
|
48
|
+
"bracketSameLine": false,
|
|
40
49
|
"bracketSpacing": true,
|
|
41
50
|
"enabled": true,
|
|
42
51
|
"expand": "auto",
|
|
@@ -45,6 +54,7 @@
|
|
|
45
54
|
"indentWidth": 2,
|
|
46
55
|
"lineEnding": "lf",
|
|
47
56
|
"lineWidth": 100,
|
|
57
|
+
"trailingNewline": true,
|
|
48
58
|
"useEditorconfig": true
|
|
49
59
|
},
|
|
50
60
|
"graphql": {
|
|
@@ -52,12 +62,30 @@
|
|
|
52
62
|
"enabled": true
|
|
53
63
|
},
|
|
54
64
|
"formatter": {
|
|
65
|
+
"bracketSpacing": true,
|
|
55
66
|
"enabled": false,
|
|
56
67
|
"indentStyle": "space",
|
|
57
68
|
"indentWidth": 2,
|
|
58
69
|
"lineEnding": "lf",
|
|
59
70
|
"lineWidth": 100,
|
|
60
|
-
"quoteStyle": "double"
|
|
71
|
+
"quoteStyle": "double",
|
|
72
|
+
"trailingNewline": true
|
|
73
|
+
},
|
|
74
|
+
"linter": {
|
|
75
|
+
"enabled": true
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"grit": {
|
|
79
|
+
"assist": {
|
|
80
|
+
"enabled": true
|
|
81
|
+
},
|
|
82
|
+
"formatter": {
|
|
83
|
+
"enabled": true,
|
|
84
|
+
"indentStyle": "space",
|
|
85
|
+
"indentWidth": 2,
|
|
86
|
+
"lineEnding": "lf",
|
|
87
|
+
"lineWidth": 100,
|
|
88
|
+
"trailingNewline": true
|
|
61
89
|
},
|
|
62
90
|
"linter": {
|
|
63
91
|
"enabled": true
|
|
@@ -76,10 +104,16 @@
|
|
|
76
104
|
"indentStyle": "space",
|
|
77
105
|
"indentWidth": 2,
|
|
78
106
|
"lineEnding": "lf",
|
|
79
|
-
"lineWidth": 100
|
|
107
|
+
"lineWidth": 100,
|
|
108
|
+
"selfCloseVoidElements": "never",
|
|
109
|
+
"trailingNewline": true,
|
|
110
|
+
"whitespaceSensitivity": "css"
|
|
80
111
|
},
|
|
81
112
|
"linter": {
|
|
82
113
|
"enabled": true
|
|
114
|
+
},
|
|
115
|
+
"parser": {
|
|
116
|
+
"interpolation": false
|
|
83
117
|
}
|
|
84
118
|
},
|
|
85
119
|
"javascript": {
|
|
@@ -98,10 +132,12 @@
|
|
|
98
132
|
"jsxQuoteStyle": "double",
|
|
99
133
|
"lineEnding": "lf",
|
|
100
134
|
"lineWidth": 100,
|
|
135
|
+
"operatorLinebreak": "before",
|
|
101
136
|
"quoteProperties": "asNeeded",
|
|
102
137
|
"quoteStyle": "single",
|
|
103
138
|
"semicolons": "always",
|
|
104
|
-
"trailingCommas": "all"
|
|
139
|
+
"trailingCommas": "all",
|
|
140
|
+
"trailingNewline": true
|
|
105
141
|
},
|
|
106
142
|
"globals": [],
|
|
107
143
|
"jsxRuntime": "transparent",
|
|
@@ -109,6 +145,7 @@
|
|
|
109
145
|
"enabled": true
|
|
110
146
|
},
|
|
111
147
|
"parser": {
|
|
148
|
+
"gritMetavariables": false,
|
|
112
149
|
"jsxEverywhere": true,
|
|
113
150
|
"unsafeParameterDecoratorsEnabled": false
|
|
114
151
|
}
|
|
@@ -125,7 +162,8 @@
|
|
|
125
162
|
"indentWidth": 2,
|
|
126
163
|
"lineEnding": "lf",
|
|
127
164
|
"lineWidth": 100,
|
|
128
|
-
"trailingCommas": "none"
|
|
165
|
+
"trailingCommas": "none",
|
|
166
|
+
"trailingNewline": true
|
|
129
167
|
},
|
|
130
168
|
"linter": {
|
|
131
169
|
"enabled": true
|
|
@@ -152,6 +190,7 @@
|
|
|
152
190
|
"correctness": {
|
|
153
191
|
"noInvalidPositionAtImportRule": "off",
|
|
154
192
|
"noUnknownFunction": "off",
|
|
193
|
+
"noUnknownPseudoElement": "off",
|
|
155
194
|
"noUnknownTypeSelector": "off",
|
|
156
195
|
"recommended": true,
|
|
157
196
|
"useUniqueElementIds": {
|