Skip to content

Commit

Permalink
feat: faster asset deployment (#137)
Browse files Browse the repository at this point in the history
* refactor: make open-next a peer dependency and use local installed version to build

* feat: faster deployment

* build: fix non existent exports

* fix: static assets temp dir; sqs policy; lambda function paths; invalidation physical resource id

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* fix: cloudfront invalidation

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* fix: nextjs-bucket-deployment custom resource lambda

* fix: nextjs-bucket-deployment to write correct paths to destination asset; don't use destination key prefix is not defined

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* refactor: remove unneeded tempBuildDir in NextjsDistribution

* fix: pnpm symlink issue by pre-archiving and using jszip int bucket deployment

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* refactor: simplify props

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* feat: add Revalidation Custom Resource

* fix: unzip buffer instead of string for binary file formats in bucket deployment

* fix: add revalidation url to server fn; add non bundled open-next output to server and revalidation fn

* fix: environment variable substitutions

* test: create e2e tests

* fix: update examples/README

* fix: undici types issue

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* fix: host header issue

* docs: add missing step to build packages

* docs: add more thorough quick start example

* fix: remove 'Building...', 'Finished...' logs which are confusing when destroying

* fix: Lambda Function URL IAM Auth host header issue

* docs: improve README on playwright e2e testing

* docs: add high-security example with fn url IAM_AUTH and cdk-nag

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

* docs: clarify pnpm monorepo symlinks doesn't apply to everyone

* docs: add to examples readme prerequisites for building cdk-nextjs-standalone

* docs: fix nextjsPath in example

Co-authored-by: Mischa Spiegelmock <[email protected]>

* chore: self mutation

Signed-off-by: github-actions <[email protected]>

---------

Signed-off-by: github-actions <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Mischa Spiegelmock <[email protected]>
  • Loading branch information
3 people authored Oct 2, 2023
1 parent 80ae07b commit 60da6e2
Show file tree
Hide file tree
Showing 82 changed files with 6,962 additions and 5,147 deletions.
18 changes: 9 additions & 9 deletions .eslintrc.json

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

2 changes: 1 addition & 1 deletion .gitattributes

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

6 changes: 3 additions & 3 deletions .github/workflows/build.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/pull-request-lint.yml

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

8 changes: 4 additions & 4 deletions .github/workflows/release.yml

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

6 changes: 3 additions & 3 deletions .github/workflows/upgrade-main.yml

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

3 changes: 2 additions & 1 deletion .gitignore

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

3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "open-next"]
path = open-next
url = https://github.com/sst/open-next.git
2 changes: 1 addition & 1 deletion .mergify.yml

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

3 changes: 2 additions & 1 deletion .npmignore

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

146 changes: 58 additions & 88 deletions .projen/deps.json

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

Loading

0 comments on commit 60da6e2

Please sign in to comment.