From 592cdef8a4ac68b5051645f24dc6a59f581d352f Mon Sep 17 00:00:00 2001 From: ghdtjgus76 Date: Wed, 24 Jul 2024 00:50:32 +0900 Subject: [PATCH 1/2] fix: move dependencies to devDependencies in cra-template --- packages/cra-template/template.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/cra-template/template.json b/packages/cra-template/template.json index 7610e572c16..5ad640ea439 100644 --- a/packages/cra-template/template.json +++ b/packages/cra-template/template.json @@ -1,10 +1,12 @@ { "package": { "dependencies": { + "web-vitals": "^2.1.0" + }, + "devDependencies": { "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^13.0.0", - "@testing-library/user-event": "^13.2.1", - "web-vitals": "^2.1.0" + "@testing-library/user-event": "^13.2.1" }, "eslintConfig": { "extends": ["react-app", "react-app/jest"] From 311c63ae57c15e6d89ba087133530f0bcbae4b06 Mon Sep 17 00:00:00 2001 From: ghdtjgus76 Date: Wed, 24 Jul 2024 00:50:39 +0900 Subject: [PATCH 2/2] fix: move dependencies to devDependencies in cra-typescript-template --- packages/cra-template-typescript/template.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/cra-template-typescript/template.json b/packages/cra-template-typescript/template.json index db2d4761047..77928dc0366 100644 --- a/packages/cra-template-typescript/template.json +++ b/packages/cra-template-typescript/template.json @@ -1,6 +1,9 @@ { "package": { "dependencies": { + "web-vitals": "^2.1.0" + }, + "devDependencies": { "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^13.0.0", "@testing-library/user-event": "^13.2.1", @@ -8,8 +11,7 @@ "@types/node": "^16.7.13", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", - "typescript": "^4.4.2", - "web-vitals": "^2.1.0" + "typescript": "^4.4.2" }, "eslintConfig": { "extends": ["react-app", "react-app/jest"]