Skip to content

Commit 0de4213

Browse files
committed
Upgrade dependencies and a few other small improvements
1 parent 9bf45b4 commit 0de4213

File tree

11 files changed

+1063
-1105
lines changed

11 files changed

+1063
-1105
lines changed

lerna.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lerna": "2.4.0",
2+
"lerna": "3.15.0",
33
"packages": ["packages/*"],
4-
"version": "2.0.5"
4+
"version": "2.0.6"
55
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"private": true,
33
"license": "MIT",
44
"devDependencies": {
5-
"babel-eslint": "latest",
6-
"eslint": "latest",
7-
"eslint-plugin-react": "latest",
8-
"eslint-plugin-react-hooks": "latest",
9-
"lerna": "latest",
10-
"prettier": "latest"
5+
"babel-eslint": "10.0.2",
6+
"eslint": "^6.0.1",
7+
"eslint-plugin-react": "^7.14.2",
8+
"eslint-plugin-react-hooks": "^1.6.1",
9+
"lerna": "^3.15.0",
10+
"prettier": "^1.18.2"
1111
}
1212
}

packages/reactful/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ All of these commands will also create a jest snapshot test for the generated co
4545

4646
### Updating Existing React App
4747

48-
While in a React application that's created with this tool, you can always revert things back the default configurations with the init command. You can also use this command in an empty directory.
48+
While in a React application that's created with this tool, you can always revert things back to the default configurations with the `init` command. You can also use this command in an empty directory.
4949

5050
```sh
5151
cd my-awesome-react-app

packages/reactful/lib/commands/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ For problems and questions: https://jscomplete.com/help
3737
module.exports = (command, args) => {
3838
switch (command) {
3939
case 'help':
40+
case '-h':
41+
case '--help':
4042
printHelp();
4143
break;
4244
case 'open':

packages/reactful/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactful",
3-
"version": "2.0.5",
3+
"version": "2.0.6",
44
"description": "An opinionated CLI for full-stack server-rendered React applications",
55
"repository": "jscomplete/reactful",
66
"author": "Samer Buna <[email protected]>",

packages/reactful/template/.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ module.exports = {
88
jest: true,
99
},
1010
extends: ['eslint:recommended', 'plugin:react/recommended'],
11+
settings: {
12+
react: {
13+
version: 'detect',
14+
},
15+
},
1116
parserOptions: {
1217
ecmaFeatures: {
1318
experimentalObjectRestSpread: true,
@@ -20,6 +25,7 @@ module.exports = {
2025
'react/prop-types': ['off'],
2126
'react/no-unescaped-entities': ['error', { forbid: ['>', '}'] }],
2227
'react-hooks/rules-of-hooks': 'error',
28+
'react-hooks/exhaustive-deps': 'warn',
2329
indent: ['error', 2, { SwitchCase: 1 }],
2430
'comma-dangle': ['error', 'always-multiline'],
2531
'linebreak-style': ['error', 'unix'],
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
module.exports = {
22
presets: [
3-
"@babel/react",
3+
'@babel/react',
44
[
5-
"@babel/env",
5+
'@babel/env',
66
{
77
targets: {
8-
node: "current",
8+
node: 'current',
99
},
1010
},
1111
],
1212
],
13-
plugins: [["@babel/plugin-proposal-class-properties", { loose: true }]],
13+
plugins: [['@babel/plugin-proposal-class-properties', { loose: true }]],
1414
};
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
module.exports = {
22
presets: [
3-
"@babel/react",
3+
'@babel/react',
44
[
5-
"@babel/env",
5+
'@babel/env',
66
{
77
targets: [
8-
"> 1%",
9-
"last 3 versions",
10-
"ie >= 9",
11-
"ios >= 8",
12-
"android >= 4.2",
8+
'> 1%',
9+
'last 3 versions',
10+
'ie >= 9',
11+
'ios >= 8',
12+
'android >= 4.2',
1313
],
1414
},
1515
],
1616
],
1717
plugins: [
18-
"@babel/plugin-transform-runtime",
19-
["@babel/plugin-proposal-class-properties", { loose: true }],
18+
'@babel/plugin-transform-runtime',
19+
['@babel/plugin-proposal-class-properties', { loose: true }],
2020
],
2121
};

packages/reactful/template/src/styles/index.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
$main: #555;
22

3-
* {
3+
*,
4+
*:before,
5+
*:after {
46
box-sizing: border-box;
57
}
68

packages/reactful/yarn.lock

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# yarn lockfile v1
33

44

5+
ansi-regex@^4.1.0:
6+
version "4.1.0"
7+
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
8+
integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
9+
510
balanced-match@^1.0.0:
611
version "1.0.0"
712
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
@@ -78,9 +83,11 @@ path-is-absolute@^1.0.0:
7883
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
7984

8085
prompt-sync@^4.1.6:
81-
version "4.1.6"
82-
resolved "https://registry.yarnpkg.com/prompt-sync/-/prompt-sync-4.1.6.tgz#416ee21d92a95601d421a582d7cbf38cf7b53ff7"
83-
integrity sha512-dYjDha0af2vefm6soqnPnFEz2tAzwH/kb+pPoaCohRoPUxFXj+mymkOFgxX7Ylv59TdEr7OzktEizdK7MIMvIw==
86+
version "4.1.7"
87+
resolved "https://registry.yarnpkg.com/prompt-sync/-/prompt-sync-4.1.7.tgz#8465d6a83ce35db7fcc5cb73936ba54a8f2b8517"
88+
integrity sha512-EPdLWdZCgNAxF8haGg1CKOL/F5KZiRtuqgoWc1EGefX+fX+5qsB8vI52+qzl1jgADO6AiLaIcioicxRgQEy5xA==
89+
dependencies:
90+
strip-ansi "^5.0.0"
8491

8592
rimraf@^2.6.3:
8693
version "2.6.3"
@@ -89,6 +96,13 @@ rimraf@^2.6.3:
8996
dependencies:
9097
glob "^7.1.3"
9198

99+
strip-ansi@^5.0.0:
100+
version "5.2.0"
101+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
102+
integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==
103+
dependencies:
104+
ansi-regex "^4.1.0"
105+
92106
wrappy@1:
93107
version "1.0.2"
94108
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"

0 commit comments

Comments
 (0)