fix(package.json): Fixed incorrect main and typings fields, replacing with exports field

This commit is contained in:
Philipp Kunz 2025-01-14 03:14:14 +01:00
parent cdaaebde42
commit d3b74d5766
3 changed files with 9 additions and 3 deletions

View File

@ -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.

View File

@ -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",

View File

@ -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.'
}