From abe176d0888c0fdcc803ddafe71a5cee9f4b63a0 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 7 Oct 2022 19:44:41 +0200 Subject: refactor(frontend): improve HMR experience Use a HMR acceptor as in https://github.com/vitejs/vite/issues/10227#issuecomment-1256969751 Also updates frontend tooling to the latest version (yarn now support typescript 4.8.4) --- .yarn/sdks/eslint/lib/api.js | 4 ++-- .yarn/sdks/eslint/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to '.yarn/sdks/eslint') diff --git a/.yarn/sdks/eslint/lib/api.js b/.yarn/sdks/eslint/lib/api.js index fc728d95..653b22ba 100644 --- a/.yarn/sdks/eslint/lib/api.js +++ b/.yarn/sdks/eslint/lib/api.js @@ -1,13 +1,13 @@ #!/usr/bin/env node const {existsSync} = require(`fs`); -const {createRequire, createRequireFromPath} = require(`module`); +const {createRequire} = require(`module`); const {resolve} = require(`path`); const relPnpApiPath = "../../../../.pnp.cjs"; const absPnpApiPath = resolve(__dirname, relPnpApiPath); -const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); +const absRequire = createRequire(absPnpApiPath); if (existsSync(absPnpApiPath)) { if (!process.versions.pnp) { diff --git a/.yarn/sdks/eslint/package.json b/.yarn/sdks/eslint/package.json index c2abd332..bca3659d 100644 --- a/.yarn/sdks/eslint/package.json +++ b/.yarn/sdks/eslint/package.json @@ -1,6 +1,6 @@ { "name": "eslint", - "version": "8.23.0-sdk", + "version": "8.24.0-sdk", "main": "./lib/api.js", "type": "commonjs" } -- cgit v1.2.3-70-g09d2