From 887b6c8213d7a80cf87c8e3199f4f59d80a4df29 Mon Sep 17 00:00:00 2001 From: Pl217 Date: Wed, 17 Apr 2024 11:18:00 +0200 Subject: [PATCH 1/2] HPC-9272: Update to Nx 18.3 This commit is generated by running the following command: `npx nx migrate 18.3.0` Unlike when doing major version upgrades, `nx migrate` command didn't generate `migrations.json` file this time --- package-lock.json | 368 +++++++++++++++++++++++----------------------- package.json | 24 +-- 2 files changed, 196 insertions(+), 196 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b343b7f3..2a715bcbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,17 +15,17 @@ "@babel/preset-typescript": "7.21.4", "@mui/material": "^5.12.2", "@mui/styled-engine-sc": "^5.12.0", - "@nx/cypress": "18.2.4", - "@nx/eslint": "18.2.4", - "@nx/eslint-plugin": "18.2.4", - "@nx/express": "18.2.4", - "@nx/jest": "18.2.4", - "@nx/js": "18.2.4", - "@nx/node": "18.2.4", - "@nx/react": "18.2.4", - "@nx/web": "18.2.4", - "@nx/webpack": "18.2.4", - "@nx/workspace": "18.2.4", + "@nx/cypress": "18.3.0", + "@nx/eslint": "18.3.0", + "@nx/eslint-plugin": "18.3.0", + "@nx/express": "18.3.0", + "@nx/jest": "18.3.0", + "@nx/js": "18.3.0", + "@nx/node": "18.3.0", + "@nx/react": "18.3.0", + "@nx/web": "18.3.0", + "@nx/webpack": "18.3.0", + "@nx/workspace": "18.3.0", "@pmmmwh/react-refresh-webpack-plugin": "0.5.10", "@testing-library/react": "14.0.0", "@types/express": "4.17.17", @@ -63,7 +63,7 @@ "io-ts": "^2.2.20", "jest": "29.5.0", "lint-staged": "15.0.2", - "nx": "18.2.4", + "nx": "18.3.0", "oidc-client": "^1.11.5", "prettier": "3.0.3", "react": "18.2.0", @@ -3683,84 +3683,84 @@ } }, "node_modules/@nrwl/cypress": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/cypress/-/cypress-18.2.4.tgz", - "integrity": "sha512-lU1/JADUic3yU5MpjLlwcILwaw642lzCPT1aAdDuJIvwFeSor/OJnSlMBvivu0VuUBP2k6F203gdgVUFtCtHeA==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/cypress/-/cypress-18.3.0.tgz", + "integrity": "sha512-bSzHKqjx7De+Ax0zTX5z8VHii5uLLSxzSIqh9lJET1leZkwtoGhe9MWdXYrfeJaTp+xV6DJAA11Rg1SWn2SInQ==", "dev": true, "dependencies": { - "@nx/cypress": "18.2.4" + "@nx/cypress": "18.3.0" } }, "node_modules/@nrwl/devkit": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-18.2.4.tgz", - "integrity": "sha512-dLK8MMb3eEFWlhtI1kNDNbWIT1Xbrgg3eAQ+Ix/N5JDbxJkJhE28WsIJgQb1NTwe/N87O5JtOpxz4/TsSLJCsQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-18.3.0.tgz", + "integrity": "sha512-JA6NJTAxxz+zZtS/jzeUMVdgXXjmWTuG8NdqJ70OxKok570afHxZSCjR32cWWmoCJRS4ASM2UpL/3292zk1wsQ==", "dev": true, "dependencies": { - "@nx/devkit": "18.2.4" + "@nx/devkit": "18.3.0" } }, "node_modules/@nrwl/eslint-plugin-nx": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-18.2.4.tgz", - "integrity": "sha512-hRHXkD9eAw9METYnlQiJUMNX04ofWN457JDhOMTvO1ympBO9pzKOT5XNX1oPcuiXpkYEIQRJxfPmoAhckbld8w==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-18.3.0.tgz", + "integrity": "sha512-I+1dnG2xsHpD5ii2Ow58piXC95ob9rRZ6Yf0JfFed4sKxq6ntArdDeGpM4tCSNZvpRpR9kUi9UMaQA5JoLm8Jw==", "dev": true, "dependencies": { - "@nx/eslint-plugin": "18.2.4" + "@nx/eslint-plugin": "18.3.0" } }, "node_modules/@nrwl/express": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/express/-/express-18.2.4.tgz", - "integrity": "sha512-DZ0qIaBJ8BpDxKu8C34xwW87B9Ijvk9u3s27AYcusfhAWZYyLEO+InvbtxnRZBnI+tCmMQwNNlfd/pNrcCggYw==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/express/-/express-18.3.0.tgz", + "integrity": "sha512-iolRrnAeVPaNFl3tc1Pp5A/MqPKN6AcF/FBWA9Et1PNQWWayCTF2pdSn7qFRwlIqYS3JecD9SQ46eKRK1gy66Q==", "dev": true, "dependencies": { - "@nx/express": "18.2.4" + "@nx/express": "18.3.0" } }, "node_modules/@nrwl/jest": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/jest/-/jest-18.2.4.tgz", - "integrity": "sha512-MGXmh/ZiT/C9GCMnI3hAGw9uKbR5W+ZjEUen6/2WkOglZvDaz40obI83PJTnK7XzcqUDzFAmWi3Y5eDSQxDvWQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/jest/-/jest-18.3.0.tgz", + "integrity": "sha512-u1iGqhLedfmxXzJEWsAXUIgF8sQXzj8DTqLp6NUN8mJfPYCQjVOQirwl4lcNhs0gTvIgqr3wGIHo33ixyjMjFw==", "dev": true, "dependencies": { - "@nx/jest": "18.2.4" + "@nx/jest": "18.3.0" } }, "node_modules/@nrwl/js": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/js/-/js-18.2.4.tgz", - "integrity": "sha512-/NZUOoR13BdKsuuuusNXH9wUDpWuPHIvHAQiI0hF16mmQOBJb+xz5M81+AtyTfF4ITKaMn+RV12mLesfo3zwxg==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/js/-/js-18.3.0.tgz", + "integrity": "sha512-sLQGUkFY/9spMqe3EvkTRh9iDqIZ65HLYALaaK5RyH5z7ctXwZGgDTwvCpO9r/jEIyE1inxUNzqbYl66R7qEdQ==", "dev": true, "dependencies": { - "@nx/js": "18.2.4" + "@nx/js": "18.3.0" } }, "node_modules/@nrwl/node": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/node/-/node-18.2.4.tgz", - "integrity": "sha512-Q54R6GFU30THgp8uQ/BZ8PKH1C+h0qQQefEb0tdCseTCuEmHAXsTMC/EF4leKqpftt8ZeeXKeKhglfbzDeR/Cg==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/node/-/node-18.3.0.tgz", + "integrity": "sha512-N5PVvXJBycvKXqLRC1R5+WXniuynQgBHjyNOZzu9/R+yIrqbwuA+MjptpVHLGqCTtIgykPd2LUhmI6SHLrlZrQ==", "dev": true, "dependencies": { - "@nx/node": "18.2.4" + "@nx/node": "18.3.0" } }, "node_modules/@nrwl/react": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/react/-/react-18.2.4.tgz", - "integrity": "sha512-2DP+92mEJlRqHNEhVgzNLTbAvy2Y3l0s5NAuMxj/OVWWWkfWEo8VChArOeUMFWJUVx1bLHdVUPdgXcpCooy0mA==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/react/-/react-18.3.0.tgz", + "integrity": "sha512-0zq3eAMeNGG5/iLNcaZH1cW+eJHe5l3/KSrOR6tFppeKtu/2JHT+vWnVS5uyZqo378ti10YpcukY7k5gdt4oCg==", "dev": true, "dependencies": { - "@nx/react": "18.2.4" + "@nx/react": "18.3.0" } }, "node_modules/@nrwl/tao": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-18.2.4.tgz", - "integrity": "sha512-kgJwZ26F+AzvFXaW5eh1g4HLntPcJ6+EE7JyEvrdRzpw7KxTqWy6Ql7dYys6zGlpP4c3PbsXwdc7tGM3Df2PNg==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-18.3.0.tgz", + "integrity": "sha512-M0m0QRiW7N+f+N+ey/gobPLYzUn932obMXDnb+6ImLsqRunFndd7YKHXUMf+y1441w7OXI5owTjE5bEKxZjOow==", "dev": true, "dependencies": { - "nx": "18.2.4", + "nx": "18.3.0", "tslib": "^2.3.0" }, "bin": { @@ -3768,42 +3768,42 @@ } }, "node_modules/@nrwl/web": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/web/-/web-18.2.4.tgz", - "integrity": "sha512-Sew9Wpo9aWSgcvrW4OTejnLpk/QlnqmfUmfHOG4gdnn4p8XNLAYEASH1OqFf5f+wPrTUm/iUjc/iQAyumkQijQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/web/-/web-18.3.0.tgz", + "integrity": "sha512-e3IA905VOXAm3behYIeBW6Yi9YZeNxya+RWe5kFYFR+wg/JdGNF+NrFv6IYzzY9PFo2wn0ubOrNdnCXMVz1UHA==", "dev": true, "dependencies": { - "@nx/web": "18.2.4" + "@nx/web": "18.3.0" } }, "node_modules/@nrwl/webpack": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/webpack/-/webpack-18.2.4.tgz", - "integrity": "sha512-1d6AABU8WeUoFGc/WMqLuFch0wm11mLSQNzsXHC7jgptwb0yZ52F7Y0ak7CtwniGLMcmU8PEGPFh9ow7uHb8Rw==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/webpack/-/webpack-18.3.0.tgz", + "integrity": "sha512-79BUpNWnDDFxd6Eoc0Q+i3WE9Fjnpjt7LIC9d52Aw6RYSv1yQLZ2D1gB9kIQo8xQrN8E5NlLZ9gwTRWYLGv+Uw==", "dev": true, "dependencies": { - "@nx/webpack": "18.2.4" + "@nx/webpack": "18.3.0" } }, "node_modules/@nrwl/workspace": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nrwl/workspace/-/workspace-18.2.4.tgz", - "integrity": "sha512-rlKDKyqwd8IFWwGFhJ0/KW0P+ae6gQEwzpF9P91DLC1BAEJt9gOA0GLKNy7XyhoPX2EvXg/GwDRGMqGxqKnFuQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nrwl/workspace/-/workspace-18.3.0.tgz", + "integrity": "sha512-u0TlW2EcISfGaWug89MqCCD7DUeRfjtVnBHqbO3y3Oj19TB3QUNPhnfB/5Z+xybtAqn+bLRWZt2kpW8R5cVchQ==", "dev": true, "dependencies": { - "@nx/workspace": "18.2.4" + "@nx/workspace": "18.3.0" } }, "node_modules/@nx/cypress": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/cypress/-/cypress-18.2.4.tgz", - "integrity": "sha512-Z89Lhtklj3VWxyxl01dofmgVzHwlHt2FDpnC4KKjAWYxfVTo3p0LYtFpTxbS/geDtiGsJsj+I9LMaBcEGJ3vJQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/cypress/-/cypress-18.3.0.tgz", + "integrity": "sha512-zA3FyOe3A+TmHueVWqHaAien//FhADjwUXnvRlFun/+zGZeM/07clVaZnGMBgNttLbPuWE0HBQ4KnBXRC57bSA==", "dev": true, "dependencies": { - "@nrwl/cypress": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/eslint": "18.2.4", - "@nx/js": "18.2.4", + "@nrwl/cypress": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/eslint": "18.3.0", + "@nx/js": "18.3.0", "@phenomnomnominal/tsquery": "~5.0.1", "detect-port": "^1.5.1", "semver": "^7.5.3", @@ -3819,12 +3819,12 @@ } }, "node_modules/@nx/devkit": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-18.2.4.tgz", - "integrity": "sha512-Ws3BcA/aeXuwsCQ5e7PYy2H7DswareTOEfgs7izxNyGugpydktVH9DZZTOFNDsc06yzgvyTucDbDQ+JsrJ9PcQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-18.3.0.tgz", + "integrity": "sha512-SgPPk+S8cEjNOzcvGiRPlNqAJVuPnspNrqFmBZ/ddBXQfhuS/TCr8Zi4MWEct45zd439acWDsuUVFoCxT51q4g==", "dev": true, "dependencies": { - "@nrwl/devkit": "18.2.4", + "@nrwl/devkit": "18.3.0", "ejs": "^3.1.7", "enquirer": "~2.3.6", "ignore": "^5.0.4", @@ -3834,18 +3834,18 @@ "yargs-parser": "21.1.1" }, "peerDependencies": { - "nx": ">= 16 <= 18" + "nx": ">= 16 <= 19" } }, "node_modules/@nx/eslint": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/eslint/-/eslint-18.2.4.tgz", - "integrity": "sha512-FTsy+5OlWgrbT3vtAnk5HxAsgIwvIbJhNz8zUMdiILfl7HPNIMA4rPUP7zEPPl+MnYSZVZ/fKooDje/uWiRGhg==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/eslint/-/eslint-18.3.0.tgz", + "integrity": "sha512-inoFmDIycUsmIRY/iIQLxLKyJbdifyqYrsG/Hq6zmxsJOF6Q2R/Y88Zf9KET7EmN9+UEzBk70p4m8hOMVrC9eQ==", "dev": true, "dependencies": { - "@nx/devkit": "18.2.4", - "@nx/js": "18.2.4", - "@nx/linter": "18.2.4", + "@nx/devkit": "18.3.0", + "@nx/js": "18.3.0", + "@nx/linter": "18.3.0", "eslint": "^8.0.0", "tslib": "^2.3.0", "typescript": "~5.4.2" @@ -3860,14 +3860,14 @@ } }, "node_modules/@nx/eslint-plugin": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/eslint-plugin/-/eslint-plugin-18.2.4.tgz", - "integrity": "sha512-FxWu8aZITz8dBNsNyaCUAHq9X7W0782ReQD6pqHxX6q19G4PiqphE4DtivNwotBYoDsnYqWZII68tBGIIn3h6w==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/eslint-plugin/-/eslint-plugin-18.3.0.tgz", + "integrity": "sha512-IAJ3I9G811uSmkJ2K3pGg1bsesm5AJW6u1zR5ie1C4qYO2ujhMhAcBXI9P/JUgY2WlO8EoH41PhRx4XUF29ttQ==", "dev": true, "dependencies": { - "@nrwl/eslint-plugin-nx": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/js": "18.2.4", + "@nrwl/eslint-plugin-nx": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/js": "18.3.0", "@typescript-eslint/type-utils": "^7.3.0", "@typescript-eslint/utils": "^7.3.0", "chalk": "^4.1.0", @@ -3916,14 +3916,14 @@ } }, "node_modules/@nx/express": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/express/-/express-18.2.4.tgz", - "integrity": "sha512-/h6mIPTiDGDUv/tWJNj10mmgsEUg+9WxB/p1VcMDK8FiQVN+1Xhd89ozFhjPRnzgaPedkiDXbdwwmL71bJg3bg==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/express/-/express-18.3.0.tgz", + "integrity": "sha512-N9XLaI3LU5aMIgGPiSq/OgA7J36RjLnZCrUQuIERV9whRNpkt72rBfjiHPIp5AuiExSmfXOQWV/yEb+WEA7Qcw==", "dev": true, "dependencies": { - "@nrwl/express": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/node": "18.2.4", + "@nrwl/express": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/node": "18.3.0", "tslib": "^2.3.0" }, "peerDependencies": { @@ -3936,16 +3936,16 @@ } }, "node_modules/@nx/jest": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/jest/-/jest-18.2.4.tgz", - "integrity": "sha512-rG3QtWOjkZnix6gu7CxUP3Wpnm7N/ynoOF1SGJAEm254m0YX7mlhyQA74TlXSvNiM5P9wT9NFvVhJDt8rePqwQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/jest/-/jest-18.3.0.tgz", + "integrity": "sha512-QsawUa3OIXCV+r/fxUJCzGKEbDqDKNEsC/wYCDKl48vJEU6+KEwRUZp604mIhvP4N377DwT9JGSzOEwaSPcKbg==", "dev": true, "dependencies": { "@jest/reporters": "^29.4.1", "@jest/test-result": "^29.4.1", - "@nrwl/jest": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/js": "18.2.4", + "@nrwl/jest": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/js": "18.3.0", "@phenomnomnominal/tsquery": "~5.0.1", "chalk": "^4.1.0", "identity-obj-proxy": "3.0.0", @@ -3999,9 +3999,9 @@ } }, "node_modules/@nx/js": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/js/-/js-18.2.4.tgz", - "integrity": "sha512-ZZ32tSmd9ZvQ95AeFCCG4mvvbwbqTVB1qHwvpTfkTDPt41Ich+ITf3ugavtIpp/T47yP2KszJWBzTOH3UxlIqQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/js/-/js-18.3.0.tgz", + "integrity": "sha512-ApxC3FdZ9ATnE6Qz932B3/L9ZqdI6pIxB+1R5J/jMK/InNlPnNStGp1+dGe5J3aQ0nWusSW9I+FjpqRMTZazvw==", "dev": true, "dependencies": { "@babel/core": "^7.23.2", @@ -4011,9 +4011,9 @@ "@babel/preset-env": "^7.23.2", "@babel/preset-typescript": "^7.22.5", "@babel/runtime": "^7.22.6", - "@nrwl/js": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/workspace": "18.2.4", + "@nrwl/js": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/workspace": "18.3.0", "@phenomnomnominal/tsquery": "~5.0.1", "babel-plugin-const-enum": "^1.0.1", "babel-plugin-macros": "^2.8.0", @@ -4394,32 +4394,32 @@ } }, "node_modules/@nx/linter": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/linter/-/linter-18.2.4.tgz", - "integrity": "sha512-hCwQASz2RYwhifqRU5fP7t/xM/sBHhACeY/0mJC1F+ULIgJaTS1hP2foadrPjK7ROJRDI3tfOKo+k5kDlzEWmQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/linter/-/linter-18.3.0.tgz", + "integrity": "sha512-ydTP8MFNE+KzWvIVxg7IJIMcjkt02ehwyudnkirEu5hFOUY6uA/ZQtOEk7y2ESDuF19LR11wVHPaeeSCG94Cbg==", "dev": true, "dependencies": { - "@nx/eslint": "18.2.4" + "@nx/eslint": "18.3.0" } }, "node_modules/@nx/node": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/node/-/node-18.2.4.tgz", - "integrity": "sha512-8B/Vl4S09QDsjxRurxtjT/QiDnGeXOR0A0wjGaBecRfVwJhjMXn2yUE3eizV8ZpAHMXNbHVGR+B7zLLiLHSS9w==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/node/-/node-18.3.0.tgz", + "integrity": "sha512-zUUdIalE5lTHdubBPUpmyGXPh7rUxlJgo/8qiF+0uve2PTn/bsL+wYlClhdzYT73m0AUOPFL8wh4dEF2LPGD+w==", "dev": true, "dependencies": { - "@nrwl/node": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/eslint": "18.2.4", - "@nx/jest": "18.2.4", - "@nx/js": "18.2.4", + "@nrwl/node": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/eslint": "18.3.0", + "@nx/jest": "18.3.0", + "@nx/js": "18.3.0", "tslib": "^2.3.0" } }, "node_modules/@nx/nx-darwin-arm64": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-18.2.4.tgz", - "integrity": "sha512-RYhMImghdyHmwnbNoR2CkLz4Opj9EmuHY3lMfsorg+T4wIOql/iXACrqjnreN7Hy9myJDo1EIbYZ4x8VSxFWtA==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-18.3.0.tgz", + "integrity": "sha512-zei4C7nSCAzhigAX+3wLcHg1bokTsa/qo2OElkBiHAxs3FF7nqMLAuk0WFYi3nkvXTgiN1uEl0mOni+JPKV2vA==", "cpu": [ "arm64" ], @@ -4433,9 +4433,9 @@ } }, "node_modules/@nx/nx-darwin-x64": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-18.2.4.tgz", - "integrity": "sha512-2mXMslSRD/ZoI/oaX+0Mh9J/hucXtNgdwC4YFbp1u8UKquAaQ6hf4uo0s4i+AfLX0F7roMtkFPaG/+MQUJE1Rw==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-18.3.0.tgz", + "integrity": "sha512-nww//ea6WEfDTnqbdbCinWRhjyUJkSSnW9QgBh/Brt6DevZ7TFWfGdxD+s45pmMLFTFMgRjptRJrW/WhgmDAGg==", "cpu": [ "x64" ], @@ -4449,9 +4449,9 @@ } }, "node_modules/@nx/nx-freebsd-x64": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-18.2.4.tgz", - "integrity": "sha512-QUiYLvyUT0PS7D8erf49xa1Jyw4Gfev5gtYfME34Twmn/JPx/99ZkBG4wHbzLqRGwlO5K6m6P4qs30Pzfwtw7A==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-18.3.0.tgz", + "integrity": "sha512-u+XB6NQcsi7u3zhdhgJK9ZaUkzXl52WNgtDoG/6tsmbh10plypGnw+yPSKYMqv3HDzqDA76hliIFoedDbZmHFQ==", "cpu": [ "x64" ], @@ -4465,9 +4465,9 @@ } }, "node_modules/@nx/nx-linux-arm-gnueabihf": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-18.2.4.tgz", - "integrity": "sha512-+fjFciSUhvDV8dPa97Brwb83k3Xa4gHPI2Un8wlpp28Cv4horeGruRZrrifR1VmD2wp2UBIMl5n7YsDP8KvYhQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-18.3.0.tgz", + "integrity": "sha512-nsjiJDq2B2m9NN7shJ8z/4A7bFUYGJdxk1RR6hVXY75Kpbh3HGh+fdKJrpqRzYUUmqxW/X7TRG2UD6T5lnNjWA==", "cpu": [ "arm" ], @@ -4481,9 +4481,9 @@ } }, "node_modules/@nx/nx-linux-arm64-gnu": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-18.2.4.tgz", - "integrity": "sha512-lfaTc+AvV56Uv5mXROiRwh2REiI/7IsqeRDfL+prcuuvJ5Oxi2wYVgnmqcHL+ryQnk0Qn7/d+j/BmYHX5Ve5jQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-18.3.0.tgz", + "integrity": "sha512-baY3U0PudlAXHDzkJ+KdSfIcfFGKuBYXIXR1M18+Syq1kD9HDZ+sRVmosYpxVghrncN4UrcNvF/H7lgZo9x24Q==", "cpu": [ "arm64" ], @@ -4497,9 +4497,9 @@ } }, "node_modules/@nx/nx-linux-arm64-musl": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-18.2.4.tgz", - "integrity": "sha512-U6eoLTQmbxUWU9kZxx6hsYN4zmmOrsDDeW+i3aj5aeahfYlmyz6TsT0V3FSB70WGJC5aMVgEi4RkntQMKkm5vQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-18.3.0.tgz", + "integrity": "sha512-nuKU4ehdKThq+Tzph2KXz2p39oBv8IrJQBONSAFzJ4zS0E/rNk2fKBeTBoqn1Psh2sNMYM8ZdlvxFK7pBmStQg==", "cpu": [ "arm64" ], @@ -4513,9 +4513,9 @@ } }, "node_modules/@nx/nx-linux-x64-gnu": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-18.2.4.tgz", - "integrity": "sha512-q8WcJhmcRNORkKjax6WcUwMJe/1mQs+RYlUkGqmi7tD7lfcLSqdLPJVjqVmQAwmy1Wh/MHPsbqRwSerUnCxB1A==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-18.3.0.tgz", + "integrity": "sha512-Pm7Q1hjKBJ3DFfnCLAtJVm13SkIushO3rPUdsDg5xZzOp59igNxrX2wJlwfi7U8dZMEZUPG0N1BIR3o7eEBxpQ==", "cpu": [ "x64" ], @@ -4529,9 +4529,9 @@ } }, "node_modules/@nx/nx-linux-x64-musl": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-18.2.4.tgz", - "integrity": "sha512-0MDuoPgHa6kkBrjg7hwZ2qQivhJbh3lk7r3q4osDrqZcGxq5XVJqeAmYFyChQy4dbQfUm4hhYkEfzpU8M2lnvQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-18.3.0.tgz", + "integrity": "sha512-VrspyfjIto0PtAqpjG3k8ueWsnqIOUp1gXBmlzYw0N4mjPldlhb258q1Kqyt1ykWLW79TqCjPblC6xHuOciKzQ==", "cpu": [ "x64" ], @@ -4545,9 +4545,9 @@ } }, "node_modules/@nx/nx-win32-arm64-msvc": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-18.2.4.tgz", - "integrity": "sha512-uLhSRtfnXzN000Qf27GOjEPXzd4/jBWqv2x419IMh+AEtKHuCEpQNBUAyLvBbQ79SMr+FmCXHB8AeeJ7bEUiRw==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-18.3.0.tgz", + "integrity": "sha512-7C+Rk17u/CtcYq/LyG8b27MmuxjQOAqZ1yWPP5RHRr0HGB00kILkItmejs/CJAJqybPtydTR0hiF7xs7lcVOHw==", "cpu": [ "arm64" ], @@ -4561,9 +4561,9 @@ } }, "node_modules/@nx/nx-win32-x64-msvc": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-18.2.4.tgz", - "integrity": "sha512-Y52Afz02Ub1kRZXd6NUTwPMjKQqBKZ35e5dUEpl14na2fWvdgdMz4bYOBPUcmQrovlxBGhmFXtFzxkdW3zyRbQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-18.3.0.tgz", + "integrity": "sha512-tRW2VZzwmdODaRXNgBJBSycVgLY269c3EwJDOCIPDIgFMTdClZNLmZbk4b7FfzyT7ezwQOD/3JgKJS6GzJdw8w==", "cpu": [ "x64" ], @@ -4577,16 +4577,16 @@ } }, "node_modules/@nx/react": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/react/-/react-18.2.4.tgz", - "integrity": "sha512-g79MGZuTBTjDfHugdYyUAaDxAAArS7UYVTqGEE7QP8nqvI1tiGYfA8Cj68hZgfYtTQdbGQWBH8tnSWdJbyYMqg==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/react/-/react-18.3.0.tgz", + "integrity": "sha512-myYx7ElU5gJS3tc6xi07WZqx/D9CZXyK4P1XjS1+VVm5k+pmn/cSe4xZdwyMPB/uFeND8ajHmTzvfAahgCpgPw==", "dev": true, "dependencies": { - "@nrwl/react": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/eslint": "18.2.4", - "@nx/js": "18.2.4", - "@nx/web": "18.2.4", + "@nrwl/react": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/eslint": "18.3.0", + "@nx/js": "18.3.0", + "@nx/web": "18.3.0", "@phenomnomnominal/tsquery": "~5.0.1", "@svgr/webpack": "^8.0.1", "chalk": "^4.1.0", @@ -4636,14 +4636,14 @@ } }, "node_modules/@nx/web": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/web/-/web-18.2.4.tgz", - "integrity": "sha512-cNrT6hj0EZkbfUCI085rN2k5ASa1MmufvKzANU9e1lnRvS38bVt07Is1Mcyzg1LUnNM7UVNXLZsrs4kN/QPApQ==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/web/-/web-18.3.0.tgz", + "integrity": "sha512-uEX0x96CXtiAD27XBTiFt1OV0seFuy18iJhm0wvS90VDVwAtqquBwBNX3UexHyCrIHn3qGr5tjsRBdpzQv3eCA==", "dev": true, "dependencies": { - "@nrwl/web": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/js": "18.2.4", + "@nrwl/web": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/js": "18.3.0", "chalk": "^4.1.0", "detect-port": "^1.5.1", "http-server": "^14.1.0", @@ -4667,15 +4667,15 @@ } }, "node_modules/@nx/webpack": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/webpack/-/webpack-18.2.4.tgz", - "integrity": "sha512-d/nAdGCFF/0aEQucwoDxcuMDars0q8H///QL8/N+d+X9mlZPISJV5K4spaAv/b+U7ih05K7Mt9ATtRUWFV5+5g==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/webpack/-/webpack-18.3.0.tgz", + "integrity": "sha512-Lue+64LRdMJ+EwSDht/kkDMh8aPFRKN1+RQWhGp/ZZHeoimEeHAAXQu7WQ/QDzl+w6vWq+lQCrXENEf8lLQFhQ==", "dev": true, "dependencies": { "@babel/core": "^7.23.2", - "@nrwl/webpack": "18.2.4", - "@nx/devkit": "18.2.4", - "@nx/js": "18.2.4", + "@nrwl/webpack": "18.3.0", + "@nx/devkit": "18.3.0", + "@nx/js": "18.3.0", "ajv": "^8.12.0", "autoprefixer": "^10.4.9", "babel-loader": "^9.1.2", @@ -4818,16 +4818,16 @@ } }, "node_modules/@nx/workspace": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/@nx/workspace/-/workspace-18.2.4.tgz", - "integrity": "sha512-c3Bca6aBwhpMegvAXAyKO8+dBBZOej8EIVo7m22IXL7APbq+hRetoc0LBCa/wTRcEZpYYPGrN1PzfFZqME21+g==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/@nx/workspace/-/workspace-18.3.0.tgz", + "integrity": "sha512-gW5cR7Toki8HzO8uhEmjQYCRT17rOLcTcMSSlX2Y7VorgtL8+kUlVpqSsuGFBWiXsuSiMnATiXtHesDbSBKfYw==", "dev": true, "dependencies": { - "@nrwl/workspace": "18.2.4", - "@nx/devkit": "18.2.4", + "@nrwl/workspace": "18.3.0", + "@nx/devkit": "18.3.0", "chalk": "^4.1.0", "enquirer": "~2.3.6", - "nx": "18.2.4", + "nx": "18.3.0", "tslib": "^2.3.0", "yargs-parser": "21.1.1" } @@ -14619,13 +14619,13 @@ } }, "node_modules/nx": { - "version": "18.2.4", - "resolved": "https://registry.npmjs.org/nx/-/nx-18.2.4.tgz", - "integrity": "sha512-GxqJcDOhfLa9jsPmip0jG73CZKA96wCryss2DhixCiCU66I3GLYF4+585ObO8Tx7Z1GqhT92RaNGjCxjMIwaPg==", + "version": "18.3.0", + "resolved": "https://registry.npmjs.org/nx/-/nx-18.3.0.tgz", + "integrity": "sha512-0jIxAuRVW19uVP0xPcr9obk8YSQzh2E5Co/4AYvfuGlQegiRv/CYk5NDK3wzAe3l1rTSUhmbol7QxpZGXhk4Dw==", "dev": true, "hasInstallScript": true, "dependencies": { - "@nrwl/tao": "18.2.4", + "@nrwl/tao": "18.3.0", "@yarnpkg/lockfile": "^1.1.0", "@yarnpkg/parsers": "3.0.0-rc.46", "@zkochan/js-yaml": "0.0.6", @@ -14665,16 +14665,16 @@ "nx-cloud": "bin/nx-cloud.js" }, "optionalDependencies": { - "@nx/nx-darwin-arm64": "18.2.4", - "@nx/nx-darwin-x64": "18.2.4", - "@nx/nx-freebsd-x64": "18.2.4", - "@nx/nx-linux-arm-gnueabihf": "18.2.4", - "@nx/nx-linux-arm64-gnu": "18.2.4", - "@nx/nx-linux-arm64-musl": "18.2.4", - "@nx/nx-linux-x64-gnu": "18.2.4", - "@nx/nx-linux-x64-musl": "18.2.4", - "@nx/nx-win32-arm64-msvc": "18.2.4", - "@nx/nx-win32-x64-msvc": "18.2.4" + "@nx/nx-darwin-arm64": "18.3.0", + "@nx/nx-darwin-x64": "18.3.0", + "@nx/nx-freebsd-x64": "18.3.0", + "@nx/nx-linux-arm-gnueabihf": "18.3.0", + "@nx/nx-linux-arm64-gnu": "18.3.0", + "@nx/nx-linux-arm64-musl": "18.3.0", + "@nx/nx-linux-x64-gnu": "18.3.0", + "@nx/nx-linux-x64-musl": "18.3.0", + "@nx/nx-win32-arm64-msvc": "18.3.0", + "@nx/nx-win32-x64-msvc": "18.3.0" }, "peerDependencies": { "@swc-node/register": "^1.8.0", diff --git a/package.json b/package.json index cd378197d..ee0eaa760 100644 --- a/package.json +++ b/package.json @@ -46,17 +46,17 @@ "@babel/preset-typescript": "7.21.4", "@mui/material": "^5.12.2", "@mui/styled-engine-sc": "^5.12.0", - "@nx/cypress": "18.2.4", - "@nx/eslint": "18.2.4", - "@nx/eslint-plugin": "18.2.4", - "@nx/express": "18.2.4", - "@nx/jest": "18.2.4", - "@nx/js": "18.2.4", - "@nx/node": "18.2.4", - "@nx/react": "18.2.4", - "@nx/web": "18.2.4", - "@nx/webpack": "18.2.4", - "@nx/workspace": "18.2.4", + "@nx/cypress": "18.3.0", + "@nx/eslint": "18.3.0", + "@nx/eslint-plugin": "18.3.0", + "@nx/express": "18.3.0", + "@nx/jest": "18.3.0", + "@nx/js": "18.3.0", + "@nx/node": "18.3.0", + "@nx/react": "18.3.0", + "@nx/web": "18.3.0", + "@nx/webpack": "18.3.0", + "@nx/workspace": "18.3.0", "@pmmmwh/react-refresh-webpack-plugin": "0.5.10", "@testing-library/react": "14.0.0", "@types/express": "4.17.17", @@ -94,7 +94,7 @@ "io-ts": "^2.2.20", "jest": "29.5.0", "lint-staged": "15.0.2", - "nx": "18.2.4", + "nx": "18.3.0", "oidc-client": "^1.11.5", "prettier": "3.0.3", "react": "18.2.0", From 83e67b34c04aa1507da4b3d62c3c29f859ade11b Mon Sep 17 00:00:00 2001 From: Pl217 Date: Wed, 17 Apr 2024 11:37:24 +0200 Subject: [PATCH 2/2] Use relative output path After upgrading Nx from 16 to 18, the output path behavior changed from absolute to relative. Although no evidence was found in the changelogs, the change in behavior is proven by experimenting. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be1d4a0c1..e955a7dd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ COPY . . ARG ENVIRONMENT=production RUN npm run remove-unneeded-deps && \ npm install && \ - npm run build hpc-cdm -- --output-path=/srv/src/dist --configuration=$ENVIRONMENT + # Output path is relative to working directory + npm run build hpc-cdm -- --output-path=dist/ --configuration=$ENVIRONMENT FROM public.ecr.aws/unocha/nginx:stable-beagle