Skip to content

Commit 435b816

Browse files
committed
chore: handle repo and package rename
repo: netlify/next-runtime → opennextjs/opennextjs-netlify npm package: @netlify/plugin-nextjs → @opennextjs/netlify
1 parent eba1610 commit 435b816

File tree

23 files changed

+49
-68
lines changed

23 files changed

+49
-68
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Before opening a pull request, ensure you've read our contributing guidelines, https://github.com/netlify/next-runtime/blob/main/CONTRIBUTING.md. -->
1+
<!-- Before opening a pull request, ensure you've read our contributing guidelines, https://github.com/opennextjs/opennextjs-netlify/blob/main/CONTRIBUTING.md. -->
22

33
## Description
44

.github/workflows/e2e-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
version=${version:-latest}
4444
OUTPUT_DIR="e2e-report/data"
4545
OUTPUT_FILENAME="test-results.json"
46-
echo "Downloading ${version} test results from run https://github.com/netlify/next-runtime/actions/runs/${{ steps.get-run-id.outputs.runId }}"
46+
echo "Downloading ${version} test results from run https://github.com/opennextjs/opennextjs-netlify/actions/runs/${{ steps.get-run-id.outputs.runId }}"
4747
rm "${OUTPUT_DIR}/${OUTPUT_FILENAME}"
4848
artifact_name="${version}-test-results.json"
4949
# NOTE: The artifact name is not necessarily the artifact *file* name. The file name here

.github/workflows/test-e2e.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ env:
3939
NETLIFY_SITE_ID: 1d5a5c76-d445-4ae5-b694-b0d3f2e2c395
4040
NEXT_TEST_CONTINUE_ON_ERROR: 1
4141
next-path: next.js
42-
runtime-path: next-runtime
42+
runtime-path: opennextjs-netlify
4343
GH_TOKEN: ${{ github.token }}
4444
jobs:
4545
setup:
@@ -136,7 +136,7 @@ jobs:
136136
uses: actions/cache@v4
137137
with:
138138
path: ${{ steps.npm-cache.outputs.PATH }}
139-
key: node-cache-${{ hashFiles('next-runtime/package-lock.json') }}
139+
key: node-cache-${{ hashFiles('opennextjs-netlify/package-lock.json') }}
140140
restore-keys: |
141141
node-cache-
142142
@@ -186,11 +186,11 @@ jobs:
186186
run: |
187187
# This is when the manifest version was changed
188188
if [ `npx semver -p -r ">=14.0.4-canary.26" ${{ matrix.version_spec.version }}` ]; then
189-
echo "filters=../next-runtime/tests/netlify-e2e.cjs" >> $GITHUB_OUTPUT
190-
echo "skip-retry=../next-runtime/tests/e2e-skip-retry.json" >> $GITHUB_OUTPUT
189+
echo "filters=../opennextjs-netlify/tests/netlify-e2e.cjs" >> $GITHUB_OUTPUT
190+
echo "skip-retry=../opennextjs-netlify/tests/e2e-skip-retry.json" >> $GITHUB_OUTPUT
191191
else
192-
echo "filters=../next-runtime/tests/netlify-e2e-legacy.json" >> $GITHUB_OUTPUT
193-
echo "skip-retry=../next-runtime/tests/e2e-skip-retry-legacy.json" >> $GITHUB_OUTPUT
192+
echo "filters=../opennextjs-netlify/tests/netlify-e2e-legacy.json" >> $GITHUB_OUTPUT
193+
echo "skip-retry=../opennextjs-netlify/tests/e2e-skip-retry-legacy.json" >> $GITHUB_OUTPUT
194194
fi
195195
196196
- name: run tests

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
🎉 Thanks for considering contributing to this project! 🎉
44

