Skip to content

Commit 37a8727

Browse files
authored
Merge pull request #16 from productive-codebases/feature/update-deps
Update dependencies.
2 parents 7315694 + 8db24f9 commit 37a8727

23 files changed

+4353
-8767
lines changed

.eslintignore

-9
This file was deleted.

.eslintrc.js

-19
This file was deleted.

.prettierignore

Whitespace-only changes.

.prettierrc

-9
This file was deleted.

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## v1.5.3 (2024-03-10)
4+
5+
### Changed
6+
7+
- Update dependencies.
8+
- Use `@emotion` instead of `styled-components` that is more versatile to be used with build-variants.
9+
- Fix minor typos.
10+
311
## v1.5.2 (2024-03-10)
412

513
### Changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ Configure **build-variants** with your styling engine. For example, with _styled
2626

2727
```ts
2828
import type { CSSObject } from '@emotion/react'
29-
import { newBuildVariants } from 'build-variants'
29+
import { newBuildVariants } from '@productive-codebases/build-variants'
3030

3131
export function buildVariants<TProps extends object>(props: TProps) {
3232
return newBuildVariants<TProps, CSSObject>(props)
3333
}
3434
```
3535

36-
*This sets up a function that accepts props and returns a builder configured for styled-components.*
36+
*This sets up a function that accepts props and returns a builder configured for CSSObject objects.*
3737

3838
---
3939

biome.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
3+
"files": {
4+
"ignore": []
5+
},
6+
"organizeImports": {
7+
"enabled": true
8+
},
9+
"vcs": {
10+
"enabled": true,
11+
"clientKind": "git",
12+
"useIgnoreFile": true
13+
},
14+
"formatter": {
15+
"indentStyle": "space"
16+
},
17+
"javascript": {
18+
"formatter": {
19+
"quoteStyle": "single",
20+
"semicolons": "asNeeded",
21+
"trailingCommas": "none",
22+
"arrowParentheses": "asNeeded"
23+
}
24+
},
25+
"linter": {
26+
"enabled": true,
27+
"rules": {
28+
"recommended": true,
29+
"complexity": {
30+
"noBannedTypes": "info",
31+
"noForEach": "off"
32+
},
33+
"suspicious": {
34+
"noExplicitAny": "off",
35+
"noEmptyInterface": "off"
36+
},
37+
"correctness": {
38+
"noUnusedImports": "warn"
39+
},
40+
"performance": {
41+
"noAccumulatingSpread": "warn"
42+
}
43+
}
44+
}
45+
}

jest.config.js

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
module.exports = {
2-
roots: [
3-
'<rootDir>/src'
4-
],
2+
roots: ['<rootDir>/src'],
53
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.ts$',
6-
testPathIgnorePatterns: [
7-
'/node_modules/'
8-
],
9-
collectCoverageFrom: [
10-
'**/*.ts',
11-
'!**/node_modules/**'
12-
],
4+
testPathIgnorePatterns: ['/node_modules/'],
5+
collectCoverageFrom: ['**/*.ts', '!**/node_modules/**'],
136
coverageDirectory: 'reports/coverage',
147
testEnvironment: 'node',
158
bail: false,

0 commit comments

Comments
 (0)