From 6ddf2172bb13c60ba14d985c07890c8501c4afc3 Mon Sep 17 00:00:00 2001 From: Eli Lamb Date: Mon, 5 Aug 2024 23:41:08 +1200 Subject: [PATCH] Moved pyodide to dev dependencies --- package-lock.json | 6 ++++-- package.json | 4 ++-- website/docs/introduction/getting-started.md | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 09c37e07..b8536be2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,7 @@ "version": "1.11.1", "license": "MIT", "dependencies": { - "comlink": "^4.4.1", - "pyodide": "0.26.2" + "comlink": "^4.4.1" }, "devDependencies": { "@types/react": "^18.0.32", @@ -18,6 +17,7 @@ "@typescript-eslint/parser": "^5.46.0", "eslint": "^8.29.0", "prettier": "^2.8.1", + "pyodide": "^0.26.2", "react": "^18.2.0", "react-dom": "^18.2.0", "standard-version": "^9.3.1", @@ -2751,6 +2751,7 @@ "version": "0.26.2", "resolved": "https://registry.npmjs.org/pyodide/-/pyodide-0.26.2.tgz", "integrity": "sha512-8VCRdFX83gBsWs6XP2rhG8HMaB+JaVyyav4q/EMzoV8fXH8HN6T5IISC92SNma6i1DRA3SVXA61S1rJcB8efgA==", + "dev": true, "license": "Apache-2.0", "dependencies": { "ws": "^8.5.0" @@ -3610,6 +3611,7 @@ "version": "8.18.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "dev": true, "license": "MIT", "engines": { "node": ">=10.0.0" diff --git a/package.json b/package.json index 28f3338d..31446a43 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "@typescript-eslint/parser": "^5.46.0", "eslint": "^8.29.0", "prettier": "^2.8.1", + "pyodide": "^0.26.2", "react": "^18.2.0", "react-dom": "^18.2.0", "standard-version": "^9.3.1", @@ -46,7 +47,6 @@ "react-dom": ">=16.9.0" }, "dependencies": { - "comlink": "^4.4.1", - "pyodide": "0.26.2" + "comlink": "^4.4.1" } } diff --git a/website/docs/introduction/getting-started.md b/website/docs/introduction/getting-started.md index 78ede710..40030997 100644 --- a/website/docs/introduction/getting-started.md +++ b/website/docs/introduction/getting-started.md @@ -4,7 +4,7 @@ sidebar_position: 1 # Getting Started -Run Python (3.11) code directly in the browser using [Pyodide](https://pyodide.org). +Run Python (3.12) code directly in the browser using [Pyodide](https://pyodide.org). Learn how to get `react-py` set up in your project.