Skip to content

Commit

Permalink
Merge pull request #16 from cloudkitect/free-7
Browse files Browse the repository at this point in the history
fix: adding nuget release for patterns
  • Loading branch information
mtahir-cloudkitect authored Apr 18, 2024
2 parents 752a6b5 + a8d1ee9 commit a72c3d3
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 16 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/release_cloudkitect-patterns.yml

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

11 changes: 8 additions & 3 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,21 @@ const patterns = new AwsCdkConstructLibrary({
distName: 'cloudkitect.patterns',
module: 'cloudkitect.patterns'
},
publishToNuget: {
dotNetNamespace: 'CloudKitect.Patterns',
packageId: 'CloudKitect.Patterns'
}
});

patterns.addDeps(`${scope}/components@^1.3.3`)
patterns.addPeerDeps(`${scope}/components@^1.3.3`)
patterns.addDevDeps(`${scope}/components@1.3.3`)
patterns.addDeps(`${scope}/components@^1.4.0`)
patterns.addPeerDeps(`${scope}/components@^1.4.0`)
patterns.addDevDeps(`${scope}/components@1.4.0`)
patterns.synth();

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


const exclusions = ['.DS_Store', '.idea', '*.iml']
Expand Down
32 changes: 32 additions & 0 deletions packages/@cloudkitect/patterns/.github/workflows/build.yml

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

6 changes: 3 additions & 3 deletions packages/@cloudkitect/patterns/.projen/deps.json

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/patterns/.projen/tasks.json

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

11 changes: 8 additions & 3 deletions packages/@cloudkitect/patterns/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/patterns/project.json

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

14 changes: 7 additions & 7 deletions pnpm-lock.yaml

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

0 comments on commit a72c3d3

Please sign in to comment.