From d1e065b3d782443a4ea1d0770fb9a8f143b98f9b Mon Sep 17 00:00:00 2001 From: Austin Sullivan Date: Tue, 5 Dec 2023 09:56:33 -0500 Subject: [PATCH 1/2] chore(MissioncControl): onboard to mission control --- .github/workflows/extensions.yml | 16 ------------ .github/workflows/promote.yml | 30 ---------------------- .github/workflows/release.yml | 44 -------------------------------- renovate.json | 26 +++++++++++-------- 4 files changed, 16 insertions(+), 100 deletions(-) delete mode 100644 .github/workflows/extensions.yml delete mode 100644 .github/workflows/promote.yml delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/extensions.yml b/.github/workflows/extensions.yml deleted file mode 100644 index a87badcf..00000000 --- a/.github/workflows/extensions.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Add new issues to PatternFly Extensions project - -on: - issues: - types: - - opened - -jobs: - add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@v0.3.0 - with: - project-url: https://github.com/orgs/patternfly/projects/12 - github-token: ${{ secrets.GH_PROJECTS }} diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml deleted file mode 100644 index 60134a48..00000000 --- a/.github/workflows/promote.yml +++ /dev/null @@ -1,30 +0,0 @@ -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.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - steps: - - uses: actions/checkout@v2 - - name: Build for promotion - run: yarn install --frozen-lockfile && yarn build - - uses: actions/setup-node@v3 - with: - node-version: '16.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: | - cd packages/module - npm version ${{ github.ref_name }} --git-tag-version false - npm publish --tag=latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 4504107e..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: release -on: - push: - branches: - - main - - v4 -jobs: - call-build-lint-test-workflow: - uses: ./.github/workflows/build-lint-test.yml - deploy: - runs-on: ubuntu-latest - needs: [call-build-lint-test-workflow] - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v3 - with: - node-version: '16' - - uses: actions/cache@v2 - id: npm-cache - name: Cache npm deps - with: - path: | - node_modules - **/node_modules - ~/.cache/Cypress - key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }} - - run: npm install --frozen-lockfile - if: steps.npm-cache.outputs.cache-hit != 'true' - - uses: actions/cache@v2 - id: dist - name: Cache dist - with: - path: | - packages/*/dist - packages/react-styles/css - key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }} - - name: Build dist - run: npm run build - if: steps.dist.outputs.cache-hit != 'true' - - name: Release to NPM - run: cd packages/module && npx semantic-release@19.0.5 diff --git a/renovate.json b/renovate.json index b7020ba6..47fab796 100644 --- a/renovate.json +++ b/renovate.json @@ -1,21 +1,27 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base", - ":dependencyDashboardApproval" - ], + "extends": ["config:base"], + "enabledManagers": ["npm"], + "rangeStrategy": "bump", + "includeForks": true, "packageRules": [ { "packagePatterns": ["*"], - "excludePackagePatterns": [ - "@patternfly/documentation-framework" - ], + "excludePackagePatterns": ["@patternfly/*"], "enabled": false }, { - "packageNames": [ - "@patternfly/documentation-framework" - ] + "datasources": ["npm"], + "packagePatterns": ["@patternfly/*"], + "excludePackageNames": ["@patternfly/documentation-framework", "@patternfly/patternfly-a11y"], + "groupName": "patternfly", + "followTag": "prerelease" + }, + { + "datasources": ["npm"], + "matchPackageNames": ["@patternfly/documentation-framework", "@patternfly/patternfly-a11y"], + "groupName": "patternfly", + "followTag": "latest" } ] } From 18b29eaa0572518c2aa17b837ed563dea6ead489 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 21:09:35 +0000 Subject: [PATCH 2/2] chore(deps): update patternfly --- packages/module/package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/module/package.json b/packages/module/package.json index 7f5cb0d3..510373de 100644 --- a/packages/module/package.json +++ b/packages/module/package.json @@ -31,9 +31,9 @@ "tag": "prerelease" }, "dependencies": { - "@patternfly/react-core": "^5.1.1", - "@patternfly/react-icons": "^5.1.1", - "@patternfly/react-table": "^5.1.1", + "@patternfly/react-core": "^6.1.0-prerelease.6", + "@patternfly/react-icons": "^6.1.0-prerelease.3", + "@patternfly/react-table": "^6.1.0-prerelease.6", "react-jss": "^10.10.0", "clsx": "^2.0.0" }, @@ -42,10 +42,10 @@ "react-dom": "^17 || ^18" }, "devDependencies": { - "@patternfly/patternfly-a11y": "^4.3.1", - "@patternfly/documentation-framework": "^2.0.0-alpha.57", - "@patternfly/patternfly": "^5.1.0", - "@patternfly/react-code-editor": "^5.1.1", + "@patternfly/patternfly-a11y": "^5.0.0", + "@patternfly/documentation-framework": "^6.0.8", + "@patternfly/patternfly": "^6.1.0-prerelease.4", + "@patternfly/react-code-editor": "^6.1.0-prerelease.6", "@openshift-console/dynamic-plugin-sdk": "^0.0.21", "@types/react": "^18.2.33", "@types/react-dom": "^18.2.14",