Skip to content

Commit 7b211c3

Browse files
authored
Merge pull request #995 from plotly/renovate/minor-devdeps
Update minor devDeps
2 parents 6cbb1ea + 386ee3c commit 7b211c3

File tree

3 files changed

+39
-39
lines changed

3 files changed

+39
-39
lines changed

circle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ jobs:
33
build:
44
docker:
55
# specify the version you desire here
6-
- image: circleci/node:8.11.2-browsers
6+
- image: circleci/node:12.13.1-browsers
77

88
working_directory: ~/react-chart-editor
99

1010
steps:
1111
- checkout
1212
- restore_cache:
1313
keys:
14-
- v1-dependencies-{{ checksum "package.json" }}
15-
- v1-dependencies-
14+
- v2-dependencies-{{ checksum "package.json" }}
15+
- v2-dependencies-
1616

1717
- run: npm install
1818

1919
- save_cache:
2020
paths:
2121
- node_modules
22-
key: v1-dependencies-{{ checksum "package.json" }}
22+
key: v2-dependencies-{{ checksum "package.json" }}
2323

2424
- run: npm test
2525
- run: npm run test:percy

package.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,26 @@
66
"bugs": {
77
"url": "https://github.com/plotly/react-chart-editor/issues"
88
},
9+
"scripts": {
10+
"lint": "prettier --write \"src/**/*.js\"",
11+
"make:arrows": "node scripts/makeArrows.js",
12+
"make:combined-translation-keys": "npm run make:translation-keys && node scripts/combineTranslationKeys.js",
13+
"make:lib:css": "mkdirp lib && babel-node scripts/styles.js && SASS_ENV=ie babel-node scripts/styles.js && babel-node scripts/postcss.js && SASS_ENV=ie babel-node scripts/postcss.js",
14+
"make:lib:js": "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps",
15+
"make:lib": "rimraf lib && mkdir lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys",
16+
"make:translation-keys": "node scripts/findTranslationKeys.js",
17+
"prepublishOnly": "npm run make:lib",
18+
"start": "webpack-dev-server --hot",
19+
"storybook": "start-storybook -p 9001 -c .storybook",
20+
"test": "npm run test:lint && npm run test:pretty && npm run test:js",
21+
"test:js": "jest --setupTestFrameworkScriptFile=raf/polyfill --maxWorkers=2",
22+
"test:lint": "eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
23+
"test:pretty": "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
24+
"test:percy": "node --max-old-space-size=4096 $(npm bin)/build-storybook && percy-storybook --widths=500",
25+
"test:percy-local": "node --max-old-space-size=4096 $(npm bin)/build-storybook",
26+
"watch": "babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-chart-editor.css",
27+
"watch-test": "jest --watch"
28+
},
929
"dependencies": {
1030
"@plotly/draft-js-export-html": "1.2.0",
1131
"classnames": "^2.2.6",
@@ -31,12 +51,12 @@
3151
"tinycolor2": "^1.4.1"
3252
},
3353
"devDependencies": {
34-
"@babel/cli": "7.7.5",
35-
"@babel/core": "7.7.5",
36-
"@babel/node": "7.7.4",
37-
"@babel/plugin-proposal-object-rest-spread": "7.7.4",
54+
"@babel/cli": "7.7.7",
55+
"@babel/core": "7.7.7",
56+
"@babel/node": "7.7.7",
57+
"@babel/plugin-proposal-object-rest-spread": "7.7.7",
3858
"@babel/polyfill": "7.7.0",
39-
"@babel/preset-env": "7.7.6",
59+
"@babel/preset-env": "7.7.7",
4060
"@babel/preset-react": "7.7.4",
4161
"@babel/traverse": "7.7.4",
4262
"@hot-loader/react-dom": "16.11.0",
@@ -47,11 +67,11 @@
4767
"babel-jest": "24.9.0",
4868
"babel-loader": "8.0.6",
4969
"babel-plugin-module-resolver": "4.0.0",
50-
"css-loader": "3.3.2",
70+
"css-loader": "3.4.0",
5171
"cssnano": "4.1.10",
52-
"enzyme": "3.10.0",
53-
"enzyme-adapter-react-16": "1.15.1",
54-
"eslint": "6.7.2",
72+
"enzyme": "3.11.0",
73+
"enzyme-adapter-react-16": "1.15.2",
74+
"eslint": "6.8.0",
5575
"eslint-config-prettier": "6.7.0",
5676
"eslint-plugin-import": "2.19.1",
5777
"eslint-plugin-react": "7.17.0",
@@ -62,7 +82,7 @@
6282
"jest-cli": "24.9.0",
6383
"mkdirp": "0.5.1",
6484
"node-sass": "4.13.0",
65-
"postcss": "7.0.24",
85+
"postcss": "7.0.25",
6686
"postcss-combine-duplicated-selectors": "8.0.3",
6787
"postcss-custom-properties": "8.0.11",
6888
"postcss-remove-root": "0.0.2",
@@ -76,10 +96,10 @@
7696
"request": "2.88.0",
7797
"rimraf": "3.0.0",
7898
"sass-loader": "7.1.0",
79-
"style-loader": "1.0.1",
80-
"webpack": "4.41.3",
99+
"style-loader": "1.1.1",
100+
"webpack": "4.41.4",
81101
"webpack-cli": "3.3.10",
82-
"webpack-dev-server": "3.9.0"
102+
"webpack-dev-server": "3.10.1"
83103
},
84104
"peerDependencies": {
85105
"react": ">15",
@@ -113,25 +133,5 @@
113133
},
114134
"browserslist": [
115135
"ie 11"
116-
],
117-
"scripts": {
118-
"lint": "prettier --write \"src/**/*.js\"",
119-
"make:arrows": "node scripts/makeArrows.js",
120-
"make:combined-translation-keys": "npm run make:translation-keys && node scripts/combineTranslationKeys.js",
121-
"make:lib:css": "mkdirp lib && babel-node scripts/styles.js && SASS_ENV=ie babel-node scripts/styles.js && babel-node scripts/postcss.js && SASS_ENV=ie babel-node scripts/postcss.js",
122-
"make:lib:js": "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps",
123-
"make:lib": "rimraf lib && mkdir lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys",
124-
"make:translation-keys": "node scripts/findTranslationKeys.js",
125-
"prepublishOnly": "npm run make:lib",
126-
"start": "webpack-dev-server --hot",
127-
"storybook": "start-storybook -p 9001 -c .storybook",
128-
"test": "npm run test:lint && npm run test:pretty && npm run test:js",
129-
"test:js": "jest --setupTestFrameworkScriptFile=raf/polyfill --maxWorkers=2",
130-
"test:lint": "eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
131-
"test:pretty": "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
132-
"test:percy": "node --max-old-space-size=4096 $(npm bin)/build-storybook && percy-storybook --widths=500",
133-
"test:percy-local": "node --max-old-space-size=4096 $(npm bin)/build-storybook",
134-
"watch": "babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-chart-editor.css",
135-
"watch-test": "jest --watch"
136-
}
136+
]
137137
}

src/__tests__/syntax-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const REGEXS = BLACK_LIST.map(token => new RegExp(`^\\s*${token}\\(.*`));
77

88
describe('Syntax and test validation', () => {
99
describe(`ensures ${BLACK_LIST} is not present in tests`, () => {
10-
const files = glob.sync('**/__tests__/*.js');
10+
const files = glob.sync('!(node_modules|examples)/**/__tests__/*.js');
1111
files.forEach(file =>
1212
it(`checks ${file} for test checks`, () => {
1313
const code = fs.readFileSync(file, {encoding: 'utf-8'});

0 commit comments

Comments
 (0)