0.0.0-alpha1.2 • Published 3 years ago
@strathberry/core v0.0.0-alpha1.2
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 buildThis 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 devSymlinking
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 devwhilst developing here, changes should become available immediately. If any issues occur, try runningyarn buildhere to recompile everything.