From cd7563119bb884ba44bd479c9ecf2859eca5dba9 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Mon, 18 Dec 2023 22:09:10 -0500 Subject: [PATCH] use pnpm commands --- packages/angular/test/apps/ng14/package.json | 4 ++-- packages/angular/test/apps/ng15/package.json | 4 ++-- packages/angular/test/apps/ng16/package.json | 4 ++-- packages/angular/test/apps/ng17/package.json | 4 ++-- packages/react-router/test/apps/reactrouter5/package.json | 2 +- packages/react/test/apps/react17/package.json | 2 +- packages/react/test/apps/react18/package.json | 2 +- packages/vue/test/apps/vue3/package.json | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/angular/test/apps/ng14/package.json b/packages/angular/test/apps/ng14/package.json index 012a6ed5d6..bb9e5892d5 100644 --- a/packages/angular/test/apps/ng14/package.json +++ b/packages/angular/test/apps/ng14/package.json @@ -16,8 +16,8 @@ "prerender": "ng run test-app:prerender", "cy.open": "cypress open", "cy.run": "cypress run", - "test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first", - "test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first" + "test": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm run cy.run\" --kill-others --success first", + "test.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first" }, "dependencies": { "@angular/animations": "^14.1.0", diff --git a/packages/angular/test/apps/ng15/package.json b/packages/angular/test/apps/ng15/package.json index ba4e031eda..cb2b5ac864 100644 --- a/packages/angular/test/apps/ng15/package.json +++ b/packages/angular/test/apps/ng15/package.json @@ -16,8 +16,8 @@ "prerender": "ng run test-app:prerender", "cy.open": "cypress open", "cy.run": "cypress run", - "test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first", - "test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first" + "test": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm run cy.run\" --kill-others --success first", + "test.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first" }, "dependencies": { "@angular/animations": "^15.0.0", diff --git a/packages/angular/test/apps/ng16/package.json b/packages/angular/test/apps/ng16/package.json index 54f6430664..cb88e0eb0e 100644 --- a/packages/angular/test/apps/ng16/package.json +++ b/packages/angular/test/apps/ng16/package.json @@ -15,8 +15,8 @@ "prerender": "ng run test-app:prerender", "cy.open": "cypress open", "cy.run": "cypress run", - "test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first", - "test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first" + "test": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm run cy.run\" --kill-others --success first", + "test.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first" }, "dependencies": { "@angular/animations": "^16.0.0", diff --git a/packages/angular/test/apps/ng17/package.json b/packages/angular/test/apps/ng17/package.json index d15111a55c..9510b3c77b 100644 --- a/packages/angular/test/apps/ng17/package.json +++ b/packages/angular/test/apps/ng17/package.json @@ -15,8 +15,8 @@ "prerender": "ng run test-app:prerender", "cy.open": "cypress open", "cy.run": "cypress run", - "test": "concurrently \"npm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && npm run cy.run\" --kill-others --success first", - "test.watch": "concurrently \"npm run start\" \"wait-on http-get://localhost:4200 && npm run cy.open\" --kill-others --success first" + "test": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm run cy.run\" --kill-others --success first", + "test.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first" }, "dependencies": { "@angular/animations": "^17.0.2", diff --git a/packages/react-router/test/apps/reactrouter5/package.json b/packages/react-router/test/apps/reactrouter5/package.json index 2c951e9056..90356b1775 100644 --- a/packages/react-router/test/apps/reactrouter5/package.json +++ b/packages/react-router/test/apps/reactrouter5/package.json @@ -28,7 +28,7 @@ "test": "cypress open", "cypress": "node_modules/.bin/cypress run --headless --browser chrome", "cypress.open": "cypress open", - "e2e": "concurrently \"serve -s build -l 3000\" \"wait-on http-get://localhost:3000 && npm run cypress\" --kill-others --success first", + "e2e": "concurrently \"serve -s build -l 3000\" \"wait-on http-get://localhost:3000 && pnpm run cypress\" --kill-others --success first", "sync": "sh ./scripts/sync.sh" }, "eslintConfig": { diff --git a/packages/react/test/apps/react17/package.json b/packages/react/test/apps/react17/package.json index b422123e31..65cd1739ca 100644 --- a/packages/react/test/apps/react17/package.json +++ b/packages/react/test/apps/react17/package.json @@ -25,7 +25,7 @@ "sync": "sh ./scripts/sync.sh", "cypress": "cypress run --headless --browser chrome", "cypress.open": "cypress open", - "e2e": "concurrently \"serve -s build -l 3000\" \"wait-on http-get://localhost:3000 && npm run cypress\" --kill-others --success first" + "e2e": "concurrently \"serve -s build -l 3000\" \"wait-on http-get://localhost:3000 && pnpm run cypress\" --kill-others --success first" }, "eslintConfig": { "extends": [ diff --git a/packages/react/test/apps/react18/package.json b/packages/react/test/apps/react18/package.json index 8a7520b493..f5782243ab 100644 --- a/packages/react/test/apps/react18/package.json +++ b/packages/react/test/apps/react18/package.json @@ -19,7 +19,7 @@ "sync": "sh ./scripts/sync.sh", "cypress": "cypress run --headless --browser chrome", "cypress.open": "cypress open", - "e2e": "concurrently \"serve -s dist -l 3000\" \"wait-on http-get://localhost:3000 && npm run cypress\" --kill-others --success first" + "e2e": "concurrently \"serve -s dist -l 3000\" \"wait-on http-get://localhost:3000 && pnpm run cypress\" --kill-others --success first" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.5", diff --git a/packages/vue/test/apps/vue3/package.json b/packages/vue/test/apps/vue3/package.json index f6a1e36054..8c24a1cf9a 100644 --- a/packages/vue/test/apps/vue3/package.json +++ b/packages/vue/test/apps/vue3/package.json @@ -8,11 +8,11 @@ "build": "vite build", "serve": "vite preview", "test:unit": "vitest", - "test:e2e": "concurrently \"npm run build && npm run serve\" \"wait-on http-get://localhost:8080 && npm run cypress\" --kill-others --success first", + "test:e2e": "concurrently \"pnpm run build && pnpm run serve\" \"wait-on http-get://localhost:8080 && pnpm run cypress\" --kill-others --success first", "lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore --fix src", "cypress": "node_modules/.bin/cypress run --headless --browser chrome", "cypress.open": "cypress open", - "start": "npm run dev", + "start": "pnpm run dev", "sync": "sh ./scripts/sync.sh" }, "dependencies": {