From 2a31b1743d02a432abfb70f4507a1aa279091fe2 Mon Sep 17 00:00:00 2001 From: David Sancho Moreno Date: Wed, 18 Oct 2023 06:29:53 +0200 Subject: [PATCH] Install with npm --- .github/workflows/build-sample-project.yml | 2 -- package-lock.json | 8 ++++---- package.json | 1 + 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-sample-project.yml b/.github/workflows/build-sample-project.yml index 0b2aefe..9ad95ad 100644 --- a/.github/workflows/build-sample-project.yml +++ b/.github/workflows/build-sample-project.yml @@ -28,8 +28,6 @@ jobs: key: ${{ matrix.system }}-esy-${{ hashFiles('esy.lock/index.json') }} restore-keys: | ${{ matrix.system }}-esy- - - name: install esy - run: npm i -g esy@beta - name: npm install run: npm install # Separating the esy steps provides more fine-grained insight when diff --git a/package-lock.json b/package-lock.json index cca05e0..d2c2043 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,11 +5,11 @@ "packages": { "": { "dependencies": { + "esy": "beta", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { - "esy": "^0.6.12", "webpack": "^5.73.0", "webpack-cli": "^4.9.2", "webpack-dev-server": "^4.9.1" @@ -1004,10 +1004,10 @@ } }, "node_modules/esy": { - "version": "0.6.12", - "dev": true, + "version": "0.7.2-beta.1", + "resolved": "https://registry.npmjs.org/esy/-/esy-0.7.2-beta.1.tgz", + "integrity": "sha512-g7wht0g0fSVqXKiu9eH3eYlWKEZtgY5H4/hxwto2TngGgT8KEw/uT9XtZG6UA4e/5c9PeRXKB356/6LapLksVA==", "hasInstallScript": true, - "license": "MIT", "bin": { "esy": "bin/esy" } diff --git a/package.json b/package.json index dc52fee..de53fed 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "serve": "webpack serve --open --mode development --entry ./_build/default/src/output/src/ReactApp.js" }, "dependencies": { + "esy": "beta", "react": "^18.2.0", "react-dom": "^18.2.0" },