From 3c042cc169e24e3da1c5e3aa6f09999bd90f8bfb Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaurym@users.noreply.github.com> Date: Mon, 6 Mar 2023 11:33:12 +0100 Subject: [PATCH] refactor: Switch back to crisp (#25) * refactor: Switch back to crisp * update node version * Fix node * --openssl-legacy-provider * Use node 16 --- .github/workflows/pr.yml | 3 +++ package.json | 6 +++--- public/index.html | 2 +- public/js/crisp.js | 10 ++++++++++ public/js/sendinblue.js | 10 ---------- 5 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 public/js/crisp.js delete mode 100644 public/js/sendinblue.js diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 35452ce..25dc6cb 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,6 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' - run: yarn install - run: yarn test:lint - run: yarn test:prettier diff --git a/package.json b/package.json index e4a9100..75c0346 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "homepage": "https://saasify.sh", "license": "MIT", "engines": { - "node": ">=10" + "node": "16.x" }, "scripts": { "update-deployment": "saasify get amaurymartiny/reacher@latest -o src/lib/deployment.json", - "start": "SKIP_PREFLIGHT_CHECK=true react-app-rewired start", - "build": "SKIP_PREFLIGHT_CHECK=true react-app-rewired build", + "start": "SKIP_PREFLIGHT_CHECK=true react-app-rewired start --openssl-legacy-provider", + "build": "SKIP_PREFLIGHT_CHECK=true react-app-rewired build --openssl-legacy-provider", "analyze": "source-map-explorer 'build/static/js/*.js'", "test": "run-s test:*", "test:lint": "eslint .", diff --git a/public/index.html b/public/index.html index 882e72a..2fcf25a 100644 --- a/public/index.html +++ b/public/index.html @@ -10,7 +10,7 @@ - +