Skip to content

Commit

Permalink
fix(deps): Upgrade cozy-flags + consider each cozy-lib as peerDeps
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Each consuming app should install the following
dependencies:
    "@cozy/minilog": "1.0.0",
    "cozy-device-helper": ">1.12.0",
    "cozy-flags": ">2.8.6",
    "cozy-logger": ">1.7.0",
  • Loading branch information
trollepierre committed Apr 8, 2022
1 parent 0c5fc8d commit afdee02
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
8 changes: 5 additions & 3 deletions packages/cozy-client/package.json
Expand Up @@ -18,9 +18,6 @@
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.170",
"btoa": "^1.2.1",
"cozy-device-helper": "^1.12.0",
"cozy-flags": "2.7.1",
"cozy-logger": "^1.6.0",
"cozy-stack-client": "^27.26.0",
"json-stable-stringify": "^1.0.1",
"lodash": "^4.17.13",
Expand Down Expand Up @@ -50,6 +47,8 @@
"@testing-library/react-hooks": "3.7.0",
"babel-plugin-search-and-replace": "1.1.0",
"btoa": "1.2.1",
"cozy-device-helper": "^1.12.0",
"cozy-flags": "2.8.6",
"cozy-logger": "1.7.0",
"cozy-ui": "48.0.0",
"date-fns": "2.27.0",
Expand All @@ -64,6 +63,9 @@
},
"peerDependencies": {
"cozy-ui": ">34.0.0",
"cozy-device-helper": ">1.12.0",
"cozy-flags": ">2.8.6",
"cozy-logger": ">1.7.0",
"react": "^16.7.0",
"react-native": "^0.65.0",
"react-native-google-safetynet": "npm:cozy-react-native-google-safetynet@^1.0.0",
Expand Down
8 changes: 6 additions & 2 deletions packages/cozy-pouch-link/package.json
Expand Up @@ -11,20 +11,24 @@
"url": "git+https://github.com/cozy/cozy-client.git"
},
"dependencies": {
"@cozy/minilog": "1.0.0",
"cozy-client": "^27.26.4",
"cozy-device-helper": "^1.12.0",
"pouchdb-browser": "^7.2.2",
"pouchdb-find": "^7.2.2"
},
"devDependencies": {
"@babel/cli": "7.12.8",
"@cozy/minilog": "1.0.0",
"cozy-device-helper": "^1.12.0",
"jest-localstorage-mock": "2.4.19",
"parcel": "1.12.4",
"pouchdb-adapter-memory": "7.2.2",
"react": "16.14.0",
"react-dom": "16.14.0"
},
"peerDependencies": {
"@cozy/minilog": "1.0.0",
"cozy-device-helper": "^1.12.0"
},
"scripts": {
"build": "../../bin/build",
"watch": "yarn run build --watch",
Expand Down
19 changes: 11 additions & 8 deletions packages/cozy-stack-client/package.json
Expand Up @@ -10,19 +10,22 @@
"type": "git",
"url": "git+https://github.com/cozy/cozy-client.git"
},
"dependencies": {
"cozy-flags": "2.7.1",
"detect-node": "^2.0.4",
"mime": "^2.4.0",
"qs": "^6.7.0"
},
"scripts": {
"build": "../../bin/build",
"watch": "yarn run build --watch",
"prepublishOnly": "yarn run build"
},
"sideEffects": false,
"dependencies": {
"detect-node": "^2.0.4",
"mime": "^2.4.0",
"qs": "^6.7.0"
},
"devDependencies": {
"@babel/cli": "7.12.8"
"@babel/cli": "7.12.8",
"cozy-flags": "2.8.6"
},
"sideEffects": false
"peerDependencies": {
"cozy-flags": "2.8.6"
}
}
16 changes: 8 additions & 8 deletions yarn.lock
Expand Up @@ -4701,10 +4701,10 @@ cozy-device-helper@^1.12.0:
dependencies:
lodash "^4.17.19"

cozy-flags@2.7.1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/cozy-flags/-/cozy-flags-2.7.1.tgz#f37251fee248ef9bef079a22bc52954f1a892dfc"
integrity sha512-TtVhuyMSRADRr4q5LSaRjq6u03S5m1zkZRc8n3q8bfad86FizqGC02m3e/Zh4kWTwnsO0pVW+mzeVSsBqDVT/g==
cozy-flags@2.8.6:
version "2.8.6"
resolved "https://registry.yarnpkg.com/cozy-flags/-/cozy-flags-2.8.6.tgz#8739c5cf411bf75a99423fa8b2273925c510af73"
integrity sha512-gq//cSdWoh3JItZwbOChogJZRdKHbwiRNcSGmp+1O3IKhj8BAHXzdG1XC2NykDHXYF8JB+t+ay/bLviLPI8YgQ==
dependencies:
microee "^0.0.6"

Expand All @@ -4713,10 +4713,10 @@ cozy-interapp@^0.5.4:
resolved "https://registry.yarnpkg.com/cozy-interapp/-/cozy-interapp-0.5.7.tgz#75cafe1732ad660e2caf1ccf412f302594705f39"
integrity sha512-laIL/ATYV9oZnmqS+LMoO9qzk8XjJ1v2/YrA1Po2rI8ia/MDgjYO07424x2RuvHhNOBPGjD+JmqwQ0rNDlLW+Q==

cozy-logger@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/cozy-logger/-/cozy-logger-1.6.0.tgz#51675e081e0a40baae6c38c64718cfaee5ee66ff"
integrity sha512-UkPR5lQDY6HldNv3N3c8HaxlfgcgAB/iRBFwJNFL2I17lhcM0u7w27vo1nuFeX6geMeFUjvedq/awawxZ1mTQg==
cozy-logger@1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/cozy-logger/-/cozy-logger-1.7.0.tgz#945ff84df66f7e7e9640db00f8c632d4ff776fc8"
integrity sha512-JBOAmfgujZZASE4TCRfeNvHoDnxPwFbLMO3G6UReByjR3Ix1/RSEtOL9b4hReuG2XX0BsPokfLWCZEWRgGN4TQ==
dependencies:
chalk "^2.4.2"
json-stringify-safe "5.0.1"
Expand Down

0 comments on commit afdee02

Please sign in to comment.