From 9412432785cc57009fb87558a24d68e94f7aed7c Mon Sep 17 00:00:00 2001 From: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com> Date: Tue, 18 Jun 2024 18:17:33 +1200 Subject: [PATCH] build: upgrade `nx` to `19.3.0` (#1773) * upgrade to 19.3.0 * remove deprecated field --- nx.json | 3 -- package.json | 4 +- pnpm-lock.yaml | 117 ++++++++++++++++++++++++++----------------------- 3 files changed, 64 insertions(+), 60 deletions(-) diff --git a/nx.json b/nx.json index 7ddc23bf47..7913ca416a 100644 --- a/nx.json +++ b/nx.json @@ -1,8 +1,5 @@ { "$schema": "./node_modules/nx/schemas/nx-schema.json", - "affected": { - "defaultBase": "main" - }, "defaultBase": "main", "nxCloudAccessToken": "ZWJiNDliYTgtNzFiMi00NDg2LWFkZGMtYjIxOWY0MDU1ZGYxfHJlYWQtb25seQ==", "useInferencePlugins": false, diff --git a/package.json b/package.json index 855bd7c47e..1900029261 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", - "redaxios": "^0.5.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", @@ -54,11 +53,12 @@ "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "glob": "^10.3.14", - "nx": "^18.3.4", + "nx": "^19.3.0", "prettier": "^3.2.5", "publint": "^0.2.8", "react": "^18.3.1", "react-dom": "^18.3.1", + "redaxios": "^0.5.0", "rimraf": "^5.0.6", "typescript": "^5.4.5", "vite": "^5.2.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52e81a1dcc..15f0421a2f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -68,8 +68,8 @@ importers: specifier: ^10.3.14 version: 10.3.14 nx: - specifier: ^18.3.4 - version: 18.3.5(@swc/core@1.3.102) + specifier: ^19.3.0 + version: 19.3.0(@swc/core@1.3.102) prettier: specifier: ^3.2.5 version: 3.2.5 @@ -3353,66 +3353,66 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@nrwl/tao@18.3.5': - resolution: {integrity: sha512-gB7Vxa6FReZZEGva03Eh+84W8BSZOjsNyXboglOINu6d8iZZ0eotSXGziKgjpkj3feZ1ofKZMs0PRObVAOROVw==} + '@nrwl/tao@19.3.0': + resolution: {integrity: sha512-MyGYeHbh9O4Tv9xmz3Du+/leY5sKUHaPy4ancfNyShHgYi21hemX0/YYjzzoYHi44D8GzSc1XG2rAuwba7Kilw==} hasBin: true - '@nx/nx-darwin-arm64@18.3.5': - resolution: {integrity: sha512-4I5UpZ/x2WO9OQyETXKjaYhXiZKUTYcLPewruRMODWu6lgTM9hHci0SqMQB+TWe3f80K8VT8J8x3+uJjvllGlg==} + '@nx/nx-darwin-arm64@19.3.0': + resolution: {integrity: sha512-TMTxjrN7Y/UsKFjmz0YfhVItLTGWqvud8cmQchw5NEjdNakfjXk0mREufO5/5PwoiRIsen6MbThoTprLpjOUiQ==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@nx/nx-darwin-x64@18.3.5': - resolution: {integrity: sha512-Drn6jOG237AD/s6OWPt06bsMj0coGKA5Ce1y5gfLhptOGk4S4UPE/Ay5YCjq+/yhTo1gDHzCHxH0uW2X9MN9Fg==} + '@nx/nx-darwin-x64@19.3.0': + resolution: {integrity: sha512-GH2L6ftnzdIs7JEdv7ZPCdbpAdB5sW6NijK07riYZSONzq5fEruD1yDWDkyZbYBb8RTxsparUWJnq8q1qxEPHQ==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@nx/nx-freebsd-x64@18.3.5': - resolution: {integrity: sha512-8tA8Yw0Iir4liFjffIFS5THTS3TtWY/No2tkVj91gwy/QQ/otvKbOyc5RCIPpbZU6GS3ZWfG92VyCSm06dtMFg==} + '@nx/nx-freebsd-x64@19.3.0': + resolution: {integrity: sha512-1ow7Xku1yyjHviCKsWiuHCAnTd3fD+5O5c+e4DXHVthT8wnadKSotvBIWf38DMbMthl7na82e72OzxcdSbrVqQ==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] - '@nx/nx-linux-arm-gnueabihf@18.3.5': - resolution: {integrity: sha512-BrPGAHM9FCGkB9/hbvlJhe+qtjmvpjIjYixGIlUxL3gGc8E/ucTyCnz5pRFFPFQlBM7Z/9XmbHvGPoUi/LYn5A==} + '@nx/nx-linux-arm-gnueabihf@19.3.0': + resolution: {integrity: sha512-mYQMIUvNr2gww8vbg766uk/C1RxoC1fwioeP87bmV5NRUKSzJ8WEJVxAsqc9RGhAOUaNXOgEuKYrMcVhKyIKJQ==} engines: {node: '>= 10'} cpu: [arm] os: [linux] - '@nx/nx-linux-arm64-gnu@18.3.5': - resolution: {integrity: sha512-/Xd0Q3LBgJeigJqXC/Jck/9l5b+fK+FCM0nRFMXgPXrhZPhoxWouFkoYl2F1Ofr+AQf4jup4DkVTB5r98uxSCA==} + '@nx/nx-linux-arm64-gnu@19.3.0': + resolution: {integrity: sha512-rHL3eQ0RHkeAXnhHHu/NIyouN/ykiXvgyNU3TuCd50+2MZcAbjB+Xq3mwL0MwiP+BQuptiE+snTuxFUJp4ZH6A==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@nx/nx-linux-arm64-musl@18.3.5': - resolution: {integrity: sha512-r18qd7pUrl1haAZ/e9Q+xaFTsLJnxGARQcf/Y76q+K2psKmiUXoRlqd3HAOw43KTllaUJ5HkzLq2pIwg3p+xBw==} + '@nx/nx-linux-arm64-musl@19.3.0': + resolution: {integrity: sha512-im0+OgOD6ShpTkI9ZRz7BjzxhQ/Lk3xjYmmCu+PFGmaybEnkNNDFwsgS0iEVKMdWZ/EQoQvJrqOYsX125iIBuQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@nx/nx-linux-x64-gnu@18.3.5': - resolution: {integrity: sha512-vYrikG6ff4I9cvr3Ysk3y3gjQ9cDcvr3iAr+4qqcQ4qVE+OLL2++JDS6xfPvG/TbS3GTQpyy2STRBwiHgxTeJw==} + '@nx/nx-linux-x64-gnu@19.3.0': + resolution: {integrity: sha512-k8q/d6WBSXOeUpBq6Mw69yMKL4n9LaX3o4LBNwBkVCEZ8p6s0njwKefLtjwnKlai0g/k5f0NcilU2zTwP/Ex8g==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@nx/nx-linux-x64-musl@18.3.5': - resolution: {integrity: sha512-6np86lcYy3+x6kkW/HrBHIdNWbUu/MIsvMuNH5UXgyFs60l5Z7Cocay2f7WOaAbTLVAr0W7p4RxRPamHLRwWFA==} + '@nx/nx-linux-x64-musl@19.3.0': + resolution: {integrity: sha512-sahEV99glBlpGKG1TIQ5PkJ0QvpHp69wWsBFK2DKtCETxOtsWqwvIjemxTCXRirTqeHiP7BiR6VWsf2YqqqBdw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@nx/nx-win32-arm64-msvc@18.3.5': - resolution: {integrity: sha512-H3p2ZVhHV1WQWTICrQUTplOkNId0y3c23X3A2fXXFDbWSBs0UgW7m55LhMcA9p0XZ7wDHgh+yFtVgu55TXLjug==} + '@nx/nx-win32-arm64-msvc@19.3.0': + resolution: {integrity: sha512-w03gFwLijStmhUji70QJHYo/U16ovybNczxGO7+5TT330X8/y+ihw9FCGHiIcujAjTAE88h0DKGn05WlNqRmfg==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@nx/nx-win32-x64-msvc@18.3.5': - resolution: {integrity: sha512-xFwKVTIXSgjdfxkpriqHv5NpmmFILTrWLEkUGSoimuRaAm1u15YWx/VmaUQ+UWuJnmgqvB/so4SMHSfNkq3ijA==} + '@nx/nx-win32-x64-msvc@19.3.0': + resolution: {integrity: sha512-M7e2zXGfTjH8NLiwqKLdWC9VlfMSQDYlI4/SM4OSpPqhUTfPlRPa+wNKNTG7perKfDXxE9ei8yjocujknXJk/A==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -4521,8 +4521,8 @@ packages: resolution: {integrity: sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q==} engines: {node: '>=14.15.0'} - '@zkochan/js-yaml@0.0.6': - resolution: {integrity: sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==} + '@zkochan/js-yaml@0.0.7': + resolution: {integrity: sha512-nrUSn7hzt7J6JWgWGz78ZYI8wj+gdIJdk0Ynjpp8l+trkn58Uqsf6RYrYkEK+3X18EX+TNdtJI0WxAtc+L84SQ==} hasBin: true JSONStream@1.3.5: @@ -5867,6 +5867,9 @@ packages: resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} + front-matter@4.0.2: + resolution: {integrity: sha512-I8ZuJ/qG92NWX8i5x1Y8qyj3vizhXS31OxjKDu3LKP+7/qBgfIKValiZIEwoVoJKUHlhWtYrktkxV1XsX+pPlg==} + fs-constants@1.0.0: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} @@ -7001,8 +7004,8 @@ packages: nwsapi@2.2.7: resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} - nx@18.3.5: - resolution: {integrity: sha512-wWcvwoTgiT5okdrG0RIWm1tepC17bDmSpw+MrOxnjfBjARQNTURkiq4U6cxjCVsCxNHxCrlAaBSQLZeBgJZTzQ==} + nx@19.3.0: + resolution: {integrity: sha512-WILWiROUkZWwuPJ12tP24Z0NULPEhxFN9i55/fECuVXYaFtkg6FvEne9C4d4bRqhZPcbrz6WhHnzE3NhdjH7XQ==} hasBin: true peerDependencies: '@swc-node/register': ^1.8.0 @@ -10325,43 +10328,43 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.15.0 - '@nrwl/tao@18.3.5(@swc/core@1.3.102)': + '@nrwl/tao@19.3.0(@swc/core@1.3.102)': dependencies: - nx: 18.3.5(@swc/core@1.3.102) + nx: 19.3.0(@swc/core@1.3.102) tslib: 2.6.2 transitivePeerDependencies: - '@swc-node/register' - '@swc/core' - debug - '@nx/nx-darwin-arm64@18.3.5': + '@nx/nx-darwin-arm64@19.3.0': optional: true - '@nx/nx-darwin-x64@18.3.5': + '@nx/nx-darwin-x64@19.3.0': optional: true - '@nx/nx-freebsd-x64@18.3.5': + '@nx/nx-freebsd-x64@19.3.0': optional: true - '@nx/nx-linux-arm-gnueabihf@18.3.5': + '@nx/nx-linux-arm-gnueabihf@19.3.0': optional: true - '@nx/nx-linux-arm64-gnu@18.3.5': + '@nx/nx-linux-arm64-gnu@19.3.0': optional: true - '@nx/nx-linux-arm64-musl@18.3.5': + '@nx/nx-linux-arm64-musl@19.3.0': optional: true - '@nx/nx-linux-x64-gnu@18.3.5': + '@nx/nx-linux-x64-gnu@19.3.0': optional: true - '@nx/nx-linux-x64-musl@18.3.5': + '@nx/nx-linux-x64-musl@19.3.0': optional: true - '@nx/nx-win32-arm64-msvc@18.3.5': + '@nx/nx-win32-arm64-msvc@19.3.0': optional: true - '@nx/nx-win32-x64-msvc@18.3.5': + '@nx/nx-win32-x64-msvc@19.3.0': optional: true '@open-draft/deferred-promise@2.2.0': {} @@ -11625,7 +11628,7 @@ snapshots: js-yaml: 3.14.1 tslib: 2.6.2 - '@zkochan/js-yaml@0.0.6': + '@zkochan/js-yaml@0.0.7': dependencies: argparse: 2.0.1 @@ -13321,6 +13324,10 @@ snapshots: fresh@0.5.2: {} + front-matter@4.0.2: + dependencies: + js-yaml: 3.14.1 + fs-constants@1.0.0: {} fs-extra@11.2.0: @@ -14519,12 +14526,12 @@ snapshots: nwsapi@2.2.7: {} - nx@18.3.5(@swc/core@1.3.102): + nx@19.3.0(@swc/core@1.3.102): dependencies: - '@nrwl/tao': 18.3.5(@swc/core@1.3.102) + '@nrwl/tao': 19.3.0(@swc/core@1.3.102) '@yarnpkg/lockfile': 1.1.0 '@yarnpkg/parsers': 3.0.0-rc.46 - '@zkochan/js-yaml': 0.0.6 + '@zkochan/js-yaml': 0.0.7 axios: 1.6.7 chalk: 4.1.2 cli-cursor: 3.1.0 @@ -14535,10 +14542,10 @@ snapshots: enquirer: 2.3.6 figures: 3.2.0 flat: 5.0.2 + front-matter: 4.0.2 fs-extra: 11.2.0 ignore: 5.3.0 jest-diff: 29.7.0 - js-yaml: 4.1.0 jsonc-parser: 3.2.0 lines-and-columns: 2.0.4 minimatch: 9.0.3 @@ -14556,16 +14563,16 @@ snapshots: yargs: 17.7.2 yargs-parser: 21.1.1 optionalDependencies: - '@nx/nx-darwin-arm64': 18.3.5 - '@nx/nx-darwin-x64': 18.3.5 - '@nx/nx-freebsd-x64': 18.3.5 - '@nx/nx-linux-arm-gnueabihf': 18.3.5 - '@nx/nx-linux-arm64-gnu': 18.3.5 - '@nx/nx-linux-arm64-musl': 18.3.5 - '@nx/nx-linux-x64-gnu': 18.3.5 - '@nx/nx-linux-x64-musl': 18.3.5 - '@nx/nx-win32-arm64-msvc': 18.3.5 - '@nx/nx-win32-x64-msvc': 18.3.5 + '@nx/nx-darwin-arm64': 19.3.0 + '@nx/nx-darwin-x64': 19.3.0 + '@nx/nx-freebsd-x64': 19.3.0 + '@nx/nx-linux-arm-gnueabihf': 19.3.0 + '@nx/nx-linux-arm64-gnu': 19.3.0 + '@nx/nx-linux-arm64-musl': 19.3.0 + '@nx/nx-linux-x64-gnu': 19.3.0 + '@nx/nx-linux-x64-musl': 19.3.0 + '@nx/nx-win32-arm64-msvc': 19.3.0 + '@nx/nx-win32-x64-msvc': 19.3.0 '@swc/core': 1.3.102 transitivePeerDependencies: - debug