From 875e9541d6c760511b03a401d2cf18997d2855ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 17 Oct 2022 20:58:42 +0200 Subject: [PATCH] Downgrade rollup to 2.x to fix windows build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 2 -- package-lock.json | 17 ++++++++--------- package.json | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d62b62f..6c323a07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,8 @@ jobs: run: npm run lint continue-on-error: true - name: npm run build - if: "matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'" run: npm run build --if-present - name: npm test - if: "matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'" run: npm test - name: npm run coverage if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'" diff --git a/package-lock.json b/package-lock.json index bc6a1366..0c367beb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,7 +62,7 @@ "prettier": "^2.7.1", "release-it": "^15.5.0", "robohydra": "^0.6.9", - "rollup": "^3.2.2", + "rollup": "^2.79.1", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-delete": "^2.0.0", @@ -14105,16 +14105,15 @@ } }, "node_modules/rollup": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.2.2.tgz", - "integrity": "sha512-tw8NITEB/A8aa8F+mmIJ7fQ7Abej0R9ugR1ZzsCqb7P8HWVIVdneN69BMTDjhk0qbUsewDSJSDTcVuCTogs8JA==", + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", "dev": true, "bin": { "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=14.18.0", - "npm": ">=8.0.0" + "node": ">=10.0.0" }, "optionalDependencies": { "fsevents": "~2.3.2" @@ -28103,9 +28102,9 @@ } }, "rollup": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.2.2.tgz", - "integrity": "sha512-tw8NITEB/A8aa8F+mmIJ7fQ7Abej0R9ugR1ZzsCqb7P8HWVIVdneN69BMTDjhk0qbUsewDSJSDTcVuCTogs8JA==", + "version": "2.79.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", + "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", "dev": true, "requires": { "fsevents": "~2.3.2" diff --git a/package.json b/package.json index 0e102389..805a3b8b 100644 --- a/package.json +++ b/package.json @@ -130,7 +130,7 @@ "prettier": "^2.7.1", "release-it": "^15.5.0", "robohydra": "^0.6.9", - "rollup": "^3.2.2", + "rollup": "^2.79.1", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-delete": "^2.0.0", -- 2.34.1