From 7d3167f1e3c47841dc1c4914a8b5abd7a22516ee Mon Sep 17 00:00:00 2001 From: LebCit Date: Sat, 6 Jul 2024 00:17:38 +0300 Subject: [PATCH] Chore: Bump version to 3.0.0 and update package.json configuration - Update version in package.json from 2.1.1 to 3.0.0. - Specify "main" as "./core/LiteNode/LiteNode.js". - Set "type" to "module" for ES module support. - Define "types" as "types/litenode.d.ts" for TypeScript declarations. - Remove the "exports" field to streamline module configuration. --- package.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index c47b2f6..896aa49 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,10 @@ { "name": "litenode", - "version": "2.1.1", + "version": "3.0.0", "description": "Lightweight and modular web framework", - "types": "litenode.d.ts", + "main": "./core/LiteNode/LiteNode.js", + "type": "module", + "types": "types/litenode.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, @@ -32,11 +34,5 @@ "bugs": { "url": "https://github.com/LebCit/litenode/issues" }, - "homepage": "https://litenode.pages.dev/", - "exports": { - ".": { - "import": "./litenode.js", - "require": "./litenode.js" - } - } + "homepage": "https://litenode.pages.dev/" }