FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Bump @patternfly/patternfly to 2.23.0, add promotion script, add bumping script by redallen · Pull Request #2549 · patternfly/patternfly-react · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .js  (1) .json  (10) .lock  (1) .sh  (1) All 4 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
4 changes: 2 additions & 2 deletions packages/patternfly-4/react-charts/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@babel/plugin-transform-typescript": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"@patternfly/react-icons": "^3.10.13",
"@patternfly/react-tokens": "^2.6.12",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
Expand All @@ -76,4 +76,4 @@
"rimraf": "^2.6.2",
"typescript": "3.4.5"
}
}
}
4 changes: 2 additions & 2 deletions packages/patternfly-4/react-core/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@babel/plugin-transform-typescript": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"@types/enzyme": "3.9.0",
"@types/exenv": "^1.2.0",
"@types/jest": "^24.0.11",
Expand All @@ -82,4 +82,4 @@
"react": "^16.4.0",
"react-dom": "^15.6.2 || ^16.4.0"
}
}
}
4 changes: 2 additions & 2 deletions packages/patternfly-4/react-docs/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@mdx-js/mdx": "1.0.2",
"@mdx-js/react": "1.0.2",
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"@patternfly/react-core": "^3.75.1",
"@patternfly/react-icons": "^3.10.13",
"@patternfly/react-virtualized-extension": "^1.1.81",
Expand All @@ -42,4 +42,4 @@
"last 2 versions",
"not ie <= 11"
]
}
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://github.com/patternfly/patternfly-react/tree/master/packages/patternfly-4/",
"dependencies": {
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"@patternfly/react-core": "^3.75.1",
"@patternfly/react-icons": "^3.10.13",
"@patternfly/react-styles": "^3.5.6",
Expand Down Expand Up @@ -70,4 +70,4 @@
"glob": "^7.1.2",
"npmlog": "^4.1.2"
}
}
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@babel/plugin-transform-typescript": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^0.17.1",
"css": "^2.2.3",
Expand All @@ -66,4 +66,4 @@
"optionalDependencies": {
"@types/styled-system": "^3.0.7"
}
}
}
4 changes: 2 additions & 2 deletions packages/patternfly-4/react-styles/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
"@babel/plugin-transform-typescript": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^0.17.1",
"glob": "^7.1.2",
"rimraf": "^2.6.2"
},
"license": "MIT"
}
}
4 changes: 2 additions & 2 deletions packages/patternfly-4/react-table/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://github.com/patternfly/patternfly-react/tree/master/packages/patternfly-4/react-table#readme",
"dependencies": {
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"@patternfly/react-core": "^3.75.1",
"@patternfly/react-icons": "^3.10.13",
"@patternfly/react-styles": "^3.5.6",
Expand Down Expand Up @@ -67,4 +67,4 @@
"glob": "^7.1.2",
"rimraf": "^2.6.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/patternfly-4/react-tokens/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"css": "^2.2.3",
"fs-extra": "^6.0.1",
"glob": "^7.1.2",
"rimraf": "^2.6.2"
}
}
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://github.com/patternfly/patternfly-react/tree/master/packages/patternfly-4/",
"dependencies": {
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"@patternfly/react-core": "^3.75.1",
"@patternfly/react-icons": "^3.10.13",
"@patternfly/react-styles": "^3.5.6",
Expand Down Expand Up @@ -71,4 +71,4 @@
"rimraf": "^2.6.2",
"uuid": "^3.3.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/react-icons/package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@babel/preset-react": "^7.0.0",
"@fortawesome/free-regular-svg-icons": "^5.7.2",
"@fortawesome/free-solid-svg-icons": "^5.7.2",
"@patternfly/patternfly": "2.21.5",
"@patternfly/patternfly": "2.23.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^0.17.1",
"fs-extra": "^6.0.1",
Expand All @@ -58,4 +58,4 @@
"dependencies": {
"@fortawesome/free-brands-svg-icons": "^5.8.1"
}
}
}
31 changes: 31 additions & 0 deletions scripts/bumpCore.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
const fs = require('fs');
const Project = require('@lerna/project');

// These are packages we need to rebuild
async function getCorePackages() {
const packages = (await new Project(__dirname).getPackages())
.filter(p => {
if (p.dependencies && Object.keys(p.dependencies).includes('@patternfly/patternfly')) {
return true;
}
if (p.devDependencies && Object.keys(p.devDependencies).includes('@patternfly/patternfly')) {
return true;
}
return false;
})

return packages;
}

// https://github.com/lerna/lerna/blob/master/core/package/index.js
getCorePackages().then(packages => packages.forEach(package => {
const json = require(package.manifestLocation);
if (json.dependencies && json.dependencies['@patternfly/patternfly']) {
json.dependencies['@patternfly/patternfly'] = process.argv[2];
}
if (json.devDependencies && json.devDependencies['@patternfly/patternfly']) {
json.devDependencies['@patternfly/patternfly'] = process.argv[2];
}

fs.writeFileSync(package.manifestLocation, JSON.stringify(json, null, 2));
}));
21 changes: 21 additions & 0 deletions scripts/promote.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

PACKAGES=(
"@patternfly/react-charts"
"@patternfly/react-core"
"@patternfly/react-inline-edit-extension"
"@patternfly/react-styles"
"@patternfly/react-table"
"@patternfly/react-tokens"
"@patternfly/react-topology"
"@patternfly/react-virtualized-extension"
)

for PACK in "${PACKAGES[@]}"
do
VERSIONS=$(npm dist-tag ls $PACK)
LATEST=$(echo $VERSIONS | grep -Poe 'latest: [\d.]+' | sed 's/latest: //g')
PRERELEASE=$(echo $VERSIONS | grep -Poe 'prerelease: [\d.]+' | sed 's/prerelease: //g')
echo "Promoting ${PACK}@${PRERELEASE} to latest from ${LATEST}"
echo "npm dist-tag add latest ${PACK}@${PRERELEASE}"
done
8 changes: 5 additions & 3 deletions yarn.lock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


"@babel/cli@^7.0.0":
version "7.4.4"
resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.4.4.tgz#5454bb7112f29026a4069d8e6f0e1794e651966c"
Expand Down Expand Up @@ -1713,9 +1714,10 @@
universal-user-agent "^2.0.0"
url-template "^2.0.8"

"@patternfly/patternfly@2.21.5":
version "2.21.5"
resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-2.21.5.tgz#86c99040c6ad1e03abc3652dbea58e02ff62156f"
"@patternfly/patternfly@2.23.0":
version "2.23.0"
resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-2.23.0.tgz#3351eb69a0e45aaf055940b0ad4a7fde6102a174"
integrity sha512-vL0Bn66R7Yrkmv0kuhDzi1FJCdMpayfkCJW/WJJf0Ahf3YjDXdwNY+2kUcC55hkLVLzlK3+kx2l8d0FdJ9y0aQ==

"@pieh/friendly-errors-webpack-plugin@1.7.0-chalk-2":
version "1.7.0-chalk-2"
Expand Down

Back | FazBrowse Home | New Git URL