Workspace for building prosemirror TypeScript definitions.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
prosemirror-changeset @ 5fecca3
prosemirror-collab @ 765c5a2
prosemirror-commands @ 1c27e7a
prosemirror-dropcursor @ b8d39e5
prosemirror-example-setup @ fcd922a
prosemirror-history @ 9f5ed59
prosemirror-inputrules @ a571ea5
prosemirror-keymap @ 21342d0
prosemirror-markdown @ 9dbb037
prosemirror-menu @ d50aae5
prosemirror-model @ 837dd8a
prosemirror-schema-basic @ c8eb024
prosemirror-schema-list @ 643e5a6
prosemirror-schema-table @ a3efe28
prosemirror-state @ 81414c5
prosemirror-test-builder @ a78b31d
prosemirror-transform @ ccfcac3
prosemirror-view @ 9fc5949

Generate TypeScript definitions for ProseMirror

This package serves as a workspace for building TypeScript definitions for ProseMirror. It consists of:

  • Git submodules for each prosemirror-* package.
  • A guide (what you're reading now)
  1. Clone this repo:

    git clone
  2. Install dependencies:

    npm install
  3. Update all packages to their latest version:

    git submodule update --remote
  4. Edit compile.ts to put output in your DefinitelyTyped directory, then compile:

    ./node_modules/.bin/ts-node compile.ts
  5. Update tests as needed, and raise PRs for modified packages in DefinitelyTyped.