From 04fd92a19ecc21d592088ccc5d3961df4ee041f9 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Thu, 31 Oct 2024 19:15:00 +0000 Subject: [PATCH 1/7] add main prereleases --- .github/workflows/pre-release.yml | 5 +++++ README.md | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index cff10d736..4bf713f81 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -6,6 +6,11 @@ on: - main paths: - packages/open-next/** + push: + branches: + - main + paths: + - packages/open-next/** jobs: release: diff --git a/README.md b/README.md index 020f4dff2..b7a93ffcf 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,15 @@ This will output A LOT of additional logs to the console. This also disable mini You can read more about the configuration in the [docs](https://opennext.js.org/aws/config) +## Preleases + +Every commit on main triggers a prerelease of the `@opennextjs/aws` package, so if you want to try the very latest version of the package before it is deployed to npm you can simply install the main prerelease via: + +```sh +npm i -D https://pkg.pr.new/@opennextjs/aws@main +``` + +(or your package manager's alternative) ## Contribute From 7d7f9c09feac8dac97bde0e68ca5ccf71e9ef3f8 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Thu, 31 Oct 2024 22:14:01 +0000 Subject: [PATCH 2/7] add experimental prerelease --- .github/workflows/pre-release.yml | 6 ++---- README.md | 14 +++++++------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 4bf713f81..96a56d054 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -2,13 +2,11 @@ name: Pre-release on: pull_request: - branches: - - main + branches: [main, experimental] paths: - packages/open-next/** push: - branches: - - main + branches: [main, experimental] paths: - packages/open-next/** diff --git a/README.md b/README.md index b7a93ffcf..8023f2cc7 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ OpenNext aims to support all Next.js 14 features. Some features are work in prog - [x] Image optimization - [x] [NextAuth.js](https://next-auth.js.org) - [x] Running at edge -- [x] [Almost no coldstart (*)](#coldstart) +- [x] [Almost no coldstart (\*)](#coldstart) ## Who is using OpenNext? @@ -58,13 +58,13 @@ You can read more about the configuration in the [docs](https://opennext.js.org/ ## Preleases -Every commit on main triggers a prerelease of the `@opennextjs/aws` package, so if you want to try the very latest version of the package before it is deployed to npm you can simply install the main prerelease via: +Besides the standard npm releases we also automatically publish prerelease packages on branch pushes (using [`pkg.pr.new`](https://github.com/stackblitz-labs/pkg.pr.new)): -```sh -npm i -D https://pkg.pr.new/@opennextjs/aws@main -``` - -(or your package manager's alternative) +- `https://pkg.pr.new/@opennextjs/aws@main`: + Updated with every push to the `main` branch, this prerelease contains the most up to date yet (reasonably) stable version of the package. +- `https://pkg.pr.new/@opennextjs/aws@experimental` + Updated with every push to the `experimental` branch (when present), this prerelease contains the latest experimental version of the package (containing features that we want to test/experiment on before committing to). + Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@main` ## Contribute From 998845bb266768cb2e5062c9aeec2de5601836c0 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 1 Nov 2024 09:43:14 +0000 Subject: [PATCH 3/7] Update README.md Co-authored-by: Victor Berchet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8023f2cc7..aebe74d6a 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Besides the standard npm releases we also automatically publish prerelease packa - `https://pkg.pr.new/@opennextjs/aws@main`: Updated with every push to the `main` branch, this prerelease contains the most up to date yet (reasonably) stable version of the package. - `https://pkg.pr.new/@opennextjs/aws@experimental` - Updated with every push to the `experimental` branch (when present), this prerelease contains the latest experimental version of the package (containing features that we want to test/experiment on before committing to). + Updated with every push to the `experimental` branch, this prerelease contains the latest experimental version of the package (containing features that we want to test/experiment on before committing to). Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@main` ## Contribute From 5f1507422b76e5428ecce57de84fe48acbb4e985 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 1 Nov 2024 09:43:37 +0000 Subject: [PATCH 4/7] Update README.md Co-authored-by: Victor Berchet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aebe74d6a..873e4f321 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Besides the standard npm releases we also automatically publish prerelease packa Updated with every push to the `main` branch, this prerelease contains the most up to date yet (reasonably) stable version of the package. - `https://pkg.pr.new/@opennextjs/aws@experimental` Updated with every push to the `experimental` branch, this prerelease contains the latest experimental version of the package (containing features that we want to test/experiment on before committing to). - Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@main` + Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@experimental` ## Contribute From 26d5b27f12c90297fca558e9be7c8da7af7ac091 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 1 Nov 2024 09:45:37 +0000 Subject: [PATCH 5/7] revert example branch name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 873e4f321..aebe74d6a 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Besides the standard npm releases we also automatically publish prerelease packa Updated with every push to the `main` branch, this prerelease contains the most up to date yet (reasonably) stable version of the package. - `https://pkg.pr.new/@opennextjs/aws@experimental` Updated with every push to the `experimental` branch, this prerelease contains the latest experimental version of the package (containing features that we want to test/experiment on before committing to). - Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@experimental` + Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@main` ## Contribute From 4cfcea50ca73a65edac6f70eb8db9d849e673e70 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 1 Nov 2024 09:48:50 +0000 Subject: [PATCH 6/7] separate example line --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aebe74d6a..f704fff92 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,8 @@ Besides the standard npm releases we also automatically publish prerelease packa Updated with every push to the `main` branch, this prerelease contains the most up to date yet (reasonably) stable version of the package. - `https://pkg.pr.new/@opennextjs/aws@experimental` Updated with every push to the `experimental` branch, this prerelease contains the latest experimental version of the package (containing features that we want to test/experiment on before committing to). - Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@main` + +Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@main` ## Contribute From a3cae9f9d234b6aea7f2a8b7d6806c30fefe4954 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 1 Nov 2024 09:50:13 +0000 Subject: [PATCH 7/7] use proper code block for example --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f704fff92..f01069cdd 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,11 @@ Besides the standard npm releases we also automatically publish prerelease packa - `https://pkg.pr.new/@opennextjs/aws@experimental` Updated with every push to the `experimental` branch, this prerelease contains the latest experimental version of the package (containing features that we want to test/experiment on before committing to). -Which you can simply install directly with your package manager of choice, for example: `npm i https://pkg.pr.new/@opennextjs/aws@main` +Which you can simply install directly with your package manager of choice, for example: + +```bash +npm i https://pkg.pr.new/@opennextjs/aws@main +``` ## Contribute