From 32fa29afddeb016663d6535506515cbf5388c2ae Mon Sep 17 00:00:00 2001 From: Zachary Hueras Date: Fri, 17 Nov 2023 19:56:05 -0500 Subject: [PATCH] fix(decorator-mui): fix broken dependencies @forml/core only pulled in for tests, other dependencies should be peer --- package-lock.json | 9 +++------ packages/decorator-mui/package.json | 16 ++++------------ 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 44599b9..3b191b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,7 +66,7 @@ }, "example": { "name": "@forml/example", - "version": "1.8.0-develop.1", + "version": "1.0.4", "license": "ISC", "dependencies": { "@babel/runtime": "^7.23.2", @@ -30437,9 +30437,7 @@ "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@date-io/moment": "^2.16.1", - "@forml/context": "^1.8.0-develop.1", "@forml/core": "^1.8.0-develop.1", - "@forml/hooks": "^1.8.0-develop.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "babel-jest": "^29.2.2", @@ -30453,7 +30451,8 @@ "peerDependencies": { "@emotion/react": "^11.8.1", "@emotion/styled": "^11.8.1", - "@forml/hooks": ">=1.0.0", + "@forml/context": "^1.8.0-develop.1", + "@forml/hooks": "^1.8.0-develop.1", "@mui/icons-material": "^5.4.4", "@mui/lab": "^5.0.0-alpha.71", "@mui/material": "^5.4.4", @@ -32078,9 +32077,7 @@ "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", "@date-io/moment": "^2.16.1", - "@forml/context": "^1.8.0-develop.1", "@forml/core": "^1.8.0-develop.1", - "@forml/hooks": "^1.8.0-develop.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "babel-jest": "^29.2.2", diff --git a/packages/decorator-mui/package.json b/packages/decorator-mui/package.json index 4a0b437..210a775 100644 --- a/packages/decorator-mui/package.json +++ b/packages/decorator-mui/package.json @@ -14,14 +14,7 @@ "type": "git", "url": "git+https://github.com/forml-js/forml.git" }, - "keywords": [ - "forml", - "decorator", - "react", - "json", - "schema", - "form" - ], + "keywords": ["forml", "decorator", "react", "json", "schema", "form"], "author": "Zachary Hueras", "license": "MIT", "bugs": { @@ -34,10 +27,8 @@ "@babel/plugin-proposal-object-rest-spread": "^7.20.2", "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", - "@date-io/moment": "^2.16.1", - "@forml/context": "^1.8.0-develop.1", "@forml/core": "^1.8.0-develop.1", - "@forml/hooks": "^1.8.0-develop.1", + "@date-io/moment": "^2.16.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "babel-jest": "^29.2.2", @@ -51,7 +42,8 @@ "peerDependencies": { "@emotion/react": "^11.8.1", "@emotion/styled": "^11.8.1", - "@forml/hooks": ">=1.0.0", + "@forml/context": "^1.8.0-develop.1", + "@forml/hooks": "^1.8.0-develop.1", "@mui/icons-material": "^5.4.4", "@mui/lab": "^5.0.0-alpha.71", "@mui/material": "^5.4.4",