Skip to content

Commit 83b84a7

Browse files
authored
Merge pull request #39 from smooth-code/various-fixes
Various fixes
2 parents a6c192b + f5c5dc1 commit 83b84a7

File tree

9 files changed

+1934
-1691
lines changed

9 files changed

+1934
-1691
lines changed

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@
1414
"test": "jest"
1515
},
1616
"devDependencies": {
17-
"@babel/cli": "^7.4.4",
18-
"@babel/core": "^7.4.5",
19-
"@babel/plugin-proposal-class-properties": "^7.4.4",
20-
"@babel/preset-env": "^7.4.5",
17+
"@babel/cli": "^7.5.5",
18+
"@babel/core": "^7.5.5",
19+
"@babel/plugin-proposal-class-properties": "^7.5.5",
20+
"@babel/preset-env": "^7.5.5",
2121
"@babel/preset-react": "^7.0.0",
2222
"@loadable/babel-plugin": "^5.10.0",
2323
"babel-core": "^7.0.0-bridge.0",
24-
"babel-eslint": "^10.0.1",
25-
"babel-jest": "^24.8.0",
24+
"babel-eslint": "^10.0.3",
25+
"babel-jest": "^24.9.0",
2626
"conventional-github-releaser": "^3.1.3",
2727
"cross-env": "^5.2.0",
2828
"doctoc": "^1.4.0",
29-
"eslint": "^5.16.0",
30-
"eslint-config-airbnb": "^17.1.0",
31-
"eslint-config-prettier": "^4.3.0",
32-
"eslint-config-smooth": "^2.0.0",
33-
"eslint-plugin-import": "^2.17.3",
29+
"eslint": "^6.2.2",
30+
"eslint-config-airbnb": "^18.0.1",
31+
"eslint-config-prettier": "^6.1.0",
32+
"eslint-config-smooth": "^2.1.1",
33+
"eslint-plugin-import": "^2.18.2",
3434
"eslint-plugin-jsx-a11y": "^6.2.1",
35-
"eslint-plugin-react": "^7.13.0",
36-
"eslint-plugin-react-hooks": "^1.6.0",
37-
"jest": "^24.8.0",
38-
"lerna": "^3.14.1",
35+
"eslint-plugin-react": "^7.14.3",
36+
"eslint-plugin-react-hooks": "^2.0.1",
37+
"jest": "^24.9.0",
38+
"lerna": "^3.16.4",
3939
"prettier": "^1.17.1",
40-
"react": "^16.8.6",
41-
"react-dom": "^16.8.6",
40+
"react": "^16.9.0",
41+
"react-dom": "^16.9.0",
4242
"shx": "^0.3.2"
4343
}
4444
}

packages/smooth-backend-wordpress/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"mime-types": "^2.1.24",
3030
"mkdirp": "^0.5.1",
3131
"ncp": "^2.0.0",
32-
"p-limit": "^2.2.0",
33-
"qs": "^6.7.0"
32+
"p-limit": "^2.2.1",
33+
"qs": "^6.8.0"
3434
}
3535
}

packages/smooth-dev-cli/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
"react-dom": ">=16.3.0"
3333
},
3434
"dependencies": {
35-
"@babel/runtime": "^7.4.5",
35+
"@babel/runtime": "^7.5.5",
3636
"chokidar": "^3.0.1",
37-
"configstore": "^4.0.0",
37+
"configstore": "^5.0.0",
3838
"fs-extra": "^8.0.1",
3939
"is-absolute": "^1.0.0",
40-
"lodash": "^4.17.10",
41-
"yargs": "^13.2.4"
40+
"lodash": "^4.17.15",
41+
"yargs": "^14.0.0"
4242
}
4343
}

