Skip to content

Commit

Permalink
Merge pull request #41 from yicr/feature/change-deps-version-with-pub…
Browse files Browse the repository at this point in the history
…lish-to-pypi-and-maven

feat: change deps version with publish to pypi and maven
  • Loading branch information
yicr authored Sep 11, 2023
2 parents a88f87d + 05cab3c commit 9f402f8
Show file tree
Hide file tree
Showing 11 changed files with 423 additions and 163 deletions.
61 changes: 59 additions & 2 deletions .github/workflows/build.yml

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

81 changes: 78 additions & 3 deletions .github/workflows/release.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/upgrade-main.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.

28 changes: 8 additions & 20 deletions .projen/deps.json

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

30 changes: 27 additions & 3 deletions .projen/tasks.json

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

16 changes: 15 additions & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@ import { awscdk, javascript } from 'projen';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'yicr',
authorAddress: 'yicr@users.noreply.github.com',
cdkVersion: '2.62.0',
cdkVersion: '2.80.0',
typescriptVersion: '4.9.x',
jsiiVersion: '~5.0.0',
defaultReleaseBranch: 'main',
name: '@gammarer/aws-waf-ip-restriction-rule-group',
description: 'This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2',
projenrcTs: true,
repositoryUrl: 'https://github.com/yicr/aws-waf-ip-restriction-rule-group.git',
npmAccess: javascript.NpmAccess.PUBLIC,
minNodeVersion: '16.0.0',
workflowNodeVersion: '18.17.1',
depsUpgradeOptions: {
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
Expand All @@ -19,5 +23,15 @@ const project = new awscdk.AwsCdkConstructLibrary({
secret: 'GITHUB_TOKEN',
allowedUsernames: ['yicr'],
},
publishToPypi: {
distName: 'gammarer.aws-waf-ip-restriction-rule-group',
module: 'gammarer.aws_waf_ip_restriction_rule_group',
},
publishToMaven: {
mavenGroupId: 'com.gammarer',
javaPackage: 'com.gammarer.cdk.aws.waf_ip_restriction_rule_group',
mavenArtifactId: 'aws-waf-ip-restriction-rule-group',
mavenEndpoint: 'https://s01.oss.sonatype.org',
},
});
project.synth();
Loading

0 comments on commit 9f402f8

Please sign in to comment.