From 37263c51f4c6e92e4955df5058b76f452b2d0399 Mon Sep 17 00:00:00 2001 From: Shahyar G Date: Wed, 21 Sep 2022 21:41:57 +0200 Subject: [PATCH 1/2] fix: Reorder types paths in package.json for better import resolution (#406) Co-authored-by: Denis Badurina --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 29cfa6ea..b295152f 100644 --- a/package.json +++ b/package.json @@ -28,39 +28,39 @@ "node": ">=10" }, "packageManager": "yarn@3.2.3", + "types": "lib/index.d.ts", "main": "lib/index.js", "module": "lib/index.mjs", "browser": "umd/graphql-ws.js", "exports": { ".": { + "types": "./lib/index.d.ts", "require": "./lib/index.js", "import": "./lib/index.mjs", - "types": "./lib/index.d.ts", "browser": "./umd/graphql-ws.js" }, "./lib/use/ws": { + "types": "./lib/use/ws.d.ts", "require": "./lib/use/ws.js", - "import": "./lib/use/ws.mjs", - "types": "./lib/use/ws.d.ts" + "import": "./lib/use/ws.mjs" }, "./lib/use/uWebSockets": { + "types": "./lib/use/uWebSockets.d.ts", "require": "./lib/use/uWebSockets.js", - "import": "./lib/use/uWebSockets.mjs", - "types": "./lib/use/uWebSockets.d.ts" + "import": "./lib/use/uWebSockets.mjs" }, "./lib/use/@fastify/websocket": { + "types": "./lib/use/@fastify/websocket.d.ts", "require": "./lib/use/@fastify/websocket.js", - "import": "./lib/use/@fastify/websocket.mjs", - "types": "./lib/use/@fastify/websocket.d.ts" + "import": "./lib/use/@fastify/websocket.mjs" }, "./lib/use/fastify-websocket": { + "types": "./lib/use/fastify-websocket.d.ts", "require": "./lib/use/fastify-websocket.js", - "import": "./lib/use/fastify-websocket.mjs", - "types": "./lib/use/fastify-websocket.d.ts" + "import": "./lib/use/fastify-websocket.mjs" }, "./package.json": "./package.json" }, - "types": "lib/index.d.ts", "files": [ "lib", "umd", From 799cfc7bbe0f6d1a5c90b4880f02c58c5c3a06d4 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 21 Sep 2022 19:44:20 +0000 Subject: [PATCH 2/2] =?UTF-8?q?chore(release):=20=F0=9F=8E=89=205.11.2=20[?= =?UTF-8?q?skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [5.11.2](https://github.com/enisdenjo/graphql-ws/compare/v5.11.1...v5.11.2) (2022-09-21) ### Bug Fixes * Reorder types paths in package.json for better import resolution ([#406](https://github.com/enisdenjo/graphql-ws/issues/406)) ([37263c5](https://github.com/enisdenjo/graphql-ws/commit/37263c51f4c6e92e4955df5058b76f452b2d0399)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f23c7041..f3847fb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [5.11.2](https://github.com/enisdenjo/graphql-ws/compare/v5.11.1...v5.11.2) (2022-09-21) + + +### Bug Fixes + +* Reorder types paths in package.json for better import resolution ([#406](https://github.com/enisdenjo/graphql-ws/issues/406)) ([37263c5](https://github.com/enisdenjo/graphql-ws/commit/37263c51f4c6e92e4955df5058b76f452b2d0399)) + ## [5.11.1](https://github.com/enisdenjo/graphql-ws/compare/v5.11.0...v5.11.1) (2022-09-16) diff --git a/package.json b/package.json index b295152f..2b4a1f9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graphql-ws", - "version": "5.11.1", + "version": "5.11.2", "description": "Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client", "keywords": [ "protocol",