Installation
Installing the Eidos npm package requires an authentication key. We require one package key for each project.
- Create a file
.npmrc
in the same folder aspackage.json
and enter the follwing:
@bronscode:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=<package_key>
Where <package_key>
is probably of the form ghp_JXyTarWsuM4R9IhLQDUVf7yN3sKii3YkvHyJ
. The //
are intentional.
- Install
@bronscode/eidos
using npm:npm install @bronscode/eidos
. We recommend to specify the version explicitly in thepackage.json
.
Updating
You can update Eidos using the usual npm commands, such as npm intall @bronscode/eidos
to update to the latest patch.
Prerequisites
We assume Eidos is added to a react@18
project in which the package [email protected]
, [email protected]
and [email protected]
is also installed.