@versini/dev-dependencies-common 3.2.7 → 3.2.9

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 (3) hide show
  1. package/biome.json +140 -0
  2. package/package.json +37 -29
  3. package/CHANGELOG.md +0 -224
package/biome.json ADDED
@@ -0,0 +1,140 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/1.7.0/schema.json",
3
+ "organizeImports": {
4
+ "enabled": true
5
+ },
6
+ "vcs": {
7
+ "enabled": true,
8
+ "clientKind": "git",
9
+ "useIgnoreFile": true
10
+ },
11
+ "formatter": {
12
+ "attributePosition": "auto",
13
+ "enabled": true,
14
+ "formatWithErrors": true,
15
+ "indentStyle": "tab",
16
+ "indentWidth": 2,
17
+ "lineEnding": "lf",
18
+ "lineWidth": 80
19
+ },
20
+ "linter": {
21
+ "enabled": true,
22
+ "rules": {
23
+ "recommended": false,
24
+ "a11y": { "noBlankTarget": "error" },
25
+ "complexity": {
26
+ "noBannedTypes": "error",
27
+ "noExtraBooleanCast": "error",
28
+ "noMultipleSpacesInRegularExpressionLiterals": "error",
29
+ "noUselessCatch": "error",
30
+ "noUselessFragments": "error",
31
+ "noUselessThisAlias": "error",
32
+ "noUselessTypeConstraint": "error",
33
+ "noWith": "error"
34
+ },
35
+ "correctness": {
36
+ "noChildrenProp": "error",
37
+ "noConstAssign": "error",
38
+ "noConstantCondition": "error",
39
+ "noEmptyCharacterClassInRegex": "error",
40
+ "noEmptyPattern": "error",
41
+ "noGlobalObjectCalls": "error",
42
+ "noInnerDeclarations": "error",
43
+ "noInvalidConstructorSuper": "error",
44
+ "noInvalidUseBeforeDeclaration": "error",
45
+ "noNewSymbol": "error",
46
+ "noNonoctalDecimalEscape": "error",
47
+ "noPrecisionLoss": "error",
48
+ "noSelfAssign": "error",
49
+ "noSetterReturn": "error",
50
+ "noSwitchDeclarations": "error",
51
+ "noUndeclaredVariables": "error",
52
+ "noUnreachable": "error",
53
+ "noUnreachableSuper": "error",
54
+ "noUnsafeFinally": "error",
55
+ "noUnsafeOptionalChaining": "error",
56
+ "noUnusedLabels": "error",
57
+ "noUnusedVariables": "error",
58
+ "useExhaustiveDependencies": "warn",
59
+ "useHookAtTopLevel": "error",
60
+ "useIsNan": "error",
61
+ "useJsxKeyInIterable": "error",
62
+ "useValidForDirection": "error",
63
+ "useYield": "error"
64
+ },
65
+ "security": {
66
+ "noDangerouslySetInnerHtml": "error",
67
+ "noGlobalEval": "error"
68
+ },
69
+ "style": {
70
+ "noArguments": "error",
71
+ "noNamespace": "error",
72
+ "noVar": "error",
73
+ "useAsConstAssertion": "error",
74
+ "useBlockStatements": "error",
75
+ "useConst": "error"
76
+ },
77
+ "suspicious": {
78
+ "noAssignInExpressions": "error",
79
+ "noAsyncPromiseExecutor": "error",
80
+ "noCatchAssign": "error",
81
+ "noClassAssign": "error",
82
+ "noCommentText": "error",
83
+ "noCompareNegZero": "error",
84
+ "noConsoleLog": "error",
85
+ "noControlCharactersInRegex": "error",
86
+ "noDebugger": "error",
87
+ "noDoubleEquals": "error",
88
+ "noDuplicateCase": "error",
89
+ "noDuplicateClassMembers": "error",
90
+ "noDuplicateJsxProps": "error",
91
+ "noDuplicateObjectKeys": "error",
92
+ "noDuplicateParameters": "error",
93
+ "noEmptyBlockStatements": "off",
94
+ "noExplicitAny": "off",
95
+ "noExtraNonNullAssertion": "error",
96
+ "noFallthroughSwitchClause": "error",
97
+ "noFunctionAssign": "error",
98
+ "noGlobalAssign": "error",
99
+ "noImportAssign": "error",
100
+ "noLabelVar": "error",
101
+ "noMisleadingCharacterClass": "error",
102
+ "noMisleadingInstantiator": "error",
103
+ "noPrototypeBuiltins": "error",
104
+ "noRedeclare": "error",
105
+ "noShadowRestrictedNames": "error",
106
+ "noUnsafeDeclarationMerging": "error",
107
+ "noUnsafeNegation": "error",
108
+ "useGetterReturn": "error",
109
+ "useValidTypeof": "error"
110
+ }
111
+ },
112
+ "ignore": ["dist", ".eslintrc.cjs"]
113
+ },
114
+ "javascript": {
115
+ "globals": ["React"],
116
+ "formatter": {
117
+ "arrowParentheses": "always",
118
+ "attributePosition": "auto",
119
+ "bracketSameLine": false,
120
+ "bracketSpacing": true,
121
+ "jsxQuoteStyle": "double",
122
+ "quoteProperties": "asNeeded",
123
+ "quoteStyle": "double",
124
+ "semicolons": "always",
125
+ "trailingComma": "all"
126
+ }
127
+ },
128
+ "overrides": [
129
+ {
130
+ "include": ["*.test.ts", "*.test.tsx"],
131
+ "linter": {
132
+ "rules": {
133
+ "correctness": {
134
+ "noUndeclaredVariables": "off"
135
+ }
136
+ }
137
+ }
138
+ }
139
+ ]
140
+ }
package/package.json CHANGED
@@ -1,31 +1,39 @@
1
1
  {
2
- "name": "@versini/dev-dependencies-common",
3
- "version": "3.2.7",
4
- "license": "MIT",
5
- "author": "Arno Versini",
6
- "publishConfig": {
7
- "access": "public"
8
- },
9
- "homepage": "https://github.com/aversini/dev-dependencies/tree/main/packages/common",
10
- "repository": {
11
- "type": "git",
12
- "url": "git@github.com:aversini/dev-dependencies.git"
13
- },
14
- "dependencies": {
15
- "@typescript-eslint/eslint-plugin": "7.6.0",
16
- "@typescript-eslint/parser": "7.6.0",
17
- "chokidar": "3.6.0",
18
- "culori": "4.0.1",
19
- "dotenv": "16.4.5",
20
- "eslint-config-prettier": "9.1.0",
21
- "eslint-plugin-simple-import-sort": "12.0.0",
22
- "eslint-plugin-sort-keys-fix": "1.1.2",
23
- "eslint-plugin-unicorn": "52.0.0",
24
- "fs-extra": "11.2.0",
25
- "glob": "10.3.12",
26
- "happy-dom": "14.7.1",
27
- "jsdom": "24.0.0",
28
- "typescript": "5.4.5"
29
- },
30
- "gitHead": "0d1acc4217ea8c9925aedd5077af000efc8115fd"
2
+ "name": "@versini/dev-dependencies-common",
3
+ "version": "3.2.9",
4
+ "license": "MIT",
5
+ "author": "Arno Versini",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "homepage": "https://github.com/aversini/dev-dependencies/tree/main/packages/common",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git@github.com:aversini/dev-dependencies.git"
13
+ },
14
+ "type": "module",
15
+ "files": [
16
+ "biome.json"
17
+ ],
18
+ "exports": {
19
+ "./biome": "./biome.json"
20
+ },
21
+ "dependencies": {
22
+ "@biomejs/biome": "1.7.0",
23
+ "@typescript-eslint/eslint-plugin": "7.7.0",
24
+ "@typescript-eslint/parser": "7.7.0",
25
+ "chokidar": "3.6.0",
26
+ "culori": "4.0.1",
27
+ "dotenv": "16.4.5",
28
+ "eslint-config-prettier": "9.1.0",
29
+ "eslint-plugin-simple-import-sort": "12.1.0",
30
+ "eslint-plugin-sort-keys-fix": "1.1.2",
31
+ "eslint-plugin-unicorn": "52.0.0",
32
+ "fs-extra": "11.2.0",
33
+ "glob": "10.3.12",
34
+ "happy-dom": "14.7.1",
35
+ "jsdom": "24.0.0",
36
+ "typescript": "5.4.5"
37
+ },
38
+ "gitHead": "0a68cced36083a64735e2cd9f064c96c8166afcd"
31
39
  }
