Skip to content

Commit

Permalink
feat: adding support for publishing to nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
mtahir-cloudkitect committed Apr 18, 2024
1 parent 0f51fac commit 984d36f
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/release_cloudkitect-components.yml

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

5 changes: 5 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,17 @@ const components = new AwsCdkConstructLibrary({
distName: 'cloudkitect.components',
module: 'cloudkitect.components'
},
publishToNuget: {
dotNetNamespace: 'CloudKitect.Components',
packageId: 'CloudKitect.Components'
}
});
components.synth()

const releaseYaml = project.tryFindObjectFile('.github/workflows/release_cloudkitect-components.yml');
releaseYaml!.addOverride('jobs.release_npm.steps.5.run', 'cd .repo && pnpm i --no-frozen-lockfile')
releaseYaml!.addOverride('jobs.release_pypi.steps.6.run', 'cd .repo && pnpm i --no-frozen-lockfile')
releaseYaml!.addOverride('jobs.release_nuget.steps.6.run', 'cd .repo && pnpm i --no-frozen-lockfile')

const patterns = new AwsCdkConstructLibrary({
...subProjectSettings,
Expand Down
32 changes: 32 additions & 0 deletions packages/@cloudkitect/components/.github/workflows/build.yml

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

12 changes: 12 additions & 0 deletions packages/@cloudkitect/components/.projen/tasks.json

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

5 changes: 5 additions & 0 deletions packages/@cloudkitect/components/package.json

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

7 changes: 7 additions & 0 deletions packages/@cloudkitect/components/project.json

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

0 comments on commit 984d36f

Please sign in to comment.