@acahet/playwright-configs 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # @acahet/playwright-config
2
+
3
+ Shared Playwright config presets package.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm i -D @acahet/playwright-config
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import { defineConfig } from '@playwright/test';
15
+ import * as preset from '@acahet/playwright-config';
16
+
17
+ export default defineConfig({
18
+ ...preset,
19
+ });
20
+ ```
21
+
22
+ This package currently exports a placeholder root preset entry and is ready for incremental config extraction.
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @acahet/playwright-config
3
+ *
4
+ * Shared Playwright config presets.
5
+ *
6
+ * Usage in a consuming project's playwright.config.ts:
7
+ *
8
+ * import { baseConfig } from '@acahet/playwright-config';
9
+ * import { defineConfig } from '@playwright/test';
10
+ *
11
+ * export default defineConfig({
12
+ * ...baseConfig,
13
+ * use: { ...baseConfig.use, baseURL: 'http://localhost:3000' },
14
+ * });
15
+ */
16
+ export {};
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * @acahet/playwright-config
4
+ *
5
+ * Shared Playwright config presets.
6
+ *
7
+ * Usage in a consuming project's playwright.config.ts:
8
+ *
9
+ * import { baseConfig } from '@acahet/playwright-config';
10
+ * import { defineConfig } from '@playwright/test';
11
+ *
12
+ * export default defineConfig({
13
+ * ...baseConfig,
14
+ * use: { ...baseConfig.use, baseURL: 'http://localhost:3000' },
15
+ * });
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@acahet/playwright-configs",
3
+ "version": "0.0.2",
4
+ "description": "Shared Playwright config presets",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/index.js",
10
+ "require": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "README.md"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsc --project tsconfig.json",
20
+ "build:watch": "tsc --project tsconfig.json --watch",
21
+ "prepublishOnly": "npm run build"
22
+ },
23
+ "keywords": [
24
+ "playwright",
25
+ "playwright-config",
26
+ "testing",
27
+ "e2e",
28
+ "typescript"
29
+ ],
30
+ "author": "",
31
+ "license": "MIT",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/acahet-automation-org/playwright-toolbox.git",
35
+ "directory": "packages/playwright-configs"
36
+ },
37
+ "peerDependencies": {
38
+ "@playwright/test": ">=1.40.0"
39
+ },
40
+ "devDependencies": {
41
+ "@playwright/test": "^1.58.2",
42
+ "typescript": "^5.9.3"
43
+ },
44
+ "engines": {
45
+ "node": ">=18.0.0"
46
+ }
47
+ }