From ed0eb9be9164a92fef9c00e4de464b6cf38a56d5 Mon Sep 17 00:00:00 2001 From: Marc MacLeod Date: Sat, 11 Apr 2020 16:20:06 -0500 Subject: [PATCH] fix: bump typescript to 3.8.3 --- package.json | 7 ++++--- src/__stories__/Code/CodeEditor.tsx | 1 + yarn.lock | 21 +++++---------------- 3 files changed, 10 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index fd20f0a5..fdde4788 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,8 @@ "release.dryRun": "sl-scripts release --dry-run --debug", "storybook": "start-storybook -p 9001", "test": "jest", - "test.prod": "yarn lint && yarn test --coverage --no-cache --runInBand", + "type-check": "tsc --noEmit", + "test.prod": "yarn lint && yarn type-check && yarn test --runInBand", "test.update": "yarn test --updateSnapshot", "test.watch": "yarn test --watch" }, @@ -117,11 +118,11 @@ "react-dom": "~16.12.0", "resolve-url-loader": "^3.1.1", "sass-inline-svg": "^1.2.3", - "sass-loader": "^7.3.1", + "sass-loader": "^8.0.2", "tailwindcss": "^1.2.0", "ts-jest": "^25.3.1", "ts-loader": "^6.2.2", - "typescript": "3.7.5", + "typescript": "3.8.3", "webpack": "~4.42.1" }, "lint-staged": { diff --git a/src/__stories__/Code/CodeEditor.tsx b/src/__stories__/Code/CodeEditor.tsx index 0d90f374..4c2e6653 100644 --- a/src/__stories__/Code/CodeEditor.tsx +++ b/src/__stories__/Code/CodeEditor.tsx @@ -34,6 +34,7 @@ storiesOf('Code:Editor', module) storiesOf('Code:Editor', module) .addDecorator(withKnobs) + // @ts-ignore .addDecorator(StateDecorator(store)) .add('with store', () => ( store.set({ value })} /> diff --git a/yarn.lock b/yarn.lock index c06b572d..72d33610 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9973,7 +9973,7 @@ loader-utils@1.2.3: emojis-list "^2.0.0" json5 "^1.0.1" -loader-utils@^1.0.1, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0: +loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA== @@ -13966,17 +13966,6 @@ sass-inline-svg@^1.2.3: object-assign "^4.0.1" svgo "^1.3.0" -sass-loader@^7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-7.3.1.tgz#a5bf68a04bcea1c13ff842d747150f7ab7d0d23f" - integrity sha512-tuU7+zm0pTCynKYHpdqaPpe+MMTQ76I9TPZ7i4/5dZsigE350shQWe5EZNl5dBidM49TPET75tNqRbcsUZWeNA== - dependencies: - clone-deep "^4.0.1" - loader-utils "^1.0.1" - neo-async "^2.5.0" - pify "^4.0.1" - semver "^6.3.0" - sass-loader@^8.0.2: version "8.0.2" resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-8.0.2.tgz#debecd8c3ce243c76454f2e8290482150380090d" @@ -15608,10 +15597,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.7.5: - version "3.7.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" - integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw== +typescript@3.8.3: + version "3.8.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" + integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== ua-parser-js@^0.7.18: version "0.7.21"