diff --git a/package-lock.json b/package-lock.json index f7a638842..2076d2278 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2562,32 +2562,6 @@ "custom-elements-manifest": "index.js" } }, -<<<<<<< HEAD -======= - "node_modules/@custom-elements-manifest/analyzer/node_modules/array-back": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", - "integrity": "sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==", - "dev": true, - "engines": { - "node": ">=12.17" - } - }, - "node_modules/@custom-elements-manifest/analyzer/node_modules/command-line-args": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.1.2.tgz", - "integrity": "sha512-fytTsbndLbl+pPWtS0CxLV3BEWw9wJayB8NnU2cbQqVPsNdYezQeT+uIQv009m+GShnMNyuoBrRo8DTmuTfSCA==", - "dev": true, - "dependencies": { - "array-back": "^6.1.2", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/@custom-elements-manifest/analyzer/node_modules/globby": { "version": "11.0.4", "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", @@ -2609,7 +2583,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, ->>>>>>> e266fffe (chore: fix LitElement imports in TS build output) "node_modules/@custom-elements-manifest/analyzer/node_modules/typescript": { "version": "4.3.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", @@ -11507,8 +11480,7 @@ "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha1-uN8PuAK7+o6JvR2Ti04WV47UTys=", - "license": "ISC", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -23391,8 +23363,6 @@ "ibantools": "^2.2.0", "lit": "^2.4.0", "singleton-manager": "^1.6.1" -<<<<<<< HEAD -======= } }, "packages/validate-messages": { @@ -23404,7 +23374,6 @@ "@lion/form-core": "^0.18.3", "@lion/input-tel": "^0.2.3", "@lion/localize": "^0.26.0" ->>>>>>> e266fffe (chore: fix LitElement imports in TS build output) } } }, @@ -25245,26 +25214,6 @@ "typescript": "~4.3.2" }, "dependencies": { -<<<<<<< HEAD -======= - "array-back": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", - "integrity": "sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==", - "dev": true - }, - "command-line-args": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.1.2.tgz", - "integrity": "sha512-fytTsbndLbl+pPWtS0CxLV3BEWw9wJayB8NnU2cbQqVPsNdYezQeT+uIQv009m+GShnMNyuoBrRo8DTmuTfSCA==", - "dev": true, - "requires": { - "array-back": "^6.1.2", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" - } - }, "globby": { "version": "11.0.4", "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", @@ -25279,7 +25228,6 @@ "slash": "^3.0.0" } }, ->>>>>>> e266fffe (chore: fix LitElement imports in TS build output) "typescript": { "version": "4.3.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", @@ -32555,7 +32503,7 @@ "glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha1-uN8PuAK7+o6JvR2Ti04WV47UTys=", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", diff --git a/package.json b/package.json index fe1bad77e..173aea8e7 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,8 @@ "test:node": "npm run test:node --workspaces --if-present", "test:screenshots": "rimraf screenshots/.diff/ && rimraf screenshots/.current/ && mocha --require scripts/screenshots/bootstrap.js --exit --timeout 10000 \"packages/**/test/*.screenshots-test.js\"", "test:screenshots:update": "cross-env UPDATE_SCREENSHOTS=true npm run test:screenshots", - "types": "npm run types --workspaces --if-present && npm run types-correct-after-build", + "types": "npm run types --workspaces --if-present && npm run types-correct-after-build", + "types-check-only": "npm run types-check-only --workspaces --if-present", "types-correct-after-build": "node ./scripts/types-correct-after-build.mjs" }, "workspaces": [ diff --git a/packages/ui/package.json b/packages/ui/package.json index cb6e11ae5..afc6dd9d1 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -41,7 +41,8 @@ "publish-docs": "node ../../packages-node/publish-docs/src/cli.js --github-url https://github.com/ing-bank/lion/ --git-root-dir ../../", "prepublishOnly": "npm run types && npm run publish-docs && npm run custom-elements-manifest", "test": "cd ../../ && npm run test:browser", - "types": "wireit" + "types": "wireit", + "types-check-only": "tsc --project tsconfig-check-only.json" }, "dependencies": { "@bundled-es-modules/message-format": "^6.0.4", diff --git a/packages/ui/tsconfig-check-only.json b/packages/ui/tsconfig-check-only.json new file mode 100644 index 000000000..67de05504 --- /dev/null +++ b/packages/ui/tsconfig-check-only.json @@ -0,0 +1,8 @@ +{ + "//": "this runs after 'scripts/types-correct-after-build.mjs' has been applied", + "extends": "./tsconfig.json", + "compilerOptions": { + "emitDeclarationOnly": false, + "noEmit": true + } +}