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:
@@ -8,7 +8,7 @@
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm ci
|
||||
npm install
|
||||
```
|
||||
|
||||
## Build All Packages
|
||||
@@ -25,23 +25,34 @@ Root build executes workspaces in dependency order. All 14 packages compile clea
|
||||
npm run typecheck
|
||||
```
|
||||
|
||||
## Unit/Integration Test Sweep
|
||||
## Unit Tests
|
||||
|
||||
```bash
|
||||
npm test --workspaces
|
||||
npm test
|
||||
```
|
||||
|
||||
Runs all tests across all workspaces. Current status: **959 unit tests passing, 0 failures**.
|
||||
Runs all tests across all workspaces.
|
||||
|
||||
## Integration Tests
|
||||
|
||||
```bash
|
||||
npm run test:integration
|
||||
```
|
||||
|
||||
Pooling, property runner, and cross-package integration tests (imhotep-playwright).
|
||||
|
||||
## E2E (Playwright)
|
||||
|
||||
```bash
|
||||
npx playwright test --config packages/imhotep-fixtures/playwright.config.ts
|
||||
npm run test:e2e
|
||||
```
|
||||
|
||||
Playwright config lives at `packages/imhotep-fixtures/playwright.config.ts` and targets `packages/imhotep-fixtures/src/e2e*.test.ts`.
|
||||
Playwright config lives at `packages/imhotep-fixtures/playwright.config.ts` and targets compiled E2E tests under `packages/imhotep-fixtures/dist/`. Requires a prior build.
|
||||
|
||||
Current status: **215 E2E tests passing, 0 failures**.
|
||||
To run directly:
|
||||
```bash
|
||||
npx playwright test --config packages/imhotep-fixtures/playwright.config.ts
|
||||
```
|
||||
|
||||
## External Smoke Test
|
||||
|
||||
@@ -55,8 +66,8 @@ Creates a clean temp directory, installs packages from local paths, and runs a f
|
||||
|
||||
```bash
|
||||
# Run tests for a specific package
|
||||
npm test -w packages/imhotep-playwright
|
||||
npm test -w packages/imhotep-fixtures
|
||||
npm test -w imhotep-playwright
|
||||
npm test -w imhotep-fixtures
|
||||
|
||||
# Run specific E2E test file
|
||||
npx playwright test packages/imhotep-fixtures/src/e2e-public.test.ts
|
||||
@@ -68,6 +79,8 @@ npx playwright test packages/imhotep-fixtures/src/e2e-public.test.ts
|
||||
npm run clean
|
||||
```
|
||||
|
||||
Removes `dist/`, `tsbuildinfo` files, and any in-source generated artifacts (`*.js`, `*.d.ts`, `*.map` under `packages/*/src/`).
|
||||
|
||||
## Packaging Smoke
|
||||
|
||||
Use this before publishing a package:
|
||||
|
||||
Reference in New Issue
Block a user