From c26bc94e5fab466c01789f68f9a70dd8d4ba8a1b Mon Sep 17 00:00:00 2001 From: Rodrigo Jacznik Date: Mon, 5 Jun 2023 20:09:38 -0300 Subject: [PATCH 1/2] Agrega cross-env para que funcionen los e2e en win --- package-lock.json | 19 +++++++++++++++++++ package.json | 3 ++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 9e04e8d6..5200ff63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "@babel/preset-env": "^7.21.4", "@playwright/test": "^1.34.3", "babel-jest": "^29.5.0", + "cross-env": "^7.0.3", "eslint": "^8.42.0", "jest": "^29.5.0", "nodemon": "^2.0.22" @@ -3535,6 +3536,24 @@ "url": "https://opencollective.com/core-js" } }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", diff --git a/package.json b/package.json index 01529f1a..8bbbca29 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "src/cli.js", "scripts": { "test": "jest", - "test:e2e": "NODE_ENV=test playwright test ui.test", + "test:e2e": "cross-env NODE_ENV=test playwright test ui.test", "lint": "eslint", "dev": "nodemon src/server.js", "start": "node src/server.js", @@ -27,6 +27,7 @@ "@babel/preset-env": "^7.21.4", "@playwright/test": "^1.34.3", "babel-jest": "^29.5.0", + "cross-env": "^7.0.3", "eslint": "^8.42.0", "jest": "^29.5.0", "nodemon": "^2.0.22" From 6197f6f6652da4201e4917bf41f6103568089c54 Mon Sep 17 00:00:00 2001 From: Ivan D'Uva Date: Mon, 5 Jun 2023 20:16:15 -0300 Subject: [PATCH 2/2] =?UTF-8?q?Documentaci=C3=B3n=20para=20la=20versi?= =?UTF-8?q?=C3=B3n=20v1.3.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 10 ++++++++++ README.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb86d185..ada50587 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [1.3.1] 05-06-2023 + +### Added + +- Dependencia cross-env para correr tests e2e + +### Fixed + +- Problema al correr tests e2e en Windows + ## [1.3.0] 05-06-2023 ### Added diff --git a/README.md b/README.md index 54c8baf3..05604547 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ReCalc v1.3.0 +# ReCalc v1.3.1 Calculadora con funciones simples. diff --git a/package-lock.json b/package-lock.json index 5200ff63..424a9164 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "src", - "version": "1.3.0", + "version": "1.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "src", - "version": "1.3.0", + "version": "1.3.1", "license": "ISC", "dependencies": { "body-parser": "^1.20.2", diff --git a/package.json b/package.json index 8bbbca29..b2e27dd1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "src", - "version": "1.3.0", + "version": "1.3.1", "description": "", "main": "src/cli.js", "scripts": {