package/CHANGELOG.md DELETED
@@ -1,224 +0,0 @@
1
- # Changelog
2
-
3
- ## [3.2.7](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.2.6...dev-dependencies-common-v3.2.7) (2024-04-12)
4
-
5
-
6
- ### Bug Fixes
7
-
8
- * bump types and common dependencies ([e498590](https://github.com/aversini/dev-dependencies/commit/e49859074a692e58dfdeb8a303e0995515bffbf7))
9
-
10
- ## [3.2.6](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.2.5...dev-dependencies-common-v3.2.6) (2024-04-06)
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * bump types and common dependencies ([0e295ff](https://github.com/aversini/dev-dependencies/commit/0e295ff88cc278e01ac0409f4589ac6944a47210))
16
-
17
- ## [3.2.5](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.2.4...dev-dependencies-common-v3.2.5) (2024-03-22)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * bump types and common dependencies ([ccb7046](https://github.com/aversini/dev-dependencies/commit/ccb70466daf0ba00b5c4c6eac0c62b7abc47fe11))
23
-
24
- ## [3.2.4](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.2.3...dev-dependencies-common-v3.2.4) (2024-03-16)
25
-
26
-
27
- ### Bug Fixes
28
-
29
- * bump types and common dependencies ([cfbbce5](https://github.com/aversini/dev-dependencies/commit/cfbbce51eac82e2b4d0e65ea8ff22cdacbac5632))
30
-
31
- ## [3.2.3](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.2.2...dev-dependencies-common-v3.2.3) (2024-02-23)
32
-
33
-
34
- ### Bug Fixes
35
-
36
- * bump types and common to latest ([0824859](https://github.com/aversini/dev-dependencies/commit/082485986d601082c0fffbe3975dd773e496a5c6))
37
-
38
- ## [3.2.2](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.2.1...dev-dependencies-common-v3.2.2) (2024-02-10)
39
-
40
-
41
- ### Bug Fixes
42
-
43
- * bump types and common dependencies ([d70f68b](https://github.com/aversini/dev-dependencies/commit/d70f68b6ddcbfb70a6498bff623ccf3901d1343e))
44
-
45
- ## [3.2.1](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.2.0...dev-dependencies-common-v3.2.1) (2024-02-08)
46
-
47
-
48
- ### Bug Fixes
49
-
50
- * bump types and common dependencies ([95dd45f](https://github.com/aversini/dev-dependencies/commit/95dd45f3fea9ec782c984b4129e731565524db3c))
51
-
52
- ## [3.2.0](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.9...dev-dependencies-common-v3.2.0) (2024-02-04)
53
-
54
-
55
- ### Features
56
-
57
- * **common:** adding glob ([e8e1683](https://github.com/aversini/dev-dependencies/commit/e8e1683861abe132014022ff64f1691fbed0512e))
58
-
59
- ## [3.1.9](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.8...dev-dependencies-common-v3.1.9) (2024-02-03)
60
-
61
-
62
- ### Bug Fixes
63
-
64
- * **common:** bump to latest and remove CLIs ([acdac78](https://github.com/aversini/dev-dependencies/commit/acdac78d413d9b215141f3e11c2d94e89c502d81))
65
-
66
- ## [3.1.8](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.7...dev-dependencies-common-v3.1.8) (2024-01-23)
67
-
68
-
69
- ### Bug Fixes
70
-
71
- * **common:** bump dependencies ([e5a1b98](https://github.com/aversini/dev-dependencies/commit/e5a1b9863c91fa434a7802b48bbfc49b66b5b9af))
72
-
73
- ## [3.1.7](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.6...dev-dependencies-common-v3.1.7) (2024-01-20)
74
-
75
-
76
- ### Bug Fixes
77
-
78
- * **common:** bump to culori to latest ([418159a](https://github.com/aversini/dev-dependencies/commit/418159ab7e3ccc03e078b6ac73a645c6776e7f77))
79
-
80
- ## [3.1.6](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.5...dev-dependencies-common-v3.1.6) (2024-01-20)
81
-
82
-
83
- ### Bug Fixes
84
-
85
- * **common:** bump common dependencies ([04591d6](https://github.com/aversini/dev-dependencies/commit/04591d64025de4b6c57b2eec61ce1564e8496e3c))
86
-
87
- ## [3.1.5](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.4...dev-dependencies-common-v3.1.5) (2024-01-17)
88
-
89
-
90
- ### Bug Fixes
91
-
92
- * **common:** bump dependencies ([867428d](https://github.com/aversini/dev-dependencies/commit/867428d0d84adbb45fe164136db37f652bfa5fa6))
93
-
94
- ## [3.1.4](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.3...dev-dependencies-common-v3.1.4) (2024-01-14)
95
-
96
-
97
- ### Bug Fixes
98
-
99
- * **common:** bump dependencies ([877ad04](https://github.com/aversini/dev-dependencies/commit/877ad0457920bd2ea7d7ddd35dfa958969b034b6))
100
-
101
- ## [3.1.3](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.2...dev-dependencies-common-v3.1.3) (2024-01-13)
102
-
103
-
104
- ### Bug Fixes
105
-
106
- * **common:** bump dependencies ([da88068](https://github.com/aversini/dev-dependencies/commit/da8806896c3b2528b70005fdf404612f168f59ae))
107
-
108
- ## [3.1.2](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.1...dev-dependencies-common-v3.1.2) (2024-01-08)
109
-
110
-
111
- ### Bug Fixes
112
-
113
- * **common:** bump non-breaking common dependencies ([6505ec0](https://github.com/aversini/dev-dependencies/commit/6505ec0d3b389e0d666eb5ae610049c8669f4b32))
114
-
115
- ## [3.1.1](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.1.0...dev-dependencies-common-v3.1.1) (2024-01-03)
116
-
117
-
118
- ### Bug Fixes
119
-
120
- * removing latest glob which breaks everything ([9f5ea5b](https://github.com/aversini/dev-dependencies/commit/9f5ea5be5ce0689303110b4e0719f0d54ceeffe0))
121
-
122
- ## [3.1.0](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v3.0.0...dev-dependencies-common-v3.1.0) (2024-01-03)
123
-
124
-
125
- ### Features
126
-
127
- * adding glob and culori ([4a8362f](https://github.com/aversini/dev-dependencies/commit/4a8362f155df9529fd4c1858db6bf5c95a5e7298))
128
-
129
-
130
- ### Bug Fixes
131
-
132
- * update non-breaking common dependencies ([702e20d](https://github.com/aversini/dev-dependencies/commit/702e20d5b80571f80dce6bf6d9566f478bf198a8))
133
-
134
- ## [3.0.0](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v2.2.0...dev-dependencies-common-v3.0.0) (2023-12-26)
135
-
136
-
137
- ### ⚠ BREAKING CHANGES
138
-
139
- * update breaking common dependencies
140
-
141
- ### Features
142
-
143
- * update breaking common dependencies ([4921e3a](https://github.com/aversini/dev-dependencies/commit/4921e3a6f47edd7ff6a57bb96c166d7c962d69d9))
144
-
145
- ## [2.2.0](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v2.1.0...dev-dependencies-common-v2.2.0) (2023-12-16)
146
-
147
-
148
- ### Features
149
-
150
- * move types to independent package ([19d1571](https://github.com/aversini/dev-dependencies/commit/19d15710996ed663011caa591fa7f720ac2739c9))
151
-
152
- ## [2.1.0](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v2.0.2...dev-dependencies-common-v2.1.0) (2023-12-13)
153
-
154
-
155
- ### Features
156
-
157
- * adding happy-dom to common deps ([06e8762](https://github.com/aversini/dev-dependencies/commit/06e876235ce0109ce817ca41227732b8c80e2751))
158
-
159
- ## [2.0.2](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v2.0.1...dev-dependencies-common-v2.0.2) (2023-12-12)
160
-
161
-
162
- ### Bug Fixes
163
-
164
- * bump common non-breaking dev dependencies ([c49c26b](https://github.com/aversini/dev-dependencies/commit/c49c26b7546e60ac392446cdbaac7de28738db7e))
165
-
166
- ## [2.0.1](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v2.0.0...dev-dependencies-common-v2.0.1) (2023-12-06)
167
-
168
-
169
- ### Bug Fixes
170
-
171
- * bump non-breaking common dev dependencies ([c04b15f](https://github.com/aversini/dev-dependencies/commit/c04b15f472fa463d872dbe1e8626da2bd292d56c))
172
-
173
- ## [2.0.0](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v1.2.0...dev-dependencies-common-v2.0.0) (2023-11-28)
174
-
175
-
176
- ### ⚠ BREAKING CHANGES
177
-
178
- * removing client dependencies from common
179
-
180
- ### Bug Fixes
181
-
182
- * removing client dependencies from common ([fabcc21](https://github.com/aversini/dev-dependencies/commit/fabcc2159b8b8ad59d568f9b6d25bd5f7605a816))
183
-
184
- ## [1.2.0](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v1.1.2...dev-dependencies-common-v1.2.0) (2023-11-27)
185
-
186
-
187
- ### Features
188
-
189
- * adding eslint plugin for tailwind ([091e993](https://github.com/aversini/dev-dependencies/commit/091e9930d30fb15c767823359279cfa6b3d95665))
190
-
191
- ## [1.1.2](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v1.1.1...dev-dependencies-common-v1.1.2) (2023-11-27)
192
-
193
-
194
- ### Bug Fixes
195
-
196
- * bump non-breaking dependencies ([207a66a](https://github.com/aversini/dev-dependencies/commit/207a66ab8d417168e16f9f201a68a9f91363fcbf))
197
-
198
- ## [1.1.1](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v1.1.0...dev-dependencies-common-v1.1.1) (2023-11-13)
199
-
200
-
201
- ### Bug Fixes
202
-
203
- * remove useless resolution directive ([86fe458](https://github.com/aversini/dev-dependencies/commit/86fe458fe2f01fe66f0daf013780fd41ca80ad2f))
204
-
205
- ## [1.1.0](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v1.0.1...dev-dependencies-common-v1.1.0) (2023-11-13)
206
-
207
-
208
- ### Features
209
-
210
- * bump common to latest ([122efd5](https://github.com/aversini/dev-dependencies/commit/122efd512554145a0bc41925ef114b7f6fd68ea6))
211
-
212
- ## [1.0.1](https://github.com/aversini/dev-dependencies/compare/dev-dependencies-common-v1.0.0...dev-dependencies-common-v1.0.1) (2023-11-11)
213
-
214
-
215
- ### Bug Fixes
216
-
217
- * bump common deps to latest ([134d5ba](https://github.com/aversini/dev-dependencies/commit/134d5bac3e913073f141cb24fc536a4aaa9c504e))
218
-
219
- ## 1.0.0 (2023-11-11)
220
-
221
-
222
- ### Bug Fixes
223
-
224
- * migrating to yarn v4 ([3bb5b12](https://github.com/aversini/dev-dependencies/commit/3bb5b120fdaa34832d422c8ab3c438e88c3bb4de))