Skip to content

Commit

Permalink
Change package paths in all locations, and add Maven and NuGet support.
Browse files Browse the repository at this point in the history
  • Loading branch information
lordjabez committed Jul 27, 2022
1 parent 2b03338 commit 09c6b0e
Show file tree
Hide file tree
Showing 9 changed files with 457 additions and 256 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/build.yml

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

68 changes: 68 additions & 0 deletions .github/workflows/release.yml

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

4 changes: 4 additions & 0 deletions .mergify.yml

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

24 changes: 24 additions & 0 deletions .projen/tasks.json

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

20 changes: 17 additions & 3 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { awscdk } = require('projen');


const project = new awscdk.AwsCdkConstructLibrary({
name: 'cdk-hyperledger-fabric-network',
name: '@cdklabs/cdk-hyperledger-fabric-network',
authorName: 'Amazon Web Services',
authorUrl: 'https://aws.amazon.com',
description: 'CDK construct to deploy a Hyperledger Fabric network running on Amazon Managed Blockchain',
Expand All @@ -20,6 +20,10 @@ const project = new awscdk.AwsCdkConstructLibrary({
allowedUsernames: ['cdklabs-automation'],
secret: 'GITHUB_TOKEN',
},
peerDeps: [
'constructs',
'aws-cdk-lib',
],
devDeps: [
'cdk-nag',
],
Expand All @@ -29,8 +33,18 @@ const project = new awscdk.AwsCdkConstructLibrary({
'.jsii',
],
publishToPypi: {
distName: 'cdk-hypderledger-fabric-network',
module: 'cdk_hyperledger_fabric_network',
distName: 'cdklabs.cdk-hypderledger-fabric-network',
module: 'cdklabs.cdk_hyperledger_fabric_network',
},
publishToMaven: {
javaPackage: 'io.github.cdklabs.cdkhypderledgerfabricnetwork',
mavenEndpoint: 'https://s01.oss.sonatype.org',
mavenArtifactId: 'cdk-hypderledger-fabric-network',
mavenGroupId: 'io.github.cdklabs',
},
publishToNuget: {
dotNetNamespace: 'Cdklabs.CdkHyperledgerFabricNetwork',
packageId: 'Cdklabs.CdkHyperledgerFabricNetwork',
},
keywords: [
'aws',
Expand Down
Loading

0 comments on commit 09c6b0e

Please sign in to comment.