320b200ac8
The existing name-level contract (packages/git-sync schema-editor-ext-contract) only compares node/mark TYPE NAMES, so a new attribute added to an existing node upstream slips through and is silently dropped on every git-sync round trip -- a repeatedly-hit data-loss class (image caption #221, paragraph align #10). This closes the attribute gap by comparing the RESOLVED ProseMirror Schema objects (getSchema has already merged all addGlobalAttributes spreads into concrete per-node attrs) of the server's canonical tiptapExtensions vs the git-sync mirror, asserting equal attribute-key sets per shared node/mark modulo a committed, self-checking allowlist of the 6 understood divergences. A forgotten attribute now fails CI loudly instead of losing data. Comparing resolved schemas (not raw extension configs) is what makes this stable rather than the fragile config-shape compare the name-level test deferred. 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.