diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 5fbfaf11f743..fd009f649308 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1043,9 +1043,9 @@ packages: '@azure/core-tracing': 1.0.1 '@azure/core-util': 1.1.1 '@azure/logger': 1.0.3 - '@azure/msal-browser': 2.32.2 + '@azure/msal-browser': 2.33.0 '@azure/msal-common': 7.6.0 - '@azure/msal-node': 1.14.6 + '@azure/msal-node': 1.15.0 events: 3.3.0 jws: 4.0.0 open: 8.4.0 @@ -1170,11 +1170,16 @@ packages: - encoding dev: false - /@azure/msal-browser/2.32.2: - resolution: {integrity: sha512-1YqGzXtPG3QrZPFBKaMWr2WQdukDj+PelqUCv351+p+hlw/AhdRrb8haY73/iqkhT6Cdrbnh7sL4gikVsF4O1g==} + /@azure/msal-browser/2.33.0: + resolution: {integrity: sha512-c7CVh1tfUfxiWkEIhoIb11hL4PGo4hz0M+gMy34ATagAKdLK7qyEu/5AXJWAf5lz5eE+vQhm7+LKiuETrcXXGw==} engines: {node: '>=0.8.0'} dependencies: - '@azure/msal-common': 9.1.1 + '@azure/msal-common': 10.0.0 + dev: false + + /@azure/msal-common/10.0.0: + resolution: {integrity: sha512-/LghpT93jsZLy55QzTsRZWMx6R1Mjc1Aktwps8sKSGE3WbrGwbSsh2uhDlpl6FMcKChYjJ0ochThWwwOodrQNg==} + engines: {node: '>=0.8.0'} dev: false /@azure/msal-common/7.6.0: @@ -1197,11 +1202,11 @@ packages: node-addon-api: 5.0.0 dev: false - /@azure/msal-node/1.14.6: - resolution: {integrity: sha512-em/qqFL5tLMxMPl9vormAs13OgZpmQoJbiQ/GlWr+BA77eCLoL+Ehr5xRHowYo+LFe5b+p+PJVkRvT+mLvOkwA==} + /@azure/msal-node/1.15.0: + resolution: {integrity: sha512-fwC5M0c8pxOAzmScPbpx7j28YVTDebUaizlVF7bR0xvlU0r3VWW5OobCcr9ybqKS6wGyO7u4EhXJS9rjRWAuwA==} engines: {node: 10 || 12 || 14 || 16 || 18} dependencies: - '@azure/msal-common': 9.1.1 + '@azure/msal-common': 10.0.0 jsonwebtoken: 9.0.0 uuid: 8.3.2 dev: false @@ -2231,7 +2236,7 @@ packages: resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} dependencies: '@types/connect': 3.4.35 - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/chai-as-promised/7.1.5: @@ -2253,7 +2258,7 @@ packages: /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/cookie/0.4.1: @@ -2263,7 +2268,7 @@ packages: /@types/cors/2.8.13: resolution: {integrity: sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/debug/4.1.7: @@ -2275,7 +2280,7 @@ packages: /@types/decompress/4.2.4: resolution: {integrity: sha512-/C8kTMRTNiNuWGl5nEyKbPiMv6HA+0RbEXzFhFBEzASM6+oa4tJro9b8nj7eRlOFfuLdzUU+DS/GPDlvvzMOhA==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/eslint/8.4.10: @@ -2296,7 +2301,7 @@ packages: /@types/express-serve-static-core/4.17.33: resolution: {integrity: sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: false @@ -2313,20 +2318,20 @@ packages: /@types/fs-extra/8.1.2: resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/glob/8.0.1: resolution: {integrity: sha512-8bVUjXZvJacUFkJXHdyZ9iH1Eaj5V7I8c4NdH5sQJsdXkqT4CA5Dhb4yb4VE/3asyx4L9ayZr1NIhTsWHczmMw==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/inquirer/8.2.5: @@ -2338,7 +2343,7 @@ packages: /@types/is-buffer/2.0.0: resolution: {integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/json-schema/7.0.11: @@ -2352,13 +2357,13 @@ packages: /@types/jsonwebtoken/9.0.1: resolution: {integrity: sha512-c5ltxazpWabia/4UzhIoaDcIza4KViOQhdbjRlfcIGVnsE3c3brkz9Z+F/EeJIECOQP7W7US2hNE930cWWkPiw==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/jws/3.2.5: resolution: {integrity: sha512-xGTxZH34xOryaTN8CMsvhh9lfNqFuHiMoRvsLYWQdBJHqiECyfInXVl2eK8Jz2emxZWMIn5RBlmr3oDVPeWujw==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/mdast/3.0.10: @@ -2394,7 +2399,7 @@ packages: /@types/node-fetch/2.6.2: resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 form-data: 3.0.1 dev: false @@ -2410,8 +2415,8 @@ packages: resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} dev: false - /@types/node/18.11.19: - resolution: {integrity: sha512-YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw==} + /@types/node/18.13.0: + resolution: {integrity: sha512-gC3TazRzGoOnoKAhUx+Q0t8S9Tzs74z7m0ipwGpSqQrleP14hKxP4/JUeEQcD3W1/aIpnWl8pHowI7WokuZpXg==} dev: false /@types/pako/2.0.0: @@ -2441,7 +2446,7 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/semaphore/1.1.1: @@ -2456,7 +2461,7 @@ packages: resolution: {integrity: sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg==} dependencies: '@types/mime': 3.0.1 - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/sinon/10.0.13: @@ -2478,13 +2483,13 @@ packages: /@types/stoppable/1.1.1: resolution: {integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/through/0.0.30: resolution: {integrity: sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/tough-cookie/4.0.2: @@ -2498,13 +2503,13 @@ packages: /@types/tunnel/0.0.1: resolution: {integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/tunnel/0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/underscore/1.11.4: @@ -2522,19 +2527,19 @@ packages: /@types/ws/7.4.7: resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/ws/8.5.4: resolution: {integrity: sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/xml2js/0.4.11: resolution: {integrity: sha512-JdigeAKmCyoJUiQljjr7tQG3if9NkqGUgwEUqBvV0N7LM4HyQk7UXCnusRa1lnvXAEYJ8mw8GtZWioagNztOwA==} dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false /@types/yargs-parser/21.0.0: @@ -2551,7 +2556,7 @@ packages: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 18.11.19 + '@types/node': 14.18.36 dev: false optional: true @@ -3128,7 +3133,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001450 - electron-to-chromium: 1.4.286 + electron-to-chromium: 1.4.288 node-releases: 2.0.10 update-browserslist-db: 1.0.10_browserslist@4.21.5 dev: false @@ -3670,7 +3675,7 @@ packages: resolution: {integrity: sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==} deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dependencies: - ms: 2.1.3 + ms: 2.1.1 dev: false /debug/3.2.7: @@ -3930,7 +3935,7 @@ packages: dependencies: semver: 7.3.8 shelljs: 0.8.5 - typescript: 4.9.5 + typescript: 4.6.4 dev: false /ecdsa-sig-formatter/1.0.11: @@ -3947,8 +3952,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false - /electron-to-chromium/1.4.286: - resolution: {integrity: sha512-Vp3CVhmYpgf4iXNKAucoQUDcCrBQX3XLBtwgFqP9BUXuucgvAV9zWp1kYU7LL9j4++s9O+12cb3wMtN4SJy6UQ==} + /electron-to-chromium/1.4.288: + resolution: {integrity: sha512-8s9aJf3YiokIrR+HOQzNOGmEHFXVUQzXM/JaViVvKdCkNUjS+lEa/uT7xw3nDVG/IgfxiIwUGkwJ6AR1pTpYsQ==} dev: false /emoji-regex/7.0.3: @@ -3975,20 +3980,20 @@ packages: engines: {node: '>=10.0.0'} dev: false - /engine.io/6.2.1: - resolution: {integrity: sha512-ECceEFcAaNRybd3lsGQKas3ZlMVjN3cyWwMP25D2i0zWfyiytVbTpRPa34qrr+FHddtpBVOmq4H/DCv1O0lZRA==} + /engine.io/6.4.0: + resolution: {integrity: sha512-OgxY1c/RuCSeO/rTr8DIFXx76IzUUft86R7/P7MMbbkuzeqJoTNw2lmeD91IyGz41QYleIIjWeMJGgug043sfQ==} engines: {node: '>=10.0.0'} dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.13 - '@types/node': 18.11.19 + '@types/node': 14.18.36 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 cors: 2.8.5 debug: 4.3.4 engine.io-parser: 5.0.6 - ws: 8.2.3 + ws: 8.11.0 transitivePeerDependencies: - bufferutil - supports-color @@ -5028,7 +5033,7 @@ packages: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 - minimatch: 3.1.2 + minimatch: 3.0.4 once: 1.4.0 path-is-absolute: 1.0.1 dev: false @@ -6114,7 +6119,7 @@ packages: qjobs: 1.2.0 range-parser: 1.2.1 rimraf: 3.0.2 - socket.io: 4.5.4 + socket.io: 4.6.0 source-map: 0.6.1 tmp: 0.2.1 ua-parser-js: 0.7.33 @@ -6150,7 +6155,7 @@ packages: qjobs: 1.2.0 range-parser: 1.2.1 rimraf: 3.0.2 - socket.io: 4.5.4 + socket.io: 4.6.0 source-map: 0.6.1 tmp: 0.2.1 ua-parser-js: 0.7.33 @@ -6718,8 +6723,8 @@ packages: - supports-color dev: false - /node-abi/3.31.0: - resolution: {integrity: sha512-eSKV6s+APenqVh8ubJyiu/YhZgxQpGP66ntzUb3lY1xB9ukSRaGnx0AIxI+IM+1+IVYC1oWobgG5L3Lt9ARykQ==} + /node-abi/3.32.0: + resolution: {integrity: sha512-HkwdiLzE/LeuOMIQq/dJq70oNyRc88+wt5CH/RXYseE00LkA/c4PkS6Ti1vE4OHYUiKjkwuxjWq9pItgrz8UJw==} engines: {node: '>=10'} dependencies: semver: 7.3.8 @@ -7285,7 +7290,7 @@ packages: minimist: 1.2.7 mkdirp-classic: 0.5.3 napi-build-utils: 1.0.2 - node-abi: 3.31.0 + node-abi: 3.32.0 pump: 3.0.0 rc: 1.2.8 simple-get: 4.0.1 @@ -7707,7 +7712,7 @@ packages: resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} engines: {node: '>=10.0.0'} peerDependencies: - '@types/node': '*' + '@types/node': '>=10.0.0' rollup: '>=0.31.2' peerDependenciesMeta: '@types/node': @@ -7723,7 +7728,7 @@ packages: resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} engines: {node: '>=10.0.0'} peerDependencies: - '@types/node': '*' + '@types/node': '>=10.0.0' rollup: '>=0.31.2' peerDependenciesMeta: '@types/node': @@ -7738,7 +7743,7 @@ packages: resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} engines: {node: '>=10.0.0'} peerDependencies: - '@types/node': '*' + '@types/node': '>=10.0.0' rollup: '>=0.31.2' peerDependenciesMeta: '@types/node': @@ -7771,7 +7776,7 @@ packages: hasBin: true dependencies: '@types/estree': 1.0.0 - '@types/node': 18.11.19 + '@types/node': 18.13.0 acorn: 7.4.1 dev: false @@ -8028,8 +8033,13 @@ packages: is-fullwidth-code-point: 3.0.0 dev: false - /socket.io-adapter/2.4.0: - resolution: {integrity: sha512-W4N+o69rkMEGVuk2D/cvca3uYsvGlMwsySWV447y99gUPghxq42BxqLNMndb+a1mm/5/7NeXVQS7RLa2XyXvYg==} + /socket.io-adapter/2.5.2: + resolution: {integrity: sha512-87C3LO/NOMc+eMcpcxUBebGjkpMDkNBS9tf7KJqcDsmL936EChtVva71Dw2q4tQcuVC+hAUy4an2NO/sYXmwRA==} + dependencies: + ws: 8.11.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate dev: false /socket.io-parser/4.2.2: @@ -8042,15 +8052,15 @@ packages: - supports-color dev: false - /socket.io/4.5.4: - resolution: {integrity: sha512-m3GC94iK9MfIEeIBfbhJs5BqFibMtkRk8ZpKwG2QwxV0m/eEhPIV4ara6XCF1LWNAus7z58RodiZlAH71U3EhQ==} + /socket.io/4.6.0: + resolution: {integrity: sha512-b65bp6INPk/BMMrIgVvX12x3Q+NqlGqSlTuvKQWt0BUJ3Hyy3JangBl7fEoWZTXbOKlCqNPbQ6MbWgok/km28w==} engines: {node: '>=10.0.0'} dependencies: accepts: 1.3.8 base64id: 2.0.0 debug: 4.3.4 - engine.io: 6.2.1 - socket.io-adapter: 2.4.0 + engine.io: 6.4.0 + socket.io-adapter: 2.5.2 socket.io-parser: 4.2.2 transitivePeerDependencies: - bufferutil @@ -9141,19 +9151,6 @@ packages: optional: true dev: false - /ws/8.2.3: - resolution: {integrity: sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: false - /xhr-mock/2.5.1: resolution: {integrity: sha512-UKOjItqjFgPUwQGPmRAzNBn8eTfIhcGjBVGvKYAWxUQPQsXNGD6KEckGTiHwyaAUp9C9igQlnN1Mp79KWCg7CQ==} dependencies: @@ -11558,7 +11555,7 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.1.0 - '@microsoft/api-extractor': 7.34.2_@types+node@14.18.36 + '@microsoft/api-extractor': 7.34.3_@types+node@14.18.36 '@rollup/plugin-commonjs': 21.1.0_rollup@2.79.1 '@rollup/plugin-json': 4.1.0_rollup@2.79.1 '@rollup/plugin-multi-entry': 4.1.0_rollup@2.79.1 @@ -15647,7 +15644,7 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.1.0 - '@azure/msal-node': 1.14.6 + '@azure/msal-node': 1.15.0 '@microsoft/api-extractor': 7.34.3_@types+node@14.18.36 '@types/chai': 4.3.4 '@types/mocha': 7.0.2 @@ -17109,7 +17106,7 @@ packages: version: 0.0.0 dependencies: '@azure/identity': 2.1.0 - '@azure/msal-node': 1.14.6 + '@azure/msal-node': 1.15.0 '@azure/msal-node-extensions': 1.0.0-alpha.25 '@microsoft/api-extractor': 7.34.3_@types+node@14.18.36 '@types/jws': 3.2.5 @@ -17178,9 +17175,9 @@ packages: version: 0.0.0 dependencies: '@azure/keyvault-keys': 4.6.0 - '@azure/msal-browser': 2.32.2 + '@azure/msal-browser': 2.33.0 '@azure/msal-common': 9.1.1 - '@azure/msal-node': 1.14.6 + '@azure/msal-node': 1.15.0 '@microsoft/api-extractor': 7.34.3_@types+node@14.18.36 '@types/chai': 4.3.4 '@types/jsonwebtoken': 9.0.1 diff --git a/eng/scripts/check-external-dependency.ps1 b/eng/scripts/check-external-dependency.ps1 index 55709632c8b7..688d0344cfff 100644 --- a/eng/scripts/check-external-dependency.ps1 +++ b/eng/scripts/check-external-dependency.ps1 @@ -17,8 +17,8 @@ $deprecatedDependency = "Deprecated-Dependency" $dependencyRegex = "^\+\s(?[\S]*)\s(?[\S]*)\s\((?[0-9\.a-b]*).*\)\s?(?deprecated)?" $RepoRoot = Resolve-Path -Path "${PSScriptRoot}/../.." Write-Host "Repo root: $RepoRoot" -$rushFile = join-Path -Path $RepoRoot "rush.json" -Write-Host "Path to rush.json: $rushFile" +$pnpmConfigFile = Join-path -Path $RepoRoot "common" "config" "rush" "pnpm-config.json" +Write-Host "Path to pnpm-config.json: $pnpmConfigFile" $commonConfigFile = Join-path -Path $RepoRoot "common" "config" "rush" "common-versions.json" Write-Host "Path to common-versions.json: $commonConfigFile" @@ -81,17 +81,17 @@ function Set-GitHubIssue($Package) { # Update rush configuration files to alter settings -if ((Test-Path $rushFile) -and (Test-Path $commonConfigFile)) { - $rushJson = Get-Content -Path $rushFile | ConvertFrom-Json - $rushJson.pnpmOptions.strictPeerDependencies = $false - Set-Content -Path $rushFile -Value (ConvertTo-Json -InputObject $rushJson) +if ((Test-Path $pnpmConfigFile) -and (Test-Path $commonConfigFile)) { + $pnpmConfigJson = Get-Content -Path $pnpmConfigFile | ConvertFrom-Json + $pnpmConfigJson.strictPeerDependencies = $false + Set-Content -Path $pnpmConfigFile -Value (ConvertTo-Json -InputObject $pnpmConfigJson) $configJson = Get-Content -Path $commonConfigFile | ConvertFrom-Json $configJson.implicitlyPreferredVersions = $true Set-Content -Path $commonConfigFile -Value (ConvertTo-Json -InputObject $configJson) } else { - Write-Error "Failed to find $($rushFile) and/or $($commonConfigFile). Verify repo root parameter." + Write-Error "Failed to find $($pnpmConfigFile) and/or $($commonConfigFile). Verify repo root parameter." exit 1 }