From 878e7effcb6eb81bacc7e5730cbd039743e799ff Mon Sep 17 00:00:00 2001 From: Kristina Date: Tue, 4 Feb 2025 20:54:48 +0400 Subject: [PATCH] Fix package.json main (#18) Signed-off-by: Kristina Fefelova --- packages/client-query/package.json | 4 ++-- packages/client-sqlite/package.json | 4 ++-- packages/client-ws/package.json | 4 ++-- packages/cockroach/package.json | 4 ++-- packages/examples/package.json | 4 ++-- packages/query/package.json | 4 ++-- packages/server/package.json | 4 ++-- packages/sqlite-wasm/package.json | 4 ++-- packages/types/package.json | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/client-query/package.json b/packages/client-query/package.json index 064b79c0cf..8906527b50 100644 --- a/packages/client-query/package.json +++ b/packages/client-query/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-client-query", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [ diff --git a/packages/client-sqlite/package.json b/packages/client-sqlite/package.json index e0dfa8b5ee..5e72701c57 100644 --- a/packages/client-sqlite/package.json +++ b/packages/client-sqlite/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-client-sqlite", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [ diff --git a/packages/client-ws/package.json b/packages/client-ws/package.json index b9c26de650..429950023a 100644 --- a/packages/client-ws/package.json +++ b/packages/client-ws/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-client-ws", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [ diff --git a/packages/cockroach/package.json b/packages/cockroach/package.json index ec3644aec9..e684b6954d 100644 --- a/packages/cockroach/package.json +++ b/packages/cockroach/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-cockroach", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [ diff --git a/packages/examples/package.json b/packages/examples/package.json index 8111d21e1d..c7b2c7cbd7 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-examples", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [ diff --git a/packages/query/package.json b/packages/query/package.json index 4c816b9f65..fafefb95c3 100644 --- a/packages/query/package.json +++ b/packages/query/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-query", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [ diff --git a/packages/server/package.json b/packages/server/package.json index 400ae98ad6..b24123eb9d 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-server", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [ diff --git a/packages/sqlite-wasm/package.json b/packages/sqlite-wasm/package.json index cb8baa2760..c8c2242a33 100644 --- a/packages/sqlite-wasm/package.json +++ b/packages/sqlite-wasm/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-sqlite-wasm", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [ diff --git a/packages/types/package.json b/packages/types/package.json index 77fd4277f8..423fa4b279 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,8 +1,8 @@ { "name": "@hcengineering/communication-types", "version": "0.1.0", - "main": "src/index.ts", - "module": "src/index.ts", + "main": "dist/index.js", + "module": "dist/index.js", "types": "./types/index.d.ts", "type": "module", "files": [