From 1810547ede985ad7f33fd8d7a7473dc85f01cddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Tue, 30 Jan 2024 16:21:05 +0100 Subject: [PATCH] fix: do not skipLibCheck --- package-lock.json | 9 ++++++++- package.json | 5 +++-- tsconfig.json | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 195cf17..8aff4ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@codingame/monaco-editor-wrapper": "4.0.0-monaco-update.2", "deep-equal": "^2.2.3", "lodash.debounce": "^4.0.8", - "monaco-editor": "npm:@codingame/monaco-vscode-editor-api@2.0.0", + "monaco-editor": "npm:@codingame/monaco-vscode-editor-api@~2.0.0", "react-dom": "^18.2.0", "uuid": "^9.0.1", "vscode": "npm:@codingame/monaco-vscode-api@~2.0.0" @@ -27,6 +27,7 @@ "@types/lodash.debounce": "^4.0.9", "@types/react": "18.2.48", "@types/react-dom": "^18.2.18", + "@types/vscode": "^1.85.0", "@typescript-eslint/eslint-plugin": "6.19.1", "@typescript-eslint/parser": "6.19.1", "conventional-changelog-conventionalcommits": "^7.0.2", @@ -2121,6 +2122,12 @@ "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", "dev": true }, + "node_modules/@types/vscode": { + "version": "1.85.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.85.0.tgz", + "integrity": "sha512-CF/RBon/GXwdfmnjZj0WTUMZN5H6YITOfBCP4iEZlOtVQXuzw6t7Le7+cR+7JzdMrnlm7Mfp49Oj2TuSXIWo3g==", + "dev": true + }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "6.19.1", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.1.tgz", diff --git a/package.json b/package.json index 6071aa6..7297d22 100644 --- a/package.json +++ b/package.json @@ -38,10 +38,10 @@ "@codingame/monaco-editor-wrapper": "4.0.0-monaco-update.2", "deep-equal": "^2.2.3", "lodash.debounce": "^4.0.8", + "monaco-editor": "npm:@codingame/monaco-vscode-editor-api@~2.0.0", "react-dom": "^18.2.0", "uuid": "^9.0.1", - "vscode": "npm:@codingame/monaco-vscode-api@~2.0.0", - "monaco-editor": "npm:@codingame/monaco-vscode-editor-api@~2.0.0" + "vscode": "npm:@codingame/monaco-vscode-api@~2.0.0" }, "devDependencies": { "@codingame/commitlint-config-codingame": "^1.0.7", @@ -54,6 +54,7 @@ "@types/lodash.debounce": "^4.0.9", "@types/react": "18.2.48", "@types/react-dom": "^18.2.18", + "@types/vscode": "^1.85.0", "@typescript-eslint/eslint-plugin": "6.19.1", "@typescript-eslint/parser": "6.19.1", "conventional-changelog-conventionalcommits": "^7.0.2", diff --git a/tsconfig.json b/tsconfig.json index f50f841..0996e44 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,9 @@ { "extends": "@codingame/tsconfig", "compilerOptions": { + "strict": true, "outDir": "dist/", "declaration": true, - "skipLibCheck": true, "allowSyntheticDefaultImports": true, "baseUrl": "./src", "jsx": "react",