From 2605e18ff2988cac1b2d8bf8d9e199b814ed0001 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 10:19:36 -0800 Subject: [PATCH 01/34] Add test package --- packages/test/package.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/test/package.json diff --git a/packages/test/package.json b/packages/test/package.json new file mode 100644 index 00000000..9b3c9379 --- /dev/null +++ b/packages/test/package.json @@ -0,0 +1,18 @@ +{ + "name": "@department-of-veterans-affairs/mobile-test", + "version": "0.0.1", + "description": "For testing purposes only", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/department-of-veterans-affairs/va-mobile-library.git" + }, + "maintainers": [ + "@department-of-veterans-affairs/flagship-mobile-platform" + ], + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC" +} From 5120a268e4c451efc63503f0d1d6d558740b3723 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 10:19:58 -0800 Subject: [PATCH 02/34] Update workflow to support new package --- .github/workflows/publish.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7593c17a..b924945e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,7 @@ on: - patch - minor - major + - new package jobs: publish-package: @@ -51,28 +52,32 @@ jobs: id: bump-version working-directory: packages/${{ inputs.package }} run: | + BUMP=${{ inputs.version_bump }} NPM_PACKAGE=$(jq -r .name package.json) - echo "NPM_PACKAGE_NAME=$NPM_PACKAGE" >> "$GITHUB_OUTPUT" echo "NPM Package name: $NPM_PACKAGE" - CURRENT_VERSION=$(jq -r .version package.json) + echo "NPM_PACKAGE_NAME=$NPM_PACKAGE" >> "$GITHUB_OUTPUT" - LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | jq -r '.[-1]') - echo "Latest NPM version: $LATEST_VERSION" + if [[ "$BUMP" != "new package" ]]; then + echo "Checking latest version on NPM..." + CURRENT_VERSION=$(jq -r .version package.json) - if [[ "$CURRENT_VERSION" != "$LATEST_VERSION" ]]; then - echo "Setting package.json version to $LATEST_VERSION" - npm version $LATEST_VERSION + LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | jq -r '.[-1]') + echo "Latest NPM version: $LATEST_VERSION" + + if [[ "$CURRENT_VERSION" != "$LATEST_VERSION" ]]; then + echo "Setting package.json version to $LATEST_VERSION" + npm version $LATEST_VERSION + fi fi - BUMP=${{ inputs.version_bump }} echo "Bumping $BUMP version and publishing to NPM..." if [[ "$BUMP" == "alpha" ]] || [[ "$BUMP" == "beta" ]]; then npm version prerelease --preid $BUMP npm publish --access public --tolerate-republish --tag $BUMP else - npm version $BUMP + if [[ "$BUMP" != "new package" ]]; then npm version $BUMP; fi npm publish --access public --tolerate-republish fi From 253c4138e7404afc9a75197d08f95ea589e5e6cd Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 10:21:51 -0800 Subject: [PATCH 03/34] Update yarn.lock --- yarn.lock | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yarn.lock b/yarn.lock index 73747ce4..39ccc395 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2779,6 +2779,12 @@ __metadata: languageName: unknown linkType: soft +"@department-of-veterans-affairs/mobile-test@workspace:packages/test": + version: 0.0.0-use.local + resolution: "@department-of-veterans-affairs/mobile-test@workspace:packages/test" + languageName: unknown + linkType: soft + "@department-of-veterans-affairs/mobile-tokens@npm:0.3.1": version: 0.3.1 resolution: "@department-of-veterans-affairs/mobile-tokens@npm:0.3.1" From 2fb718a0f99eb3880f5f2751693f76aa3a301dee Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Wed, 27 Dec 2023 18:23:24 +0000 Subject: [PATCH 04/34] Version bump: components-v0.3.6-alpha.0 --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index 060d50ac..55fc2d28 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-component-library", - "version": "0.3.5", + "version": "0.3.6-alpha.0", "description": "VA Design System Mobile Component Library", "main": "src/index.tsx", "scripts": { From a5a7ab864b5fb2a0f83438161469a692f713c41f Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 10:42:01 -0800 Subject: [PATCH 05/34] Separate package name and verison bump steps --- .github/workflows/publish.yml | 58 ++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b924945e..83559a3c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,36 +48,46 @@ jobs: cache: yarn cache-dependency-path: yarn.lock - run: yarn install - - name: Bump version and publish to NPM - id: bump-version - working-directory: packages/${{ inputs.package }} + - name: Get NPM Package name + id: package-name run: | - BUMP=${{ inputs.version_bump }} NPM_PACKAGE=$(jq -r .name package.json) - echo "NPM Package name: $NPM_PACKAGE" echo "NPM_PACKAGE_NAME=$NPM_PACKAGE" >> "$GITHUB_OUTPUT" + - name: Bump version + if: ${{ inputs.version_bump != 'new package' }} + run: | + BUMP=${{ inputs.version_bump }} + NPM_PACKAGE=${{ steps.package-name.outputs.NPM_PACKAGE_NAME }} - if [[ "$BUMP" != "new package" ]]; then - echo "Checking latest version on NPM..." - CURRENT_VERSION=$(jq -r .version package.json) + echo "Checking latest version on NPM..." + CURRENT_VERSION=$(jq -r .version package.json) - LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | jq -r '.[-1]') - echo "Latest NPM version: $LATEST_VERSION" + LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | jq -r '.[-1]') + echo "Latest NPM version: $LATEST_VERSION" - if [[ "$CURRENT_VERSION" != "$LATEST_VERSION" ]]; then - echo "Setting package.json version to $LATEST_VERSION" - npm version $LATEST_VERSION - fi + if [[ "$CURRENT_VERSION" != "$LATEST_VERSION" ]]; then + echo "Setting package.json version to $LATEST_VERSION" + npm version $LATEST_VERSION fi - echo "Bumping $BUMP version and publishing to NPM..." - + echo "Bumping $BUMP version..." if [[ "$BUMP" == "alpha" ]] || [[ "$BUMP" == "beta" ]]; then npm version prerelease --preid $BUMP + else + npm version $BUMP + fi + - name: Publish to NPM + id: publish + working-directory: packages/${{ inputs.package }} + run: | + BUMP=${{ inputs.version_bump }} + + echo "Publishing to NPM..." + + if [[ "$BUMP" == "alpha" ]] || [[ "$BUMP" == "beta" ]]; then npm publish --access public --tolerate-republish --tag $BUMP else - if [[ "$BUMP" != "new package" ]]; then npm version $BUMP; fi npm publish --access public --tolerate-republish fi @@ -93,9 +103,9 @@ jobs: git config --global user.email 'va-mobileapp@adhocteam.us' git pull git add package.json - git commit -m 'Version bump: ${{ steps.bump-version.outputs.GIT_TAG }}' + git commit -m 'Version bump: ${{ steps.publish.outputs.GIT_TAG }}' git push - TAG=${{ steps.bump-version.outputs.GIT_TAG }} + TAG=${{ steps.publish.outputs.GIT_TAG }} echo $TAG git tag -a $TAG -m $TAG git push origin $TAG @@ -105,7 +115,7 @@ jobs: chmod +x .github/scripts/generate-changelog.sh ./.github/scripts/generate-changelog.sh ${{ inputs.package }} ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }} git add CHANGELOG.md - git commit -m 'Changelog for ${{ steps.bump-version.outputs.GIT_TAG }}' + git commit -m 'Changelog for ${{ steps.publish.outputs.GIT_TAG }}' git push - name: Post to a Slack channel id: slack @@ -119,7 +129,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "Published *${{ steps.bump-version.outputs.NPM_PACKAGE_NAME }}* to NPM" + "text": "Published *${{ steps.package-name.outputs.NPM_PACKAGE_NAME }}* to NPM" } }, { @@ -127,15 +137,15 @@ jobs: "elements": [ { "type": "mrkdwn", - "text": "*Version:* ${{ steps.bump-version.outputs.NEW_VERSION }}" + "text": "*Version:* ${{ steps.publish.outputs.NEW_VERSION }}" }, { "type": "mrkdwn", - "text": "" + "text": "" }, { "type": "mrkdwn", - "text": "" + "text": "" }, { "type": "mrkdwn", From 0a8ace34c921d029592072dd0759557d8ce742d0 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 10:47:46 -0800 Subject: [PATCH 06/34] Add working dirs --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 83559a3c..8a1b06a3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,12 +50,14 @@ jobs: - run: yarn install - name: Get NPM Package name id: package-name + working-directory: packages/${{ inputs.package }} run: | NPM_PACKAGE=$(jq -r .name package.json) echo "NPM Package name: $NPM_PACKAGE" echo "NPM_PACKAGE_NAME=$NPM_PACKAGE" >> "$GITHUB_OUTPUT" - name: Bump version if: ${{ inputs.version_bump != 'new package' }} + working-directory: packages/${{ inputs.package }} run: | BUMP=${{ inputs.version_bump }} NPM_PACKAGE=${{ steps.package-name.outputs.NPM_PACKAGE_NAME }} From 7e895cf1570a58fd7b344f4446078fe7b81d1956 Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Wed, 27 Dec 2023 18:49:27 +0000 Subject: [PATCH 07/34] Version bump: components-v0.3.6-alpha.1 --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index 55fc2d28..f2edd362 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-component-library", - "version": "0.3.6-alpha.0", + "version": "0.3.6-alpha.1", "description": "VA Design System Mobile Component Library", "main": "src/index.tsx", "scripts": { From 34e9af5e9a1f0653e4ceac31aaacea994e847512 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 10:50:55 -0800 Subject: [PATCH 08/34] Add test package to workflow options --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8a1b06a3..879b0d13 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,6 +13,7 @@ on: - components - tokens - linting + - test version_bump: description: Version bump required: true From 312efd9e03b1e1bfaa36a55c633893719ed3b1a2 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 10:54:33 -0800 Subject: [PATCH 09/34] Fix $BUMP instantiation --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 879b0d13..477f9223 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -49,7 +49,7 @@ jobs: cache: yarn cache-dependency-path: yarn.lock - run: yarn install - - name: Get NPM Package name + - name: Get NPM package name id: package-name working-directory: packages/${{ inputs.package }} run: | @@ -84,7 +84,7 @@ jobs: id: publish working-directory: packages/${{ inputs.package }} run: | - BUMP=${{ inputs.version_bump }} + BUMP="${{ inputs.version_bump }}" echo "Publishing to NPM..." From b18f5f59d366dee7a5e149f4e7340d3cc7843ac6 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 11:38:02 -0800 Subject: [PATCH 10/34] Add support for single version returned from NPM --- .github/workflows/publish.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 477f9223..e305101b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -63,10 +63,22 @@ jobs: BUMP=${{ inputs.version_bump }} NPM_PACKAGE=${{ steps.package-name.outputs.NPM_PACKAGE_NAME }} - echo "Checking latest version on NPM..." + echo "Checking package.json version..." CURRENT_VERSION=$(jq -r .version package.json) - LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | jq -r '.[-1]') + echo "Checking latest version on NPM..." + VERSIONS_OUTPUT_TYPE=$(npm view @department-of-veterans-affairs/mobile-test versions --json \ + | jq 'if type=="array" then "array" elif type=="string" then "string" else "error" end') + + if [[ "$VERSIONS_OUTPUT_TYPE" == "array" ]]; then + LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | jq -r '.[-1]') + elif [[ "$VERSIONS_OUTPUT_TYPE" == "string" ]]; then + LATEST_VERSION=$(npm view @department-of-veterans-affairs/mobile-test versions) + else + echo "Unexpected response getting versions. Exiting..." + exit 1 + fi + echo "Latest NPM version: $LATEST_VERSION" if [[ "$CURRENT_VERSION" != "$LATEST_VERSION" ]]; then @@ -100,6 +112,7 @@ jobs: echo "NEW_VERSION=$NEW_VERSION" >> "$GITHUB_OUTPUT" echo "GIT_TAG=${{ inputs.package }}-v$NEW_VERSION" >> "$GITHUB_OUTPUT" - name: Commit changes and tag + if: ${{ inputs.version_bump != 'new package' }} working-directory: packages/${{ inputs.package }} run: | git config --global user.name 'VA Automation Bot' From a430f5d9b0fd09ff19e2da023519fb81c4985684 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 11:54:46 -0800 Subject: [PATCH 11/34] Fix string comparison --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e305101b..9205a39d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -67,15 +67,15 @@ jobs: CURRENT_VERSION=$(jq -r .version package.json) echo "Checking latest version on NPM..." - VERSIONS_OUTPUT_TYPE=$(npm view @department-of-veterans-affairs/mobile-test versions --json \ - | jq 'if type=="array" then "array" elif type=="string" then "string" else "error" end') + VERSIONS_OUTPUT_TYPE=$(npm view $NPM_PACKAGE versions --json \ + | jq -r 'if type=="array" then "array" elif type=="string" then "string" else "error" end') if [[ "$VERSIONS_OUTPUT_TYPE" == "array" ]]; then LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | jq -r '.[-1]') elif [[ "$VERSIONS_OUTPUT_TYPE" == "string" ]]; then - LATEST_VERSION=$(npm view @department-of-veterans-affairs/mobile-test versions) + LATEST_VERSION=$(npm view $NPM_PACKAGE versions) else - echo "Unexpected response getting versions. Exiting..." + echo "Unexpected result getting versions. Exiting..." exit 1 fi From f99359439d61b6f0357dab41c7a554f83832ae1e Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Wed, 27 Dec 2023 19:56:23 +0000 Subject: [PATCH 12/34] Version bump: components-v0.3.6-alpha.2 --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index f2edd362..68530c51 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-component-library", - "version": "0.3.6-alpha.1", + "version": "0.3.6-alpha.2", "description": "VA Design System Mobile Component Library", "main": "src/index.tsx", "scripts": { From 40d9abf385e02db12a741df6c9f5787d556cb787 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:06:16 -0800 Subject: [PATCH 13/34] Simplify getting latest version --- .github/workflows/publish.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9205a39d..e9fadbd5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -67,15 +67,12 @@ jobs: CURRENT_VERSION=$(jq -r .version package.json) echo "Checking latest version on NPM..." - VERSIONS_OUTPUT_TYPE=$(npm view $NPM_PACKAGE versions --json \ - | jq -r 'if type=="array" then "array" elif type=="string" then "string" else "error" end') - if [[ "$VERSIONS_OUTPUT_TYPE" == "array" ]]; then - LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | jq -r '.[-1]') - elif [[ "$VERSIONS_OUTPUT_TYPE" == "string" ]]; then - LATEST_VERSION=$(npm view $NPM_PACKAGE versions) - else - echo "Unexpected result getting versions. Exiting..." + LATEST_VERSION=$(npm view $NPM_PACKAGE versions --json | \ + jq -r 'if type=="string" then . elif type=="array" then .[-1] else "error" end') + + if [[ "$LATEST_VERSION" == "error" ]]; then + echo "Unexpected result getting version. Exiting..." exit 1 fi From 365df17dff0ea61a7e252c0abec0762eb018ad95 Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Wed, 27 Dec 2023 20:07:53 +0000 Subject: [PATCH 14/34] Version bump: components-v0.3.6-alpha.3 --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index 68530c51..5b73f9a2 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-component-library", - "version": "0.3.6-alpha.2", + "version": "0.3.6-alpha.3", "description": "VA Design System Mobile Component Library", "main": "src/index.tsx", "scripts": { From bf27d5f72e872b0111486ab71261bdf12d57456a Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Wed, 27 Dec 2023 20:10:20 +0000 Subject: [PATCH 15/34] Version bump: test-v0.0.2-alpha.0 --- packages/test/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/test/package.json b/packages/test/package.json index 9b3c9379..2e16797c 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-test", - "version": "0.0.1", + "version": "0.0.2-alpha.0", "description": "For testing purposes only", "main": "index.js", "repository": { From d6509cc579ceb4a78af0c3ddd4506e5fe8d7d61c Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:12:19 -0800 Subject: [PATCH 16/34] Test new package --- packages/test/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/test/package.json b/packages/test/package.json index 2e16797c..1010a289 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { - "name": "@department-of-veterans-affairs/mobile-test", - "version": "0.0.2-alpha.0", + "name": "@department-of-veterans-affairs/mobile-test-2", + "version": "0.0.1", "description": "For testing purposes only", "main": "index.js", "repository": { From 0689d9e78c37a15a302d19b1a4494573c517d806 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:14:11 -0800 Subject: [PATCH 17/34] Add yarn.lock --- yarn.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn.lock b/yarn.lock index 39ccc395..45652a4c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2779,9 +2779,9 @@ __metadata: languageName: unknown linkType: soft -"@department-of-veterans-affairs/mobile-test@workspace:packages/test": +"@department-of-veterans-affairs/mobile-test-2@workspace:packages/test": version: 0.0.0-use.local - resolution: "@department-of-veterans-affairs/mobile-test@workspace:packages/test" + resolution: "@department-of-veterans-affairs/mobile-test-2@workspace:packages/test" languageName: unknown linkType: soft From a969771edc149fd7ca79a49d6f697c0613d06ed6 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:15:49 -0800 Subject: [PATCH 18/34] Rename workflow input --- .github/workflows/publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e9fadbd5..cc923b67 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,8 +14,8 @@ on: - tokens - linting - test - version_bump: - description: Version bump + version_type: + description: Version type required: true type: choice options: @@ -57,10 +57,10 @@ jobs: echo "NPM Package name: $NPM_PACKAGE" echo "NPM_PACKAGE_NAME=$NPM_PACKAGE" >> "$GITHUB_OUTPUT" - name: Bump version - if: ${{ inputs.version_bump != 'new package' }} + if: ${{ inputs.version_type != 'new package' }} working-directory: packages/${{ inputs.package }} run: | - BUMP=${{ inputs.version_bump }} + BUMP=${{ inputs.version_type }} NPM_PACKAGE=${{ steps.package-name.outputs.NPM_PACKAGE_NAME }} echo "Checking package.json version..." @@ -93,7 +93,7 @@ jobs: id: publish working-directory: packages/${{ inputs.package }} run: | - BUMP="${{ inputs.version_bump }}" + BUMP="${{ inputs.version_type }}" echo "Publishing to NPM..." @@ -109,7 +109,7 @@ jobs: echo "NEW_VERSION=$NEW_VERSION" >> "$GITHUB_OUTPUT" echo "GIT_TAG=${{ inputs.package }}-v$NEW_VERSION" >> "$GITHUB_OUTPUT" - name: Commit changes and tag - if: ${{ inputs.version_bump != 'new package' }} + if: ${{ inputs.version_type != 'new package' }} working-directory: packages/${{ inputs.package }} run: | git config --global user.name 'VA Automation Bot' @@ -123,7 +123,7 @@ jobs: git tag -a $TAG -m $TAG git push origin $TAG - name: Generate changelog - if: ${{ inputs.version_bump != 'alpha' && inputs.version_bump != 'beta' }} + if: ${{ inputs.version_type != 'alpha' && inputs.version_type != 'beta' }} run: | chmod +x .github/scripts/generate-changelog.sh ./.github/scripts/generate-changelog.sh ${{ inputs.package }} ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }} From f27c5a4ae41adf83cf78b3a08c03c6524170cbc3 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:23:38 -0800 Subject: [PATCH 19/34] Set git email and username using env vars --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cc923b67..90d9d865 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,6 +31,8 @@ jobs: runs-on: ubuntu-latest env: NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_KEY }} + GIT_AUTHOR_NAME: VA Automation Bot" + GIT_AUTHOR_EMAIL: va-mobileapp@adhocteam.us steps: - name: Checkout repo uses: actions/checkout@v4 @@ -112,8 +114,6 @@ jobs: if: ${{ inputs.version_type != 'new package' }} working-directory: packages/${{ inputs.package }} run: | - git config --global user.name 'VA Automation Bot' - git config --global user.email 'va-mobileapp@adhocteam.us' git pull git add package.json git commit -m 'Version bump: ${{ steps.publish.outputs.GIT_TAG }}' From 259b5fb69c3acb66d3f13c6ffce83205cdfcc613 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:25:57 -0800 Subject: [PATCH 20/34] Update test package name --- packages/test/package.json | 2 +- yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/test/package.json b/packages/test/package.json index 1010a289..9b3c9379 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,5 +1,5 @@ { - "name": "@department-of-veterans-affairs/mobile-test-2", + "name": "@department-of-veterans-affairs/mobile-test", "version": "0.0.1", "description": "For testing purposes only", "main": "index.js", diff --git a/yarn.lock b/yarn.lock index 45652a4c..39ccc395 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2779,9 +2779,9 @@ __metadata: languageName: unknown linkType: soft -"@department-of-veterans-affairs/mobile-test-2@workspace:packages/test": +"@department-of-veterans-affairs/mobile-test@workspace:packages/test": version: 0.0.0-use.local - resolution: "@department-of-veterans-affairs/mobile-test-2@workspace:packages/test" + resolution: "@department-of-veterans-affairs/mobile-test@workspace:packages/test" languageName: unknown linkType: soft From 28423a7722c3d7c0f875c00c3e7db149510e4404 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:27:46 -0800 Subject: [PATCH 21/34] New test package --- packages/test/package.json | 2 +- yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/test/package.json b/packages/test/package.json index 9b3c9379..5a51bda7 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,5 +1,5 @@ { - "name": "@department-of-veterans-affairs/mobile-test", + "name": "@department-of-veterans-affairs/mobile-test-3", "version": "0.0.1", "description": "For testing purposes only", "main": "index.js", diff --git a/yarn.lock b/yarn.lock index 39ccc395..4bc627b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2779,9 +2779,9 @@ __metadata: languageName: unknown linkType: soft -"@department-of-veterans-affairs/mobile-test@workspace:packages/test": +"@department-of-veterans-affairs/mobile-test-3@workspace:packages/test": version: 0.0.0-use.local - resolution: "@department-of-veterans-affairs/mobile-test@workspace:packages/test" + resolution: "@department-of-veterans-affairs/mobile-test-3@workspace:packages/test" languageName: unknown linkType: soft From 332aefc45eda47a34f64cb037960900b46e0409f Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:31:23 -0800 Subject: [PATCH 22/34] Re-add git config. New package name --- .github/workflows/publish.yml | 4 ++++ packages/test/package.json | 2 +- yarn.lock | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 90d9d865..2b4aa29d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -114,6 +114,8 @@ jobs: if: ${{ inputs.version_type != 'new package' }} working-directory: packages/${{ inputs.package }} run: | + git config --global user.name 'VA Automation Bot' + git config --global user.email 'va-mobileapp@adhocteam.us' git pull git add package.json git commit -m 'Version bump: ${{ steps.publish.outputs.GIT_TAG }}' @@ -127,6 +129,8 @@ jobs: run: | chmod +x .github/scripts/generate-changelog.sh ./.github/scripts/generate-changelog.sh ${{ inputs.package }} ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }} + git config --global user.name 'VA Automation Bot' + git config --global user.email 'va-mobileapp@adhocteam.us' git add CHANGELOG.md git commit -m 'Changelog for ${{ steps.publish.outputs.GIT_TAG }}' git push diff --git a/packages/test/package.json b/packages/test/package.json index 5a51bda7..e5e300b9 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,5 +1,5 @@ { - "name": "@department-of-veterans-affairs/mobile-test-3", + "name": "@department-of-veterans-affairs/mobile-test-4", "version": "0.0.1", "description": "For testing purposes only", "main": "index.js", diff --git a/yarn.lock b/yarn.lock index 4bc627b7..27a18af6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2779,9 +2779,9 @@ __metadata: languageName: unknown linkType: soft -"@department-of-veterans-affairs/mobile-test-3@workspace:packages/test": +"@department-of-veterans-affairs/mobile-test-4@workspace:packages/test": version: 0.0.0-use.local - resolution: "@department-of-veterans-affairs/mobile-test-3@workspace:packages/test" + resolution: "@department-of-veterans-affairs/mobile-test-4@workspace:packages/test" languageName: unknown linkType: soft From 68c752115d8c24ff1688714dc10c6cec2d6f316f Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:37:28 -0800 Subject: [PATCH 23/34] Disable changelog step if new package --- .github/workflows/publish.yml | 2 +- packages/test/package.json | 2 +- yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2b4aa29d..f23b2741 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -125,7 +125,7 @@ jobs: git tag -a $TAG -m $TAG git push origin $TAG - name: Generate changelog - if: ${{ inputs.version_type != 'alpha' && inputs.version_type != 'beta' }} + if: ${{ inputs.version_type != 'alpha' && inputs.version_type != 'beta' && inputs.version_type != 'new package' }} run: | chmod +x .github/scripts/generate-changelog.sh ./.github/scripts/generate-changelog.sh ${{ inputs.package }} ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }} diff --git a/packages/test/package.json b/packages/test/package.json index e5e300b9..cf91a397 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,5 +1,5 @@ { - "name": "@department-of-veterans-affairs/mobile-test-4", + "name": "@department-of-veterans-affairs/mobile-test-5", "version": "0.0.1", "description": "For testing purposes only", "main": "index.js", diff --git a/yarn.lock b/yarn.lock index 27a18af6..34c95974 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2779,9 +2779,9 @@ __metadata: languageName: unknown linkType: soft -"@department-of-veterans-affairs/mobile-test-4@workspace:packages/test": +"@department-of-veterans-affairs/mobile-test-5@workspace:packages/test": version: 0.0.0-use.local - resolution: "@department-of-veterans-affairs/mobile-test-4@workspace:packages/test" + resolution: "@department-of-veterans-affairs/mobile-test-5@workspace:packages/test" languageName: unknown linkType: soft From 30194e628a3f21fdaec024d308828539dcc8593e Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Wed, 27 Dec 2023 20:42:11 +0000 Subject: [PATCH 24/34] Version bump: components-v0.3.6-alpha.4 --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index 5b73f9a2..b36f59c2 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-component-library", - "version": "0.3.6-alpha.3", + "version": "0.3.6-alpha.4", "description": "VA Design System Mobile Component Library", "main": "src/index.tsx", "scripts": { From 3dff1513ca444388a2c04449375f8080fd73c1ce Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Wed, 27 Dec 2023 20:42:12 +0000 Subject: [PATCH 25/34] Version bump: test-v0.0.2-alpha.0 --- packages/test/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/test/package.json b/packages/test/package.json index cf91a397..2b7efccd 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-test-5", - "version": "0.0.1", + "version": "0.0.2-alpha.0", "description": "For testing purposes only", "main": "index.js", "repository": { From ebf666e681e7a286bf1cb9c0d86c8124b6976544 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:46:39 -0800 Subject: [PATCH 26/34] Add slack error message --- .github/workflows/publish.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f23b2741..3ea48245 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -177,3 +177,34 @@ jobs: } env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_OAUTH_TOKEN }} + - name: Post to a Slack channel + if: failure() + id: slack-error + uses: slackapi/slack-github-action@v1.24.0 + with: + channel-id: C062TM03HN2 # DSVA #va-mobile-library-alerts channel + payload: | + { + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": ":red-x: Error publishing *${{ steps.package-name.outputs.NPM_PACKAGE_NAME }}* to NPM" + } + }, + { + "type": "context", + "elements": [ + { + "type": "mrkdwn", + "text": "<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow Run>" + } + ] + } + ], + "unfurl_links": false, + "unfurl_media": false + } + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_OAUTH_TOKEN }} From 7092193caf9816809b91527fcd3c21e200a7f58b Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Wed, 27 Dec 2023 20:48:18 +0000 Subject: [PATCH 27/34] Version bump: test-v0.0.2-alpha.2 --- packages/test/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/test/package.json b/packages/test/package.json index 2b7efccd..61fba2aa 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-test-5", - "version": "0.0.2-alpha.0", + "version": "0.0.2-alpha.2", "description": "For testing purposes only", "main": "index.js", "repository": { From 2d996544d83f841e2b1e259aff1dc7a0569c529a Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:50:04 -0800 Subject: [PATCH 28/34] Delete test package --- packages/test/package.json | 18 ------------------ yarn.lock | 6 ------ 2 files changed, 24 deletions(-) delete mode 100644 packages/test/package.json diff --git a/packages/test/package.json b/packages/test/package.json deleted file mode 100644 index 61fba2aa..00000000 --- a/packages/test/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "@department-of-veterans-affairs/mobile-test-5", - "version": "0.0.2-alpha.2", - "description": "For testing purposes only", - "main": "index.js", - "repository": { - "type": "git", - "url": "git+https://github.com/department-of-veterans-affairs/va-mobile-library.git" - }, - "maintainers": [ - "@department-of-veterans-affairs/flagship-mobile-platform" - ], - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC" -} diff --git a/yarn.lock b/yarn.lock index 34c95974..73747ce4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2779,12 +2779,6 @@ __metadata: languageName: unknown linkType: soft -"@department-of-veterans-affairs/mobile-test-5@workspace:packages/test": - version: 0.0.0-use.local - resolution: "@department-of-veterans-affairs/mobile-test-5@workspace:packages/test" - languageName: unknown - linkType: soft - "@department-of-veterans-affairs/mobile-tokens@npm:0.3.1": version: 0.3.1 resolution: "@department-of-veterans-affairs/mobile-tokens@npm:0.3.1" From 9c4659609fe34e8d9069998e4ff0c59dc467a90e Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:52:32 -0800 Subject: [PATCH 29/34] Remove 'test' package from input options --- .github/workflows/publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3ea48245..85892a3c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,6 @@ on: - components - tokens - linting - - test version_type: description: Version type required: true From 529af09f29a7e58ec98c65eb63a4db4fc50e130e Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Wed, 27 Dec 2023 12:52:53 -0800 Subject: [PATCH 30/34] Revert git config env vars --- .github/workflows/publish.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 85892a3c..49217e4d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,8 +30,6 @@ jobs: runs-on: ubuntu-latest env: NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_KEY }} - GIT_AUTHOR_NAME: VA Automation Bot" - GIT_AUTHOR_EMAIL: va-mobileapp@adhocteam.us steps: - name: Checkout repo uses: actions/checkout@v4 From 1d53a29b97aef03d2d46d6fb23145c4d34435977 Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Thu, 28 Dec 2023 12:52:00 -0800 Subject: [PATCH 31/34] Rename some steps. Separate git commit changes and tag --- .github/workflows/publish.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 49217e4d..48393e3a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,26 +36,28 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }} - - uses: ruby/setup-ruby@v1 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 with: ruby-version: '3.2' bundler-cache: true - - name: Use Node.js 18.x + - name: Setup Node uses: actions/setup-node@v3 with: registry-url: https://registry.npmjs.org/ node-version-file: .nvmrc cache: yarn cache-dependency-path: yarn.lock - - run: yarn install - - name: Get NPM package name + - name: Install dependencies + run: yarn install + - name: Get package name id: package-name working-directory: packages/${{ inputs.package }} run: | NPM_PACKAGE=$(jq -r .name package.json) echo "NPM Package name: $NPM_PACKAGE" echo "NPM_PACKAGE_NAME=$NPM_PACKAGE" >> "$GITHUB_OUTPUT" - - name: Bump version + - name: Increment version if: ${{ inputs.version_type != 'new package' }} working-directory: packages/${{ inputs.package }} run: | @@ -107,7 +109,7 @@ jobs: echo "NEW_VERSION=$NEW_VERSION" >> "$GITHUB_OUTPUT" echo "GIT_TAG=${{ inputs.package }}-v$NEW_VERSION" >> "$GITHUB_OUTPUT" - - name: Commit changes and tag + - name: Commit changes to git and tag if: ${{ inputs.version_type != 'new package' }} working-directory: packages/${{ inputs.package }} run: | @@ -117,6 +119,9 @@ jobs: git add package.json git commit -m 'Version bump: ${{ steps.publish.outputs.GIT_TAG }}' git push + - name: Git tag + working-directory: packages/${{ inputs.package }} + run: | TAG=${{ steps.publish.outputs.GIT_TAG }} echo $TAG git tag -a $TAG -m $TAG @@ -131,7 +136,7 @@ jobs: git add CHANGELOG.md git commit -m 'Changelog for ${{ steps.publish.outputs.GIT_TAG }}' git push - - name: Post to a Slack channel + - name: Send success message to Slack id: slack uses: slackapi/slack-github-action@v1.24.0 with: @@ -174,7 +179,7 @@ jobs: } env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_OAUTH_TOKEN }} - - name: Post to a Slack channel + - name: Send failure message to Slack if: failure() id: slack-error uses: slackapi/slack-github-action@v1.24.0 From eb65b296a03f9a7347836b812743e44b29c43c43 Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Thu, 28 Dec 2023 20:53:53 +0000 Subject: [PATCH 32/34] Version bump: components-v0.3.6-alpha.5 --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index b36f59c2..f87040f4 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-component-library", - "version": "0.3.6-alpha.4", + "version": "0.3.6-alpha.5", "description": "VA Design System Mobile Component Library", "main": "src/index.tsx", "scripts": { From 523b52e2c28f7ca186f2662e900bcbdda3be6a4a Mon Sep 17 00:00:00 2001 From: Narin Ratana Date: Thu, 28 Dec 2023 13:12:58 -0800 Subject: [PATCH 33/34] Separate git config into step. Only run changelog if branch is main. cleanup --- .github/workflows/publish.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 48393e3a..deceaf16 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,6 +48,10 @@ jobs: node-version-file: .nvmrc cache: yarn cache-dependency-path: yarn.lock + - name: Set git config + run: | + git config --global user.name 'VA Automation Bot' + git config --global user.email 'va-mobileapp@adhocteam.us' - name: Install dependencies run: yarn install - name: Get package name @@ -109,17 +113,15 @@ jobs: echo "NEW_VERSION=$NEW_VERSION" >> "$GITHUB_OUTPUT" echo "GIT_TAG=${{ inputs.package }}-v$NEW_VERSION" >> "$GITHUB_OUTPUT" - - name: Commit changes to git and tag + - name: Commit changes to git if: ${{ inputs.version_type != 'new package' }} working-directory: packages/${{ inputs.package }} run: | - git config --global user.name 'VA Automation Bot' - git config --global user.email 'va-mobileapp@adhocteam.us' git pull git add package.json git commit -m 'Version bump: ${{ steps.publish.outputs.GIT_TAG }}' git push - - name: Git tag + - name: Create git tag working-directory: packages/${{ inputs.package }} run: | TAG=${{ steps.publish.outputs.GIT_TAG }} @@ -127,18 +129,18 @@ jobs: git tag -a $TAG -m $TAG git push origin $TAG - name: Generate changelog - if: ${{ inputs.version_type != 'alpha' && inputs.version_type != 'beta' && inputs.version_type != 'new package' }} + if: ${{ inputs.version_type != 'alpha' && inputs.version_type != 'beta' && github.ref.name == 'main' }} run: | chmod +x .github/scripts/generate-changelog.sh ./.github/scripts/generate-changelog.sh ${{ inputs.package }} ${{ secrets.VA_MOBILE_ROBOT_GITHUB_PAT }} - git config --global user.name 'VA Automation Bot' - git config --global user.email 'va-mobileapp@adhocteam.us' git add CHANGELOG.md git commit -m 'Changelog for ${{ steps.publish.outputs.GIT_TAG }}' git push - name: Send success message to Slack id: slack uses: slackapi/slack-github-action@v1.24.0 + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_OAUTH_TOKEN }} with: channel-id: C062TM03HN2 # DSVA #va-mobile-library-alerts channel payload: | @@ -177,12 +179,12 @@ jobs: "unfurl_links": false, "unfurl_media": false } - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_OAUTH_TOKEN }} - name: Send failure message to Slack if: failure() id: slack-error uses: slackapi/slack-github-action@v1.24.0 + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_OAUTH_TOKEN }} with: channel-id: C062TM03HN2 # DSVA #va-mobile-library-alerts channel payload: | @@ -208,5 +210,3 @@ jobs: "unfurl_links": false, "unfurl_media": false } - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_OAUTH_TOKEN }} From 78157744b4a70e3b27cf48c781d6a48f5d55e356 Mon Sep 17 00:00:00 2001 From: VA Automation Bot Date: Thu, 28 Dec 2023 21:14:34 +0000 Subject: [PATCH 34/34] Version bump: components-v0.3.6-alpha.6 --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index f87040f4..0022a12b 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@department-of-veterans-affairs/mobile-component-library", - "version": "0.3.6-alpha.5", + "version": "0.3.6-alpha.6", "description": "VA Design System Mobile Component Library", "main": "src/index.tsx", "scripts": {