Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major version dependency upgrades, pt. I #3987

Merged
merged 7 commits into from
Sep 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"argparse": "^1.0.10",
"argparse": "^2.0.1",
"autoprefixer": "^7.1.5",
"axe-core": "^3.5.4",
"axe-core": "^4.0.1",
"axe-puppeteer": "^1.1.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
Expand All @@ -129,13 +129,13 @@
"cache-loader": "^2.0.1",
"chai": "^4.2.0",
"chai-webdriverio": "^0.4.3",
"chalk": "^2.4.1",
"chokidar": "^1.7.0",
"chalk": "^4.1.0",
"chokidar": "^3.4.2",
"chromedriver": "^77.0.0",
"circular-dependency-plugin": "^5.2.0",
"codesandbox": "^2.1.16",
"core-js": "^2.5.1",
"cross-env": "^5.2.0",
"cross-env": "^7.0.2",
"css-loader": "^0.28.7",
"cssnano": "^4.1.10",
"deasync": "^0.1.20",
Expand Down Expand Up @@ -173,7 +173,7 @@
"moment": "^2.27.0",
"moment-timezone": "^0.5.31",
"node-sass": "^4.14.1",
"nodegit": "^0.23.0",
"nodegit": "^0.27.0",
"pegjs": "^0.10.0",
"postcss-cli": "^4.1.1",
"postcss-inline-svg": "^3.0.0",
Expand All @@ -188,19 +188,19 @@
"react": "^16.12.0",
"react-docgen-typescript": "^1.20.3",
"react-dom": "^16.12.0",
"react-redux": "^5.1.2",
"react-redux": "^7.2.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-router-redux": "^4.0.8",
"react-test-renderer": "^16.13.1",
"react-view": "^2.3.2",
"redux": "^3.7.2",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"resolve": "^1.17.0",
"rimraf": "^2.6.2",
"rimraf": "^3.0.2",
"sass-extract": "^2.1.0",
"sass-lint": "^1.13.1",
"sass-lint-auto-fix": "^0.15.0",
"sass-lint-auto-fix": "^0.21.2",
"sass-loader": "^6.0.6",
"sass-vars-to-js-loader": "^2.1.1",
"shelljs": "^0.8.4",
Expand All @@ -220,8 +220,8 @@
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"yeoman-generator": "^2.0.1",
"yo": "^2.0.0"
"yeoman-generator": "^4.12.0",
"yo": "^3.1.1"
},
"peerDependencies": {
"@elastic/datemath": "^5.0.2",
Expand Down
16 changes: 8 additions & 8 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,28 +85,28 @@ if (args.dry_run) {

function parseArguments() {
const parser = new argparse.ArgumentParser({
addHelp: true,
add_help: true,
description: 'Tag and publish a new version of EUI',
});

parser.addArgument('--type', {
parser.add_argument('--type', {
help: 'Version type; can be "major", "minor" or "patch"',
choices: Object.values(humanReadableTypes),
});

parser.addArgument('--dry-run', {
action: 'storeTrue',
defaultValue: false,
parser.add_argument('--dry-run', {
action: 'store_true',
default: false,
help: 'Dry run mode; no changes are made',
});

const allSteps = ['test', 'build', 'version', 'tag', 'publish', 'docs'];
parser.addArgument('--steps', {
parser.add_argument('--steps', {
help: 'Which release steps to run; a comma-separated list of values that can include "test", "build", "version", "tag", "publish" and "docs". If no value is given, all steps are run. Example: --steps=test,build,version,tag',
defaultValue: allSteps.join(','),
default: allSteps.join(','),
});

const args = parser.parseArgs();
const args = parser.parse_args();

// validate --steps argument
const steps = args.steps.split(',').map(step => step.trim());
Expand Down
Loading