8e12579925
The develop build failed in two jobs, both rooted in the ESM-only workspace package @docmost/prosemirror-markdown (type: module, built to build/index.js with `export * from`), which the server imports at runtime (collaboration.util, page.service). Refactor #345 taught only the unit jest config (package.json "jest" key) to consume it, leaving the integration and e2e configs — and the e2e-server CI job — broken: - `pnpm --filter server test:int` -> SyntaxError: Unexpected token 'export' (jest did not transform prosemirror-markdown/build/*.js). - e2e-server job -> TS2307 Cannot find module '@docmost/prosemirror-markdown' (the package was never built in that job). Mirror the proven unit config into the two failing jest configs and add the missing build step: - jest-integration.json / jest-e2e.json: add a babel-jest transform rule for `prosemirror-markdown/build/.+\.js$` (before the ts-jest rule so it wins) and add @docmost/prosemirror-markdown to the transformIgnorePatterns allowlist so the pnpm-symlinked package is transformed instead of ignored. - develop.yml: build @docmost/prosemirror-markdown in the e2e-server job (after editor-ext, before migrations), like the test.yml job already does. Verified locally: an isolated spec importing the package fails with the exact SyntaxError under the old config and passes under the new one. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
A progressive Node.js framework for building efficient and scalable server-side applications.
Description
Nest framework TypeScript starter repository.
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Migrations
# This creates a new empty migration file named 'init'
$ npm run migration:create --name=init
# Generates 'init' migration file from existing entities to update the database schema
$ npm run migration:generate --name=init
# Runs all pending migrations to update the database schema
$ npm run migration:run
# Reverts the last executed migration
$ npm run migration:revert
# Reverts all migrations
$ npm run migration:revert
# Shows the list of executed and pending migrations
$ npm run migration:show
## Test
```bash
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.