use pnpm commands

This commit is contained in:
Liam DeBeasi
2023-12-18 22:09:10 -05:00
parent 1a85f0e6c5
commit cd7563119b
8 changed files with 13 additions and 13 deletions

View File

@ -16,8 +16,8 @@
"prerender": "ng run test-app:prerender", "prerender": "ng run test-app:prerender",
"cy.open": "cypress open", "cy.open": "cypress open",
"cy.run": "cypress run", "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": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm 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.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^14.1.0", "@angular/animations": "^14.1.0",

View File

@ -16,8 +16,8 @@
"prerender": "ng run test-app:prerender", "prerender": "ng run test-app:prerender",
"cy.open": "cypress open", "cy.open": "cypress open",
"cy.run": "cypress run", "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": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm 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.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^15.0.0", "@angular/animations": "^15.0.0",

View File

@ -15,8 +15,8 @@
"prerender": "ng run test-app:prerender", "prerender": "ng run test-app:prerender",
"cy.open": "cypress open", "cy.open": "cypress open",
"cy.run": "cypress run", "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": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm 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.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^16.0.0", "@angular/animations": "^16.0.0",

View File

@ -15,8 +15,8 @@
"prerender": "ng run test-app:prerender", "prerender": "ng run test-app:prerender",
"cy.open": "cypress open", "cy.open": "cypress open",
"cy.run": "cypress run", "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": "concurrently \"pnpm run start -- --configuration production\" \"wait-on http-get://localhost:4200 && pnpm 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.watch": "concurrently \"pnpm run start\" \"wait-on http-get://localhost:4200 && pnpm run cy.open\" --kill-others --success first"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^17.0.2", "@angular/animations": "^17.0.2",

View File

@ -28,7 +28,7 @@
"test": "cypress open", "test": "cypress open",
"cypress": "node_modules/.bin/cypress run --headless --browser chrome", "cypress": "node_modules/.bin/cypress run --headless --browser chrome",
"cypress.open": "cypress open", "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" "sync": "sh ./scripts/sync.sh"
}, },
"eslintConfig": { "eslintConfig": {

View File

@ -25,7 +25,7 @@
"sync": "sh ./scripts/sync.sh", "sync": "sh ./scripts/sync.sh",
"cypress": "cypress run --headless --browser chrome", "cypress": "cypress run --headless --browser chrome",
"cypress.open": "cypress open", "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": { "eslintConfig": {
"extends": [ "extends": [

View File

@ -19,7 +19,7 @@
"sync": "sh ./scripts/sync.sh", "sync": "sh ./scripts/sync.sh",
"cypress": "cypress run --headless --browser chrome", "cypress": "cypress run --headless --browser chrome",
"cypress.open": "cypress open", "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": { "devDependencies": {
"@testing-library/jest-dom": "^5.16.5", "@testing-library/jest-dom": "^5.16.5",

View File

@ -8,11 +8,11 @@
"build": "vite build", "build": "vite build",
"serve": "vite preview", "serve": "vite preview",
"test:unit": "vitest", "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", "lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore --fix src",
"cypress": "node_modules/.bin/cypress run --headless --browser chrome", "cypress": "node_modules/.bin/cypress run --headless --browser chrome",
"cypress.open": "cypress open", "cypress.open": "cypress open",
"start": "npm run dev", "start": "pnpm run dev",
"sync": "sh ./scripts/sync.sh" "sync": "sh ./scripts/sync.sh"
}, },
"dependencies": { "dependencies": {