From 7123e934efb267fac6ba6259ca5e79794309584e Mon Sep 17 00:00:00 2001 From: Alexander Steppke Date: Thu, 11 Mar 2021 09:18:42 +0100 Subject: [PATCH] chore: upgrade projen to 0.17 (#87) --- .github/workflows/rebuild-bot.yml | 66 ------------------------------- .gitignore | 1 - .projen/deps.json | 2 +- .projenrc.js | 1 + package-lock.json | 6 +-- package.json | 2 +- 6 files changed, 6 insertions(+), 72 deletions(-) delete mode 100644 .github/workflows/rebuild-bot.yml diff --git a/.github/workflows/rebuild-bot.yml b/.github/workflows/rebuild-bot.yml deleted file mode 100644 index 99d15c0..0000000 --- a/.github/workflows/rebuild-bot.yml +++ /dev/null @@ -1,66 +0,0 @@ -# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". - -name: rebuild-bot -on: - issue_comment: - types: - - created - workflow_dispatch: {} -jobs: - build: - runs-on: ubuntu-latest - env: - CI: "true" - if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, - '@projen rebuild') }} - steps: - - name: Post comment to issue - uses: peter-evans/create-or-update-comment@v1 - with: - issue-number: ${{ github.event.issue.number }} - body: "_projen_: Rebuild started" - - name: Get pull request branch - id: query_pull_request - env: - PULL_REQUEST_URL: ${{ github.event.issue.pull_request.url }} - run: |- - rm -f /tmp/pr.json - curl --silent $PULL_REQUEST_URL > /tmp/pr.json - BRANCH_STR=$(cat /tmp/pr.json | jq ".head.ref") - REPO_NAME=$(cat /tmp/pr.json | jq ".head.repo.full_name") - echo "::set-output name=branch::$(node -p $BRANCH_STR)" - echo "::set-output name=repo::$(node -p $REPO_NAME)" - - name: Checkout - uses: actions/checkout@v2 - with: - ref: ${{ steps.query_pull_request.outputs.branch }} - repository: ${{ steps.query_pull_request.outputs.repo }} - - name: Setup Node.js - uses: actions/setup-node@v1 - with: - node-version: 14.0.0 - - name: Install dependencies - run: npm ci - - name: Synthesize project files - run: npx projen - - name: Set git identity - run: |- - git config user.name "Auto-bump" - git config user.email "github-actions@github.com" - - name: Build - run: npx projen build - - name: Commit changes - run: 'git commit -am "chore: update generated files"' - - name: Push commits - run: git push origin $BRANCH - env: - BRANCH: ${{ steps.query_pull_request.outputs.branch }} - - name: Push tags - run: git push --follow-tags origin $BRANCH - env: - BRANCH: ${{ steps.query_pull_request.outputs.branch }} - - name: Post comment to issue - uses: peter-evans/create-or-update-comment@v1 - with: - issue-number: ${{ github.event.issue.number }} - body: "_projen_: Rebuild complete. Updates pushed to pull request branch." diff --git a/.gitignore b/.gitignore index fd885fb..a7edf00 100644 --- a/.gitignore +++ b/.gitignore @@ -35,7 +35,6 @@ yarn-error.log* !/.github/dependabot.yml !/.github/pull_request_template.md !/.github/workflows/build.yml -!/.github/workflows/rebuild-bot.yml !/.github/workflows/release.yml !/.mergify.yml !/.npmignore diff --git a/.projen/deps.json b/.projen/deps.json index b66742a..f76965c 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -99,7 +99,7 @@ }, { "name": "projen", - "version": "^0.16.29", + "version": "^0.17.0", "type": "build" }, { diff --git a/.projenrc.js b/.projenrc.js index 1939f38..182e6d0 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -8,6 +8,7 @@ const project = new AwsCdkConstructLibrary({ jsiiFqn: 'projen.AwsCdkConstructLibrary', name: '@superluminar-io/super-eks', repositoryUrl: 'https://github.com/superluminar-io/super-eks.git', + projenVersion: '^0.17.0', /* AwsCdkConstructLibraryOptions */ // cdkAssert: true, /* Install the @aws-cdk/assert library? */ diff --git a/package-lock.json b/package-lock.json index b4ecdb2..1127d01 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7362,9 +7362,9 @@ "dev": true }, "projen": { - "version": "0.16.29", - "resolved": "https://registry.npmjs.org/projen/-/projen-0.16.29.tgz", - "integrity": "sha512-HlvOwWkhjN+X0aGgYArGPk4bS2NFx1+177ppy5W5PLRzNhbCExCQJDEwBqDXg1k8gXRRdO8EQZ3ok/Xk0jwWiQ==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/projen/-/projen-0.17.0.tgz", + "integrity": "sha512-t8Vg7tXLPMqi7PPJPCIujzv6jD3hHrnSXwXjECJZBh0+zeAdFuu6H46ztIiu0I73h0QOTMfyRxlRoMn4YKtxoQ==", "dev": true, "requires": { "@iarna/toml": "^2.2.5", diff --git a/package.json b/package.json index 7a6e70a..035d779 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "jsii-docgen": "^1.8.57", "jsii-pacmak": "^1.22.0", "json-schema": "^0.3.0", - "projen": "^0.16.29", + "projen": "^0.17.0", "source-map-support": "^0.5.19", "standard-version": "^9", "ts-jest": "^26.5.2",