Remove exports from playwright-common package

This commit is contained in:
Michael Telatynski
2025-06-20 11:33:25 +01:00
parent 3ad03e123b
commit 62b8d1b3ab
2 changed files with 4 additions and 14 deletions
@@ -12,18 +12,8 @@
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=20.0.0"
}, },
"exports": { "main": "lib/index.js",
".": { "types": "lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./stale-screenshot-reporter": {
"import": "./lib/stale-screenshot-reporter.js",
"require": "./lib/stale-screenshot-reporter.js",
"types": "./lib/stale-screenshot-reporter.d.ts"
}
},
"bin": { "bin": {
"playwright-screenshots": "playwright-screenshots.sh" "playwright-screenshots": "playwright-screenshots.sh"
}, },
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details. Please see LICENSE files in the repository root for full details.
*/ */
import { type AbstractStartedContainer, type GenericContainer } from "testcontainers"; import { type AbstractStartedContainer, type TestContainer } from "testcontainers";
import { type APIRequestContext, type TestInfo } from "@playwright/test"; import { type APIRequestContext, type TestInfo } from "@playwright/test";
import { type StartedMatrixAuthenticationServiceContainer } from "./mas"; import { type StartedMatrixAuthenticationServiceContainer } from "./mas";
@@ -41,7 +41,7 @@ export interface HomeserverInstance {
setThreepid(userId: string, medium: string, address: string): Promise<void>; setThreepid(userId: string, medium: string, address: string): Promise<void>;
} }
export interface HomeserverContainer<Config> extends GenericContainer { export interface HomeserverContainer<Config> extends TestContainer {
/** /**
* Set a configuration field in the config * Set a configuration field in the config
* @param key - the key to set * @param key - the key to set