packages/smooth-plugin-css/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"prepublishOnly": "yarn run build"
2323
},
2424
"dependencies": {
25-
"css-loader": "^2.1.1",
26-
"mini-css-extract-plugin": "^0.7.0"
25+
"css-loader": "^3.2.0",
26+
"mini-css-extract-plugin": "^0.8.0"
2727
},
2828
"peerDependencies": {
2929
"smooth": "^0.1.0"

packages/smooth-plugin-styled-components/src/smooth-node.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export function onRenderBody({ setHeadComponents, pathname }) {
3333
if (sheet) {
3434
setHeadComponents([sheet.getStyleElement()])
3535
sheetByPathname.delete(pathname)
36-
sheet.seal()
3736

3837
// Prevent cache bugs
3938
if (process.env.NODE_ENV !== 'production') {

packages/smooth/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,35 +33,35 @@
3333
"react-dom": ">=16.8.0"
3434
},
3535
"dependencies": {
36-
"@babel/core": "^7.4.5",
37-
"@babel/plugin-proposal-class-properties": "^7.4.4",
38-
"@babel/plugin-transform-runtime": "^7.4.4",
39-
"@babel/preset-env": "^7.4.5",
36+
"@babel/core": "^7.5.5",
37+
"@babel/plugin-proposal-class-properties": "^7.5.5",
38+
"@babel/plugin-transform-runtime": "^7.5.5",
39+
"@babel/preset-env": "^7.5.5",
4040
"@babel/preset-react": "^7.0.0",
41-
"@babel/register": "^7.4.4",
42-
"@babel/runtime": "^7.4.5",
43-
"@emotion/core": "^10.0.10",
41+
"@babel/register": "^7.5.5",
42+
"@babel/runtime": "^7.5.5",
43+
"@emotion/core": "^10.0.16",
4444
"@loadable/babel-plugin": "^5.10.0",
4545
"@loadable/component": "^5.10.1",
4646
"@loadable/server": "^5.9.0",
4747
"@loadable/webpack-plugin": "^5.7.1",
48-
"apollo-cache-inmemory": "^1.6.0",
49-
"apollo-client": "^2.6.0",
48+
"apollo-cache-inmemory": "^1.6.3",
49+
"apollo-client": "^2.6.4",
5050
"apollo-link": "^1.2.11",
5151
"apollo-link-schema": "^1.2.2",
52-
"apollo-server-express": "^2.6.1",
53-
"apollo-upload-client": "^10.0.1",
52+
"apollo-server-express": "^2.9.1",
53+
"apollo-upload-client": "^11.0.0",
5454
"axios": "^0.19.0",
5555
"babel-loader": "^8.0.6",
5656
"camelcase": "^5.3.1",
57-
"commander": "^2.20.0",
58-
"core-js": "^2.6.5",
57+
"commander": "^3.0.1",
58+
"core-js": "^3.2.1",
5959
"cors": "^2.8.5",
6060
"cwd": "^0.10.0",
6161
"errorhandler": "^1.5.1",
6262
"express": "^4.17.1",
6363
"express-async-handler": "^1.1.4",
64-
"graphql": "^14.3.1",
64+
"graphql": "^14.5.4",
6565
"graphql-iso-date": "^3.6.1",
6666
"graphql-tag": "^2.10.1",
6767
"graphql-tools": "^4.0.4",
@@ -70,13 +70,13 @@
7070
"merge-deep": "^3.0.2",
7171
"pluralize": "^8.0.0",
7272
"progress-estimator": "^0.2.2",
73-
"query-string": "^6.5.0",
74-
"react-apollo": "^2.5.6",
73+
"query-string": "^6.8.2",
74+
"react-apollo": "^3.0.1",
7575
"react-router-dom": "^5.0.0",
76-
"regenerator-runtime": "^0.13.2",
76+
"regenerator-runtime": "^0.13.3",
7777
"slugify": "^1.3.4",
7878
"tiny-glob": "^0.2.6",
79-
"webpack": "^4.32.2",
79+
"webpack": "^4.39.3",
8080
"webpack-dev-middleware": "^3.7.0",
8181
"webpack-hot-middleware": "^2.25.0",
8282
"webpack-node-externals": "^1.7.2"

packages/smooth/src/babel/preset.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const nodeConfig = opts => ({
1515
{
1616
loose: true,
1717
useBuiltIns: 'entry',
18-
corejs: 'core-js@2',
18+
corejs: 3,
1919
targets: {
2020
node: 'current',
2121
},
@@ -35,7 +35,7 @@ const webConfig = opts => ({
3535
modules: false,
3636
loose: true,
3737
useBuiltIns: 'entry',
38-
corejs: 'core-js@2',
38+
corejs: 3,
3939
...opts['preset-env'],
4040
},
4141
],

packages/smooth/src/webpack/loaders/smooth-babel-loader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable prefer-object-spread */
12
/* eslint-disable no-restricted-syntax */
23
import babelLoader from 'babel-loader'
34
import preset from '../../babel/preset'

0 commit comments

Comments
 (0)