-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(remix-vercel)!: remove Vercel adapter
- Loading branch information
1 parent
6175fce
commit a07ae17
Showing
31 changed files
with
36 additions
and
1,369 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@remix-run/vercel": major | ||
--- | ||
|
||
The `@remix-run/vercel` runtime adapter has been removed in favor of out of the box Vercel functionality. Please update | ||
your code by removing `@remix-run/vercel` & `@vercel/node` from your `package.json`, removing your | ||
`server.ts`/`server.js` file, and removing the `server` & `serverBuildPath` options from your `remix.config.js`. | ||
|
||
Due to the removal of this adapter, we also removed our [Vercel template][vercel-template] in favor of the | ||
[official Vercel template][official-vercel-template]. | ||
|
||
[vercel-template]: https://github.com/remix-run/remix/tree/main/templates/vercel | ||
[official-vercel-template]: https://github.com/vercel/vercel/tree/main/examples/remix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,6 @@ on: | |
required: true | ||
TEST_NETLIFY_TOKEN: | ||
required: true | ||
TEST_VERCEL_TOKEN: | ||
required: true | ||
TEST_VERCEL_USER_ID: | ||
required: true | ||
|
||
jobs: | ||
arc_deploy: | ||
|
@@ -257,39 +253,3 @@ jobs: | |
working-directory: ./scripts/deployment-test | ||
env: | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.TEST_NETLIFY_TOKEN }} | ||
|
||
vercel_deploy: | ||
name: "Vercel Deploy" | ||
if: github.repository == 'remix-run/remix' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: npm | ||
cache-dependency-path: ./scripts/deployment-test/package.json # no lockfile, key caching off package.json | ||
|
||
# some deployment targets require the latest version of npm | ||
# TODO: remove this eventually when the default version we get | ||
# is "latest" enough. | ||
- name: 📦 Install latest version of npm | ||
run: npm install -g npm@latest | ||
working-directory: ./scripts/deployment-test | ||
|
||
- name: 📥 Install deployment-test deps | ||
run: npm install | ||
working-directory: ./scripts/deployment-test | ||
|
||
- name: 🚀 Deploy to Vercel | ||
run: node ./vercel.mjs | ||
working-directory: ./scripts/deployment-test | ||
env: | ||
VERCEL_TOKEN: ${{ secrets.TEST_VERCEL_TOKEN }} | ||
VERCEL_ORG_ID: ${{ secrets.TEST_VERCEL_USER_ID }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.