0.9.56 • Published 4 years ago

@webwombats/configs v0.9.56

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

Web Wombats config files

NPM package

Install

$ yarn add @webwombats/configs --dev

Usage

tsconfig.json

{
  "extends": "@webwombats/configs/frontend/tsconfig.json",
  // It's also possible to override the rules
  "compilerOptions": {
    "outDir": "dist",
    "lib": ["es2018"]
  },
  "exclude": ["node_modules", "example-folder"]
}

.prettierrc.js

Name a configuration file .prettierrc.js and import default config from this package.

module.exports = require("@webwombats/configs/common/.prettierrc");

.jest.config.js

module.exports = require("@webwombats/configs/common/.jest.config");

Package publishing

  1. Bump the version in package.json and commit the changes. For example 1.0.1 --> 1.0.2. This package should follow Semantic Versioning 2.0.0.
  2. Go to Release page and create a new release from the master branch. Provide the same tag version you specified in the previous step. Title and description are also important, let your team members know what has been done in this release.
  3. Publish release and GitHub Actions do the rest.