From c850833d81ad048ffe378586ed7d2b086a073855 Mon Sep 17 00:00:00 2001 From: Nathan Date: Tue, 17 Dec 2024 16:43:50 -0500 Subject: [PATCH] Update to React 18.2 to match Dash 3.0.0 --- {{cookiecutter.project_shortname}}/package.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/{{cookiecutter.project_shortname}}/package.json b/{{cookiecutter.project_shortname}}/package.json index 62c8c6d..49c0648 100644 --- a/{{cookiecutter.project_shortname}}/package.json +++ b/{{cookiecutter.project_shortname}}/package.json @@ -2,7 +2,8 @@ "name": "{{ cookiecutter.project_shortname }}", "version": "0.0.1", "description": "{{ cookiecutter.description }}", -{% if cookiecutter.github_org -%} + {% if cookiecutter.github_org -% + } "repository": { "type": "git", "url": "git://github.com/{{ cookiecutter.github_org }}/{{ cookiecutter.project_shortname.replace('_', '-') }}.git" @@ -11,7 +12,8 @@ "url": "https://github.com/{{ cookiecutter.github_org }}/{{ cookiecutter.project_shortname.replace('_', '-') }}/issues" }, "homepage": "https://github.com/{{ cookiecutter.github_org }}/{{ cookiecutter.project_shortname.replace('_', '-') }}", -{%- endif %} + {%- endif % + } "main": "build/index.js", "scripts": { "start": "webpack serve --config ./webpack.serve.config.js --open", @@ -44,9 +46,9 @@ "eslint-plugin-import": "^2.18.0", "eslint-plugin-react": "^7.14.2", "prop-types": "^15.8.1", - "react": "^16.8.6", + "react": "^18.2.0", "react-docgen": "^5.4.3", - "react-dom": "^16.8.6", + "react-dom": "^18.2.0", "style-loader": "^3.3.3", "styled-jsx": "^3.2.1", "webpack": "^5.84.1", @@ -57,4 +59,4 @@ "node": ">=8.11.0", "npm": ">=6.1.0" } -} +} \ No newline at end of file