From a6809f73cf028820b1954aed292aa7dbae7275f5 Mon Sep 17 00:00:00 2001 From: Riley Love Date: Mon, 13 May 2024 19:29:21 -0500 Subject: [PATCH] chore: version 6 --- README.md | 8 ++++++++ packages/client-graphql/package.json | 2 +- packages/components/package.json | 12 ++++++------ packages/react-brand-designer/package.json | 4 ++-- packages/react-elements/package.json | 2 +- packages/react-hooks/package.json | 4 ++-- packages/react-inbox-next/package.json | 2 +- packages/react-inbox/package.json | 10 +++++----- packages/react-preferences/package.json | 8 ++++---- packages/react-provider/package.json | 4 ++-- packages/react-toast/package.json | 4 ++-- packages/storybook/package.json | 14 +++++++------- packages/types/package.json | 2 +- 13 files changed, 42 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 3acd1295..bb61cc45 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,14 @@ This repository, also called **In-App**, is a set of features and components tha Want to use packages with other frameworks/libraries like _angular_ or _vue_? Check out how to do [Embedded Integration](https://www.courier.com/docs/guides/providers/in-app/courier-push/#embedded-integration) +## 6.0 Release + +We've cleaned up a bunch of stale code that isn't being used anymore. We no longer export "Messages" from client-graphql and only support "Inbox" as a datasource. + +Typings have also been fixed for client-graphql and useCourier hooks + +Styled Components is now a peer dependency + ## 2.0 and 3.0 Releases We've recently created both 2.X and 3.X releases related to this monorepository. This is because we've migrated to a new simpler, streamlined style for our components and there are breaking changes with _props_ and _api_. Below is a short description of each of our versions: diff --git a/packages/client-graphql/package.json b/packages/client-graphql/package.json index 40ff44c2..4b214ba8 100644 --- a/packages/client-graphql/package.json +++ b/packages/client-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/client-graphql", - "version": "5.1.2", + "version": "6.0.0", "description": "", "main": "dist/index.js", "types": "typings/index.d.ts", diff --git a/packages/components/package.json b/packages/components/package.json index 9e23d6e4..4aa39386 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/components", - "version": "5.1.2", + "version": "6.0.0", "private": true, "description": "Beautiful, easy React toast notifications", "author": "Courier ", @@ -18,11 +18,11 @@ "license": "MIT", "dependencies": { "@trycourier/courier": "^1.3.0", - "@trycourier/react-brand-designer": "^5.1.2", - "@trycourier/react-inbox": "^5.1.2", - "@trycourier/react-preferences": "^5.1.2", - "@trycourier/react-provider": "^5.1.2", - "@trycourier/react-toast": "^5.1.2", + "@trycourier/react-brand-designer": "^6.0.0", + "@trycourier/react-inbox": "^6.0.0", + "@trycourier/react-preferences": "^6.0.0", + "@trycourier/react-provider": "^6.0.0", + "@trycourier/react-toast": "^6.0.0", "babel-loader": "^8.0.6", "babel-preset-preact": "^2.0.0", "camel-case": "^4.1.2", diff --git a/packages/react-brand-designer/package.json b/packages/react-brand-designer/package.json index 0b70a574..180d37ee 100644 --- a/packages/react-brand-designer/package.json +++ b/packages/react-brand-designer/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/react-brand-designer", - "version": "5.1.2", + "version": "6.0.0", "description": "Embeddable brand designer for multi-channel notifications", "homepage": "https://github.com/trycourier/courier-react/tree/main/packages/react-elements#readme", "license": "ISC", @@ -29,7 +29,7 @@ "url": "https://github.com/trycourier/courier-react/issues" }, "dependencies": { - "@trycourier/react-elements": "^5.1.2", + "@trycourier/react-elements": "^6.0.0", "rimraf": "^3.0.2" }, "peerDependencies": { diff --git a/packages/react-elements/package.json b/packages/react-elements/package.json index 256d8846..7755d94e 100644 --- a/packages/react-elements/package.json +++ b/packages/react-elements/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/react-elements", - "version": "5.1.2", + "version": "6.0.0", "description": "Shareable components for each Courier package", "author": "Drew Youngwerth ", "homepage": "https://github.com/trycourier/courier-react/tree/main/packages/react-elements#readme", diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index e4751215..9a1fe9e5 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/react-hooks", - "version": "5.1.2", + "version": "6.0.0", "description": "", "main": "dist/index.js", "types": "typings/index.d.ts", @@ -20,7 +20,7 @@ "concat-md": "^0.3.5" }, "dependencies": { - "@trycourier/client-graphql": "^5.1.2", + "@trycourier/client-graphql": "^6.0.0", "deep-extend": "^0.6.0", "rimraf": "^3.0.2" }, diff --git a/packages/react-inbox-next/package.json b/packages/react-inbox-next/package.json index 1a9f29c7..8af101d5 100644 --- a/packages/react-inbox-next/package.json +++ b/packages/react-inbox-next/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/react-inbox-next", - "version": "5.1.2", + "version": "6.0.0", "description": "", "private": true, "main": "dist/index.js", diff --git a/packages/react-inbox/package.json b/packages/react-inbox/package.json index 7e1ec37a..b5dfb8b4 100644 --- a/packages/react-inbox/package.json +++ b/packages/react-inbox/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/react-inbox", - "version": "5.1.2", + "version": "6.0.0", "description": "", "main": "dist/index.js", "types": "typings/index.d.ts", @@ -19,10 +19,10 @@ "dependencies": { "@fontsource/poppins": "^4.5.9", "@tippyjs/react": "^4.2.3", - "@trycourier/client-graphql": "^5.1.2", - "@trycourier/react-elements": "^5.1.2", - "@trycourier/react-hooks": "^5.1.2", - "@trycourier/react-preferences": "^5.1.2", + "@trycourier/client-graphql": "^6.0.0", + "@trycourier/react-elements": "^6.0.0", + "@trycourier/react-hooks": "^6.0.0", + "@trycourier/react-preferences": "^6.0.0", "classnames": "^2.2.6", "date-fns": "^2.19.0", "deep-extend": "^0.6.0", diff --git a/packages/react-preferences/package.json b/packages/react-preferences/package.json index ffc19534..1665017e 100644 --- a/packages/react-preferences/package.json +++ b/packages/react-preferences/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/react-preferences", - "version": "5.1.2", + "version": "6.0.0", "main": "dist/index.js", "types": "typings/index.d.ts", "scripts": { @@ -13,10 +13,10 @@ "types": "tsc --emitDeclarationOnly" }, "peerDependencies": { - "styled-components": ">=^5.X.X", "@trycourier/react-provider": ">=4.X.X", "react": ">=17.X.X", - "react-dom": ">=17.X.X" + "react-dom": ">=17.X.X", + "styled-components": ">=^5.X.X" }, "files": [ "dist/", @@ -24,7 +24,7 @@ ], "license": "ISC", "dependencies": { - "@trycourier/react-hooks": "^5.1.2", + "@trycourier/react-hooks": "^6.0.0", "date-fns": "^2.19.0", "react-toggle": "^4.1.2" } diff --git a/packages/react-provider/package.json b/packages/react-provider/package.json index e1468957..df735882 100644 --- a/packages/react-provider/package.json +++ b/packages/react-provider/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/react-provider", - "version": "5.1.2", + "version": "6.0.0", "description": "", "main": "dist/index.js", "types": "typings/index.d.ts", @@ -16,7 +16,7 @@ }, "license": "ISC", "dependencies": { - "@trycourier/client-graphql": "^5.1.2", + "@trycourier/client-graphql": "^6.0.0", "buffer": "^6.0.3", "jwt-decode": "^3.1.2", "react-use": "^17.2.1", diff --git a/packages/react-toast/package.json b/packages/react-toast/package.json index 2a39a67f..643b36f7 100644 --- a/packages/react-toast/package.json +++ b/packages/react-toast/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/react-toast", - "version": "5.1.2", + "version": "6.0.0", "description": "Beautiful, easy React toast notifications", "main": "dist/index.js", "types": "typings/index.d.ts", @@ -24,7 +24,7 @@ "concat-md": "^0.3.5" }, "dependencies": { - "@trycourier/react-hooks": "^5.1.2", + "@trycourier/react-hooks": "^6.0.0", "deep-extend": "^0.6.0", "markdown-to-jsx": "7.1.7", "react-toastify": "^9.1.3", diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 15dc9fc9..9e05fe3b 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -1,6 +1,6 @@ { "name": "@trycourier/storybook", - "version": "5.1.2", + "version": "6.0.0", "private": true, "description": "Beautiful, easy React toast notifications", "author": "Courier ", @@ -23,12 +23,12 @@ "@storybook/addon-links": "^6.5.9", "@storybook/addon-viewport": "^6.5.9", "@storybook/react": "^6.5.9", - "@trycourier/components": "^5.1.2", - "@trycourier/react-brand-designer": "^5.1.2", - "@trycourier/react-inbox": "^5.1.2", - "@trycourier/react-preferences": "^5.1.2", - "@trycourier/react-provider": "^5.1.2", - "@trycourier/react-toast": "^5.1.2", + "@trycourier/components": "^6.0.0", + "@trycourier/react-brand-designer": "^6.0.0", + "@trycourier/react-inbox": "^6.0.0", + "@trycourier/react-preferences": "^6.0.0", + "@trycourier/react-provider": "^6.0.0", + "@trycourier/react-toast": "^6.0.0", "react-frame-component": "^5.2.3", "react-markdown": "^8.0.1", "rehype-raw": "^6.1.1", diff --git a/packages/types/package.json b/packages/types/package.json index a9582864..31960ee4 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,7 +1,7 @@ { "name": "@trycourier/types", "private": true, - "version": "5.1.2", + "version": "6.0.0", "main": "index.d.ts", "types": "index.d.ts", "scripts": {}