Ghost/ghost/post-revisions
Fabien "egg" O'Carroll b9565bc290 Migrated @tryghost/post-revisions to TypeScript!
This is an initial start to using TypeScript in our non-core Ghost packages.

- Adds a prepare script to build the project after installing deps
- Adds an initial tsconfig.json which is compatible with our node env
- Migrates all of the code to TypeScript, including tests
- Updates tests to use ts-node so that we don't need to compile the tests
- ts-node is installed at the top level because the env is weird with lerna and
  doesn't work otherwise
- Updates the yarn dev script to build the project with the --all and --revisions flag
2023-05-03 14:32:31 -04:00
..
src Migrated @tryghost/post-revisions to TypeScript! 2023-05-03 14:32:31 -04:00
test Migrated @tryghost/post-revisions to TypeScript! 2023-05-03 14:32:31 -04:00
.eslintrc.js Migrated @tryghost/post-revisions to TypeScript! 2023-05-03 14:32:31 -04:00
package.json Migrated @tryghost/post-revisions to TypeScript! 2023-05-03 14:32:31 -04:00
README.md Added post-revisions package 2023-04-17 11:14:57 +01:00
tsconfig.json Migrated @tryghost/post-revisions to TypeScript! 2023-05-03 14:32:31 -04:00

Post Revisions

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests