0.0.0-alpha1.2 • Published 1 year ago

@strathberry/core v0.0.0-alpha1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Strathberry Core

This repository contains core services for Strathberry and is distributable as a Node module (@strathberry/core).

Local Development

To develop against the package locally, you must first build a full distribution by running:

yarn
yarn build

This will compile all TS & JS source code into the dist/* folder. You can then run the following command to watch for changes and continue to compile future changes.

yarn dev

Symlinking

You can link the module with other repositories so that you don't need to depend on a distribution within other repositories (such as Services app).

  • Inside of this repository, run yarn link
  • Next, go to the repository you wish to consume this module (e.g. Services) and run yarn link <path to this repository> (e.g. yarn link @strathberry/core)
  • Now the module will be symlinked, so any changes made here are immediately available within the consuming repository.
  • If you are running yarn dev whilst developing here, changes should become available immediately. If any issues occur, try running yarn build here to recompile everything.