auto

2019-10-10 admin

auto是什么

什么是auto,CLI tools to help facilitate semantic versioning based on GitHub PR labels

auto使用教程帮助文档

<div align=“center”>

auto

Generate releases based on semantic version labels on pull requests

</div>

<div align=“center”>CircleCI Codecov npm All Contributors npm Auto Release code style: prettier</div>

Automated releases powered by pull request labels. Streamline your release workflow and publish constantly! auto is meant to be run in a continuous integration (CI) environment, but all the commands work locally as well.

Release Features:

  • Calculate semantic version bumps from PRs
  • Skip a release with the skip-release label
  • Publish canary releases from PRs or locally
  • Generate changelogs with fancy headers, authors, and monorepo package association
  • Use labels to create new changelog sections
  • Generate a GitHub release

Pull Request Interaction Features:

  • Get the labels for a PR
  • Set the status of a PR
  • Check that a pull request has a SemVer label
  • Comment on a PR with markdown
  • Update the PR body with contextual build metadata

Visit the docs for more information.

Plugins

Auto has an extensive plugin system and wide variety of official plugins. Make a PR to add yours!

  • chrome - Publish code to Chrome Web Store
  • conventional-commits - Parse conventional commit messages for version bumps
  • jira - Include Jira story links in the changelog
  • git-tag - Manage your projects version through just a git tag
  • npm - Publish code to npm (DEFAULT)
  • omit-commits - Ignore commits base on name, email, subject, labels, and username
  • omit-release-notes - Ignore release notes in PRs made by certain accounts
  • released - Add a released label to published PRs, comment with the version it’s included in and comment on the issues the PR closes
  • slack - Post release notes to slack
  • twitter - Post release notes to twitter
  • upload-assets - Add extra assets to the release

Start Developing

To get set up, fork and clone the project then run the following command:

yarn

Cleaning

yarn clean

Linting

yarn lint

Testing

yarn test

Build/Typecheck

yarn build

In watch mode:

yarn build:watch

Run the docs

To deploy the docs you will need to add the documentation label to your pull request.

yarn docs:watch

Adding a contributor

yarn contributors:add

Create a new plugin

Get started developing a new plugin in the monorepo in seconds.

The two arguments are:

  1. A spaced name
  2. A description
yarn create:plugin "My Plugin" "Do something really cool"

Contributing

Feel free to make an issue or open a pull request!

Make sure to read our code of conduct.

<g-emoji class=“g-emoji” alias=“rocket” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f680.png”>🚀</g-emoji> Projects Using auto <g-emoji class=“g-emoji” alias=“rocket” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f680.png”>🚀</g-emoji>

<g-emoji class=“g-emoji” alias=“star” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/2b50.png”>⭐️</g-emoji> Storybookjs design-system - Storybook’s official design system

<g-emoji class=“g-emoji” alias=“star” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/2b50.png”>⭐️</g-emoji> space-kit - Home base for Apollo’s design system

<g-emoji class=“g-emoji” alias=“star” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/2b50.png”>⭐️</g-emoji> react-glider - A react wrapper for glider.js

<g-emoji class=“g-emoji” alias=“star” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/2b50.png”>⭐️</g-emoji> Ignite - Modern markdown documentation generator

<g-emoji class=“g-emoji” alias=“star” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/2b50.png”>⭐️</g-emoji> reaction - Artsy’s React Components

<g-emoji class=“g-emoji” alias=“star” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/2b50.png”>⭐️</g-emoji> emission - Artsy’s React Native Components

<g-emoji class=“g-emoji” alias=“star” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/2b50.png”>⭐️</g-emoji> webpack-inject-plugin - A webpack plugin to dynamically inject code into the bundle.

<g-emoji class=“g-emoji” alias=“star” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/2b50.png”>⭐️</g-emoji> html-webpack-insert-text-plugin - Insert text into the head or body of your HTML

<g-emoji class=“g-emoji” alias=“nail_care” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f485.png”>💅</g-emoji> auto Badge <g-emoji class=“g-emoji” alias=“nail_care” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f485.png”>💅</g-emoji>

Does your project use auto? Then use our custom badge!

Auto Release

Auto Release

Auto Release

Auto Release

<g-emoji class=“g-emoji” alias=“art” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f3a8.png”>🎨</g-emoji> Prior Art <g-emoji class=“g-emoji” alias=“art” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f3a8.png”>🎨</g-emoji>

