/aws-codeartifact-npm-example

Example repository for creating, publishing, and installing npm packages with AWS CodeArtifact

Primary LanguageJavaScriptMIT No AttributionMIT-0

AWS CodeArtifact NPM Example

An example repository for creating, publishing, and installing npm packages using AWS CodeArtifact

Prerequisites

  1. Create an AWS account
  2. Install and configure the AWS Command Line Interface
  3. Create a CodeArtifact repository

Getting Started

Find and replace the following

  1. my-repo with your CodeArtifact repository name
  2. my-domain with your CodeArtifact domain
  3. us-east-1 with the region of your CodeArtifact repository
  4. <ACCOUNT ID> with your AWS account ID
  5. @myorg with your org name

Publish my-package

To publish my-package, change your working directory to ./my-package and run npm publish

Install from my-app

To install your new package, change your working directory to ./my-app and run npm install

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.