From d9520e01a10593f9eb6df075409684eeda16b14d Mon Sep 17 00:00:00 2001 From: Kenneth Date: Tue, 7 Oct 2025 15:30:00 +0700 Subject: [PATCH] build: update version 1.11.2 --- CHANGELOG.md | 8 +++++++- package.json | 5 ++--- webpack.config.js | 3 ++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dbb756f..edeb4da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.11.2] + +### Fixed + +- External `react-router` in bundle. + ## [1.11.1] ### Fixed @@ -18,7 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `Filter` component. - Add `Tag.Group` component. - Add `type` prop for `Tag` component. -- Add `useFilter` hooks. +- Add `useFilter` hooks. ## [1.10.1] diff --git a/package.json b/package.json index 1898aa1..5e9c82a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "1byte-react-design", - "version": "1.11.1-hotfix.2", + "version": "1.11.2", "description": "A simple React UI library", "main": "dist/index.js", "module": "dist/index.js", @@ -16,9 +16,8 @@ }, "peerDependencies": { "react": "^18.0.0", - "react-dom": "^18.0.0", "react-router": "^7.0.0", - "yup": "^1.7.0" + "yup": "1.7.0" }, "dependencies": { "@ant-design/cssinjs": "^1.24.0", diff --git a/webpack.config.js b/webpack.config.js index b14d5da..2039ccf 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -29,9 +29,10 @@ module.exports = { }, ], }, - externals: { + externals: { // Externalize for use from client react: 'react', 'react-dom': 'react-dom', + 'react-router': 'react-router', }, plugins: [ new BundleAnalyzerPlugin({