Make styled-components a peer dependency

This commit is contained in:
Nathan Bierema 2021-09-19 14:40:13 -04:00
parent 039c2125e5
commit a3a3d725fa
5 changed files with 24 additions and 8 deletions

View File

@ -50,7 +50,8 @@
"react-json-tree": "^0.15.0",
"react-redux": "^7.2.5",
"redux": "^4.1.1",
"redux-persist": "^6.0.0"
"redux-persist": "^6.0.0",
"styled-components": "^5.3.1"
},
"devDependencies": {
"@babel/core": "^7.15.5",
@ -63,6 +64,7 @@
"@types/react": "^16.14.15",
"@types/react-dom": "^16.9.13",
"@types/react-redux": "^7.1.18",
"@types/styled-components": "^5.1.14",
"babel-loader": "^8.2.2",
"bestzip": "^2.2.0",
"chromedriver": "^93.0.1",

View File

@ -58,8 +58,7 @@
"react-redux": "^7.2.5",
"redux": "^4.1.1",
"redux-persist": "^6.0.0",
"socketcluster-client": "^14.3.2",
"styled-components": "^5.3.1"
"socketcluster-client": "^14.3.2"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
@ -104,6 +103,7 @@
"react-dom": "^16.14.0",
"rimraf": "^3.0.2",
"style-loader": "^3.2.1",
"styled-components": "^5.3.1",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "~4.3.5",
@ -114,6 +114,8 @@
},
"peerDependencies": {
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0"
"@types/styled-components": "^5.1.14",
"react": "^16.3.0 || ^17.0.0",
"styled-components": "^5.3.1"
}
}

View File

@ -62,6 +62,7 @@
"semver": "^7.3.5",
"socketcluster": "^14.4.2",
"sqlite3": "^5.0.2",
"styled-components": "^5.3.1",
"uuid": "^8.3.2"
},
"devDependencies": {
@ -77,6 +78,7 @@
"@types/socketcluster": "^14.0.4",
"@types/socketcluster-client": "^13.0.5",
"@types/socketcluster-server": "^14.2.6",
"@types/styled-components": "^5.1.14",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^4.31.1",

View File

@ -42,7 +42,6 @@
"@types/react-select": "^4.0.17",
"@types/redux-devtools-themes": "^1.0.0",
"@types/simple-element-resize-detector": "^1.3.0",
"@types/styled-components": "^5.1.14",
"base16": "^1.0.0",
"codemirror": "^5.62.3",
"color": "^4.0.1",
@ -50,8 +49,7 @@
"react-icons": "^4.2.0",
"react-select": "^4.3.1",
"redux-devtools-themes": "^1.0.0",
"simple-element-resize-detector": "^1.3.0",
"styled-components": "^5.3.1"
"simple-element-resize-detector": "^1.3.0"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
@ -66,6 +64,7 @@
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^27.0.1",
"@types/react": "^16.14.15",
"@types/styled-components": "^5.1.14",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"csstype": "^3.0.9",
@ -81,6 +80,7 @@
"react-dom": "^16.14.0",
"react-is": "^16.13.1",
"rimraf": "^3.0.2",
"styled-components": "^5.3.1",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^22.0.0",
@ -91,6 +91,8 @@
},
"peerDependencies": {
"@types/react": "^16.3.0 || ^17.0.0",
"react": "^16.3.0 || ^17.0.0"
"@types/styled-components": "^5.1.14",
"react": "^16.3.0 || ^17.0.0",
"styled-components": "^5.3.1"
}
}

View File

@ -4551,7 +4551,9 @@ __metadata:
webpack-dev-server: ^4.2.1
peerDependencies:
"@types/react": ^16.3.0 || ^17.0.0
"@types/styled-components": ^5.1.14
react: ^16.3.0 || ^17.0.0
styled-components: ^5.3.1
languageName: unknown
linkType: soft
@ -4607,6 +4609,7 @@ __metadata:
"@types/socketcluster": ^14.0.4
"@types/socketcluster-client": ^13.0.5
"@types/socketcluster-server": ^14.2.6
"@types/styled-components": ^5.1.14
"@types/supertest": ^2.0.11
"@types/uuid": ^8.3.1
"@typescript-eslint/eslint-plugin": ^4.31.1
@ -4638,6 +4641,7 @@ __metadata:
socketcluster: ^14.4.2
socketcluster-client: ^14.3.2
sqlite3: ^5.0.2
styled-components: ^5.3.1
supertest: ^6.1.6
ts-jest: ^27.0.5
typescript: ~4.3.5
@ -5180,7 +5184,9 @@ __metadata:
typescript: ~4.3.5
peerDependencies:
"@types/react": ^16.3.0 || ^17.0.0
"@types/styled-components": ^5.1.14
react: ^16.3.0 || ^17.0.0
styled-components: ^5.3.1
languageName: unknown
linkType: soft
@ -25644,6 +25650,7 @@ fsevents@^1.2.7:
"@types/react": ^16.14.15
"@types/react-dom": ^16.9.13
"@types/react-redux": ^7.1.18
"@types/styled-components": ^5.1.14
babel-loader: ^8.2.2
bestzip: ^2.2.0
chromedriver: ^93.0.1
@ -25683,6 +25690,7 @@ fsevents@^1.2.7:
selenium-webdriver: ^3.6.0
sinon-chrome: ^3.0.1
style-loader: ^3.2.1
styled-components: ^5.3.1
ts-jest: ^27.0.5
typescript: ~4.3.5
webpack: ^5.52.1