@versini/dev-dependencies-common 3.2.6 → 3.2.8

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 +158 -0
  2. package/package.json +33 -29
  3. package/CHANGELOG.md +0 -217
package/biome.json ADDED
@@ -0,0 +1,158 @@
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
+ "noNamespace": "error",
71
+ "useAsConstAssertion": "error",
72
+ "useBlockStatements": "off"
73
+ },
74
+ "suspicious": {
75
+ "noAssignInExpressions": "error",
76
+ "noAsyncPromiseExecutor": "error",
77
+ "noCatchAssign": "error",
78
+ "noClassAssign": "error",
79
+ "noCommentText": "error",
80
+ "noCompareNegZero": "error",
81
+ "noConsoleLog": "error",
82
+ "noControlCharactersInRegex": "error",
83
+ "noDebugger": "error",
84
+ "noDoubleEquals": "error",
85
+ "noDuplicateCase": "error",
86
+ "noDuplicateClassMembers": "error",
87
+ "noDuplicateJsxProps": "error",
88
+ "noDuplicateObjectKeys": "error",
89
+ "noDuplicateParameters": "error",
90
+ "noEmptyBlockStatements": "off",
91
+ "noExplicitAny": "off",
92
+ "noExtraNonNullAssertion": "error",
93
+ "noFallthroughSwitchClause": "error",
94
+ "noFunctionAssign": "error",
95
+ "noGlobalAssign": "error",
96
+ "noImportAssign": "error",
97
+ "noLabelVar": "error",
98
+ "noMisleadingCharacterClass": "error",
99
+ "noMisleadingInstantiator": "error",
100
+ "noPrototypeBuiltins": "error",
101
+ "noRedeclare": "error",
102
+ "noShadowRestrictedNames": "error",
103
+ "noUnsafeDeclarationMerging": "error",
104
+ "noUnsafeNegation": "error",
105
+ "useGetterReturn": "error",
106
+ "useValidTypeof": "error"
107
+ }
108
+ },
109
+ "ignore": ["dist", ".eslintrc.cjs"]
110
+ },
111
+ "javascript": {
112
+ "formatter": {
113
+ "arrowParentheses": "always",
114
+ "attributePosition": "auto",
115
+ "bracketSameLine": false,
116
+ "bracketSpacing": true,
117
+ "jsxQuoteStyle": "double",
118
+ "quoteProperties": "asNeeded",
119
+ "quoteStyle": "double",
120
+ "semicolons": "always",
121
+ "trailingComma": "all"
122
+ }
123
+ },
124
+ "overrides": [
125
+ {
126
+ "include": ["*.ts", "*.tsx", "*.mts", "*.cts"],
127
+ "linter": {
128
+ "rules": {
129
+ "correctness": {
130
+ "noConstAssign": "off",
131
+ "noGlobalObjectCalls": "off",
132
+ "noInvalidConstructorSuper": "off",
133
+ "noNewSymbol": "off",
134
+ "noSetterReturn": "off",
135
+ "noUndeclaredVariables": "off",
136
+ "noUnreachable": "off",
137
+ "noUnreachableSuper": "off"
138
+ },
139
+ "style": {
140
+ "noArguments": "error",
141
+ "noVar": "error",
142
+ "useConst": "error"
143
+ },
144
+ "suspicious": {
145
+ "noDuplicateClassMembers": "off",
146
+ "noDuplicateObjectKeys": "off",
147
+ "noDuplicateParameters": "off",
148
+ "noFunctionAssign": "off",
149
+ "noImportAssign": "off",
150
+ "noRedeclare": "off",
151
+ "noUnsafeNegation": "off",
152
+ "useGetterReturn": "off"
153
+ }
154
+ }
155
+ }
156
+ }
157
+ ]
158
+ }
package/package.json CHANGED
@@ -1,31 +1,35 @@
1
1
  {
2
- "name": "@versini/dev-dependencies-common",
3
- "version": "3.2.6",
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.5.0",
16
- "@typescript-eslint/parser": "7.5.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.6.1",
27
- "jsdom": "24.0.0",
28
- "typescript": "5.4.4"
29
- },
30
- "gitHead": "17cb709173eb66f1074cf6e8ab6bb741128db8c8"
2
+ "name": "@versini/dev-dependencies-common",
3
+ "version": "3.2.8",
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
+ "files": [
15
+ "biome.json"
16
+ ],
17
+ "dependencies": {
18
+ "@biomejs/biome": "1.7.0",
19
+ "@typescript-eslint/eslint-plugin": "7.7.0",
20
+ "@typescript-eslint/parser": "7.7.0",
21
+ "chokidar": "3.6.0",
22
+ "culori": "4.0.1",
23
+ "dotenv": "16.4.5",
24
+ "eslint-config-prettier": "9.1.0",
25
+ "eslint-plugin-simple-import-sort": "12.1.0",
26
+ "eslint-plugin-sort-keys-fix": "1.1.2",
27
+ "eslint-plugin-unicorn": "52.0.0",
28
+ "fs-extra": "11.2.0",
29
+ "glob": "10.3.12",
30
+ "happy-dom": "14.7.1",
31
+ "jsdom": "24.0.0",
32
+ "typescript": "5.4.5"
33
+ },
34
+ "gitHead": "84ed041ab5328d18bfb8c3f1a913034de6d55616"
31
35
  }
