From ee6498f102cb10a61e91279e7ff684ec7f08de2f Mon Sep 17 00:00:00 2001 From: Thon Becker Date: Fri, 14 May 2021 21:30:33 -0500 Subject: [PATCH] fix: remove antitamper --- .github/workflows/release.yml | 4 ---- .projen/tasks.json | 2 +- .projenrc.js | 2 +- src/cdk-simplewebsite-deploy.ts | 6 +++--- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40ed51f..88dd944 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,6 @@ jobs: fetch-depth: 0 - name: Install dependencies run: yarn install --check-files --frozen-lockfile - - name: Anti-tamper check - run: git diff --ignore-space-at-eol --exit-code - name: Set git identity run: |- git config user.name "Automation" @@ -47,8 +45,6 @@ jobs: with: name: dist path: dist - - name: Anti-tamper check - run: git diff --ignore-space-at-eol --exit-code container: image: jsii/superchain release_npm: diff --git a/.projen/tasks.json b/.projen/tasks.json index 2bd2c9c..1e38a1a 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -95,7 +95,7 @@ "spawn": "test:compile" }, { - "exec": "jest --passWithNoTests --all --updateSnapshot" + "exec": "jest --passWithNoTests --all" }, { "spawn": "eslint" diff --git a/.projenrc.js b/.projenrc.js index 67bc986..58a36bb 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -15,7 +15,7 @@ const project = new AwsCdkConstructLibrary({ license: 'Apache-2.0', licensed: true, allowLibraryDependencies: true, - antitamper: true, + antitamper: false, autoDetectBin: true, buildWorkflow: true, defaultReleaseBranch: 'main', diff --git a/src/cdk-simplewebsite-deploy.ts b/src/cdk-simplewebsite-deploy.ts index 410507c..4d540e8 100644 --- a/src/cdk-simplewebsite-deploy.ts +++ b/src/cdk-simplewebsite-deploy.ts @@ -1,10 +1,10 @@ import * as acm from '@aws-cdk/aws-certificatemanager'; -import * as cloudfront from '@aws-cdk/aws-cloudfront'; import * as origins from '@aws-cdk/aws-cloudfront-origins'; -import * as route53 from '@aws-cdk/aws-route53'; +import * as cloudfront from '@aws-cdk/aws-cloudfront'; import * as targets from '@aws-cdk/aws-route53-targets'; -import * as s3 from '@aws-cdk/aws-s3'; +import * as route53 from '@aws-cdk/aws-route53'; import * as s3deploy from '@aws-cdk/aws-s3-deployment'; +import * as s3 from '@aws-cdk/aws-s3'; import { RemovalPolicy, Construct } from '@aws-cdk/core'; export interface BasicSiteConfiguration {