Skip to content

Commit

Permalink
Merge pull request #10 from nicolethoen/pull_in_prerelease
Browse files Browse the repository at this point in the history
feat: first v5 prerelease
  • Loading branch information
nicolethoen authored Jun 27, 2023
2 parents 05a08c6 + 770b732 commit d475aa8
Show file tree
Hide file tree
Showing 9 changed files with 221 additions and 108 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: promote
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- v5.*
jobs:
build-and-promote:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_REDALLEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Build for promotion
run: yarn build
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: GitHub Tag Name example
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
- name: Manual publish
run: |
npm version ${{ github.ref_name }} --git-tag-version false
npm publish --tag=latest
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"eslint-plugin-markdown": "1.0.2",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-n": "^16.0.0",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-config-prettier": "8.8.0",
Expand Down
16 changes: 8 additions & 8 deletions packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
"homepage": "https://github.com/patternfly/react-virtualized-extension#readme",
"publishConfig": {
"access": "public",
"tag": "alpha"
"tag": "prerelease"
},
"dependencies": {
"@patternfly/react-core": "^5.0.0-alpha.116",
"@patternfly/react-icons": "^5.0.0-alpha.19",
"@patternfly/react-styles": "^5.0.0-alpha.16",
"@patternfly/react-core": "^5.0.0-prerelease.13",
"@patternfly/react-icons": "^5.0.0-prerelease.7",
"@patternfly/react-styles": "^5.0.0-prerelease.5",
"linear-layout-vector": "0.0.1",
"react-virtualized": "^9.22.5",
"tslib": "^2.5.2"
Expand All @@ -51,10 +51,10 @@
"react-dom": "^17 || ^18"
},
"devDependencies": {
"@patternfly/documentation-framework": "^2.0.0-alpha.42",
"@patternfly/patternfly": "^5.0.0-alpha.64",
"@patternfly/react-table": "^5.0.0-alpha.119",
"@patternfly/react-code-editor": "^5.0.0-alpha.117",
"@patternfly/documentation-framework": "^2.0.0-alpha.69",
"@patternfly/patternfly": "^5.0.0-prerelease.10",
"@patternfly/react-table": "^5.0.0-prerelease.13",
"@patternfly/react-code-editor": "^5.0.0-prerelease.13",
"rimraf": "^5.0.1",
"@patternfly/patternfly-a11y": "^4.3.1",
"react-monaco-editor": "^0.52.0"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const pageData = {
"id": "Virtual scroll window scroller",
"section": "extensions",
"subsection": "",
"deprecated": false,
"beta": false,
"demo": false,
"newImplementationLink": false,
"source": "react",
"tabName": null,
"slug": "/extensions/virtual-scroll-window-scroller/react",
Expand Down
1 change: 1 addition & 0 deletions packages/module/patternfly-docs/patternfly-docs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
module.exports = {
sideNavItems: [{ section: 'extensions' }],
topNavItems: [],
hasDarkThemeSwitcher: true,
port: 8006
};
7 changes: 5 additions & 2 deletions packages/module/release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = {
branches: [{ name: 'prerelease', channel: 'prerelease'}, { name: 'main', channel: 'alpha', prerelease: 'alpha' }],
branches: [
'do-not-delete',
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' }],
analyzeCommits: {
preset: 'angular'
},
Expand All @@ -9,5 +11,6 @@ module.exports = {
'@semantic-release/github',
'@semantic-release/npm'
],
tagFormat: 'prerelease-v${version}'
tagFormat: 'prerelease-v${version}',
dryRun: true
};
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`Actions virtualized table 1`] = `
aria-label="Aria labeled"
class="pf-v5-c-table pf-m-grid-md"
data-ouia-component-id="OUIA-Generated-Table-10"
data-ouia-component-type="PF4/Table"
data-ouia-component-type="PF5/Table"
data-ouia-safe="true"
role="grid"
>
Expand All @@ -16,7 +16,7 @@ exports[`Actions virtualized table 1`] = `
<tr
class="pf-v5-c-table__tr"
data-ouia-component-id="OUIA-Generated-TableRow-5"
data-ouia-component-type="PF4/TableRow"
data-ouia-component-type="PF5/TableRow"
data-ouia-safe="true"
>
<th
Expand Down Expand Up @@ -46,8 +46,10 @@ exports[`Actions virtualized table 1`] = `
aria-hidden="true"
class="pf-v5-svg"
fill="currentColor"
height="1em"
role="img"
viewBox="0 0 256 512"
width="1em"
>
<path
d="M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"
Expand Down Expand Up @@ -111,7 +113,7 @@ exports[`Selectable virtualized table 1`] = `
aria-label="Aria labeled"
class="pf-v5-c-table pf-m-grid-md"
data-ouia-component-id="OUIA-Generated-Table-12"
data-ouia-component-type="PF4/Table"
data-ouia-component-type="PF5/Table"
data-ouia-safe="true"
role="grid"
>
Expand All @@ -121,7 +123,7 @@ exports[`Selectable virtualized table 1`] = `
<tr
class="pf-v5-c-table__tr"
data-ouia-component-id="OUIA-Generated-TableRow-6"
data-ouia-component-type="PF4/TableRow"
data-ouia-component-type="PF5/TableRow"
data-ouia-safe="true"
>
<td
Expand Down Expand Up @@ -165,8 +167,10 @@ exports[`Selectable virtualized table 1`] = `
aria-hidden="true"
class="pf-v5-svg"
fill="currentColor"
height="1em"
role="img"
viewBox="0 0 256 512"
width="1em"
>
<path
d="M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"
Expand Down Expand Up @@ -224,7 +228,7 @@ exports[`Simple Actions table 1`] = `
aria-label="Aria labeled"
class="pf-v5-c-table pf-m-grid-md"
data-ouia-component-id="OUIA-Generated-Table-8"
data-ouia-component-type="PF4/Table"
data-ouia-component-type="PF5/Table"
data-ouia-safe="true"
role="grid"
>
Expand All @@ -234,7 +238,7 @@ exports[`Simple Actions table 1`] = `
<tr
class="pf-v5-c-table__tr"
data-ouia-component-id="OUIA-Generated-TableRow-4"
data-ouia-component-type="PF4/TableRow"
data-ouia-component-type="PF5/TableRow"
data-ouia-safe="true"
>
<th
Expand Down Expand Up @@ -264,8 +268,10 @@ exports[`Simple Actions table 1`] = `
aria-hidden="true"
class="pf-v5-svg"
fill="currentColor"
height="1em"
role="img"
viewBox="0 0 256 512"
width="1em"
>
<path
d="M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"
Expand Down Expand Up @@ -329,7 +335,7 @@ exports[`Simple virtualized table aria-label 1`] = `
aria-label="Virtual Table Test"
class="pf-v5-c-table pf-m-grid-md"
data-ouia-component-id="OUIA-Generated-Table-4"
data-ouia-component-type="PF4/Table"
data-ouia-component-type="PF5/Table"
data-ouia-safe="true"
role="grid"
>
Expand All @@ -339,7 +345,7 @@ exports[`Simple virtualized table aria-label 1`] = `
<tr
class="pf-v5-c-table__tr"
data-ouia-component-id="OUIA-Generated-TableRow-2"
data-ouia-component-type="PF4/TableRow"
data-ouia-component-type="PF5/TableRow"
data-ouia-safe="true"
>
<th
Expand Down Expand Up @@ -399,7 +405,7 @@ exports[`Simple virtualized table className 1`] = `
aria-label="Virtual Table Test"
class="pf-v5-c-table pf-m-grid-md"
data-ouia-component-id="OUIA-Generated-Table-2"
data-ouia-component-type="PF4/Table"
data-ouia-component-type="PF5/Table"
data-ouia-safe="true"
role="grid"
>
Expand All @@ -409,7 +415,7 @@ exports[`Simple virtualized table className 1`] = `
<tr
class="pf-v5-c-table__tr"
data-ouia-component-id="OUIA-Generated-TableRow-1"
data-ouia-component-type="PF4/TableRow"
data-ouia-component-type="PF5/TableRow"
data-ouia-safe="true"
>
<th
Expand Down Expand Up @@ -469,7 +475,7 @@ exports[`Sortable Virtualized Table 1`] = `
aria-label="Aria labeled"
class="pf-v5-c-table pf-m-grid-md"
data-ouia-component-id="OUIA-Generated-Table-6"
data-ouia-component-type="PF4/Table"
data-ouia-component-type="PF5/Table"
data-ouia-safe="true"
role="grid"
>
Expand All @@ -479,7 +485,7 @@ exports[`Sortable Virtualized Table 1`] = `
<tr
class="pf-v5-c-table__tr"
data-ouia-component-id="OUIA-Generated-TableRow-3"
data-ouia-component-type="PF4/TableRow"
data-ouia-component-type="PF5/TableRow"
data-ouia-safe="true"
>
<th
Expand Down Expand Up @@ -509,8 +515,10 @@ exports[`Sortable Virtualized Table 1`] = `
aria-hidden="true"
class="pf-v5-svg"
fill="currentColor"
height="1em"
role="img"
viewBox="0 0 256 512"
width="1em"
>
<path
d="M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"
Expand Down
Loading

0 comments on commit d475aa8

Please sign in to comment.