mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
* First chunk of new release script * Re-ordered build steps to combine error codes and releases * Reorganized build files; added stub publish script * First pass at publis script. Also collect and print dry-run commits/publish commands. * Deleted old react-release-manager scripts * Cleaned up release package.json * Basic README instructions * Removed unnecessary 'async' keyword from a method * Wordsmithing * Tweaked README * Renamed build -> build-commands and publish -> publish-commands to avoid conflict with .gitignore * Bump pre-release package versions differently * Prettier * Improved CircleCI API token setup instructions message * Lint fix * Typofix
40 lines
702 B
JavaScript
40 lines
702 B
JavaScript
'use strict';
|
|
|
|
const dependencies = ['fbjs', 'object-assign', 'prop-types'];
|
|
|
|
const projects = [
|
|
'react',
|
|
'react-art',
|
|
'react-dom',
|
|
'react-reconciler',
|
|
'react-test-renderer',
|
|
];
|
|
|
|
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,
|
|
projects,
|
|
};
|