0.0.13 • Published 5 years ago

h-scripts v0.0.13

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

h-scripts

This is a CLI that abstracts away all configuration for my open source projects.

Installation

yarn add -D h-scripts

Scripts

travis-after-success

Automate version management and package publishing with Travis.

Usage

travis-after-success should be used in the after_success method.

dist: trusty
language: node_js
node_js: '10'
install: yarn
script:
  - yarn test
  - yarn build
after_success: h-scripts travis-after-success

In order for this method to succeed, make sure to:

  • Have GH_TOKEN and NPM_TOKEN defined in Travis CI
  • Have 0.0.0-semantically-released set as the package version in package.json

Format of commit messages

By default semantic-release uses Angular Commit Message Conventions. I typically like using th ESLint convention instead. In order to do so, you will need to alter the preset. One way to do this is via a .releaserc file at the root of your project.

Example: Changing the preset as well as the directory to publish

{
  "pkgRoot": "build",
  "preset": "eslint"
}

Inspiration

This is inspired from kcd-scripts.

0.0.13

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago