v1.1.0: repo polish, CI fixes, version alignment, dead artifact cleanup
Root package: renamed to imhotep-monorepo, fixed broken scripts (test:unit/integration/e2e), removed inappropriate root deps, fixed build order, updated clean script CI: branch trigger main->master, npm ci->npm install, GitHub cache URL->Gitea Docs: replaced scaffolded root README with real project README, added package READMEs for imhotep/imhotep-playwright/imhotep-dsl/imhotep-core, added RELEASE.md checklist Version: all 14 packages and root aligned to 1.1.0, CHANGELOG test count fixed (1125) Metadata: 14 repository URLs github->gitea, 13 package descriptions added, imhotep-cli exports field added, SECURITY.md updated for Gitea+disclosure email Quality: noEmitOnError:true in 13 tsconfigs, collapsed duplicate interfaces in public.ts, clippedBy test->test.skip, fixed broken dynamic import in imhotep index.test.ts, 694 generated src artifacts cleaned, V8 logs removed, .gitignore updated
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# imhotep-playwright
|
||||
|
||||
Playwright integration layer for [Imhotep](https://gitea.com/anomalyco/imhotep). Provides page wrapping, CDP-backed geometry extraction, runtime pooling, property-based test runners, renderer adapters, and preset assertion contracts.
|
||||
|
||||
## Key Exports
|
||||
|
||||
| Export | Description |
|
||||
|---|---|
|
||||
| `imhotep(page, opts)` | Attach Imhotep to a Playwright page |
|
||||
| `imhotepComponent(id, opts)` | Property-run entry for rendered components |
|
||||
| `imhotepStory(url, opts)` | Property-run entry for Storybook stories |
|
||||
| `imhotepFixture(path, opts)` | Property-run entry for fixture files |
|
||||
| `test`, `expect`, `imhotepFixtures` | Playwright test fixtures |
|
||||
| `ContextPool`, `PagePool`, `Semaphore` | Pooled runtime for multi-worker testing |
|
||||
| `touchTarget` through `modalContainment` | Reusable assertion presets |
|
||||
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"name": "imhotep-playwright",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"description": "Playwright integration with CDP extraction, runtime pooling, and property runners",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/anomalyco/imhotep.git"
|
||||
"url": "https://gitea.com/anomalyco/imhotep.git"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
|
||||
@@ -208,12 +208,14 @@ export interface ComponentOptions {
|
||||
renderer: RendererDescriptor
|
||||
props?: unknown
|
||||
env?: ImhotepPageOptions
|
||||
fc?: FastCheckAdapter
|
||||
}
|
||||
|
||||
export interface StoryOptions {
|
||||
storybookUrl: string
|
||||
args?: unknown
|
||||
env?: ImhotepPageOptions
|
||||
fc?: FastCheckAdapter
|
||||
}
|
||||
|
||||
export interface FixtureOptions {
|
||||
@@ -223,20 +225,6 @@ export interface FixtureOptions {
|
||||
fixturesDir?: string
|
||||
}
|
||||
|
||||
export interface ComponentOptions {
|
||||
renderer: RendererDescriptor
|
||||
props?: unknown
|
||||
env?: ImhotepPageOptions
|
||||
fc?: FastCheckAdapter
|
||||
}
|
||||
|
||||
export interface StoryOptions {
|
||||
storybookUrl: string
|
||||
args?: unknown
|
||||
env?: ImhotepPageOptions
|
||||
fc?: FastCheckAdapter
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Property Run Handles
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
],
|
||||
"paths": {},
|
||||
"composite": false,
|
||||
"noEmitOnError": false
|
||||
"noEmitOnError": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
|
||||
Reference in New Issue
Block a user