mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 12:20:38 +01:00
* Added missing params object to execUnlessDry call * Public package names are no longer hard-coded * Added "v" prefix to git tag * Show more accurate in-progress duration * Properly bucket-bridage params * Prettier * Publish command logs stack with error
32 lines
585 B
JavaScript
32 lines
585 B
JavaScript
'use strict';
|
|
|
|
const dependencies = ['fbjs', 'object-assign', 'prop-types'];
|
|
|
|
const paramDefinitions = [
|
|
{
|
|
name: 'dry',
|
|
type: Boolean,
|
|
description: 'Build artifacts but do not commit or publish',
|
|
defaultValue: false,
|
|
},
|
|
{
|
|
name: 'path',
|
|
type: String,
|
|
alias: 'p',
|
|
description:
|
|
'Location of React repository to release; defaults to [bold]{cwd}',
|
|
defaultValue: '.',
|
|
},
|
|
{
|
|
name: 'version',
|
|
type: String,
|
|
alias: 'v',
|
|
description: 'Semantic version number',
|
|
},
|
|
];
|
|
|
|
module.exports = {
|
|
dependencies,
|
|
paramDefinitions,
|
|
};
|