payment-api-core-embonor

0.0.11 • Public • Published

Payment API Core

Core for Embonor Payment API services



Install and configure

# Package to manage multiple npm configurations
sudo npm i npmrc -g

# Configure default profile
npmrc -c default
npm config set registry https://registry.npmjs.org/
cat ~/.npmrcs/default
cat ~/.npmrc

# Configure embonor profile
npmrc -c embonor
npm config set registry https://registry.npmjs.org/
npm config set @embonor:registry https://test-embonor-885567047296.d.codeartifact.us-east-1.amazonaws.com/npm/test-payment-api-core/
cat ~/.npmrcs/embonor
cat ~/.npmrc


# First login
npmrc embonor
AWS_REGION=us-east-1 aws codeartifact login \
  --profile embonor \
  --tool npm --repository test-payment-api-core --domain test-embonor --domain-owner 885567047296
npm config set registry https://registry.npmjs.org/

# Test permission to read and publish from registry
npm -d ping


Publish a new version

# First, edit `package.json` and pump it to a new version

# Set correct profile
npmrc embonor

# Login to private registry
AWS_REGION=us-east-1 aws codeartifact login \
  --profile embonor \
  --tool npm --repository test-payment-api-core --domain test-embonor --domain-owner 885567047296

# Update default registry
npm config set registry https://registry.npmjs.org/

# Publish with correct scope
npm publish --scope=@embonor


Use in a package.json

# package.json

...

"dependencies": {
  ...
  "@embonor/payment-api-core": "^0.x"
},

...

Readme

Keywords

none

Package Sidebar

Install

npm i payment-api-core-embonor

Weekly Downloads

0

Version

0.0.11

License

UNLICENSED

Unpacked Size

40 kB

Total Files

58

Last publish

Collaborators

  • dconchamanzor