From 22183d36265d463182b77730c9e314b8bf90e550 Mon Sep 17 00:00:00 2001 From: xaviergonz Date: Sat, 7 Dec 2024 11:44:34 +0100 Subject: [PATCH] fix yjs package export order --- packages/mobx-keystone-yjs/package.json | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/packages/mobx-keystone-yjs/package.json b/packages/mobx-keystone-yjs/package.json index 220763b3..8d059bfb 100644 --- a/packages/mobx-keystone-yjs/package.json +++ b/packages/mobx-keystone-yjs/package.json @@ -2,13 +2,7 @@ "name": "mobx-keystone-yjs", "version": "1.5.1", "description": "Yjs bindings for mobx-keystone", - "keywords": [ - "mobx", - "mobx-keystone", - "yjs", - "crdt", - "state management" - ], + "keywords": ["mobx", "mobx-keystone", "yjs", "crdt", "state management"], "repository": { "type": "git", "url": "https://github.com/xaviergonz/mobx-keystone.git" @@ -23,11 +17,11 @@ "exports": { "./package.json": "./package.json", ".": { + "types": "./dist/types/index.d.ts", + "script": "./dist/mobx-keystone-yjs.umd.js", "import": "./dist/mobx-keystone-yjs.esm.mjs", "require": "./dist/mobx-keystone-yjs.umd.js", - "script": "./dist/mobx-keystone-yjs.umd.js", - "default": "./dist/mobx-keystone-yjs.esm.mjs", - "types": "./dist/types/index.d.ts" + "default": "./dist/mobx-keystone-yjs.esm.mjs" } }, "esmodule": "./dist/mobx-keystone-yjs.esm.js", @@ -41,13 +35,7 @@ "types": "./dist/types/index.d.ts", "typings": "./dist/types/index.d.ts", "sideEffects": false, - "files": [ - "src", - "dist", - "LICENSE", - "CHANGELOG.md", - "README.md" - ], + "files": ["src", "dist", "LICENSE", "CHANGELOG.md", "README.md"], "scripts": { "quick-build": "tsc", "quick-build-tests": "tsc -p test",