clearlydefined / service

The service side of clearlydefined.io
MIT License
45 stars 41 forks source link

Update to @clearlydefined/spdx v0.1.8 #1203

Closed qtomlinson closed 1 month ago

qtomlinson commented 1 month ago
qtomlinson commented 1 month ago

@ljones140 I experimented with using GitHub packages and found that an environment variable GITHUB_TOKEN may be required for authentication to install GitHub packages. See documentation. Referring to GitHub repo with tag for dependency is an interim step to consume the changes.

ljones140 commented 1 month ago

@ljones140 I experimented with using GitHub packages and found that an environment variable GITHUB_TOKEN may be required for authentication to install GitHub packages. See documentation. Referring to GitHub repo with tag for dependency is an interim step to consume the changes.

Hey @qtomlinson

I don't think we will need a GITHUB_TOKEN as this package is public, so we don't need authn to read.

We do need to tell NPM to use GitHub as the package repository for @clearlydefined via the .npmrc. @clearlydefined:registry=https://npm.pkg.github.com

I've branched off this and made a commit here which does this https://github.com/clearlydefined/service/commit/43092e915876a708b72de6942170e67adeac9109