Skip to content

Commit

Permalink
fix: fix formatting when there are destructive changes (#24)
Browse files Browse the repository at this point in the history
Fixes #
  • Loading branch information
corymhall committed Dec 9, 2023
1 parent 46f6cd0 commit ab28e1c
Show file tree
Hide file tree
Showing 11 changed files with 2,599 additions and 1,638 deletions.
2 changes: 0 additions & 2 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const project = new GitHubActionTypeScriptProject({
name: 'cdk-diff-action',
projenrcTs: true,
depsUpgradeOptions: {
exclude: ['@aws-cdk/cloudformation-diff', '@aws-cdk/cloud-assembly-schema'],
workflowOptions: {
labels: ['auto-approve'],
schedule: UpgradeDependenciesSchedule.WEEKLY,
Expand Down Expand Up @@ -62,8 +61,8 @@ const project = new GitHubActionTypeScriptProject({
},
deps: [
'@octokit/webhooks-definitions',
'@aws-cdk/cloudformation-diff@v2.103.1',
'@aws-cdk/cloud-assembly-schema@v2.103.1',
'@aws-cdk/cloudformation-diff',
'@aws-cdk/cloud-assembly-schema',
'@actions/exec@^1.1.1',
'@actions/io@^1.1.3',
'@actions/tool-cache@^2.0.0',
Expand Down Expand Up @@ -148,5 +147,8 @@ workflow?.on({
types: ['opened', 'reopened', 'ready_for_review'],
},
});

projenProject.packageTask.reset();
projenProject.packageTask.exec('cp node_modules/@aws-cdk/aws-service-spec/db.json.gz ./ && ncc build --source-map --license licenses.txt');
workflow?.addJobs({ enableAutoMerge: autoMergeJob });
project.synth();
Binary file added db.json.gz
Binary file not shown.
2,446 changes: 1,509 additions & 937 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit ab28e1c

Please sign in to comment.