From d3b74d57669de615e99297aa494e1146b46b3ed9 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 14 Jan 2025 03:14:14 +0100 Subject: [PATCH] fix(package.json): Fixed incorrect main and typings fields, replacing with exports field --- changelog.md | 5 +++++ package.json | 5 +++-- ts_web/00_commitinfo_data.ts | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 55d3237..37fd4d0 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2025-01-14 - 1.3.3 - fix(package.json) +Fixed incorrect main and typings fields, replacing with exports field + +- Updated package.json to use the 'exports' field instead of 'main' and 'typings' for module entry points + ## 2025-01-14 - 1.3.2 - fix(core) No code changes detected, maintain current state. diff --git a/package.json b/package.json index d427402..1fd0bb8 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "version": "1.3.2", "private": false, "description": "A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.", - "main": "dist_ts_web/index.js", - "typings": "dist_ts_web/index.d.ts", + "exports": { + ".": "./dist_ts_web/index.js" + }, "type": "module", "scripts": { "test": "npm run build", diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 3e63a39..34e6a67 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@consent.software/catalog', - version: '1.3.2', + version: '1.3.3', description: 'A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.' }