Skip to content

Commit 3a52915

Browse files
authored
Merge pull request #172 from yicr/feature/rename-package-with-publish-to-pypi
feat: rename package with publish to pypi
2 parents 94deacf + 2110c44 commit 3a52915

File tree

8 files changed

+173
-78
lines changed

8 files changed

+173
-78
lines changed

.github/workflows/build.yml

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

.github/workflows/release.yml

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

.mergify.yml

Lines changed: 2 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: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
66
cdkVersion: '2.43.0',
77
defaultReleaseBranch: 'main',
88
projenrcTs: true,
9-
name: '@yicr/aws-secure-frontend-web-app-cloudfront-distribution',
9+
name: '@gammarer/aws-secure-frontend-web-app-cloudfront-distribution',
1010
description: 'AWS CloudFront distribution for frontend web app (spa) optimized.',
1111
repositoryUrl: 'https://github.com/yicr/aws-secure-frontend-web-app-cloudfront-distribution.git',
1212
keywords: ['aws', 'cdk', 'cloudfront', 'cdn', 'web', 'spa', 'vue', 'angular', 'react'],
@@ -23,5 +23,9 @@ const project = new awscdk.AwsCdkConstructLibrary({
2323
secret: 'GITHUB_TOKEN',
2424
allowedUsernames: ['yicr'],
2525
},
26+
publishToPypi: {
27+
distName: 'gammarer.aws-secure-frontend-web-app-cloudfront-distribution',
28+
module: 'gammarer.aws_secure_frontend_web_app_cloudfront_distribution',
29+
},
2630
});
2731
project.synth();

API.md

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

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,25 @@ AWS CloudFront distribution for frontend web app (spa) optimized.
77
### TypeScript
88

99
```shell
10-
npm install @yicr/aws-secure-frontend-web-app-cloudfront-distribution
10+
npm install @gammarer/aws-secure-frontend-web-app-cloudfront-distribution
11+
# or
12+
yarn add @gammarer/aws-secure-frontend-web-app-cloudfront-distribution
1113
```
12-
or
14+
15+
### Python
16+
1317
```shell
14-
yarn add @yicr/aws-secure-frontend-web-app-cloudfront-distribution
18+
pip install gammarer.aws-secure-frontend-web-app-cloudfront-distribution
1519
```
1620

1721
## Example
1822

1923
```shell
20-
npm install @yicr/aws-secure-frontend-web-app-cloudfront-distribution
24+
npm install @gammarer/aws-secure-frontend-web-app-cloudfront-distribution
2125
```
2226

2327
```typescript
24-
import { SecureFrontendWebAppCloudFrontDistribution } from '@yicr/aws-secure-frontend-web-app-cloudfront-distribution';
28+
import { SecureFrontendWebAppCloudFrontDistribution } from '@gammarer/aws-secure-frontend-web-app-cloudfront-distribution';
2529

2630
new SecureFrontendWebAppCloudFrontDistribution(stack, 'SecureFrontendWebAppCloudFrontDistribution', {
2731
accessLogBucket: new s3.Bucket(stack, 'LogBucket'),

package.json

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

0 commit comments

Comments
 (0)