RECENT POSTS
- New Koop Monorepo
- Koop Road Map 2022 - 2023
- Koop CLI v1.1 release: add HTTPS support to the dev server
- Koop CLI v1.0 release: new commands for every stage of development
- Support for alternate input and output coordinate systems
- Koop 4.0.0 released
- Introduction to provider transformation functions
- Koop CLI v0.6.0 release: enhanced development experience
- All posts ...
New Koop Monorepo
Dec 12, 2022 • Rich Gwozdz
We have migrated Koop and it’s core dependencies to a monorepo at https://github.com/koopjs/koop. The monorepo includes the following packages:
- koop-core (the main koop module)
- output-geoservices
- featureserver
- winnow
- koop-logger
- cache-memory
This move will ease development, testing, and publishing. The diagram below illustrates the dependency relationships between the monorepo packages:
Migrating
It’s important to note that the latest Koop has been published under the @koopjs
NPM organization. You will need to update your koop applications by:
> npm uninstall koop
> npm install @koopjs/koop-core
Then replace any imports in your code-base. For example:
- const Koop = require('koop')
+ const Koop = require('@koopjs/koop-core')
FeatureServer and Winnow have also moved to the @koopjs
NPM organization. If you happen to be using those repositories outside of Koop you’ll need to update to @koopjs/featureserver
and @koopjs/winnow
. Note that the older repositories have been marked as deprecated and have no explicit maintenance plan.
Contributing
The new monorepo includes tooling to help standardize contributions and make semantic releases to NPM. This includes the requirement of (1) conventional commit messages, (2) code coverage, and (3) semantice release control with changesets. Take a look at the contribution guidelines for more information.