Skip to content

Commit 4c5ea5f

Browse files
chore: Apollo Rspack Federation
1 parent 1b027f6 commit 4c5ea5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nextjs-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"main": "index.js",
1111
"scripts": {
1212
"start": "pnpm --parallel --filter nextjs-react_* run dev",
13-
"e2e:ci": "pnpm start & wait-on http-get://localhost:3000/ && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/runAll.cy.ts\" --browser=chrome"
13+
"e2e:ci": "pnpm start & sleep 2 && wait-on http-get://localhost:3000/ && wait-on http-get://localhost:3001/ && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/runAll.cy.ts\" --browser=chrome"
1414
},
1515
"keywords": [],
1616
"author": "rahulteja-dev",

nextjs-ssr/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": " pnpm --parallel --filter nextjs-ssr_* dev",
99
"build": "pnpm --parallel --filter nextjs-ssr_* build",
1010
"serve": "pnpm --parallel --filter nextjs-ssr_* start",
11-
"e2e:ci": "pnpm run start & wait-on http-get://localhost:3001/ && wait-on http-get://localhost:3002/ && wait-on http-get://localhost:3000/ && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/*.cy.ts\" --browser=chrome"
11+
"e2e:ci": "pnpm run start & sleep 10 && wait-on http-get://localhost:3001/ && wait-on http-get://localhost:3002/ && wait-on http-get://localhost:3000/ && npx cypress run --config-file ../cypress-e2e/config/cypress.config.ts --config '{\"supportFile\": \"../cypress-e2e/support/e2e.ts\"}' --spec \"./e2e/*.cy.ts\" --browser=chrome"
1212
},
1313
"dependencies": {
1414
"concurrently": "^8.2.2",

0 commit comments

Comments
 (0)