Skip to content

Commit

Permalink
fix deploy tests that patch node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Jun 13, 2024
1 parent d8f1a5d commit 19d85fc
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/deploy-tests-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"test/production/**/*.test.{t,j}s{,x}"
],
"exclude": [
"test/e2e/app-dir/scss/nm-module-nested/nm-module-nested.test.ts",
"test/e2e/cancel-request/stream-cancel.test.ts",
"test/e2e/new-link-behavior/material-ui.test.ts",
"test/e2e/react-dnd-compile/react-dnd-compile.test.ts",
Expand All @@ -33,25 +32,21 @@
"test/e2e/app-dir/rsc-webpack-loader/rsc-webpack-loader.test.ts",
"test/e2e/swc-warnings/index.test.ts",
"test/e2e/third-parties/index.test.ts",
"test/e2e/app-dir/app-routes-client-component/app-routes-client-component.test.ts",
"test/e2e/app-dir/app-routes/app-custom-route-base-path.test.ts",
"test/e2e/app-dir/mdx/mdx.test.ts",
"test/e2e/app-dir/modularizeimports/modularizeimports.test.ts",
"test/e2e/app-dir/third-parties/basic.test.ts",
"test/e2e/esm-externals/esm-externals.test.ts",
"test/e2e/app-dir/actions-navigation/index.test.ts",
"test/e2e/app-dir/app-static/app-static-custom-handler.test.ts",
"test/e2e/app-dir/options-request/options-request.test.ts",
"test/e2e/app-dir/revalidate-dynamic/revalidate-dynamic.test.ts",
"test/e2e/app-dir/scss/npm-import-nested/npm-import-nested.test.ts",
"test/e2e/app-dir/syntax-highlighter-crash/syntax-highlighter-crash.test.ts",
"test/e2e/new-link-behavior/stitches.test.ts",
"test/e2e/next-image-forward-ref/index.test.ts",
"test/e2e/react-compiler/react-compiler.test.ts",
"test/e2e/app-dir/i18n-hybrid/i18n-hybrid.test.js",
"test/e2e/app-dir/metadata/metadata.test.ts",
"test/e2e/app-dir/rsc-basic/rsc-basic.test.ts",
"test/e2e/app-dir/scss/nm-module/nm-module.test.ts",
"test/e2e/basepath.test.ts",
"test/e2e/postcss-config-cjs/index.test.ts",
"test/e2e/socket-io/index.test.js",
Expand Down
1 change: 1 addition & 0 deletions test/e2e/app-dir/app-routes-client-component/.vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!node_modules
4 changes: 4 additions & 0 deletions test/e2e/app-dir/app-routes-client-component/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"installCommand": "mv node_modules node_modules.bak && npm i",
"buildCommand": "cp -r node_modules.bak/* node_modules && npm run build"
}
1 change: 1 addition & 0 deletions test/e2e/app-dir/scss/nm-module-nested/.vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!node_modules
4 changes: 4 additions & 0 deletions test/e2e/app-dir/scss/nm-module-nested/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"installCommand": "mv node_modules node_modules.bak && npm i",
"buildCommand": "cp -r node_modules.bak/* node_modules && npm run build"
}
1 change: 1 addition & 0 deletions test/e2e/app-dir/scss/nm-module/.vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!node_modules
4 changes: 4 additions & 0 deletions test/e2e/app-dir/scss/nm-module/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"installCommand": "mv node_modules node_modules.bak && npm i",
"buildCommand": "cp -r node_modules.bak/* node_modules && npm run build"
}
1 change: 1 addition & 0 deletions test/e2e/app-dir/scss/npm-import-nested/.vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!node_modules
4 changes: 4 additions & 0 deletions test/e2e/app-dir/scss/npm-import-nested/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"installCommand": "mv node_modules node_modules.bak && npm i",
"buildCommand": "cp -r node_modules.bak/* node_modules && npm run build"
}
1 change: 1 addition & 0 deletions test/e2e/esm-externals/.vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!node_modules
4 changes: 4 additions & 0 deletions test/e2e/esm-externals/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"installCommand": "mv node_modules node_modules.bak && npm i",
"buildCommand": "cp -r node_modules.bak/* node_modules && npm run build"
}

0 comments on commit 19d85fc

Please # to comment.