From 7ecfd89c9951369e9ef4abf7b612ff04bb50889b Mon Sep 17 00:00:00 2001 From: Ollie Curtis <8831547+olliecurtis@users.noreply.github.com> Date: Tue, 10 Oct 2023 14:35:11 +0100 Subject: [PATCH 1/4] [ARGG-784]: Release pipeline for cra5 testing --- .github/workflows/fork_cra5.yml | 92 +++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 .github/workflows/fork_cra5.yml diff --git a/.github/workflows/fork_cra5.yml b/.github/workflows/fork_cra5.yml new file mode 100644 index 0000000000..582e7d8b6d --- /dev/null +++ b/.github/workflows/fork_cra5.yml @@ -0,0 +1,92 @@ +name: fork_cra5-release + +on: + push: + branches: [fork_cra5] + +defaults: + run: + shell: bash -l {0} + +env: + CACHE_NAME: node-modules-cache + BUILD_CACHE_NAME: build-cache + +jobs: + Create-NPM-Cache: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v3 + with: + node-version: 16.x + + - name: Upload to Cache + uses: actions/cache@v3.3.2 + id: npm-cache + with: + path: node_modules/ + key: ${{ env.CACHE_NAME }}-${{ hashFiles('packages/**') }} + + - name: Install dependencies + if: ${{ steps.npm-cache.outputs.cache-hit != 'true' }} + run: npm ci + + TestBuild: + runs-on: ubuntu-latest + needs: [Create-NPM-Cache] + steps: + - uses: actions/checkout@v4 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: 16.x + + - name: Restore Cache + uses: actions/cache/restore@v3.3.2 + id: npm-cache + with: + path: node_modules/ + key: ${{ env.CACHE_NAME }}-${{ hashFiles('packages/**') }} + + - name: Run e2e + run: tasks/e2e-brs.sh + + ReleaseWeb: + name: Release dev version to NPM + runs-on: ubuntu-latest + environment: Publishing + needs: [Create-NPM-Cache, TestBuild] + steps: + - name: Checkout source code + uses: actions/checkout@v4 + with: + ref: fork_cra5 + + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: 16.x + + - name: Restore Cache + uses: actions/cache/restore@v3.3.2 + id: npm-cache + with: + path: node_modules/ + key: ${{ env.CACHE_NAME }}-${{ hashFiles('packages/**') }} + + - name: Build react-error-overlay + run: | + cd packages/react-error-overlay/ + npm run build:prod + + - name: Publish NPM package + run: | + cd packages/react-scripts + npm version prerelease --preid=dev --no-git-tag-version + npm publish --tag alpha + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + RELEASE_VERSION: ${{ github.event.release.tag_name }} From bdc77c6657ff4c386cae2422cad4e3b4aed99c40 Mon Sep 17 00:00:00 2001 From: Ollie Curtis <8831547+olliecurtis@users.noreply.github.com> Date: Tue, 10 Oct 2023 14:56:53 +0100 Subject: [PATCH 2/4] [ARGG-784]: Remove artifactory references in lockfile --- .github/workflows/fork_cra5.yml | 11 +- package-lock.json | 204 ++++++++++++++++---------------- 2 files changed, 107 insertions(+), 108 deletions(-) diff --git a/.github/workflows/fork_cra5.yml b/.github/workflows/fork_cra5.yml index 582e7d8b6d..32aaf05928 100644 --- a/.github/workflows/fork_cra5.yml +++ b/.github/workflows/fork_cra5.yml @@ -8,7 +8,7 @@ defaults: run: shell: bash -l {0} -env: +env: CACHE_NAME: node-modules-cache BUILD_CACHE_NAME: build-cache @@ -43,14 +43,14 @@ jobs: uses: actions/setup-node@v2 with: node-version: 16.x - + - name: Restore Cache uses: actions/cache/restore@v3.3.2 id: npm-cache with: path: node_modules/ key: ${{ env.CACHE_NAME }}-${{ hashFiles('packages/**') }} - + - name: Run e2e run: tasks/e2e-brs.sh @@ -64,7 +64,7 @@ jobs: uses: actions/checkout@v4 with: ref: fork_cra5 - + - name: Use Node.js uses: actions/setup-node@v3 with: @@ -76,7 +76,7 @@ jobs: with: path: node_modules/ key: ${{ env.CACHE_NAME }}-${{ hashFiles('packages/**') }} - + - name: Build react-error-overlay run: | cd packages/react-error-overlay/ @@ -89,4 +89,3 @@ jobs: npm publish --tag alpha env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - RELEASE_VERSION: ${{ github.event.release.tag_name }} diff --git a/package-lock.json b/package-lock.json index 8ea3c0436b..f413128570 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8553,7 +8553,7 @@ }, "node_modules/asn1.js": { "version": "5.4.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/asn1.js/-/asn1.js-5.4.1.tgz", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", "integrity": "sha1-EamAuE67kXgc41sP3C7ilON4Pwc=", "license": "MIT", "dependencies": { @@ -8565,7 +8565,7 @@ }, "node_modules/asn1.js/node_modules/bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=", "license": "MIT" }, @@ -9116,7 +9116,7 @@ }, "node_modules/bn.js": { "version": "5.2.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-5.2.1.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", "integrity": "sha1-C8UnpqDRjQqo1bBTjOSnfcz6e3A=", "license": "MIT" }, @@ -9300,7 +9300,7 @@ }, "node_modules/brorand": { "version": "1.1.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/brorand/-/brorand-1.1.0.tgz", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", "license": "MIT" }, @@ -9310,7 +9310,7 @@ }, "node_modules/browserify-aes": { "version": "1.2.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-aes/-/browserify-aes-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", "integrity": "sha1-Mmc0ZC9APavDADIJhTu3CtQo70g=", "license": "MIT", "dependencies": { @@ -9324,7 +9324,7 @@ }, "node_modules/browserify-cipher": { "version": "1.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", "integrity": "sha1-jWR0wbhwv9q807z8wZNKEOlPFfA=", "license": "MIT", "dependencies": { @@ -9335,7 +9335,7 @@ }, "node_modules/browserify-des": { "version": "1.0.2", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-des/-/browserify-des-1.0.2.tgz", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", "integrity": "sha1-OvTx9Zg5QDVy8cZiBDdfen9wPpw=", "license": "MIT", "dependencies": { @@ -9347,7 +9347,7 @@ }, "node_modules/browserify-rsa": { "version": "4.1.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", "integrity": "sha1-sv0Gtbda4pf3zi3GUfkY9b4VjI0=", "license": "MIT", "dependencies": { @@ -9357,7 +9357,7 @@ }, "node_modules/browserify-sign": { "version": "4.2.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-sign/-/browserify-sign-4.2.1.tgz", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", "integrity": "sha1-6vSt1G3VS+O7OzbAzxWrvrp5VsM=", "license": "ISC", "dependencies": { @@ -9374,7 +9374,7 @@ }, "node_modules/browserify-sign/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/readable-stream/-/readable-stream-3.6.0.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha1-M3u9o63AcGvT4CRCaihtS0sskZg=", "license": "MIT", "dependencies": { @@ -9388,7 +9388,7 @@ }, "node_modules/browserify-sign/node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/safe-buffer/-/safe-buffer-5.2.1.tgz", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=", "funding": [ { @@ -9408,7 +9408,7 @@ }, "node_modules/browserify-sign/node_modules/string_decoder": { "version": "1.3.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/string_decoder/-/string_decoder-1.3.0.tgz", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4=", "license": "MIT", "dependencies": { @@ -9497,7 +9497,7 @@ }, "node_modules/buffer-xor": { "version": "1.0.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/buffer-xor/-/buffer-xor-1.0.3.tgz", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", "license": "MIT" }, @@ -9873,7 +9873,7 @@ }, "node_modules/cipher-base": { "version": "1.0.4", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/cipher-base/-/cipher-base-1.0.4.tgz", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", "integrity": "sha1-h2Dk7MJy9MNjUy+SbYdKriwTl94=", "license": "MIT", "dependencies": { @@ -11486,7 +11486,7 @@ }, "node_modules/create-ecdh": { "version": "4.0.4", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/create-ecdh/-/create-ecdh-4.0.4.tgz", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", "integrity": "sha1-1uf0v/pmc2CFoHYv06YyaE2rzE4=", "license": "MIT", "dependencies": { @@ -11496,13 +11496,13 @@ }, "node_modules/create-ecdh/node_modules/bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=", "license": "MIT" }, "node_modules/create-hash": { "version": "1.2.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/create-hash/-/create-hash-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", "integrity": "sha1-iJB4rxGmN1a8+1m9IhmWvjqe8ZY=", "license": "MIT", "dependencies": { @@ -11515,7 +11515,7 @@ }, "node_modules/create-hmac": { "version": "1.1.7", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/create-hmac/-/create-hmac-1.1.7.tgz", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", "integrity": "sha1-aRcMeLOrlXFHsriwRXLkfq0iQ/8=", "license": "MIT", "dependencies": { @@ -11603,7 +11603,7 @@ }, "node_modules/crypto-browserify": { "version": "3.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", "integrity": "sha1-OWz58xN/A+S45TLFj2mCVOAPgOw=", "license": "MIT", "dependencies": { @@ -12233,7 +12233,7 @@ }, "node_modules/des.js": { "version": "1.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/des.js/-/des.js-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", "integrity": "sha1-U4IULhvcU/hdhtU+X0qn3rkeCEM=", "license": "MIT", "dependencies": { @@ -12360,7 +12360,7 @@ }, "node_modules/diffie-hellman": { "version": "5.0.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", "integrity": "sha1-QOjumPVaIUlgcUaSHGPhrl89KHU=", "license": "MIT", "dependencies": { @@ -12371,7 +12371,7 @@ }, "node_modules/diffie-hellman/node_modules/bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=", "license": "MIT" }, @@ -12572,7 +12572,7 @@ }, "node_modules/elliptic": { "version": "6.5.4", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/elliptic/-/elliptic-6.5.4.tgz", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", "integrity": "sha1-2jfOvTHnmhNn6UG1ku0fvr1Yq7s=", "license": "MIT", "dependencies": { @@ -12587,7 +12587,7 @@ }, "node_modules/elliptic/node_modules/bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=", "license": "MIT" }, @@ -13228,7 +13228,7 @@ }, "node_modules/eslint-webpack-plugin": { "version": "3.2.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/eslint-webpack-plugin/-/eslint-webpack-plugin-3.2.0.tgz", + "resolved": "https://registry.npmjs.org/eslint-webpack-plugin/-/eslint-webpack-plugin-3.2.0.tgz", "integrity": "sha1-GXjNue3EYeSwGVog2pUM9XmINHw=", "license": "MIT", "dependencies": { @@ -13252,7 +13252,7 @@ }, "node_modules/eslint-webpack-plugin/node_modules/ajv": { "version": "8.11.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/ajv/-/ajv-8.11.0.tgz", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", "integrity": "sha1-l36R3ZbKZp9UoR4j43jjO4hKVl8=", "license": "MIT", "dependencies": { @@ -13268,7 +13268,7 @@ }, "node_modules/eslint-webpack-plugin/node_modules/ajv-keywords": { "version": "5.1.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", "integrity": "sha1-adTThaRzPNvqtElkoRcKiPh/DhY=", "license": "MIT", "dependencies": { @@ -13280,7 +13280,7 @@ }, "node_modules/eslint-webpack-plugin/node_modules/has-flag": { "version": "4.0.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/has-flag/-/has-flag-4.0.0.tgz", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", "license": "MIT", "engines": { @@ -13289,7 +13289,7 @@ }, "node_modules/eslint-webpack-plugin/node_modules/jest-worker": { "version": "28.1.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/jest-worker/-/jest-worker-28.1.3.tgz", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz", "integrity": "sha1-fjxM4/oj0btqzLFp5/OW+Y7Uu5g=", "license": "MIT", "dependencies": { @@ -13303,13 +13303,13 @@ }, "node_modules/eslint-webpack-plugin/node_modules/json-schema-traverse": { "version": "1.0.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha1-rnvLNlard6c7pcSb9lTzjmtoYOI=", "license": "MIT" }, "node_modules/eslint-webpack-plugin/node_modules/schema-utils": { "version": "4.0.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/schema-utils/-/schema-utils-4.0.0.tgz", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", "integrity": "sha1-YDMenjrnjsXRY1PEZ8NLOgodPfc=", "license": "MIT", "dependencies": { @@ -13328,7 +13328,7 @@ }, "node_modules/eslint-webpack-plugin/node_modules/supports-color": { "version": "8.1.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/supports-color/-/supports-color-8.1.1.tgz", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha1-zW/BfihQDP9WwbhsCn/UpUpzAFw=", "license": "MIT", "dependencies": { @@ -13559,7 +13559,7 @@ }, "node_modules/evp_bytestokey": { "version": "1.0.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", "integrity": "sha1-f8vbGY3HGVlDLv4ThCaE4FJaywI=", "license": "MIT", "dependencies": { @@ -14503,7 +14503,7 @@ }, "node_modules/fsevents": { "version": "2.3.2", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/fsevents/-/fsevents-2.3.2.tgz", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=", "hasInstallScript": true, "license": "MIT", @@ -15662,7 +15662,7 @@ }, "node_modules/hash-base": { "version": "3.1.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/hash-base/-/hash-base-3.1.0.tgz", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", "integrity": "sha1-VcOB2eBuHSmXqIO0o/3f5/DTrzM=", "license": "MIT", "dependencies": { @@ -15676,7 +15676,7 @@ }, "node_modules/hash-base/node_modules/readable-stream": { "version": "3.6.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/readable-stream/-/readable-stream-3.6.0.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha1-M3u9o63AcGvT4CRCaihtS0sskZg=", "license": "MIT", "dependencies": { @@ -15690,7 +15690,7 @@ }, "node_modules/hash-base/node_modules/safe-buffer": { "version": "5.2.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/safe-buffer/-/safe-buffer-5.2.1.tgz", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=", "funding": [ { @@ -15710,7 +15710,7 @@ }, "node_modules/hash-base/node_modules/string_decoder": { "version": "1.3.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/string_decoder/-/string_decoder-1.3.0.tgz", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4=", "license": "MIT", "dependencies": { @@ -15719,7 +15719,7 @@ }, "node_modules/hash.js": { "version": "1.1.7", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/hash.js/-/hash.js-1.1.7.tgz", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", "integrity": "sha1-C6vKU46NTuSg+JiNaIZlN6ADz0I=", "license": "MIT", "dependencies": { @@ -15954,7 +15954,7 @@ }, "node_modules/hmac-drbg": { "version": "1.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "license": "MIT", "dependencies": { @@ -20761,7 +20761,7 @@ }, "node_modules/md5.js": { "version": "1.3.5", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/md5.js/-/md5.js-1.3.5.tgz", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", "integrity": "sha1-tdB7jjIW4+J81yjXL3DR5qNCAF8=", "license": "MIT", "dependencies": { @@ -21048,7 +21048,7 @@ }, "node_modules/miller-rabin": { "version": "4.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/miller-rabin/-/miller-rabin-4.0.1.tgz", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", "integrity": "sha1-8IA1HIZbDcViqEYpZtqlNUPHik0=", "license": "MIT", "dependencies": { @@ -21061,7 +21061,7 @@ }, "node_modules/miller-rabin/node_modules/bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=", "license": "MIT" }, @@ -21193,7 +21193,7 @@ }, "node_modules/minimalistic-crypto-utils": { "version": "1.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", "license": "MIT" }, @@ -22738,7 +22738,7 @@ }, "node_modules/parse-asn1": { "version": "5.1.6", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/parse-asn1/-/parse-asn1-5.1.6.tgz", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", "integrity": "sha1-OFCAo+wTy2KmLTlAnLPoiETNrtQ=", "license": "ISC", "dependencies": { @@ -22938,7 +22938,7 @@ }, "node_modules/pbkdf2": { "version": "3.1.2", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/pbkdf2/-/pbkdf2-3.1.2.tgz", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", "integrity": "sha1-3YIqoIh1gOUvGgOdw+2hCO+uMHU=", "license": "MIT", "dependencies": { @@ -24496,7 +24496,7 @@ }, "node_modules/public-encrypt": { "version": "4.0.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/public-encrypt/-/public-encrypt-4.0.3.tgz", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", "integrity": "sha1-T8ydd6B+SLp1J+fL4N4z0HATMeA=", "license": "MIT", "dependencies": { @@ -24510,7 +24510,7 @@ }, "node_modules/public-encrypt/node_modules/bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=", "license": "MIT" }, @@ -24761,7 +24761,7 @@ }, "node_modules/randomfill": { "version": "1.0.4", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/randomfill/-/randomfill-1.0.4.tgz", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", "integrity": "sha1-ySGW/IarQr6YPxvzF3giSTHWFFg=", "license": "MIT", "dependencies": { @@ -26144,7 +26144,7 @@ }, "node_modules/ripemd160": { "version": "2.0.2", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/ripemd160/-/ripemd160-2.0.2.tgz", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", "integrity": "sha1-ocGm9iR1FXe6XQeRTLyShQWFiQw=", "license": "MIT", "dependencies": { @@ -26712,7 +26712,7 @@ }, "node_modules/sha.js": { "version": "2.4.11", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/sha.js/-/sha.js-2.4.11.tgz", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "integrity": "sha1-N6XPC4HsvGlD3hCbopYNGyZYSuc=", "license": "(MIT AND BSD-3-Clause)", "dependencies": { @@ -37731,7 +37731,7 @@ }, "asn1.js": { "version": "5.4.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/asn1.js/-/asn1.js-5.4.1.tgz", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", "integrity": "sha1-EamAuE67kXgc41sP3C7ilON4Pwc=", "requires": { "bn.js": "^4.0.0", @@ -37742,7 +37742,7 @@ "dependencies": { "bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=" } } @@ -38105,7 +38105,7 @@ }, "bn.js": { "version": "5.2.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-5.2.1.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", "integrity": "sha1-C8UnpqDRjQqo1bBTjOSnfcz6e3A=" }, "body-parser": { @@ -38228,7 +38228,7 @@ }, "brorand": { "version": "1.1.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/brorand/-/brorand-1.1.0.tgz", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" }, "browser-process-hrtime": { @@ -38236,7 +38236,7 @@ }, "browserify-aes": { "version": "1.2.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-aes/-/browserify-aes-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", "integrity": "sha1-Mmc0ZC9APavDADIJhTu3CtQo70g=", "requires": { "buffer-xor": "^1.0.3", @@ -38249,7 +38249,7 @@ }, "browserify-cipher": { "version": "1.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", "integrity": "sha1-jWR0wbhwv9q807z8wZNKEOlPFfA=", "requires": { "browserify-aes": "^1.0.4", @@ -38259,7 +38259,7 @@ }, "browserify-des": { "version": "1.0.2", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-des/-/browserify-des-1.0.2.tgz", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", "integrity": "sha1-OvTx9Zg5QDVy8cZiBDdfen9wPpw=", "requires": { "cipher-base": "^1.0.1", @@ -38270,7 +38270,7 @@ }, "browserify-rsa": { "version": "4.1.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", "integrity": "sha1-sv0Gtbda4pf3zi3GUfkY9b4VjI0=", "requires": { "bn.js": "^5.0.0", @@ -38279,7 +38279,7 @@ }, "browserify-sign": { "version": "4.2.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/browserify-sign/-/browserify-sign-4.2.1.tgz", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", "integrity": "sha1-6vSt1G3VS+O7OzbAzxWrvrp5VsM=", "requires": { "bn.js": "^5.1.1", @@ -38295,7 +38295,7 @@ "dependencies": { "readable-stream": { "version": "3.6.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/readable-stream/-/readable-stream-3.6.0.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha1-M3u9o63AcGvT4CRCaihtS0sskZg=", "requires": { "inherits": "^2.0.3", @@ -38305,12 +38305,12 @@ }, "safe-buffer": { "version": "5.2.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/safe-buffer/-/safe-buffer-5.2.1.tgz", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" }, "string_decoder": { "version": "1.3.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/string_decoder/-/string_decoder-1.3.0.tgz", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4=", "requires": { "safe-buffer": "~5.2.0" @@ -38364,7 +38364,7 @@ }, "buffer-xor": { "version": "1.0.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/buffer-xor/-/buffer-xor-1.0.3.tgz", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" }, "builtin-modules": { @@ -38569,7 +38569,7 @@ }, "cipher-base": { "version": "1.0.4", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/cipher-base/-/cipher-base-1.0.4.tgz", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", "integrity": "sha1-h2Dk7MJy9MNjUy+SbYdKriwTl94=", "requires": { "inherits": "^2.0.1", @@ -39625,7 +39625,7 @@ }, "create-ecdh": { "version": "4.0.4", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/create-ecdh/-/create-ecdh-4.0.4.tgz", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", "integrity": "sha1-1uf0v/pmc2CFoHYv06YyaE2rzE4=", "requires": { "bn.js": "^4.1.0", @@ -39634,14 +39634,14 @@ "dependencies": { "bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=" } } }, "create-hash": { "version": "1.2.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/create-hash/-/create-hash-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", "integrity": "sha1-iJB4rxGmN1a8+1m9IhmWvjqe8ZY=", "requires": { "cipher-base": "^1.0.1", @@ -39653,7 +39653,7 @@ }, "create-hmac": { "version": "1.1.7", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/create-hmac/-/create-hmac-1.1.7.tgz", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", "integrity": "sha1-aRcMeLOrlXFHsriwRXLkfq0iQ/8=", "requires": { "cipher-base": "^1.0.3", @@ -39767,7 +39767,7 @@ }, "crypto-browserify": { "version": "3.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", "integrity": "sha1-OWz58xN/A+S45TLFj2mCVOAPgOw=", "requires": { "browserify-cipher": "^1.0.0", @@ -40124,7 +40124,7 @@ }, "des.js": { "version": "1.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/des.js/-/des.js-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", "integrity": "sha1-U4IULhvcU/hdhtU+X0qn3rkeCEM=", "requires": { "inherits": "^2.0.1", @@ -40204,7 +40204,7 @@ }, "diffie-hellman": { "version": "5.0.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", "integrity": "sha1-QOjumPVaIUlgcUaSHGPhrl89KHU=", "requires": { "bn.js": "^4.1.0", @@ -40214,7 +40214,7 @@ "dependencies": { "bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=" } } @@ -40345,7 +40345,7 @@ }, "elliptic": { "version": "6.5.4", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/elliptic/-/elliptic-6.5.4.tgz", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", "integrity": "sha1-2jfOvTHnmhNn6UG1ku0fvr1Yq7s=", "requires": { "bn.js": "^4.11.9", @@ -40359,7 +40359,7 @@ "dependencies": { "bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=" } } @@ -40831,7 +40831,7 @@ }, "eslint-webpack-plugin": { "version": "3.2.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/eslint-webpack-plugin/-/eslint-webpack-plugin-3.2.0.tgz", + "resolved": "https://registry.npmjs.org/eslint-webpack-plugin/-/eslint-webpack-plugin-3.2.0.tgz", "integrity": "sha1-GXjNue3EYeSwGVog2pUM9XmINHw=", "requires": { "@types/eslint": "^7.29.0 || ^8.4.1", @@ -40843,7 +40843,7 @@ "dependencies": { "ajv": { "version": "8.11.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/ajv/-/ajv-8.11.0.tgz", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", "integrity": "sha1-l36R3ZbKZp9UoR4j43jjO4hKVl8=", "requires": { "fast-deep-equal": "^3.1.1", @@ -40854,7 +40854,7 @@ }, "ajv-keywords": { "version": "5.1.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", "integrity": "sha1-adTThaRzPNvqtElkoRcKiPh/DhY=", "requires": { "fast-deep-equal": "^3.1.3" @@ -40862,12 +40862,12 @@ }, "has-flag": { "version": "4.0.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/has-flag/-/has-flag-4.0.0.tgz", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=" }, "jest-worker": { "version": "28.1.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/jest-worker/-/jest-worker-28.1.3.tgz", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-28.1.3.tgz", "integrity": "sha1-fjxM4/oj0btqzLFp5/OW+Y7Uu5g=", "requires": { "@types/node": "*", @@ -40877,12 +40877,12 @@ }, "json-schema-traverse": { "version": "1.0.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha1-rnvLNlard6c7pcSb9lTzjmtoYOI=" }, "schema-utils": { "version": "4.0.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/schema-utils/-/schema-utils-4.0.0.tgz", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", "integrity": "sha1-YDMenjrnjsXRY1PEZ8NLOgodPfc=", "requires": { "@types/json-schema": "^7.0.9", @@ -40893,7 +40893,7 @@ }, "supports-color": { "version": "8.1.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/supports-color/-/supports-color-8.1.1.tgz", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha1-zW/BfihQDP9WwbhsCn/UpUpzAFw=", "requires": { "has-flag": "^4.0.0" @@ -40976,7 +40976,7 @@ }, "evp_bytestokey": { "version": "1.0.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", "integrity": "sha1-f8vbGY3HGVlDLv4ThCaE4FJaywI=", "requires": { "md5.js": "^1.3.4", @@ -41574,7 +41574,7 @@ }, "fsevents": { "version": "2.3.2", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/fsevents/-/fsevents-2.3.2.tgz", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=", "optional": true }, @@ -42332,7 +42332,7 @@ }, "hash-base": { "version": "3.1.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/hash-base/-/hash-base-3.1.0.tgz", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", "integrity": "sha1-VcOB2eBuHSmXqIO0o/3f5/DTrzM=", "requires": { "inherits": "^2.0.4", @@ -42342,7 +42342,7 @@ "dependencies": { "readable-stream": { "version": "3.6.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/readable-stream/-/readable-stream-3.6.0.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", "integrity": "sha1-M3u9o63AcGvT4CRCaihtS0sskZg=", "requires": { "inherits": "^2.0.3", @@ -42352,12 +42352,12 @@ }, "safe-buffer": { "version": "5.2.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/safe-buffer/-/safe-buffer-5.2.1.tgz", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" }, "string_decoder": { "version": "1.3.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/string_decoder/-/string_decoder-1.3.0.tgz", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4=", "requires": { "safe-buffer": "~5.2.0" @@ -42367,7 +42367,7 @@ }, "hash.js": { "version": "1.1.7", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/hash.js/-/hash.js-1.1.7.tgz", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", "integrity": "sha1-C6vKU46NTuSg+JiNaIZlN6ADz0I=", "requires": { "inherits": "^2.0.3", @@ -42519,7 +42519,7 @@ }, "hmac-drbg": { "version": "1.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", "requires": { "hash.js": "^1.0.3", @@ -45515,7 +45515,7 @@ }, "md5.js": { "version": "1.3.5", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/md5.js/-/md5.js-1.3.5.tgz", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", "integrity": "sha1-tdB7jjIW4+J81yjXL3DR5qNCAF8=", "requires": { "hash-base": "^3.0.0", @@ -45696,7 +45696,7 @@ }, "miller-rabin": { "version": "4.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/miller-rabin/-/miller-rabin-4.0.1.tgz", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", "integrity": "sha1-8IA1HIZbDcViqEYpZtqlNUPHik0=", "requires": { "bn.js": "^4.0.0", @@ -45705,7 +45705,7 @@ "dependencies": { "bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=" } } @@ -45778,7 +45778,7 @@ }, "minimalistic-crypto-utils": { "version": "1.0.1", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" }, "minimatch": { @@ -46760,7 +46760,7 @@ }, "parse-asn1": { "version": "5.1.6", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/parse-asn1/-/parse-asn1-5.1.6.tgz", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", "integrity": "sha1-OFCAo+wTy2KmLTlAnLPoiETNrtQ=", "requires": { "asn1.js": "^5.2.0", @@ -46900,7 +46900,7 @@ }, "pbkdf2": { "version": "3.1.2", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/pbkdf2/-/pbkdf2-3.1.2.tgz", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", "integrity": "sha1-3YIqoIh1gOUvGgOdw+2hCO+uMHU=", "requires": { "create-hash": "^1.1.2", @@ -47676,7 +47676,7 @@ }, "public-encrypt": { "version": "4.0.3", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/public-encrypt/-/public-encrypt-4.0.3.tgz", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", "integrity": "sha1-T8ydd6B+SLp1J+fL4N4z0HATMeA=", "requires": { "bn.js": "^4.1.0", @@ -47689,7 +47689,7 @@ "dependencies": { "bn.js": { "version": "4.12.0", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/bn.js/-/bn.js-4.12.0.tgz", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", "integrity": "sha1-d1s/J477uXGO7HNh9IP7Nvu/6og=" } } @@ -47849,7 +47849,7 @@ }, "randomfill": { "version": "1.0.4", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/randomfill/-/randomfill-1.0.4.tgz", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", "integrity": "sha1-ySGW/IarQr6YPxvzF3giSTHWFFg=", "requires": { "randombytes": "^2.0.5", @@ -48912,7 +48912,7 @@ }, "ripemd160": { "version": "2.0.2", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/ripemd160/-/ripemd160-2.0.2.tgz", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", "integrity": "sha1-ocGm9iR1FXe6XQeRTLyShQWFiQw=", "requires": { "hash-base": "^3.0.0", @@ -49279,7 +49279,7 @@ }, "sha.js": { "version": "2.4.11", - "resolved": "https://artifactory.skyscannertools.net/artifactory/api/npm/npm/sha.js/-/sha.js-2.4.11.tgz", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "integrity": "sha1-N6XPC4HsvGlD3hCbopYNGyZYSuc=", "requires": { "inherits": "^2.0.1", From 5224fdadf7af0683a4d9834fa940e0aaf533d895 Mon Sep 17 00:00:00 2001 From: Ollie Curtis <8831547+olliecurtis@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:14:08 +0100 Subject: [PATCH 3/4] Prettier the files --- .../react-scripts/backpack-addons/README.md | 28 +++++++++---------- .../backpack-addons/amdExcludes.js | 8 +++--- .../backpack-addons/babelIncludePrefixes.js | 8 +++--- .../backpack-addons/crossOriginLoading.js | 4 +-- .../backpack-addons/externals.js | 8 +++--- .../backpack-addons/ignoreCssWarnings.js | 2 +- .../backpack-addons/runtimeChunk.js | 16 +++++------ .../backpack-addons/sassFunctions.js | 6 ++-- .../backpack-addons/splitChunks.js | 20 ++++++------- .../backpack-addons/sriEnabled.js | 10 +++---- .../backpack-addons/ssr/isSsr.js | 4 +-- .../backpack-addons/ssr/statusFile.js | 2 +- .../docs/migrating-from-v6-to-v7.md | 2 +- .../getCSSModuleLocalIdentWithProjectName.js | 22 ++++++++------- 14 files changed, 71 insertions(+), 69 deletions(-) diff --git a/packages/react-scripts/backpack-addons/README.md b/packages/react-scripts/backpack-addons/README.md index ed3e924dd5..9fd76f4465 100644 --- a/packages/react-scripts/backpack-addons/README.md +++ b/packages/react-scripts/backpack-addons/README.md @@ -2,19 +2,19 @@ Our react scripts fork includes a number of custom configuration items in order ## Features Description -| Feature | Description | Default Value | -|:---|:--|:---| -| **babelIncludePrefixes** | Array of module name prefixes to opt into babel compilation.
Default includes **@skyscanner/bpk-, bpk- and saddlebag-** packages by default to be compiled | **[@skyscanner/bpk-, bpk- and saddlebag-]** | -| **sriEnabled** | Determines if Subresource Intergrity is used during build to add an integrity hash for files.
The SRI is a security feature to enable browsers to verify the files they fetch are unmodified.
If enabled crossOriginLoading value is overriden with anonymous to allow output to have integrity value
See [webpack subresource integrity docs](https://github.com/waysact/webpack-subresource-integrity/blob/master/README.md) | **false** (this is currently the default in the future security may want to make it true by default but pending them still trying things about) | -| **crossOriginLoading** | Option to enable cross origin loading of chunks to modify the default webpack behaviour of being false.
Docs: https://webpack.js.org/configuration/output/#outputcrossoriginloading | **false** | -| **ignoreCssWarnings** | Provides the ablity to supress CSS ordering warnings when its safe and ordering is not of a concern on the output
See [mini css extract plugin docs](https://github.com/webpack-contrib/mini-css-extract-plugin#remove-order-warnings) | **false** - by default we should care about order as it can sometimes have an output impact | -| **cssModules** | Determines if cssModules are being used.
If enabled supports css modules and configures css-loader for use
If not enabled supports sass modules in the project and configures sass-loader for use | **true** | -| **amdExludes** | Array of module names to be excluded from AMD ([Asynchronous Module Definition](https://webpack.js.org/api/module-methods/#amd)) parsing.
lodash included by defeault. | **['lodash']** | -| **externals** | Provides a way of excluding dependencies from the bundles and instead relies on them being available at runtime on the clients environment E.g. React libraries.
See https://webpack.js.org/configuration/externals/ | **{}** | -| **ssrExternals** | The same as above `externals` except used for server side rendering only in **ssr.js** | **{}** | -| **enableAutomaticChunking** | Opts into automatic chunking of vender, common and app code.
When enabled the **splitChunks** plugin creates vender and common chunks which are split and when provided uses the `venderChunkRegex` to specify what is in each chunk.
When enabled **runtimeChunk** plugin creates a separate runtime chunk for projects to enable long term caching. | **false** | -| **vendorsChunkRegex** | Regex for picking what goes into the vendors chunk. Requires enableAutomaticChunking to be enabled.
See [cacheGroups](https://webpack.js.org/plugins/split-chunks-plugin/#splitchunkscachegroups) docs for further details. | | -| **sassFunctions** | This function encodes svg content into `base64` when there is a `bpk-icon` in the.scss file. | | +| Feature | Description | Default Value | +| :-------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------- | +| **babelIncludePrefixes** | Array of module name prefixes to opt into babel compilation.
Default includes **@skyscanner/bpk-, bpk- and saddlebag-** packages by default to be compiled | **[@skyscanner/bpk-, bpk- and saddlebag-]** | +| **sriEnabled** | Determines if Subresource Intergrity is used during build to add an integrity hash for files.
The SRI is a security feature to enable browsers to verify the files they fetch are unmodified.
If enabled crossOriginLoading value is overriden with anonymous to allow output to have integrity value
See [webpack subresource integrity docs](https://github.com/waysact/webpack-subresource-integrity/blob/master/README.md) | **false** (this is currently the default in the future security may want to make it true by default but pending them still trying things about) | +| **crossOriginLoading** | Option to enable cross origin loading of chunks to modify the default webpack behaviour of being false.
Docs: https://webpack.js.org/configuration/output/#outputcrossoriginloading | **false** | +| **ignoreCssWarnings** | Provides the ablity to supress CSS ordering warnings when its safe and ordering is not of a concern on the output
See [mini css extract plugin docs](https://github.com/webpack-contrib/mini-css-extract-plugin#remove-order-warnings) | **false** - by default we should care about order as it can sometimes have an output impact | +| **cssModules** | Determines if cssModules are being used.
If enabled supports css modules and configures css-loader for use
If not enabled supports sass modules in the project and configures sass-loader for use | **true** | +| **amdExludes** | Array of module names to be excluded from AMD ([Asynchronous Module Definition](https://webpack.js.org/api/module-methods/#amd)) parsing.
lodash included by defeault. | **['lodash']** | +| **externals** | Provides a way of excluding dependencies from the bundles and instead relies on them being available at runtime on the clients environment E.g. React libraries.
See https://webpack.js.org/configuration/externals/ | **{}** | +| **ssrExternals** | The same as above `externals` except used for server side rendering only in **ssr.js** | **{}** | +| **enableAutomaticChunking** | Opts into automatic chunking of vender, common and app code.
When enabled the **splitChunks** plugin creates vender and common chunks which are split and when provided uses the `venderChunkRegex` to specify what is in each chunk.
When enabled **runtimeChunk** plugin creates a separate runtime chunk for projects to enable long term caching. | **false** | +| **vendorsChunkRegex** | Regex for picking what goes into the vendors chunk. Requires enableAutomaticChunking to be enabled.
See [cacheGroups](https://webpack.js.org/plugins/split-chunks-plugin/#splitchunkscachegroups) docs for further details. | | +| **sassFunctions** | This function encodes svg content into `base64` when there is a `bpk-icon` in the.scss file. | | ## How to add new feature @@ -22,7 +22,7 @@ Our react scripts fork includes a number of custom configuration items in order - Require features in the file(for example, webpack.config.js) where they are needed. - For each line of code that is changed, make sure to add a comment `// #backpack-addon {{featureName}}` - Try to keep the lines of code changed outside of the backpack-addons folder to a minimum -`require(...../backpack-addons/...)` files instead of writing it inline as much as possible. + `require(...../backpack-addons/...)` files instead of writing it inline as much as possible. - Add a description of the new feature in the table above the current document. ## How to upgrade from the upstream `facebook/create-react-app` repo diff --git a/packages/react-scripts/backpack-addons/amdExcludes.js b/packages/react-scripts/backpack-addons/amdExcludes.js index 52bc824646..a40dc4dbd6 100644 --- a/packages/react-scripts/backpack-addons/amdExcludes.js +++ b/packages/react-scripts/backpack-addons/amdExcludes.js @@ -7,10 +7,10 @@ const bpkReactScriptsConfig = appPackageJson['backpack-react-scripts'] || {}; module.exports = { test: new RegExp( `(^|/)(${(bpkReactScriptsConfig.amdExcludes || []) - .concat('lodash') - .join('|')})(/|.|$)` + .concat('lodash') + .join('|')})(/|.|$)` ), parser: { amd: false, - } -}; + }, +}; diff --git a/packages/react-scripts/backpack-addons/babelIncludePrefixes.js b/packages/react-scripts/backpack-addons/babelIncludePrefixes.js index 708b39337b..803426d277 100644 --- a/packages/react-scripts/backpack-addons/babelIncludePrefixes.js +++ b/packages/react-scripts/backpack-addons/babelIncludePrefixes.js @@ -1,11 +1,11 @@ -"use strict"; +'use strict'; -const paths = require("../config/paths"); +const paths = require('../config/paths'); const appPackageJson = require(paths.appPackageJson); -const bpkReactScriptsConfig = appPackageJson["backpack-react-scripts"] || {}; +const bpkReactScriptsConfig = appPackageJson['backpack-react-scripts'] || {}; const customModuleRegexes = bpkReactScriptsConfig.babelIncludePrefixes ? bpkReactScriptsConfig.babelIncludePrefixes.map( - (prefix) => new RegExp(`node_modules[\\/]${prefix}`) + prefix => new RegExp(`node_modules[\\/]${prefix}`) ) : []; diff --git a/packages/react-scripts/backpack-addons/crossOriginLoading.js b/packages/react-scripts/backpack-addons/crossOriginLoading.js index e090cc8715..e6d0c89ffc 100644 --- a/packages/react-scripts/backpack-addons/crossOriginLoading.js +++ b/packages/react-scripts/backpack-addons/crossOriginLoading.js @@ -1,11 +1,11 @@ 'use strict'; -const paths = require("../config/paths"); +const paths = require('../config/paths'); const appPackageJson = require(paths.appPackageJson); const bpkReactScriptsConfig = appPackageJson['backpack-react-scripts'] || {}; const crossOriginLoading = bpkReactScriptsConfig.crossOriginLoading || false; const sriEnabled = bpkReactScriptsConfig.sriEnabled || false; module.exports = { - crossOriginLoading: sriEnabled ? 'anonymous' : crossOriginLoading + crossOriginLoading: sriEnabled ? 'anonymous' : crossOriginLoading, }; diff --git a/packages/react-scripts/backpack-addons/externals.js b/packages/react-scripts/backpack-addons/externals.js index 073d235fbf..de8cab87f4 100644 --- a/packages/react-scripts/backpack-addons/externals.js +++ b/packages/react-scripts/backpack-addons/externals.js @@ -8,20 +8,20 @@ function externals(isEnvProduction) { if (!isEnvProduction) { return { externals: {}, - } + }; } return { externals: bpkReactScriptsConfig.externals || {}, - } + }; } function ssrExternals() { return { externals: bpkReactScriptsConfig.ssrExternals || [], - } + }; } module.exports = { externals, - ssrExternals + ssrExternals, }; diff --git a/packages/react-scripts/backpack-addons/ignoreCssWarnings.js b/packages/react-scripts/backpack-addons/ignoreCssWarnings.js index 973e4c3276..2afef690b3 100644 --- a/packages/react-scripts/backpack-addons/ignoreCssWarnings.js +++ b/packages/react-scripts/backpack-addons/ignoreCssWarnings.js @@ -6,5 +6,5 @@ const bpkReactScriptsConfig = appPackageJson['backpack-react-scripts'] || {}; const ignoreCssWarnings = bpkReactScriptsConfig.ignoreCssWarnings || false; module.exports = { - ignoreOrder: ignoreCssWarnings + ignoreOrder: ignoreCssWarnings, }; diff --git a/packages/react-scripts/backpack-addons/runtimeChunk.js b/packages/react-scripts/backpack-addons/runtimeChunk.js index 75ed67b49b..6f6c9136ca 100644 --- a/packages/react-scripts/backpack-addons/runtimeChunk.js +++ b/packages/react-scripts/backpack-addons/runtimeChunk.js @@ -6,17 +6,17 @@ const bpkReactScriptsConfig = appPackageJson['backpack-react-scripts'] || {}; const runtimeChunk = { runtimeChunk: bpkReactScriptsConfig.enableAutomaticChunking - ? { - name: entrypoint => `runtime-${entrypoint.name}`, - } - : false -} + ? { + name: entrypoint => `runtime-${entrypoint.name}`, + } + : false, +}; -const ssrRuntimeChunk = { +const ssrRuntimeChunk = { runtimeChunk: false, -} +}; module.exports = { runtimeChunk, - ssrRuntimeChunk + ssrRuntimeChunk, }; diff --git a/packages/react-scripts/backpack-addons/sassFunctions.js b/packages/react-scripts/backpack-addons/sassFunctions.js index d19782bad3..b0b7a42be2 100644 --- a/packages/react-scripts/backpack-addons/sassFunctions.js +++ b/packages/react-scripts/backpack-addons/sassFunctions.js @@ -8,7 +8,7 @@ module.exports = { const buffer = Buffer.from(str.getValue()); return sass.types.String(buffer.toString('base64')); - } - } - } + }, + }, + }, }; diff --git a/packages/react-scripts/backpack-addons/splitChunks.js b/packages/react-scripts/backpack-addons/splitChunks.js index 48a577b5db..7f0bea8bea 100644 --- a/packages/react-scripts/backpack-addons/splitChunks.js +++ b/packages/react-scripts/backpack-addons/splitChunks.js @@ -15,20 +15,20 @@ const chunksAndGroups = { : {}, }; -module.exports = (isEnvDevelopment) => { +module.exports = isEnvDevelopment => { // Automatically split vendor and commons // https://twitter.com/wSokra/status/969633336732905474 // https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366 return { splitChunks: bpkReactScriptsConfig.enableAutomaticChunking - ? isEnvDevelopment - ? { - ...chunksAndGroups, - } - : { - ...chunksAndGroups, - name: false, - } - : {} + ? isEnvDevelopment + ? { + ...chunksAndGroups, + } + : { + ...chunksAndGroups, + name: false, + } + : {}, }; }; diff --git a/packages/react-scripts/backpack-addons/sriEnabled.js b/packages/react-scripts/backpack-addons/sriEnabled.js index d3d8859973..ebe360f7c7 100644 --- a/packages/react-scripts/backpack-addons/sriEnabled.js +++ b/packages/react-scripts/backpack-addons/sriEnabled.js @@ -1,9 +1,9 @@ -"use strict"; +'use strict'; -const { SubresourceIntegrityPlugin } = require("webpack-subresource-integrity"); -const paths = require("../config/paths"); +const { SubresourceIntegrityPlugin } = require('webpack-subresource-integrity'); +const paths = require('../config/paths'); const appPackageJson = require(paths.appPackageJson); -const bpkReactScriptsConfig = appPackageJson["backpack-react-scripts"] || {}; +const bpkReactScriptsConfig = appPackageJson['backpack-react-scripts'] || {}; const sriEnabled = bpkReactScriptsConfig.sriEnabled || false; module.exports = () => { @@ -15,7 +15,7 @@ module.exports = () => { sriEnabled && new SubresourceIntegrityPlugin({ enabled: true, - hashFuncNames: ["sha384"], + hashFuncNames: ['sha384'], }) ); }; diff --git a/packages/react-scripts/backpack-addons/ssr/isSsr.js b/packages/react-scripts/backpack-addons/ssr/isSsr.js index 1852b8b93b..756797d5a7 100644 --- a/packages/react-scripts/backpack-addons/ssr/isSsr.js +++ b/packages/react-scripts/backpack-addons/ssr/isSsr.js @@ -5,11 +5,11 @@ const paths = require('../../config/paths'); /** * In order to build for SSR, need to confirm 3 places - * + * * 1. `ssrEnabled` is on * 2. Use `build-ssr` command * 3. `ssr.js` exists in `src` folder - * + * */ const isSsr = () => { // Ensure `ssrEnabled` is on diff --git a/packages/react-scripts/backpack-addons/ssr/statusFile.js b/packages/react-scripts/backpack-addons/ssr/statusFile.js index f918867a24..a869e8504b 100644 --- a/packages/react-scripts/backpack-addons/ssr/statusFile.js +++ b/packages/react-scripts/backpack-addons/ssr/statusFile.js @@ -16,7 +16,7 @@ function inProgress(buildPath) { fs.writeFileSync(statusFilePath(buildPath), 'IN_PROGRESS'); } -exports.init = function(compiler, buildPath) { +exports.init = function (compiler, buildPath) { mkdirp.sync(buildPath); inProgress(buildPath); diff --git a/packages/react-scripts/docs/migrating-from-v6-to-v7.md b/packages/react-scripts/docs/migrating-from-v6-to-v7.md index 9624bc9b68..13d1dc005a 100644 --- a/packages/react-scripts/docs/migrating-from-v6-to-v7.md +++ b/packages/react-scripts/docs/migrating-from-v6-to-v7.md @@ -14,7 +14,7 @@ Like any major release, `backpack-react-scripts@7` contains a few breaking chang We have decoupled ESLint and Stylelint from this release. This is because the rate at which our configs (`eslint-config-skyscanner` and `stylelint-config-skyscanner`) change is much faster than the underlying functionality of `create-react-app`, causing unecessary churn. -That means that your `npm run lint:js` and `npm run lint:scss` scripts will no longer work if on `eslint-config-skyscanner@^4` or `stylelint-config-skyscanner@^1`. +That means that your `npm run lint:js` and `npm run lint:scss` scripts will no longer work if on `eslint-config-skyscanner@^4` or `stylelint-config-skyscanner@^1`. If on these older versions of our Skyscanner linting configurations and you do not wish to upgrade in this change you will need to install their peer dependencies. It is however recommended to upgrade to the latest of each, where not only will this not be a problem but you will benefit from the latest linting features and improvements. diff --git a/packages/react-scripts/utils/getCSSModuleLocalIdentWithProjectName.js b/packages/react-scripts/utils/getCSSModuleLocalIdentWithProjectName.js index d3faef486a..c0f4bcf71c 100644 --- a/packages/react-scripts/utils/getCSSModuleLocalIdentWithProjectName.js +++ b/packages/react-scripts/utils/getCSSModuleLocalIdentWithProjectName.js @@ -9,14 +9,16 @@ const createHash = buffer => .toString('base64') .substr(0, 5); -module.exports = projectName => (...args) => { - const localIdent = getCSSModuleLocalIdent(...args); +module.exports = + projectName => + (...args) => { + const localIdent = getCSSModuleLocalIdent(...args); - // Create an ident based on the file location, class name and Project Name. - // Will be unique across projects - // Format [ file/folder ]_[ localName ]__[ 5 character hash of CRA ident and project name ] - return ( - localIdent.substring(0, localIdent.length - 5) + - createHash(localIdent + projectName) - ); -}; + // Create an ident based on the file location, class name and Project Name. + // Will be unique across projects + // Format [ file/folder ]_[ localName ]__[ 5 character hash of CRA ident and project name ] + return ( + localIdent.substring(0, localIdent.length - 5) + + createHash(localIdent + projectName) + ); + }; From 97e4da36a35a1314d82e1ab9b15a0bfc76747962 Mon Sep 17 00:00:00 2001 From: Ollie Curtis <8831547+olliecurtis@users.noreply.github.com> Date: Tue, 10 Oct 2023 18:32:21 +0100 Subject: [PATCH 4/4] Eslint fixes --- packages/react-scripts/backpack-addons/cssModules.js | 1 + packages/react-scripts/backpack-addons/ssr/MultiCompilerUi.js | 1 + packages/react-scripts/backpack-addons/ssr/customWebpackUtils.js | 1 + packages/react-scripts/backpack-addons/ssr/forkSsr.js | 1 + packages/react-scripts/scripts/start-ssr.js | 1 + 5 files changed, 5 insertions(+) diff --git a/packages/react-scripts/backpack-addons/cssModules.js b/packages/react-scripts/backpack-addons/cssModules.js index 004e4ecda4..dd9ccfc37e 100644 --- a/packages/react-scripts/backpack-addons/cssModules.js +++ b/packages/react-scripts/backpack-addons/cssModules.js @@ -1,5 +1,6 @@ 'use strict'; +// eslint-disable-next-line no-unused-vars const postcssNormalize = require('postcss-normalize'); const paths = require('../config/paths'); const appPackageJson = require(paths.appPackageJson); diff --git a/packages/react-scripts/backpack-addons/ssr/MultiCompilerUi.js b/packages/react-scripts/backpack-addons/ssr/MultiCompilerUi.js index eb04376551..d22984520b 100644 --- a/packages/react-scripts/backpack-addons/ssr/MultiCompilerUi.js +++ b/packages/react-scripts/backpack-addons/ssr/MultiCompilerUi.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line strict const clearConsole = require('react-dev-utils/clearConsole'); const chalk = require('chalk'); diff --git a/packages/react-scripts/backpack-addons/ssr/customWebpackUtils.js b/packages/react-scripts/backpack-addons/ssr/customWebpackUtils.js index fd411bb421..a7ed925e4a 100644 --- a/packages/react-scripts/backpack-addons/ssr/customWebpackUtils.js +++ b/packages/react-scripts/backpack-addons/ssr/customWebpackUtils.js @@ -1,3 +1,4 @@ +// eslint-disable-next-line strict const chalk = require('chalk'); const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages'); const typescriptFormatter = require('react-dev-utils/typescriptFormatter'); diff --git a/packages/react-scripts/backpack-addons/ssr/forkSsr.js b/packages/react-scripts/backpack-addons/ssr/forkSsr.js index dccf32c620..f4dd0e22bd 100644 --- a/packages/react-scripts/backpack-addons/ssr/forkSsr.js +++ b/packages/react-scripts/backpack-addons/ssr/forkSsr.js @@ -3,6 +3,7 @@ * be run by child_process.fork from the start-ssr script. */ +// eslint-disable-next-line strict const chalk = require('chalk'); const fs = require('fs'); const webpack = require('webpack'); diff --git a/packages/react-scripts/scripts/start-ssr.js b/packages/react-scripts/scripts/start-ssr.js index e98e68b9a9..91ca4cc2e8 100644 --- a/packages/react-scripts/scripts/start-ssr.js +++ b/packages/react-scripts/scripts/start-ssr.js @@ -1,3 +1,4 @@ +/* eslint-disable no-undef */ // @remove-on-eject-begin /** * Copyright (c) 2015-present, Facebook, Inc.