0.9.56 • Published 4 years ago
@webwombats/configs v0.9.56
Web Wombats config files
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
- Bump the version in
package.json
and commit the changes. For example1.0.1
-->1.0.2
. This package should follow Semantic Versioning 2.0.0. - 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.
- Publish release and GitHub Actions do the rest.