From 5a95b5d8fa8b27828ddbfb84ce6052588726037d Mon Sep 17 00:00:00 2001 From: cdklabs-automation <90142015+cdklabs-automation@users.noreply.github.com> Date: Mon, 20 Sep 2021 19:27:26 +0300 Subject: [PATCH] chore(deps): upgrade dependencies (#18) Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/cdklabs/cdk-pipelines-github/actions/runs/1251777894 ------ *Automatically created by projen via the "upgrade" workflow* Co-authored-by: Automation --- .github/workflows/release.yml | 11 ++++++----- .projen/tasks.json | 11 +++++++---- package.json | 2 +- yarn.lock | 20 ++++++++++---------- 4 files changed, 24 insertions(+), 20 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5094816..7cc04817 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,14 +54,15 @@ jobs: name: dist path: dist - name: Release - run: errout=$(mktemp); gh release create v$(cat dist/version.txt) -R - $GITHUB_REPOSITORY -F dist/changelog.md -t v$(cat dist/version.txt) 2> - $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q - "Release.tag_name already exists" $errout; then cat $errout; exit - $exitcode; fi + run: errout=$(mktemp); gh release create $(cat dist/releasetag.txt) -R + $GITHUB_REPOSITORY -F dist/changelog.md -t $(cat dist/releasetag.txt) + --target $GITHUB_REF 2> $errout && true; exitcode=$?; if [ $exitcode + -ne 0 ] && ! grep -q "Release.tag_name already exists" $errout; then + cat $errout; exit $exitcode; fi env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: ${{ github.repository }} + GITHUB_REF: ${{ github.ref }} release_npm: name: Publish to npm needs: release diff --git a/.projen/tasks.json b/.projen/tasks.json index e79fae5b..d7e37379 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -113,7 +113,8 @@ "env": { "OUTFILE": "package.json", "CHANGELOG": "dist/changelog.md", - "BUMPFILE": "dist/version.txt" + "BUMPFILE": "dist/version.txt", + "RELEASETAG": "dist/releasetag.txt" }, "steps": [ { @@ -128,7 +129,8 @@ "env": { "OUTFILE": "package.json", "CHANGELOG": "dist/changelog.md", - "BUMPFILE": "dist/version.txt" + "BUMPFILE": "dist/version.txt", + "RELEASETAG": "dist/releasetag.txt" }, "steps": [ { @@ -141,11 +143,12 @@ "description": "Publish this package to GitHub Releases", "requiredEnv": [ "GITHUB_TOKEN", - "GITHUB_REPOSITORY" + "GITHUB_REPOSITORY", + "GITHUB_REF" ], "steps": [ { - "exec": "errout=$(mktemp); gh release create v$(cat dist/version.txt) -R $GITHUB_REPOSITORY -F dist/changelog.md -t v$(cat dist/version.txt) 2> $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q \"Release.tag_name already exists\" $errout; then cat $errout; exit $exitcode; fi" + "exec": "errout=$(mktemp); gh release create $(cat dist/releasetag.txt) -R $GITHUB_REPOSITORY -F dist/changelog.md -t $(cat dist/releasetag.txt) --target $GITHUB_REF 2> $errout && true; exitcode=$?; if [ $exitcode -ne 0 ] && ! grep -q \"Release.tag_name already exists\" $errout; then cat $errout; exit $exitcode; fi" } ] }, diff --git a/package.json b/package.json index 9333326a..ee48856d 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "jsii-pacmak": "^1.34.0", "json-schema": "^0.3.0", "npm-check-updates": "^11", - "projen": "^0.28.18", + "projen": "^0.28.19", "standard-version": "^9", "ts-jest": "^27.0.5", "typescript": "^4.4.3" diff --git a/yarn.lock b/yarn.lock index 2bcf3ab5..85a0fe81 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1547,9 +1547,9 @@ integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== "@types/node@*": - version "16.9.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.9.2.tgz#81f5a039d6ed1941f8cc57506c74e7c2b8fc64b9" - integrity sha512-ZHty/hKoOLZvSz6BtP1g7tc7nUeJhoCf3flLjh8ZEv1vFKBWHXcnMbJMyN/pftSljNyy0kNW/UqI3DccnBnZ8w== + version "16.9.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.9.4.tgz#a12f0ee7847cf17a97f6fdf1093cb7a9af23cca4" + integrity sha512-KDazLNYAGIuJugdbULwFZULF9qQ13yNWEBFnfVpqlpgAAo6H/qnM9RjBgh0A0kmHf3XxAKLdN5mTIng9iUvVLA== "@types/node@^10.17.60": version "10.17.60" @@ -5060,9 +5060,9 @@ map-obj@^1.0.0: integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= map-obj@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.2.1.tgz#e4ea399dbc979ae735c83c863dd31bdf364277b7" - integrity sha512-+WA2/1sPmDj1dlvvJmB5G6JKfY9dpn7EVBUL06+y6PoljPkh+6V1QihwxNkbcGxCRjt2b0F9K0taiCuo7MbdFQ== + version "4.3.0" + resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" + integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== md5@^2.3.0: version "2.3.0" @@ -5822,10 +5822,10 @@ progress@^2.0.0, progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.28.18: - version "0.28.18" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.28.18.tgz#640b8b01670f8a0129ab24c88097015780d4ba72" - integrity sha512-YH4IsZEpMg94PfwAYCvn+9kGxZNrgj8AM24J154GmXCVAiaNd1+5REPX0akvZG//UI8H1AUb4tDhZ9Rk0yjgJA== +projen@^0.28.19: + version "0.28.19" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.28.19.tgz#995a9656cab51fdab6230d4b1dcaeba50eed3232" + integrity sha512-MaE8CfBm4PUqaH3DAp8Ul9phvMMD6zQdbarGyW3KbK2RckfdZ+0Oy/iZChlKp17fJkpyad5oErGshoNTuapWWQ== dependencies: "@iarna/toml" "^2.2.5" chalk "^4.1.2"