From 456a48d52885e061a75e8d9504397a26be0622e2 Mon Sep 17 00:00:00 2001 From: Julien Date: Fri, 8 Mar 2024 13:15:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Update=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/www/CHANGELOG.md | 7 +++++++ apps/www/package.json | 2 +- packages/usehooks-ts/CHANGELOG.md | 6 ++++++ packages/usehooks-ts/package.json | 19 ++++++++++++------- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/apps/www/CHANGELOG.md b/apps/www/CHANGELOG.md index ef2f926a..d9c0d22a 100644 --- a/apps/www/CHANGELOG.md +++ b/apps/www/CHANGELOG.md @@ -1,5 +1,12 @@ # www +## 1.0.1 + +### Patch Changes + +- Updated dependencies + - usehooks-ts@3.0.1 + ## 1.0.0 ### Major Changes diff --git a/apps/www/package.json b/apps/www/package.json index 6d783f20..7275efcf 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -1,6 +1,6 @@ { "name": "www", - "version": "1.0.0", + "version": "1.0.1", "private": true, "type": "module", "scripts": { diff --git a/packages/usehooks-ts/CHANGELOG.md b/packages/usehooks-ts/CHANGELOG.md index ce14a543..7043136b 100644 --- a/packages/usehooks-ts/CHANGELOG.md +++ b/packages/usehooks-ts/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 3.0.1 + +### Patch Changes + +- Fix: Update exported files + ## 3.0.0 ### Major Changes diff --git a/packages/usehooks-ts/package.json b/packages/usehooks-ts/package.json index 7a5498b8..9b22af4f 100644 --- a/packages/usehooks-ts/package.json +++ b/packages/usehooks-ts/package.json @@ -1,7 +1,7 @@ { "name": "usehooks-ts", "private": false, - "version": "3.0.0", + "version": "3.0.1", "description": "React hook library, ready to use, written in Typescript.", "author": "Julien CARON ", "homepage": "https://usehooks-ts.com", @@ -12,19 +12,24 @@ ], "license": "MIT", "type": "module", - "main": "./dist/index.cjs", - "module": "./dist/index.js", + "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { + "./package.json": "./package.json", ".": { - "require": "./dist/index.cjs", - "import": "./dist/index.js", - "types": "./dist/index.d.ts" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "require": { + "types": "./dist/index.d.cts", + "default": "./dist/index.cjs" + } } }, "sideEffects": false, "scripts": { - "build": "tsup && rimraf ./dist/index.d.cts", + "build": "tsup", "dev": "tsup --watch", "test": "vitest run", "test:watch": "vitest",