Skip to content

Commit b6aafb2

Browse files
authored
chore: Add missing jsii pack library (#50)
Add missing npm configurations in Projen that prevented JS artifact from being created.
1 parent 92b750a commit b6aafb2

File tree

6 files changed

+1177
-1090
lines changed

6 files changed

+1177
-1090
lines changed

.github/workflows/build.yml

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

.projen/tasks.json

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

.projenrc.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const project = new cdktf.ConstructLibraryCdktf({
5858
5959
"@types/moment@^2.13.0",
6060
],
61-
releaseToNpm: false,
61+
releaseToNpm: true,
6262
});
6363

6464
// Required for jest to work with CDK tests
@@ -85,6 +85,7 @@ releaseWorkflow?.patch(
8585
ARM_CLIENT_SECRET: "${{ secrets.AZTFREADER_CLIENT_SECRET }}",
8686
}),
8787
);
88+
releaseWorkflow?.patch(JsonPatch.remove("/jobs/release_npm")); // remove npm release job, release is handled elsewhere
8889

8990
// Build Workflow
9091
const buildWorkflow = project.tryFindObjectFile(".github/workflows/build.yml");

package-lock.json

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

package.json

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

0 commit comments

Comments
 (0)