Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syntropy/repo-tools

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syntropy/repo-tools

An npm package intended to be installed for internal use, ie: dev machines, Bitbucket Pipelines container, and project dependencies.

  • 1.0.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

repo-tools

An npm package intended to be installed for internal use, ie: dev machines, Bitbucket Pipelines container, and project dependencies.

https://www.npmjs.com/package/@syntropy/repo-tools

Use

To be installed as a global package and used in command line operations as utility and helper functions in projects.

See the bin/index.js file for the CLI flags/options available to run specific files in this project.

Example Command Line Use:

Run the src/awsConfigure.js file:

repo-tools aws-config

Commands

aws-config

repo-tools aws-config

This is a helper function that is used in our Docker image containers for Bitbucket Pipelines builds. It uses the environment variables passed to the build environment to set the Docker containers AWS credentials so that the build can interface and perform operations with our AWS services. It sets access key and secret for AWS in "~/.aws/credentials". It expects the environment variables to be set and available: AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY.

release

repo-tools release

A command line util that performs steps to cut a release branch from the current branch and push to origin. Provides CLI question interface prior to performing the operation.

Changes & Publishing

Any logic, utility functions, or operations that can be applied to more than a single project should reside in this package. An example would be a helper function that parses the git logs in a repo and generates a CHANGELOG.md automatically. This would be a helper function that resides in this package to be shared and used by anyone on the team or in automation process environments ie: Bitbucket Pipelines. Another example of utility and helper functions that are in this package are logic needed across Docker containers, specifically our Pipelines images use some utility functions (awsConfigure.js).

Any changes that affect this repositories use need to be documented in the README.md under the correct scope.

Git Commit Convention

This project uses generate-changelog which parses the git log automatically and appends the release version changes to CHANGELOG.md based on the git commit log. Because of this, our commits in this project repo need to follow a convention.

type(category)

Example: chore(package.json): update deps

Where type is one of the following:

  • breaking
  • build
  • ci
  • chore
  • docs
  • feat
  • fix
  • other
  • perf
  • refactor
  • revert
  • style
  • test

Publishing NPM Package

When you're ready to publish a new package version and all your changes are committed run the command npm run release:publish


NPM Organization: @syntropy (https://www.npmjs.com/org/syntropy)

Who has publish access: Users that have been added to the organization account

FAQs

Package last updated on 11 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc