diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 91723f89e37..d0285315bf9 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -1,4 +1,4 @@ -name: Publish to @next +name: Publish to latest on: push: @@ -16,14 +16,14 @@ jobs: with: node-version: lts/* cache: 'yarn' - - name: Install packages - run: yarn --frozen-lockfile + # - name: Install and build packages # commented out until we're ready for GA release + # run: yarn --frozen-lockfile - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@b98cec97583b917ff1dc6179dd4d230d3e439894 - with: - version: yarn version:latest - # publish: yarn release:latest # commented out until we're ready for GA release + # with: + # version: yarn version:latest # commented out until we're ready for GA release + # publish: yarn release:latest # commented out until we're ready for GA release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} # commented out until we're ready for GA release diff --git a/package.json b/package.json index 3501b45b9cd..a9897c0a0b5 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "prepare": "husky install", "version:next": "yarn changeset version --snapshot next && yarn build", "publish:next": "yarn changeset publish --tag next", - "version:latest": "yarn changeset version && yarn build", + "version:latest": "echo \"not implemented until stable release\"", "publish:latest": "echo \"not implemented until stable release\"" }, "workspaces": [ @@ -48,6 +48,7 @@ }, "devDependencies": { "@changesets/cli": "^2.16.0", + "@changesets/changelog-github": "0.4.1", "husky": ">=6", "lint-staged": ">=10", "prettier": "2.3.2", diff --git a/yarn.lock b/yarn.lock index e139977d0ef..9e626ee7176 100644 --- a/yarn.lock +++ b/yarn.lock @@ -452,6 +452,7 @@ uuid "^8.2.0" "@aws-amplify/ui-react-v1@npm:@aws-amplify/ui-react", "@aws-amplify/ui-react@^1.2.5": + name "@aws-amplify/ui-react-v1" version "1.2.21" resolved "https://registry.yarnpkg.com/@aws-amplify/ui-react/-/ui-react-1.2.21.tgz#b723fded8006e7ef212905a0a93ef7ae866a2a05" integrity sha512-+0AQlrLQei66y+gKBhBxNJnx92OeFzZ2Uls9U3vNf2c4ocEtUzErXu/YLjxmYyX9rVxACrRLHd6zuBuA91Ubmw== @@ -3476,6 +3477,15 @@ "@manypkg/get-packages" "^1.0.1" semver "^5.4.1" +"@changesets/changelog-github@0.4.1": + version "0.4.1" + resolved "https://registry.yarnpkg.com/@changesets/changelog-github/-/changelog-github-0.4.1.tgz#880cb624477972ea103abf6942cf4ee3106f682b" + integrity sha512-WK9DzS3i0wa2doEnOr4sm/FMnNtxzCCAKP7dEcWvhYkgXYX5R6jmfHAcDstmjAhiuvbhoHYom4MOC1tIzgwnfA== + dependencies: + "@changesets/get-github-info" "^0.5.0" + "@changesets/types" "^4.0.1" + dotenv "^8.1.0" + "@changesets/cli@^2.16.0": version "2.17.0" resolved "https://registry.yarnpkg.com/@changesets/cli/-/cli-2.17.0.tgz#cc7ff4f64d029ddd6d87020a012c8cf8c7adde58" @@ -3543,6 +3553,14 @@ fs-extra "^7.0.1" semver "^5.4.1" +"@changesets/get-github-info@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@changesets/get-github-info/-/get-github-info-0.5.0.tgz#b91ceb2d82edef78ae1598ea9fc335a012250295" + integrity sha512-vm5VgHwrxkMkUjFyn3UVNKLbDp9YMHd3vMf1IyJoa/7B+6VpqmtAaXyDS0zBLfN5bhzVCHrRnj4GcZXXcqrFTw== + dependencies: + dataloader "^1.4.0" + node-fetch "^2.5.0" + "@changesets/get-release-plan@^3.0.1": version "3.0.1" resolved "https://registry.yarnpkg.com/@changesets/get-release-plan/-/get-release-plan-3.0.1.tgz#c98a34321eac9e4187098893ff8dadb6f90ad89c" @@ -6311,7 +6329,6 @@ amazon-cognito-identity-js@5.2.1: resolved "https://codeload.github.com/aws-amplify/docs/tar.gz/8a0d3a0ff2e91ed5caf1ed57ae7fe050a62cab20" dependencies: "@aws-amplify/ui-components" latest - "@aws-amplify/ui-react" "^1.2.5" "@emotion/react" "^11.1.5" "@emotion/styled" "^11.3.0" array-flatten "^3.0.0" @@ -9396,6 +9413,11 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" +dataloader@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-1.4.0.tgz#bca11d867f5d3f1b9ed9f737bd15970c65dff5c8" + integrity sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw== + date-format@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/date-format/-/date-format-2.1.0.tgz#31d5b5ea211cf5fd764cd38baf9d033df7e125cf" @@ -9927,7 +9949,7 @@ dotenv-safe@^8.2.0: dependencies: dotenv "^8.2.0" -dotenv@^8.2.0: +dotenv@^8.1.0, dotenv@^8.2.0: version "8.6.0" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b" integrity sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g== @@ -15904,7 +15926,7 @@ node-fetch@2.6.1: resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== -node-fetch@^2.6.1: +node-fetch@^2.5.0, node-fetch@^2.6.1: version "2.6.5" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd" integrity sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==