diff --git a/bun.lockb b/bun.lockb index 68495fe..5fe88ba 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index f07664d..1eba3a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "owasp", - "version": "1.0.2", + "version": "1.1.0", "type": "module", "license": "MIT", "publishConfig": { @@ -15,24 +15,14 @@ }, "keywords": ["owasp", "logging", "security"], "exports": { - "./dom": { + ".": { "import": { - "types": "./dist/dom.d.ts", - "default": "./dist/dom.js" + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, "require": { - "types": "./dist/dom.d.cts", - "default": "./dist/dom.cjs" - } - }, - "./vocab": { - "import": { - "types": "./dist/vocab.d.ts", - "default": "./dist/vocab.js" - }, - "require": { - "types": "./dist/vocab.d.cts", - "default": "./dist/vocab.cjs" + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" } }, "./package.json": "./package.json" @@ -47,12 +37,13 @@ "build": "tsup --config tsup.config.ts" }, "devDependencies": { - "@biomejs/biome": "^1.4.1", - "@happy-dom/global-registrator": "^12.10.3", - "bun-types": "^1.0.17", - "tsup": "^8.0.1", - "type-fest": "^4.8.3", - "typescript": "^5.3.3" + "@biomejs/biome": "^1.6.3", + "@happy-dom/global-registrator": "^14.3.9", + "bun-types": "^1.0.36", + "tsup": "^8.0.2", + "type-fest": "^4.14.0", + "typescript": "^5.4.3" }, - "packageManager": "bun@1.0.17" + "packageManager": "bun@1.0.36", + "trustedDependencies": ["@biomejs/biome"] } diff --git a/src/index.ts b/src/index.ts index 3dcd380..2c0ec8f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,2 @@ +export * from "./dom/index.js"; export * from "./vocab/index.js"; diff --git a/tsup.config.ts b/tsup.config.ts index 616ef44..c9e227a 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -1,10 +1,7 @@ import { defineConfig } from "tsup"; export default defineConfig({ - entry: { - dom: "./src/dom/index.ts", - vocab: "./src/vocab/index.ts", - }, + entry: ["src/index.ts"], splitting: false, sourcemap: true, format: ["cjs", "esm"],