55
When contributing to this repository, please first discuss the change you wish to make via an
6-
[issue](https://github.com/netlify/next-runtime/issues/new/choose). Please use the issue templates.
7-
They are there to help you and to help the maintainers gather information.
6+
[issue](https://github.com/opennextjs/opennextjs-netlify/issues/new/choose). Please use the issue
7+
templates. They are there to help you and to help the maintainers gather information.
88

99
Before working on an issue, ask to be assigned to it. This makes it clear to other potential
1010
contributors that someone is working on the issue.
@@ -31,7 +31,7 @@ Make sure everything is correctly setup with:
3131
npm test
3232
```
3333

34-
## Lambda Folder structure:
34+
## Lambda Folder structure
3535

3636
For a simple next.js app
3737

@@ -96,7 +96,7 @@ given prefix, run `npm run pretest -- <prefix>`.
9696
The e2e tests can be invoked with `npm run e2e` and perform a full e2e test. This means they do the
9797
following:
9898

99-
1. Building the next-runtime (just running `npm run build` in the repository)
99+
1. Building the adapter (just running `npm run build` in the repository)
100100
2. Creating a temp directory and copying the provided fixture over to the directory.
101101
3. Packing the runtime with `npm pack` to the temp directory.
102102
4. Installing the runtime from the created zip artifact of `npm pack` (this is like installing a
@@ -147,8 +147,8 @@ Most common commit message prefixes are:
147147
## How to make a minimal reproduction
148148

149149
A reproducible test case is a small Next.js site built to demonstrate a problem - often this problem
150-
is caused by a bug in Next.js, next-runtime or user code. Your reproducible test case should contain
151-
the bare minimum features needed to clearly demonstrate the bug.
150+
is caused by a bug in Next.js, @opennextjs/netlify or user code. Your reproducible test case should
151+
contain the bare minimum features needed to clearly demonstrate the bug.
152152

153153
Steps to create a reproducible test case:
154154

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
# Next.js Runtime
44

55
<p align="center">
6-
<a aria-label="npm version" href="https://www.npmjs.com/package/@netlify/plugin-nextjs">
7-
<img alt="" src="https://img.shields.io/npm/v/@netlify/plugin-nextjs">
6+
<a aria-label="npm version" href="https://www.npmjs.com/package/@opennextjs/netlify">
7+
<img alt="" src="https://img.shields.io/npm/v/@opennextjs/netlify">
88
</a>
9-
<a aria-label="MIT License" href="https://img.shields.io/npm/l/@netlify/plugin-nextjs">
10-
<img alt="" src="https://img.shields.io/npm/l/@netlify/plugin-nextjs">
9+
<a aria-label="MIT License" href="https://img.shields.io/npm/l/@opennextjs/netlify">
10+
<img alt="" src="https://img.shields.io/npm/l/@opennextjs/netlify">
1111
</a>
1212
</p>
1313

@@ -37,21 +37,21 @@ manually in the following ways:
3737

3838
### From the UI (Recommended)
3939

40-
You can go to the [UI](https://app.netlify.com/plugins/@netlify/plugin-nextjs/install) and choose
41-
the site to install the Next.js Runtime on. This method is recommended because you will benefit from
40+
You can go to the [UI](https://app.netlify.com/plugins/@opennextjs/netlify/install) and choose the
41+
site to install the Next.js Runtime on. This method is recommended because you will benefit from
4242
auto-upgrades to important fixes and feature updates.
4343

4444
### From `npm`
4545

4646
```shell
47-
npm install -D @netlify/plugin-nextjs
47+
npm install -D @opennextjs/netlify
4848
```
4949

5050
...then add the following to your `netlify.toml` file:
5151

5252
```toml
5353
[[plugins]]
54-
package = "@netlify/plugin-nextjs"
54+
package = "@opennextjs/netlify"
5555
```
5656

5757
This method is recommended if you wish to pin the Next.js Runtime to a specific version.
@@ -72,7 +72,8 @@ To upgrade from v4 to v5, please visit
7272
## Feedback
7373

7474
If you think you have found a bug in Next.js on Netlify,
75-
[please open an issue](https://github.com/netlify/next-runtime/issues). If you have comments or
76-
feature requests, [see the discussion board](https://github.com/netlify/next-runtime/discussions)
75+
[please open an issue](https://github.com/opennextjs/opennextjs-netlify/issues). If you have
76+
comments or feature requests,
77+
[see the discussion board](https://github.com/opennextjs/opennextjs-netlify/discussions)
7778

7879
Please note that v4 will only receive security fixes and critical bug fixes.

e2e-report/netlify.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22
base = "e2e-report/"
33
command = "next build"
44
publish = ".next"
5-
6-
[[plugins]]
7-
package = "@netlify/plugin-nextjs"

e2e-report/package-lock.json

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

e2e-report/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@netlify/plugin-nextjs": "^5.8.1",
1312
"next": "^14.2.3",
1413
"react": "^18.3.1",
1514
"react-dom": "^18.3.1"

manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
name: '@netlify/plugin-nextjs'
1+
name: '@opennextjs/netlify'

package-lock.json

Lines changed: 2 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)