Skip to content

Commit

Permalink
[chore] Upgrade TypeScript + eslint tooling (#1650)
Browse files Browse the repository at this point in the history
Also normalizes versions between all packages
  • Loading branch information
bjoerge committed Dec 6, 2019
1 parent b283b1c commit a34fcbe
Show file tree
Hide file tree
Showing 43 changed files with 126 additions and 126 deletions.
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
"postinstall": "lerna bootstrap"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@babel/register": "^7.6.0",
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/parser": "^2.2.0",
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@babel/register": "^7.7.4",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
Expand All @@ -57,13 +57,13 @@
"boxen": "^4.1.0",
"chalk": "^2.3.0",
"deepmerge": "^3.3.0",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.2.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-plugin-es5": "^1.4.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.17.0",
"execa": "^1.0.0",
"glob": "^7.1.2",
"globby": "^9.2.0",
Expand All @@ -84,14 +84,14 @@
"minimist": "^1.2.0",
"path-exists-cli": "^1.0.0",
"pre-commit": "^1.2.2",
"prettier": "^1.18.2",
"rimraf": "^2.6.2",
"prettier": "^1.19.1",
"rimraf": "^2.7.1",
"semver": "^6.1.2",
"stylelint": "^10.1.0",
"stylelint-config-css-modules": "^1.1.0",
"stylelint-config-standard": "^18.0.0",
"through2": "^3.0.1",
"typescript": "^3.6.2",
"typescript": "^3.7.3",
"yarn": "^1.3.2"
},
"husky": {
Expand Down
6 changes: 3 additions & 3 deletions packages/@sanity/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@sanity/util": "0.146.0",
"@sanity/validation": "0.146.0",
"history": "^4.6.3",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"nano-pubsub": "^1.0.2",
"oneline": "^1.0.3",
"promise-props": "^1.0.0",
Expand All @@ -49,7 +49,7 @@
"react-icons": "^2.2.7",
"react-intl": "^2.2.2",
"react-props-stream": "^1.0.0",
"rxjs": "^6.5.2",
"rxjs": "^6.5.3",
"semver-compare": "^1.0.0",
"shallow-equals": "^1.0.0"
},
Expand All @@ -58,7 +58,7 @@
"prop-types": "^15.6.0",
"react": "16.9.0",
"react-dom": "^16.9.0",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"peerDependencies": {
"prop-types": "^15.6 || ^16",
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/block-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"license": "MIT",
"dependencies": {
"get-random-values": "^1.2.0",
"lodash": "^4.17.4"
"lodash": "^4.17.15"
},
"devDependencies": {
"@sanity/schema": "0.146.0",
"assert": "^1.4.1",
"jest": "^24.9.0",
"jsdom": "^12.0.0",
"ts-jest": "^24.0.2",
"ts-jest": "^24.2.0",
"xpath": "0.0.27"
},
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"promise-props-recursive": "^1.0.0"
},
"devDependencies": {
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"is-installed-globally": "^0.1.0",
"klaw-sync": "^4.0.0",
"leven": "^2.1.0",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"minimist": "^1.2.0",
"neat-stack": "^1.0.1",
"opn": "^5.2.0",
Expand All @@ -67,7 +67,7 @@
"promise-props-recursive": "^1.0.0",
"react-icons": "^2.2.7",
"resolve-from": "^4.0.0",
"rimraf": "^2.6.2",
"rimraf": "^2.7.1",
"semver": "^6.1.2",
"semver-compare": "^1.0.0",
"simple-get": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"nock": "^9.0.5",
"nyc": "^11.0.3",
"pretty-bytes": "^4.0.2",
"rimraf": "^2.6.2",
"rimraf": "^2.7.1",
"sse-channel": "^2.0.6",
"tape": "^4.8.0",
"terser": "^4.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/code-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"code-editor"
],
"dependencies": {
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"react-ace": "^5.0.1",
"react-icons": "^2.2.7"
},
"devDependencies": {
"@sanity/check": "0.146.0",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/color-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"sanity-plugin"
],
"dependencies": {
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"react-color": "^2.13.8",
"reactcss": "^1.2.0"
},
"devDependencies": {
"@sanity/check": "0.146.0",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
6 changes: 3 additions & 3 deletions packages/@sanity/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dom-scroll-into-view": "^1.2.1",
"element-resize-detector": "^1.1.14",
"exif-component": "^1.0.1",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"nano-pubsub": "^1.0.2",
"palx": "^1.0.3",
"popper.js": "1.14.1",
Expand All @@ -44,7 +44,7 @@
"react-sortable-hoc": "^0.6.3",
"react-split-pane": "^0.1.84",
"react-tippy": "^1.2.3",
"rxjs": "^6.5.2",
"rxjs": "^6.5.3",
"string-hash": "^1.1.3"
},
"devDependencies": {
Expand All @@ -55,7 +55,7 @@
"prop-types": "^15.6.0",
"react": "16.9.0",
"react-styleguidist": "^2.3.1",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"peerDependencies": {
"prop-types": "^15.6 || ^16",
Expand Down
12 changes: 6 additions & 6 deletions packages/@sanity/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"core"
],
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@babel/register": "^7.7.4",
"@sanity/check": "0.146.0",
"@sanity/export": "0.146.0",
"@sanity/generate-help-url": "0.146.0",
Expand All @@ -49,7 +49,7 @@
"jsdom-global": "^3.0.2",
"json-lexer": "^1.1.1",
"json5": "^1.0.1",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"log-symbols": "^2.2.0",
"oneline": "^1.0.3",
"path-exists": "^3.0.0",
Expand All @@ -58,7 +58,7 @@
"pretty-ms": "^3.2.0",
"resolve-bin": "^0.4.0",
"resolve-from": "^4.0.0",
"rimraf": "^2.6.2",
"rimraf": "^2.7.1",
"semver": "^6.1.2",
"simple-get": "^3.0.2",
"tar-fs": "^1.16.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"sanity-tool"
],
"dependencies": {
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"react-icons": "^2.2.7"
},
"devDependencies": {
"@sanity/base": "0.146.3",
"@sanity/check": "0.146.0",
"prop-types": "^15.6.0",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"peerDependencies": {
"prop-types": "^15.6 || ^16",
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/data-aspects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
],
"dependencies": {
"@sanity/generate-help-url": "0.146.0",
"lodash": "^4.17.4"
"lodash": "^4.17.15"
},
"devDependencies": {
"@sanity/check": "0.146.0",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions packages/@sanity/default-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"dependencies": {
"@sanity/generate-help-url": "0.146.0",
"is-hotkey": "^0.1.4",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"react-click-outside": "^3.0.0",
"react-ink": "^6.1.0",
"react-props-stream": "^1.0.0",
"react-tippy": "^1.2.3",
"rxjs": "^6.5.2"
"rxjs": "^6.5.3"
},
"devDependencies": {
"@sanity/base": "0.146.3",
Expand All @@ -50,7 +50,7 @@
"mocha": "^5.0.1",
"nyc": "^11.0.3",
"prop-types": "^15.6.0",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"peerDependencies": {
"@sanity/base": "^0.141.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/default-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"dependencies": {
"@sanity/generate-help-url": "0.146.0",
"prop-types": "^15.6.0",
"rxjs": "^6.5.2"
"rxjs": "^6.5.3"
},
"devDependencies": {
"@sanity/check": "0.146.0",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions packages/@sanity/desk-tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"diff": "^3.2.0",
"element-resize-detector": "^1.1.14",
"hashlru": "^2.1.0",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"promise-latest": "^1.0.4",
"react-click-outside": "^3.0.0",
"react-ink": "^6.1.0",
"react-json-inspector": "^7.1.1",
"react-tiny-virtual-list": "^2.0.5",
"react-tippy": "^1.2.3",
"rxjs": "^6.5.2",
"rxjs": "^6.5.3",
"scroll": "^3.0.1",
"shallow-equals": "^1.0.0"
},
Expand All @@ -58,7 +58,7 @@
"postcss-cssnext": "^3.0.2",
"prop-types": "^15.6.0",
"react": "16.9.0",
"rimraf": "^2.6.2"
"rimraf": "^2.7.1"
},
"peerDependencies": {
"@sanity/base": "^0.141.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/document-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"license": "MIT",
"dependencies": {
"@sanity/mutator": "0.146.0",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"nano-pubsub": "^1.0.2",
"rxjs": "^6.5.2"
"rxjs": "^6.5.3"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/@sanity/document-window/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"chalk": "^2.3.0",
"jest": "^24.9.0",
"object.pick": "^1.3.0",
"rxjs": "^6.5.2",
"rxjs": "^6.5.3",
"table": "^4.0.2"
},
"jest": {
Expand Down
4 changes: 2 additions & 2 deletions packages/@sanity/export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"archiver": "^2.1.1",
"debug": "^3.1.0",
"fs-extra": "^6.0.1",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"mississippi": "^2.0.0",
"p-queue": "^2.3.0",
"simple-get": "^3.0.2",
Expand All @@ -35,7 +35,7 @@
"@sanity/client": "0.146.0",
"decompress": "^4.2.0",
"jest": "^24.9.0",
"rimraf": "^2.6.2",
"rimraf": "^2.7.1",
"string-to-stream": "^1.1.0"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/@sanity/form-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"immutable": "^3.8.1",
"is-equal": "^1.5.5",
"is-hotkey": "^0.1.4",
"lodash": "^4.17.4",
"lodash": "^4.17.15",
"moment": "^2.19.1",
"nano-pubsub": "^1.0.2",
"object-inspect": "^1.6.0",
Expand All @@ -52,7 +52,7 @@
"react-container-query": "^0.11.0",
"react-datepicker": "^1.8.0",
"react-measure": "^2.3.0",
"rxjs": "^6.5.2",
"rxjs": "^6.5.3",
"shallow-equals": "^1.0.0",
"slate": "0.44.10",
"slate-base64-serializer": "0.2.95",
Expand All @@ -79,7 +79,7 @@
"react": "16.9.0",
"react-dom": "^16.9.0",
"react-enroute": "^1.0.0",
"rimraf": "^2.6.2",
"rimraf": "^2.7.1",
"tap": "^14.6.1",
"typescript-plugin-css-modules": "^1.2.1",
"zen-observable": "^0.7.1"
Expand Down

0 comments on commit a34fcbe

Please sign in to comment.