From 1e8cc9a434b8f64636c3b1632fcb1dbba9eb0df8 Mon Sep 17 00:00:00 2001 From: Daniel Eshkeri Date: Mon, 23 Dec 2024 11:58:37 +0000 Subject: [PATCH] revert web-test-runner config --- package-lock.json | 59 --------------------------------------- package.json | 1 - src/index.ts | 2 +- web-test-runner.config.js | 3 +- 4 files changed, 2 insertions(+), 63 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0d8b1ab..c37f252 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,6 @@ "@typescript-eslint/eslint-plugin": "^8.17.0", "@typescript-eslint/parser": "^8.17.0", "@web/dev-server": "^0.4.6", - "@web/dev-server-esbuild": "^1.0.3", "@web/test-runner": "^0.19.0", "@web/test-runner-commands": "^0.9.0", "@web/test-runner-playwright": "^0.11.0", @@ -2040,13 +2039,6 @@ "@lit-labs/ssr-dom-shim": "^1.2.0" } }, - "node_modules/@mdn/browser-compat-data": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@mdn/browser-compat-data/-/browser-compat-data-4.2.1.tgz", - "integrity": "sha512-EWUguj2kd7ldmrF9F+vI5hUOralPd+sdsUnYbRy33vZTuZkduC1shE9TtEMEjAQwyfyMb4ole5KtjF8MsnQOlA==", - "dev": true, - "license": "CC0-1.0" - }, "node_modules/@mdx-js/react": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-3.1.0.tgz", @@ -4549,30 +4541,6 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@web/dev-server-esbuild": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@web/dev-server-esbuild/-/dev-server-esbuild-1.0.3.tgz", - "integrity": "sha512-oImN4/cpyfQC8+JcCx61M7WIo09zE2aDMFuwh+brqxuNXIBRQ+hnRGQK7fEIZSQeWWT5dFrWmH4oYZfqzCAlfQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@mdn/browser-compat-data": "^4.0.0", - "@web/dev-server-core": "^0.7.4", - "esbuild": "^0.24.0", - "parse5": "^6.0.1", - "ua-parser-js": "^1.0.33" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@web/dev-server-esbuild/node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true, - "license": "MIT" - }, "node_modules/@web/dev-server-rollup": { "version": "0.6.4", "resolved": "https://registry.npmjs.org/@web/dev-server-rollup/-/dev-server-rollup-0.6.4.tgz", @@ -14465,33 +14433,6 @@ "node": ">=12.17" } }, - "node_modules/ua-parser-js": { - "version": "1.0.40", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.40.tgz", - "integrity": "sha512-z6PJ8Lml+v3ichVojCiB8toQJBuwR42ySM4ezjXIqXK3M0HczmKQ3LF4rhU55PfD99KEEXQG6yb7iOMyvYuHew==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/ua-parser-js" - }, - { - "type": "paypal", - "url": "https://paypal.me/faisalman" - }, - { - "type": "github", - "url": "https://github.com/sponsors/faisalman" - } - ], - "license": "MIT", - "bin": { - "ua-parser-js": "script/cli.js" - }, - "engines": { - "node": "*" - } - }, "node_modules/uc.micro": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", diff --git a/package.json b/package.json index 8e74975..20695a3 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,6 @@ "@typescript-eslint/eslint-plugin": "^8.17.0", "@typescript-eslint/parser": "^8.17.0", "@web/dev-server": "^0.4.6", - "@web/dev-server-esbuild": "^1.0.3", "@web/test-runner": "^0.19.0", "@web/test-runner-commands": "^0.9.0", "@web/test-runner-playwright": "^0.11.0", diff --git a/src/index.ts b/src/index.ts index ab6ae81..b67cbaf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -140,4 +140,4 @@ export { ZetaTopAppbar, ZetaUploadItem, ZetaWorkcloudIndicator -}; +}; \ No newline at end of file diff --git a/web-test-runner.config.js b/web-test-runner.config.js index 237a1a7..81f008d 100644 --- a/web-test-runner.config.js +++ b/web-test-runner.config.js @@ -1,6 +1,5 @@ import { vitePlugin } from "@remcovaes/web-test-runner-vite-plugin"; import { playwrightLauncher } from "@web/test-runner-playwright"; -import { esbuildPlugin } from "@web/dev-server-esbuild"; const LOG_FILTER = ["Lit is in dev mode", "[vite] connecting..."]; @@ -19,7 +18,7 @@ export default { }, files: ["src/test/**/*.js", "src/test/**/*.ts", "src/index.js"], nodeResolve: true, - plugins: [vitePlugin(), esbuildPlugin({ ts: true, target: "auto" })], + plugins: [vitePlugin()], browsers: [getBrowser("chromium")], filterBrowserLogs: ({ args }) => { return !args.some((log) => {