package/CHANGELOG.md DELETED
@@ -1,217 +0,0 @@
1
- # Changelog
2
-
3
- ## [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)
4
-
5
-
6
- ### Bug Fixes
7
-
8
- * bump types and common dependencies ([0e295ff](https://github.com/aversini/dev-dependencies/commit/0e295ff88cc278e01ac0409f4589ac6944a47210))
9
-
10
- ## [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)
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * bump types and common dependencies ([ccb7046](https://github.com/aversini/dev-dependencies/commit/ccb70466daf0ba00b5c4c6eac0c62b7abc47fe11))
16
-
17
- ## [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)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * bump types and common dependencies ([cfbbce5](https://github.com/aversini/dev-dependencies/commit/cfbbce51eac82e2b4d0e65ea8ff22cdacbac5632))
23
-
24
- ## [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)
25
-
26
-
27
- ### Bug Fixes
28
-
29
- * bump types and common to latest ([0824859](https://github.com/aversini/dev-dependencies/commit/082485986d601082c0fffbe3975dd773e496a5c6))
30
-
31
- ## [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)
32
-
33
-
34
- ### Bug Fixes
35
-
36
- * bump types and common dependencies ([d70f68b](https://github.com/aversini/dev-dependencies/commit/d70f68b6ddcbfb70a6498bff623ccf3901d1343e))
37
-
38
- ## [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)
39
-
40
-
41
- ### Bug Fixes
42
-
43
- * bump types and common dependencies ([95dd45f](https://github.com/aversini/dev-dependencies/commit/95dd45f3fea9ec782c984b4129e731565524db3c))
44
-
45
- ## [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)
46
-
47
-
48
- ### Features
49
-
50
- * **common:** adding glob ([e8e1683](https://github.com/aversini/dev-dependencies/commit/e8e1683861abe132014022ff64f1691fbed0512e))
51
-
52
- ## [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)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * **common:** bump to latest and remove CLIs ([acdac78](https://github.com/aversini/dev-dependencies/commit/acdac78d413d9b215141f3e11c2d94e89c502d81))
58
-
59
- ## [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)
60
-
61
-
62
- ### Bug Fixes
63
-
64
- * **common:** bump dependencies ([e5a1b98](https://github.com/aversini/dev-dependencies/commit/e5a1b9863c91fa434a7802b48bbfc49b66b5b9af))
65
-
66
- ## [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)
67
-
68
-
69
- ### Bug Fixes
70
-
71
- * **common:** bump to culori to latest ([418159a](https://github.com/aversini/dev-dependencies/commit/418159ab7e3ccc03e078b6ac73a645c6776e7f77))
72
-
73
- ## [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)
74
-
75
-
76
- ### Bug Fixes
77
-
78
- * **common:** bump common dependencies ([04591d6](https://github.com/aversini/dev-dependencies/commit/04591d64025de4b6c57b2eec61ce1564e8496e3c))
79
-
80
- ## [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)
81
-
82
-
83
- ### Bug Fixes
84
-
85
- * **common:** bump dependencies ([867428d](https://github.com/aversini/dev-dependencies/commit/867428d0d84adbb45fe164136db37f652bfa5fa6))
86
-
87
- ## [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)
88
-
89
-
90
- ### Bug Fixes
91
-
92
- * **common:** bump dependencies ([877ad04](https://github.com/aversini/dev-dependencies/commit/877ad0457920bd2ea7d7ddd35dfa958969b034b6))
93
-
94
- ## [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)
95
-
96
-
97
- ### Bug Fixes
98
-
99
- * **common:** bump dependencies ([da88068](https://github.com/aversini/dev-dependencies/commit/da8806896c3b2528b70005fdf404612f168f59ae))
100
-
101
- ## [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)
102
-
103
-
104
- ### Bug Fixes
105
-
106
- * **common:** bump non-breaking common dependencies ([6505ec0](https://github.com/aversini/dev-dependencies/commit/6505ec0d3b389e0d666eb5ae610049c8669f4b32))
107
-
108
- ## [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)
109
-
110
-
111
- ### Bug Fixes
112
-
113
- * removing latest glob which breaks everything ([9f5ea5b](https://github.com/aversini/dev-dependencies/commit/9f5ea5be5ce0689303110b4e0719f0d54ceeffe0))
114
-
115
- ## [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)
116
-
117
-
118
- ### Features
119
-
120
- * adding glob and culori ([4a8362f](https://github.com/aversini/dev-dependencies/commit/4a8362f155df9529fd4c1858db6bf5c95a5e7298))
121
-
122
-
123
- ### Bug Fixes
124
-
125
- * update non-breaking common dependencies ([702e20d](https://github.com/aversini/dev-dependencies/commit/702e20d5b80571f80dce6bf6d9566f478bf198a8))
126
-
127
- ## [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)
128
-
129
-
130
- ### ⚠ BREAKING CHANGES
131
-
132
- * update breaking common dependencies
133
-
134
- ### Features
135
-
136
- * update breaking common dependencies ([4921e3a](https://github.com/aversini/dev-dependencies/commit/4921e3a6f47edd7ff6a57bb96c166d7c962d69d9))
137
-
138
- ## [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)
139
-
140
-
141
- ### Features
142
-
143
- * move types to independent package ([19d1571](https://github.com/aversini/dev-dependencies/commit/19d15710996ed663011caa591fa7f720ac2739c9))
144
-
145
- ## [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)
146
-
147
-
148
- ### Features
149
-
150
- * adding happy-dom to common deps ([06e8762](https://github.com/aversini/dev-dependencies/commit/06e876235ce0109ce817ca41227732b8c80e2751))
151
-
152
- ## [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)
153
-
154
-
155
- ### Bug Fixes
156
-
157
- * bump common non-breaking dev dependencies ([c49c26b](https://github.com/aversini/dev-dependencies/commit/c49c26b7546e60ac392446cdbaac7de28738db7e))
158
-
159
- ## [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)
160
-
161
-
162
- ### Bug Fixes
163
-
164
- * bump non-breaking common dev dependencies ([c04b15f](https://github.com/aversini/dev-dependencies/commit/c04b15f472fa463d872dbe1e8626da2bd292d56c))
165
-
166
- ## [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)
167
-
168
-
169
- ### ⚠ BREAKING CHANGES
170
-
171
- * removing client dependencies from common
172
-
173
- ### Bug Fixes
174
-
175
- * removing client dependencies from common ([fabcc21](https://github.com/aversini/dev-dependencies/commit/fabcc2159b8b8ad59d568f9b6d25bd5f7605a816))
176
-
177
- ## [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)
178
-
179
-
180
- ### Features
181
-
182
- * adding eslint plugin for tailwind ([091e993](https://github.com/aversini/dev-dependencies/commit/091e9930d30fb15c767823359279cfa6b3d95665))
183
-
184
- ## [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)
185
-
186
-
187
- ### Bug Fixes
188
-
189
- * bump non-breaking dependencies ([207a66a](https://github.com/aversini/dev-dependencies/commit/207a66ab8d417168e16f9f201a68a9f91363fcbf))
190
-
191
- ## [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)
192
-
193
-
194
- ### Bug Fixes
195
-
196
- * remove useless resolution directive ([86fe458](https://github.com/aversini/dev-dependencies/commit/86fe458fe2f01fe66f0daf013780fd41ca80ad2f))
197
-
198
- ## [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)
199
-
200
-
201
- ### Features
202
-
203
- * bump common to latest ([122efd5](https://github.com/aversini/dev-dependencies/commit/122efd512554145a0bc41925ef114b7f6fd68ea6))
204
-
205
- ## [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)
206
-
207
-
208
- ### Bug Fixes
209
-
210
- * bump common deps to latest ([134d5ba](https://github.com/aversini/dev-dependencies/commit/134d5bac3e913073f141cb24fc536a4aaa9c504e))
211
-
212
- ## 1.0.0 (2023-11-11)
213
-
214
-
215
- ### Bug Fixes
216
-
217
- * migrating to yarn v4 ([3bb5b12](https://github.com/aversini/dev-dependencies/commit/3bb5b120fdaa34832d422c8ab3c438e88c3bb4de))