@hiveio/honeycomb
v1.1.0
Published
Meta package pointing to the set of Hive-related packages using same versions of their dependencies
Downloads
4
Keywords
Readme
@hiveio/honeycomb
Meta package pointing to the set of Hive-related packages using same versions of their dependencies
Usage
Install this meta package:
npm install @hiveio/honeycomb
Use Hive-related packages in code:
import '@hiveio/beekeeper';
import '@hiveio/wax';
import '@hiveio/hb-auth';
import '@hiveio/workerbee';
Note: This works inly if you do not have other @hiveio packages installed!
If you want to ensure your packages are using same versions, please use the following import pattern:
import '@hiveio/honeycomb/beekeeper';
import '@hiveio/honeycomb/wax';
import '@hiveio/honeycomb/hb-auth';
import '@hiveio/honeycomb/workerbee';
Special Configuration for pnpm
Users
If you prefer to use pnpm
and does not want to import packages using @hiveio/honeycomb/wax
and so on, you will need to make a special configuration in your project to ensure the proper functioning of our Hive-meta-package. pnpm
uses a different approach to dependency hoisting, and as a result, some packages might not resolve correctly unless they are hoisted to the root node_modules
directory.
To handle this, you need to add the following setting to your .npmrc
file:
public-hoist-pattern[]=@hiveio/*
By adding this setting, you instruct pnpm
to hoist all packages under the @hiveio
scope to the root node_modules
directory. This ensures that our Hive-related packages will be resolved correctly, maintaining the stability and consistency that npm shrinkwrap
provides.
License
See license in the LICENSE.md file