From 6ffe71b93f63fd8c799e49f888a6e337c4f35fac Mon Sep 17 00:00:00 2001 From: alexsc6955 Date: Wed, 17 Jan 2024 20:33:05 -0500 Subject: [PATCH] Update package.json exports and version --- CHANGELOG.md | 4 ++++ package.json | 19 ++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4def281..ebf17f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.1] - 2024-01-17 +### Changed + - Exports in `package.json` to include `build/buildApp/index.js` as entry point + ## [0.4.0] - 2024-01-17 ### Added - `Paradox.buildApp` function to create reactive components diff --git a/package.json b/package.json index cc9f73e..2b0211c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "penrose-paradox", - "version": "0.4.0", + "version": "0.4.1", "description": "Simple vanilla JavaScript library for beginners", "keywords": [ "penrose", @@ -18,6 +18,23 @@ "module": "build/index.js", "types": "build/index.d.ts", "ts-module": "src/index.ts", + "exports": { + ".": { + "import": "./build/index.js", + "require": "./build/index.js" + }, + "./buildApp": "./build/buildApp/index.js" + }, + "typesVersions": { + "*": { + "./": [ + "build/index.d.ts" + ], + "./buildApp": [ + "build/buildApp/index.d.ts" + ] + } + }, "license": "ISC", "repository": { "type": "git",