From 1cb69a1388b643ae84e3f153bfc668ef32e93cdc Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 14 Jan 2021 14:54:43 +0100 Subject: [PATCH] Update open-wc/scoped-elements to 1.3.3 This fixes a typescript problem and allows us to enable type checking in the typescript-example package (by removing the ts-nocheck comment) --- packages/app-shell/package.json | 4 ++-- packages/auth/package.json | 4 ++-- packages/check-in-place-select/package.json | 6 +++--- packages/common/package.json | 4 ++-- packages/data-table-view/package.json | 10 +++++----- packages/file-handling/package.json | 10 +++++----- packages/language-select/package.json | 10 +++++----- packages/matomo/package.json | 10 +++++----- packages/notification/package.json | 10 +++++----- packages/person-profile/package.json | 10 +++++----- packages/person-select/package.json | 10 +++++----- packages/provider/package.json | 10 +++++----- packages/qr-code-scanner/package.json | 6 +++--- packages/typescript-example/package.json | 6 +++--- .../src/dbp-typescript-example-demo.ts | 1 - yarn.lock | 8 ++++---- 16 files changed, 59 insertions(+), 60 deletions(-) diff --git a/packages/app-shell/package.json b/packages/app-shell/package.json index e99ef183..96b7e180 100644 --- a/packages/app-shell/package.json +++ b/packages/app-shell/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/app-shell" }, "publishConfig": { diff --git a/packages/auth/package.json b/packages/auth/package.json index 09c96664..3e8d9b36 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/auth" }, "publishConfig": { diff --git a/packages/check-in-place-select/package.json b/packages/check-in-place-select/package.json index e5faf5e5..7204a640 100644 --- a/packages/check-in-place-select/package.json +++ b/packages/check-in-place-select/package.json @@ -20,6 +20,8 @@ "@rollup/plugin-replace": "^2.3.3", "@rollup/plugin-url": "^6.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", "karma-chrome-launcher": "^3.0.0", @@ -31,9 +33,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/auth": "^0.1.0", diff --git a/packages/common/package.json b/packages/common/package.json index 263966a8..65544295 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -5,8 +5,8 @@ "module": "index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/common" }, "devDependencies": { diff --git a/packages/data-table-view/package.json b/packages/data-table-view/package.json index d12a9c34..7a927e7a 100644 --- a/packages/data-table-view/package.json +++ b/packages/data-table-view/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/data-table-view" }, "publishConfig": { @@ -19,6 +19,8 @@ "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-url": "^6.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "glob": "^7.1.6", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", @@ -30,9 +32,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/auth": "^0.1.0", diff --git a/packages/file-handling/package.json b/packages/file-handling/package.json index 235f6426..dd2e24bd 100644 --- a/packages/file-handling/package.json +++ b/packages/file-handling/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/file-handling" }, "publishConfig": { @@ -18,6 +18,8 @@ "@rollup/plugin-json": "^4.0.2", "@rollup/plugin-node-resolve": "^11.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", "karma-chrome-launcher": "^3.0.0", @@ -29,9 +31,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/common": "^0.1.0", diff --git a/packages/language-select/package.json b/packages/language-select/package.json index f7632653..b6730a0b 100644 --- a/packages/language-select/package.json +++ b/packages/language-select/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/language-select" }, "publishConfig": { @@ -18,6 +18,8 @@ "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^11.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", "karma-chrome-launcher": "^3.0.0", @@ -29,9 +31,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/common": "^0.1.0", diff --git a/packages/matomo/package.json b/packages/matomo/package.json index 5d37e360..88d473f5 100644 --- a/packages/matomo/package.json +++ b/packages/matomo/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/matomo" }, "publishConfig": { @@ -19,6 +19,8 @@ "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-url": "^6.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", "karma-chrome-launcher": "^3.0.0", @@ -30,9 +32,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/auth": "^0.1.0", diff --git a/packages/notification/package.json b/packages/notification/package.json index 9362b092..57a549ee 100644 --- a/packages/notification/package.json +++ b/packages/notification/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/notification" }, "publishConfig": { @@ -19,6 +19,8 @@ "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-url": "^6.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", "karma-chrome-launcher": "^3.0.0", @@ -30,9 +32,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/common": "^0.1.0", diff --git a/packages/person-profile/package.json b/packages/person-profile/package.json index 83aacaa6..7d2bb6e9 100644 --- a/packages/person-profile/package.json +++ b/packages/person-profile/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/person-profile" }, "publishConfig": { @@ -19,6 +19,8 @@ "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-url": "^6.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", "karma-chrome-launcher": "^3.0.0", @@ -30,9 +32,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/auth": "^0.1.0", diff --git a/packages/person-select/package.json b/packages/person-select/package.json index 1a650d21..08bd72b7 100644 --- a/packages/person-select/package.json +++ b/packages/person-select/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/person-select" }, "publishConfig": { @@ -20,6 +20,8 @@ "@rollup/plugin-replace": "^2.3.3", "@rollup/plugin-url": "^6.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", "karma-chrome-launcher": "^3.0.0", @@ -31,9 +33,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/auth": "^0.1.0", diff --git a/packages/provider/package.json b/packages/provider/package.json index 6969c5c9..85598972 100644 --- a/packages/provider/package.json +++ b/packages/provider/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/provider" }, "publishConfig": { @@ -19,6 +19,8 @@ "@rollup/plugin-node-resolve": "^11.0.0", "@rollup/plugin-url": "^6.0.0", "chai": "^4.2.0", + "eslint": "^7.3.1", + "eslint-plugin-jsdoc": "^31.0.0", "glob": "^7.1.6", "i18next-scanner": "^3.0.0", "karma": "^6.0.0", @@ -31,9 +33,7 @@ "rollup-plugin-copy": "^3.1.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-serve": "^1.0.1", - "rollup-plugin-terser": "^7.0.2", - "eslint": "^7.3.1", - "eslint-plugin-jsdoc": "^31.0.0" + "rollup-plugin-terser": "^7.0.2" }, "dependencies": { "@dbp-toolkit/auth": "^0.1.0", diff --git a/packages/qr-code-scanner/package.json b/packages/qr-code-scanner/package.json index 9d457172..2c023082 100644 --- a/packages/qr-code-scanner/package.json +++ b/packages/qr-code-scanner/package.json @@ -5,8 +5,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/qr-code-scanner" }, "publishConfig": { @@ -37,7 +37,7 @@ }, "dependencies": { "@dbp-toolkit/common": "^0.1.0", - "@open-wc/scoped-elements": "^1.3.2", + "@open-wc/scoped-elements": "^1.3.3", "async-mutex": "^0.2.4", "lit-element": "^2.3.1", "qr-scanner": "^1.2.0" diff --git a/packages/typescript-example/package.json b/packages/typescript-example/package.json index 2fd89ccf..03159553 100644 --- a/packages/typescript-example/package.json +++ b/packages/typescript-example/package.json @@ -4,8 +4,8 @@ "main": "src/index.js", "license": "LGPL-2.1-or-later", "repository": { - "type" : "git", - "url" : "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", + "type": "git", + "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git", "directory": "packages/typescript-example" }, "publishConfig": { @@ -36,7 +36,7 @@ }, "dependencies": { "@dbp-toolkit/common": "^0.1.0", - "@open-wc/scoped-elements": "^1.3.2", + "@open-wc/scoped-elements": "^1.3.3", "lit-element": "^2.3.1" }, "scripts": { diff --git a/packages/typescript-example/src/dbp-typescript-example-demo.ts b/packages/typescript-example/src/dbp-typescript-example-demo.ts index 30dc002f..2cc998a2 100644 --- a/packages/typescript-example/src/dbp-typescript-example-demo.ts +++ b/packages/typescript-example/src/dbp-typescript-example-demo.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import {html, LitElement} from 'lit-element'; import {TypeScriptExample} from './typescript-example'; import * as commonUtils from '@dbp-toolkit/common/utils'; diff --git a/yarn.lock b/yarn.lock index b6e3ee8c..6566ccd1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1023,10 +1023,10 @@ resolved "https://registry.yarnpkg.com/@open-wc/dedupe-mixin/-/dedupe-mixin-1.3.0.tgz#0df5d438285fc3482838786ee81895318f0ff778" integrity sha512-UfdK1MPnR6T7f3svzzYBfu3qBkkZ/KsPhcpc3JYhsUY4hbpwNF9wEQtD4Z+/mRqMTJrKg++YSxIxE0FBhY3RIw== -"@open-wc/scoped-elements@^1.1.1", "@open-wc/scoped-elements@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@open-wc/scoped-elements/-/scoped-elements-1.3.2.tgz#6ae54c49731bbe8c3e0b5383c989f983dcdfacf5" - integrity sha512-DoP3XA8r03tGx+IrlJwP/voLuDFkyS56kvwhmXIhpESo7M5jMt5e0zScNrawj7EMe4b5gDaJjorx2Jza8FLaLw== +"@open-wc/scoped-elements@^1.1.1", "@open-wc/scoped-elements@^1.3.2", "@open-wc/scoped-elements@^1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@open-wc/scoped-elements/-/scoped-elements-1.3.3.tgz#fe008aef4d74fb00c553c900602960638fc1c7b0" + integrity sha512-vFIQVYYjFw67odUE4JzZOpctnF7S/2DX+S+clrL3bQPql7HvEnV0wMFwOWUavQTuCJi0rfU8GTcNMiUybio+Yg== dependencies: "@open-wc/dedupe-mixin" "^1.3.0" lit-html "^1.0.0" -- GitLab