Skip to content

Commit cb2d539

Browse files
committed
Fix: Upgrade deps and readme
1 parent 4e39f56 commit cb2d539

13 files changed

Lines changed: 3254 additions & 2733 deletions

.circleci/config.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,11 @@ jobs:
44
docker:
55
- image: circleci/node:10.15
66
working_directory: ~/repo
7-
87
steps:
98
- checkout
10-
11-
- restore_cache:
12-
keys:
13-
- v1-dependencies-{{ checksum "package.json" }}
14-
# fallback to using the latest cache if no exact match is found
15-
- v1-dependencies-
16-
179
- run: yarn install
18-
19-
- save_cache:
20-
paths:
21-
- node_modules
22-
key: v1-dependencies-{{ checksum "package.json" }}
23-
10+
- run: yarn build
11+
- run: yarn test
2412
- run: yarn release
2513
workflows:
2614
version: 2

.dependabot/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 1
2+
update_configs:
3+
- package_manager: 'javascript'
4+
directory: '/'
5+
update_schedule: 'daily'
6+
commit_message:
7+
prefix: 'Fix'

.eslintrc.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
module.exports = {
2-
extends: [require.resolve('@tripphamm/trippkit/configs/eslint-config-react')],
2+
extends: ['plugin:@ejhammond/react'],
33
globals: {
44
__DEV__: 'readonly',
55
},
66
rules: {
77
'@typescript-eslint/ban-ts-ignore': 'off',
8+
// sometimes things can be any...
9+
'@typescript-eslint/no-explicit-any': 'off',
810
// we've abstracted our expects into a help fn
911
// so we don't necessarily need an `expect` inside of each test block
1012
'jest/expect-expect': 'off',
1113
},
14+
overrides: [
15+
{
16+
files: ['*rc.js', '*.config.js'],
17+
extends: ['plugin:@ejhammond/node'],
18+
},
19+
],
1220
};

.huskyrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('@tripphamm/trippkit/configs/husky');
1+
module.exports = require('@ejhammond/jskit/configs/library/husky');

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('@tripphamm/trippkit/configs/prettier');
1+
module.exports = require('@ejhammond/jskit/configs/shared/prettier');

.releaserc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@ejhammond/jskit/configs/library/semantic-release');

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# 💬 Responsive System
22

3-
A new way to write responsive components.
4-
53
## Motivation
64

7-
Check out this [post](https://tripps.tips/responsive-react-components/) to learn more about the motivation behind Responsive System.
5+
Check out this [post](https://ayhota.com/blog/responsive-react-components/) to learn more about the motivation behind Responsive System.
86

97
## Sneak Peek
108

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@ejhammond/jskit/configs/library/commitlint');

lint-staged.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
/* eslint-env commonjs */
2-
3-
module.exports = require('@tripphamm/trippkit/configs/lint-staged');
1+
module.exports = require('@ejhammond/jskit/configs/shared/lint-staged');

package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
],
1010
"version": "0.8.0",
1111
"license": "MIT",
12-
"author": "Tripp Hammond",
12+
"author": "EJ Hammond",
1313
"repository": {
1414
"type": "git",
15-
"url": "https://github.com/tripphamm/react-responsive-system"
15+
"url": "https://github.com/ejhammond/react-responsive-system"
1616
},
1717
"main": "dist/index.js",
1818
"module": "dist/react-responsive-system.esm.js",
@@ -24,25 +24,29 @@
2424
"start": "tsdx watch",
2525
"build": "tsdx build",
2626
"test": "tsdx test",
27-
"lint": "tk-lint",
28-
"format": "tk-format",
29-
"release": "yarn build && yarn test && tk-release"
27+
"lint": "jskit-lint",
28+
"format": "jskit-format",
29+
"release": "jskit-release"
3030
},
3131
"peerDependencies": {
3232
"react": ">=16.8"
3333
},
3434
"devDependencies": {
35+
"@ejhammond/eslint-plugin": "^2.0.0",
36+
"@ejhammond/jskit": "^2.0.2",
3537
"@testing-library/react": "^9.3.2",
36-
"@tripphamm/trippkit": "^1.2.2",
3738
"@types/jest": "^24.0.22",
39+
"@types/node": "^14.11.2",
3840
"@types/react": "^16.9.11",
3941
"@types/react-dom": "^16.9.4",
42+
"eslint": "^6.0.0",
4043
"husky": "^3.0.9",
44+
"prettier": "^2.1.2",
4145
"react": "^16.11.0",
4246
"react-dom": "^16.11.0",
43-
"tsdx": "^0.12.1",
47+
"tsdx": "^0.14.0",
4448
"tslib": "^1.10.0",
45-
"typescript": "^3.7.2"
49+
"typescript": "^4.0.0"
4650
},
4751
"dependencies": {
4852
"deepmerge": "^4.2.2"

0 commit comments

Comments
 (0)