auto is inspired by some excellent tech that came before it.

  • github-semantic-version - Automated semantic version releases powered by Github Issues.
  • lerna-changelog - <g-emoji class=“g-emoji” alias=“book” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4d6.png”>📖</g-emoji> PR-based changelog generator with monorepo support

Contributors

Thanks goes to these wonderful people (emoji key):

| Adam Dierkens <sub>Adam Dierkens</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> <g-emoji class=“g-emoji” alias=“book” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4d6.png”>📖</g-emoji> <g-emoji class=“g-emoji” alias=“thinking” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f914.png”>🤔</g-emoji> <g-emoji class=“g-emoji” alias=“warning” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/26a0.png”>⚠️</g-emoji> | Andrew Lisowski <sub>Andrew Lisowski</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> <g-emoji class=“g-emoji” alias=“book” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4d6.png”>📖</g-emoji> <g-emoji class=“g-emoji” alias=“thinking” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f914.png”>🤔</g-emoji> <g-emoji class=“g-emoji” alias=“metro” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f687.png”>🚇</g-emoji> <g-emoji class=“g-emoji” alias=“warning” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/26a0.png”>⚠️</g-emoji> | David <sub>David</sub> <g-emoji class=“g-emoji” alias=“metro” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f687.png”>🚇</g-emoji> | Orta <sub>Orta</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> | Justin Bennett <sub>Justin Bennett</sub> <g-emoji class=“g-emoji” alias=“bug” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png”>🐛</g-emoji> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> | Alec Larson <sub>Alec Larson</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> | Tyler Krupicka <sub>Tyler Krupicka</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> | | Zachary Sherwin <sub>Zachary Sherwin</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> <g-emoji class=“g-emoji” alias=“book” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4d6.png”>📖</g-emoji> <g-emoji class=“g-emoji” alias=“warning” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/26a0.png”>⚠️</g-emoji> | bnigh <sub>bnigh</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> | su7edja <sub>su7edja</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> | Yogesh Khandlewal <sub>Yogesh Khandlewal</sub> <g-emoji class=“g-emoji” alias=“computer” fallback-src=“https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png”>💻</g-emoji> |

This project follows the all-contributors specification. Contributions of any kind welcome!

Adding a Contributor

To add a contributor run yarn contributors:add, choose “Add new contributor or edit contribution type” and follow the prompts.

License

FOSSA Status

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-77011.html

文章标题:auto

相关文章
autod-egg
autod-egg是什么 什么是autod-egg,autod egg plugin autod-egg官网:官网 autod-egg源码仓库:源码仓库 autod-egg下载地址:点此下载 点此下载2 autod-egg使用教程帮助文...
2018-11-10
email-autocomplete
email-autocomplete是什么 什么是email-autocomplete,jQuery plugin that displays in-place autocomplete suggestions for email inpu...
2018-08-12
autotrack
autotrack是什么 什么是autotrack,Automatic + enhanced analytics.js tracking for common user interactions autotrack官网:官网 autotr...
2018-06-09
父元素随子元素宽度自动撑开问题, 父元素overflow: auto; 有滚动条时
直接上代码: &lt;div class=&quot;father&quot;&gt; &lt;div class=&quot;child&quot;&gt; &lt;div&gt;&lt;&#x2F;div...
2018-04-27
autocannon
autocannon是什么 什么是autocannon,Fast HTTP benchmarking tool written in Node.js autocannon官网:官网 autocannon源码仓库:源码仓库 autocann...
2018-12-18
autonumeric
autonumeric是什么 什么是autonumeric,autoNumeric is a standalone Javascript library that provides live as-you-type formatting f...
2018-07-12
jquery.devbridge-autocomplete
jquery.devbridge-autocomplete是什么 什么是jquery.devbridge-autocomplete,Autocomplete provides suggestions while you type into ...
2018-06-13
autobahn
autobahn是什么 什么是autobahn,An implementation of The Web Application Messaging Protocol (WAMP). autobahn官网:官网 autobahn文档:文档...
2018-07-05
autosize.js
autosize.js是什么 什么是autosize.js,Autosize is a small, stand-alone script to automatically adjust textarea height to fit tex...
2018-06-10
React Autocomplete(自动完成输入)示例教程
React Autocomplete示例教程是今天的主题。在现代Web开发中,使用React改善用户体验是很容易。自动完成的概念很简单。它是基于用户输入的建议列表。然后,用户可以按Enter键以完成短语。它节省了用户的时间,这使用户非常满意...
2018-09-07
回到顶部