0.3.0 • Published 1 year ago

@compassdigital/core v0.3.0

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

Core

This library is a composition of the following libraries that used to be standalone:

  • Auth
  • Provider
  • Provider.Data
  • Service
  • Middleware
  • Cache
  • Constant
  • Error

Due to the nature of the tight coupling and dependencies between these packages, it's becoming difficult to keep all the underlying libraries updated and services updated with the latest changes and features that are availalbe to be used within the other libraries.

Essentially the core package is meant to reduce the chances of releasing mixed dependencies that might not work together and this package is here to ensure the published versions are capable of working together at the specified version.

TSC

Two tsconfig.json files are created (tsconfig.json and build.tsconfig.json). For development environment to allow alias to work in the editor tsconfig.json is used but to omit the tests from the output we have a build.tsconfig.json to ensure only the proper src files are outputted.

TSC-Alias

Take a look through tsconfig.jsonn and review the paths that have been setup for ease of importing libraries. For instance if @compassdigital/provider is required in a sibling library or folder, it may be imported via @core/provider location.

Library versions migrated at commit sha

master sha: d0ae58380b7029c472e5f2b3fa86e99c53dc3d62 ## This is the commit these were migrated\ Auth: a8463f53005c43ae50a74f2bbc702dbc49628222\ Provider: f7a9d69f3fce303347dbac20cbd9f52d419138b6\ Provider.data: 97bf3a818cba35e8ed8ba4bfd6cabb4925dee03c\ Service: f6faf1215959c8bf87f291ec2fad8b4d23ae8aaa\ Middleware: f382d50f92723952d48452a450e6f7336548bbb7\ Cache: da4ac7752ac3a26a53e8a7c8010c3fb9a8ee5ac1\ Constant: a159d9831743ddf2c0f30c30b924171b893b7a1b