Bring in hapi-nextauth and dev support libs

This commit is contained in:
Abel Luck 2023-03-13 08:24:20 +00:00
parent feab3f90d7
commit 7aa1ec74eb
45 changed files with 14633 additions and 1141 deletions

View file

@ -0,0 +1,18 @@
.PHONY: test yarn publish
.npmrc:
echo '@guardianproject-ops:registry=https://gitlab.com/api/v4/packages/npm/' > .npmrc
echo '//gitlab.com/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}' >> .npmrc
echo '//gitlab.com/api/v4/projects/:_authToken=${CI_JOB_TOKEN}' >> .npmrc
echo '//gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}' >> .npmrc
yarn:
yarn
test: yarn
mkdir -p coverage
yarn lint
yarn test
publish: test .npmrc
npm publish