Skip to content

Commit 0b372f8

Browse files
committed
run package
1 parent cb1e39f commit 0b372f8

File tree

6 files changed

+786
-782
lines changed

6 files changed

+786
-782
lines changed

.projen/tasks.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,6 @@ workflow?.on({
248248
});
249249

250250
projenProject.packageTask.reset();
251-
projenProject.packageTask.exec('cp node_modules/@aws-cdk/aws-service-spec/db.json.gz ./ && ncc build --source-map --license licenses.txt');
251+
projenProject.packageTask.exec('cp node_modules/@aws-cdk/aws-service-spec/db.json.gz ./ && ncc build src/index.ts --source-map --transpile-only --license licenses.txt');
252252
workflow?.addJobs({ enableAutoMerge: autoMergeJob });
253253
project.synth();

dist/index.js

Lines changed: 779 additions & 778 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/action.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export async function run() {
2121
inputs.stackSelectionStrategy = 'pattern-must-match';
2222
}
2323

24+
console.log('Inputs: ', JSON.stringify(inputs, null, 2));
25+
2426
const octokit = github.getOctokit(inputs.githubToken);
2527
const context = github.context;
2628

src/stage-processor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ export class AssemblyProcessor {
120120
// and see what happens
121121
loadAssemblyOptions: { checkVersion: false },
122122
});
123-
await using cloudAssembly = await assemblySource.produce();
124123

125124
const selector: StackSelector = this.options.stackSelectorPatterns.length > 0 ? {
126125
strategy: this.options.stackSelectionStrategy as StackSelectionStrategy,
@@ -132,7 +131,9 @@ export class AssemblyProcessor {
132131
stacks: selector,
133132
method: this.options.diffMethod,
134133
});
134+
135135
this._templateDiffs = diffResult;
136+
await using cloudAssembly = await assemblySource.produce();
136137
this.processAssembly(cloudAssembly.cloudAssembly);
137138
return diffResult;
138139
}

0 commit comments

Comments
 (0)