Installation
Installing the Eidos npm package requires an authentication key. We require one package key for each project.
- Create a file
.npmrcin the same folder aspackage.jsonand 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/eidosusing 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 redux@5.0.1, react-redux@8.1.1 and redux-thunk@2.4.2 is also installed.