Upgrade dependencies (#981)

* upgrade deps

* bump dev deps

* upgrade react-codemirror2

* rename parser-bablyon to parser-babel

* update prettier options
main
Michael Fix 5 years ago committed by GitHub
parent 6940628cee
commit 17c0ac67b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,6 @@
{ {
singleQuote: true, "singleQuote": true,
printWidth: 100, "printWidth": 100,
semi: false "semi": false,
"arrowParens": "avoid"
} }

@ -83,7 +83,7 @@ export const fileToJSON = blob =>
export const formatCode = async code => { export const formatCode = async code => {
const prettier = await import('prettier/standalone') const prettier = await import('prettier/standalone')
const babylonParser = await import('prettier/parser-babylon') const babylonParser = await import('prettier/parser-babel')
return prettier.format(code, { return prettier.format(code, {
parser: 'babel', parser: 'babel',

@ -9,7 +9,7 @@
"start": "next start", "start": "next start",
"test:e2e": "npm run cy:run --", "test:e2e": "npm run cy:run --",
"deploy": "now -S carbon-app", "deploy": "now -S carbon-app",
"prettier": "prettier --config .prettierrc --write {.,components,lib,pages}/*.js {components,lib,pages,packages}/**/*.js", "prettier": "prettier --config .prettierrc --write {.,components,lib,pages}/*.js {components,lib,pages}/**/*.js",
"lint": "eslint .", "lint": "eslint .",
"contrib:add": "all-contributors add", "contrib:add": "all-contributors add",
"contrib:build": "all-contributors generate", "contrib:build": "all-contributors generate",
@ -18,63 +18,63 @@
"preinstall": "node ./node_modules/use-climate-change-reminder/index.js || exit 0" "preinstall": "node ./node_modules/use-climate-change-reminder/index.js || exit 0"
}, },
"dependencies": { "dependencies": {
"@next/bundle-analyzer": "^9.2.2", "@next/bundle-analyzer": "^9.3.4",
"@reach/visually-hidden": "^0.8.2", "@reach/visually-hidden": "^0.10.0",
"acorn": "^7.1.1", "acorn": "^7.1.1",
"actionsack": "^0.0.13", "actionsack": "^0.0.13",
"axios": "^0.19.2", "axios": "^0.19.2",
"cm-show-invisibles": "^3.0.1", "cm-show-invisibles": "^3.0.1",
"codemirror": "^5.52.0", "codemirror": "^5.52.2",
"codemirror-graphql": "^0.11.6", "codemirror-graphql": "^0.11.6",
"codemirror-mode-elixir": "^1.1.2", "codemirror-mode-elixir": "^1.1.2",
"codemirror-solidity": "^0.2.2", "codemirror-solidity": "^0.2.2",
"date-fns": "^2.10.0", "date-fns": "^2.11.1",
"dom-to-image": "^2.6.0", "dom-to-image": "^2.6.0",
"downshift": "^5.0.3", "downshift": "^5.0.5",
"dropperx": "^1.0.1", "dropperx": "^1.0.1",
"eitherx": "^1.0.2", "eitherx": "^1.0.2",
"escape-goat": "^3.0.0", "escape-goat": "^3.0.0",
"firebase": "^7.9.3", "firebase": "^7.13.2",
"graphql": "^14.6.0", "graphql": "^15.0.0",
"highlight.js": "^9.18.1", "highlight.js": "^9.18.1",
"kind-of": "^6.0.3", "kind-of": "^6.0.3",
"lodash.debounce": "^4.0.8", "lodash.debounce": "^4.0.8",
"lodash.omitby": "^4.6.0", "lodash.omitby": "^4.6.0",
"match-sorter": "^4.0.2", "match-sorter": "^4.1.0",
"minimist": "^1.2.5", "minimist": "^1.2.5",
"morphmorph": "^0.1.3", "morphmorph": "^0.1.3",
"ms": "^2.1.2", "ms": "^2.1.2",
"next": "^9.3.2", "next": "^9.3.4",
"next-offline": "^4.0.6", "next-offline": "^4.0.6",
"prettier": "^1.19.1", "prettier": "^2.0.3",
"react": "^16.13.0", "react": "^16.13.1",
"react-click-outside": "^3.0.0", "react-click-outside": "^3.0.0",
"react-codemirror2": "^6.0.0", "react-codemirror2": "^7.1.0",
"react-color": "^2.18.0", "react-color": "^2.18.0",
"react-copy-to-clipboard": "^5.0.2", "react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.13.0", "react-dom": "^16.13.1",
"react-image-crop": "^6.0.16", "react-image-crop": "^6.0.16",
"react-is": "^16.13.0", "react-is": "^16.13.1",
"react-spinner": "^0.2.7", "react-spinner": "^0.2.7",
"react-stripe-elements": "^6.1.0", "react-stripe-elements": "^6.1.1",
"react-syntax-highlight": "^15.3.1", "react-syntax-highlight": "^15.3.1",
"serialize-javascript": "^3.0.0", "serialize-javascript": "^3.0.0",
"tohash": "^1.0.2", "tohash": "^1.0.2",
"use-climate-change-reminder": "^0.0.7" "use-climate-change-reminder": "^0.0.7"
}, },
"devDependencies": { "devDependencies": {
"@applitools/eyes-cypress": "^3.9.18", "@applitools/eyes-cypress": "^3.9.21",
"all-contributors-cli": "^6.14.0", "all-contributors-cli": "^6.14.1",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"cypress": "^4.2.0", "cypress": "^4.3.0",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.1", "eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.19.0", "eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.1", "eslint-plugin-react-hooks": "^3.0.0",
"husky": "^4.2.3", "husky": "^4.2.3",
"lint-staged": "^10.0.8", "lint-staged": "^10.1.2",
"now": "^17.0.4", "now": "^17.1.1",
"now-release": "^0.0.2", "now-release": "^0.0.2",
"wait-on": "^4.0.1" "wait-on": "^4.0.1"
}, },

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save