EMS Press Content API
Typescript types for the EMS Press Content API. The API follows the JSON API specification.
Publish to NPM
Publishing to NPM is done by creating a new Release on Github. The provided tag version for the release is used as the npm version and will be committed to the branch.
Local Link
You can use yalc to develop in this repo and use it in e.g the ems press website repo without publishing the package for every change:
(we don't use npm link because it does not play well with peerDependencies)
git clone git@github.com:ems-press/content-api-types.git
cd content-api-types
npm run yalc:publish
cd ..
git clone git@github.com:ems-press/website.git
cd website
npm run link:content-api-types