Skip to content

Commit

Permalink
feat: proxy via Lambda function urls
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingImer committed Jun 9, 2022
1 parent 281f097 commit 735db71
Show file tree
Hide file tree
Showing 19 changed files with 1,734 additions and 28 deletions.
1 change: 1 addition & 0 deletions .gitattributes

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

21 changes: 21 additions & 0 deletions .github/workflows/auto-approve.yml

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

4 changes: 4 additions & 0 deletions .github/workflows/build.yml

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

1 change: 1 addition & 0 deletions .github/workflows/upgrade-main.yml

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

5 changes: 5 additions & 0 deletions .gitignore

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

33 changes: 31 additions & 2 deletions .projen/deps.json

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

1 change: 1 addition & 0 deletions .projen/files.json

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

10 changes: 5 additions & 5 deletions .projen/tasks.json

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

31 changes: 28 additions & 3 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,39 @@ const { awscdk } = require('projen');
const project = new awscdk.AwsCdkConstructLibrary({
author: 'flyingImer',
authorAddress: '[email protected]',
cdkVersion: '2.1.0',
cdkVersion: '2.21.0',

autoApproveOptions: {
allowedUsernames: ['flyingImer'],
},

autoApproveUpgrades: true,

codeCov: true,

defaultReleaseBranch: 'main',
name: 'cdk-cors-proxy',
repositoryUrl: 'https://github.com/flyingImer/cdk-cors-proxy.git',
stability: 'experimental',

// deps: [], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
// devDeps: [], /* Build dependencies for this module. */
description: 'A proxy to make an endpoint CORS-compatible', /* The description is just a string that helps people understand the purpose of the package. */
devDeps: [
'@types/aws-lambda',
'@types/lodash.isstring',
'esbuild@0',
], /* Build dependencies for this module. */
bundledDeps: [
'axios',
'aws4-axios',
'lodash.isstring',
'pino',
],
// packageName: undefined, /* The "name" in package.json. */
});

project.tsconfigDev.addInclude('example/**/*.ts');
project.gitignore.exclude('**/*.bak');
project.gitignore.exclude('example/**/*.js', 'example/**/*.d.ts', 'example/cdk.out');

project.synth();
Loading

0 comments on commit 735db71

Please sign in to comment.