From cef2ad2a2a1db66fb665462ac9e454cc41043969 Mon Sep 17 00:00:00 2001 From: SudhuCodes Date: Tue, 21 Apr 2026 21:35:23 +0530 Subject: [PATCH 1/4] chore: update package.json and add TypeScript configuration; enhance documentation for toast components and utilities --- packages/react-toast-msg/package.json | 1 + .../src/components/icons/icons.tsx | 20 +++++++ .../toast-container/toast-container.tsx | 60 ++++++++++++++++++- .../src/components/toast/toast.tsx | 7 +++ packages/react-toast-msg/src/types.ts | 49 +++++++++++++++ packages/react-toast-msg/src/utilities/cn.ts | 7 +++ .../src/utilities/get-icon.tsx | 7 +++ packages/react-toast-msg/tsconfig.json | 24 ++++---- pnpm-lock.yaml | 3 + 9 files changed, 164 insertions(+), 14 deletions(-) diff --git a/packages/react-toast-msg/package.json b/packages/react-toast-msg/package.json index 08ca348..e075b63 100644 --- a/packages/react-toast-msg/package.json +++ b/packages/react-toast-msg/package.json @@ -53,6 +53,7 @@ "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", + "@repo/typescript-config": "workspace:*", "@types/react": "^19.2.2", "@types/react-dom": "^19.2.2", "shx": "^0.4.0", diff --git a/packages/react-toast-msg/src/components/icons/icons.tsx b/packages/react-toast-msg/src/components/icons/icons.tsx index 3696e95..982a10d 100644 --- a/packages/react-toast-msg/src/components/icons/icons.tsx +++ b/packages/react-toast-msg/src/components/icons/icons.tsx @@ -1,6 +1,10 @@ import { IconProps } from '../../types'; import { cn } from '../../utilities/cn'; +/** + * Success icon component for success toast notifications. + * Displays a checkmark icon indicating a successful operation. + */ export const SuccessIcon = ({ className }: IconProps) => ( ( ); +/** + * Error icon component for error toast notifications. + * Displays an exclamation mark in a circle indicating an error occurred. + */ export const ErrorIcon = ({ className }: IconProps) => ( ( ); +/** + * Warning icon component for warning toast notifications. + * Displays a triangle with an exclamation mark indicating a warning. + */ export const WarningIcon = ({ className }: IconProps) => ( ( ); +/** + * Loading icon component for loading toast notifications. + * Displays an animated spinning icon indicating an ongoing process. + */ export const LoadingIcon = ({ className }: IconProps) => ( ( ); +/** + * Close icon component used for the close button on toast notifications. + * Displays an X mark for dismissing toasts. + */ export const CloseIcon = ({ className }: IconProps) => ( string | number) | null = null; +/** + * ToastContainer component that manages and displays multiple toast notifications. + * This component should be rendered once in your app, typically at the root level. + * It provides the context for showing toasts via the toast() function. + * + * @param props - Configuration options for the toast container + * @returns JSX element containing the toast container + */ export function ToastContainer({ autoClose = 3000, closeButton = false @@ -30,7 +38,7 @@ export function ToastContainer({ } = options; const id = customId ?? Date.now(); - + const resolvedAutoClose = toastAutoClose !== undefined ? toastAutoClose : autoClose; const isAutoCloseDisabled = resolvedAutoClose === false; const finalCloseButton = isAutoCloseDisabled ? true : (toastCloseButton ?? closeButton); @@ -91,23 +99,73 @@ export function ToastContainer({ ); } +/** + * Main toast function for displaying notifications. + * Shows a toast message with the specified options. + * + * @param message - The message text to display in the toast + * @param options - Optional configuration for the toast + * @returns The unique ID of the created toast + */ export function toast(message: string, options?: ToastOptions) { if (!showToastFn) return; return showToastFn(message, options); } +/** + * Shows a success toast notification. + * + * @param message - The message text to display + * @param options - Optional configuration (type will be overridden to 'success') + * @returns The unique ID of the created toast + */ toast.success = (message: string, options?: ToastOptions) => toast(message, { ...options, type: 'success' }); +/** + * Shows an error toast notification. + * + * @param message - The message text to display + * @param options - Optional configuration (type will be overridden to 'error') + * @returns The unique ID of the created toast + */ toast.error = (message: string, options?: ToastOptions) => toast(message, { ...options, type: 'error' }); +/** + * Shows a warning toast notification. + * + * @param message - The message text to display + * @param options - Optional configuration (type will be overridden to 'warning') + * @returns The unique ID of the created toast + */ toast.warning = (message: string, options?: ToastOptions) => toast(message, { ...options, type: 'warning' }); +/** + * Shows a loading toast notification. + * Loading toasts do not auto-close by default. + * + * @param message - The message text to display + * @param options - Optional configuration (type will be overridden to 'loading') + * @returns The unique ID of the created toast + */ toast.loading = (message: string, options?: ToastOptions) => toast(message, { ...options, type: 'loading' }); +/** + * Shows a toast that tracks the state of a Promise. + * Displays loading, success, or error messages based on the promise outcome. + * + * @template T - The type of the resolved promise value + * @param promise - The promise to track + * @param data - Object containing messages for different states + * @param data.loading - Message to show while the promise is pending + * @param data.success - Message or function to show on success + * @param data.error - Message or function to show on error + * @param options - Optional configuration for the toasts + * @returns The original promise + */ toast.promise = ( promise: Promise, data: { diff --git a/packages/react-toast-msg/src/components/toast/toast.tsx b/packages/react-toast-msg/src/components/toast/toast.tsx index 8cababc..a06bb97 100644 --- a/packages/react-toast-msg/src/components/toast/toast.tsx +++ b/packages/react-toast-msg/src/components/toast/toast.tsx @@ -4,6 +4,13 @@ import { motion } from 'framer-motion'; import { CloseIcon } from '../icons'; +/** + * Individual Toast component that renders a single toast notification. + * Handles the display, animation, and close functionality for one toast item. + * + * @param props - Properties defining the toast's content and behavior + * @returns JSX element representing the toast notification + */ export function Toast({ message, type = 'default', diff --git a/packages/react-toast-msg/src/types.ts b/packages/react-toast-msg/src/types.ts index e4e9b63..2cb08d2 100644 --- a/packages/react-toast-msg/src/types.ts +++ b/packages/react-toast-msg/src/types.ts @@ -1,40 +1,89 @@ +/** + * Represents the different types of toast notifications available. + * Each type corresponds to a specific visual style and semantic meaning. + */ export type ToastType = 'success' | 'error' | 'warning' | 'default' | 'loading'; +/** + * Represents a single toast notification item in the toast container. + * Contains all the necessary information to display and manage a toast. + */ export interface ToastItem { + /** Unique identifier for the toast, used for tracking and removal */ id: string | number; + /** The message text to display in the toast */ message: string; + /** The type of toast, determining its visual style and icon */ type: ToastType; + /** Whether to show a close button on the toast (optional, defaults to container setting) */ closeButton?: boolean; } +/** + * Configuration options for creating a new toast notification. + * All properties are optional and will use default values if not provided. + */ export type ToastOptions = { + /** Custom ID for the toast. If not provided, a unique ID will be generated */ id?: string | number; + /** The type of toast to display */ type?: ToastType; + /** Duration in milliseconds before the toast auto-closes. Set to 0 or false to disable auto-close */ duration?: number; + /** Whether to show a close button on this specific toast */ closeButton?: boolean; + /** Whether the toast should auto-close. Can be a boolean or a duration in milliseconds */ autoClose?: boolean | number; }; +/** + * Props passed to the individual Toast component. + * Defines how a single toast notification is rendered and behaves. + */ export interface ToastProps { + /** Unique identifier for the toast */ id: string | number; + /** The message text to display */ message: string; + /** The type of toast, affecting its styling and default icon */ type?: ToastType; + /** Custom icon to display instead of the default type-based icon */ icon?: React.ReactNode; + /** Function to update the toasts array in the parent container */ setToasts?: React.Dispatch>; + /** Whether to show a close button on this toast */ closeButton?: boolean; } +/** + * Props for the ToastContainer component that manages multiple toasts. + * Controls global behavior and appearance of all toasts. + */ export interface ToastContainerProps { + /** Global auto-close setting. Can be a boolean to enable/disable or a number for duration in milliseconds */ autoClose?: boolean | number; + /** Global close button setting. Determines if close buttons are shown by default on all toasts */ closeButton?: boolean; } +/** + * Function signature for the showToast function used to create new toasts. + * Returns the ID of the created toast for potential future reference. + */ export type ShowToastFn = ( + /** The message text to display in the toast */ message: string, + /** The type of toast to create (optional, defaults to 'default') */ type?: ToastType, + /** Duration in milliseconds before auto-close (optional, uses container default) */ duration?: number ) => string | number; +/** + * Props for icon components used within toasts. + * Provides styling flexibility for custom icons. + */ export interface IconProps { + /** CSS class name for styling the icon */ className?: string; } diff --git a/packages/react-toast-msg/src/utilities/cn.ts b/packages/react-toast-msg/src/utilities/cn.ts index 8336da9..554c8e5 100644 --- a/packages/react-toast-msg/src/utilities/cn.ts +++ b/packages/react-toast-msg/src/utilities/cn.ts @@ -1,6 +1,13 @@ import { twMerge } from 'tailwind-merge'; import clsx, { ClassValue } from 'clsx'; +/** + * Utility function to combine and merge Tailwind CSS classes. + * Uses clsx for conditional classes and tailwind-merge to handle conflicting Tailwind classes. + * + * @param inputs - Class values to combine (strings, arrays, objects, etc.) + * @returns A single string of merged CSS classes + */ export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); } diff --git a/packages/react-toast-msg/src/utilities/get-icon.tsx b/packages/react-toast-msg/src/utilities/get-icon.tsx index d548c65..931a056 100644 --- a/packages/react-toast-msg/src/utilities/get-icon.tsx +++ b/packages/react-toast-msg/src/utilities/get-icon.tsx @@ -1,6 +1,13 @@ import { ErrorIcon, SuccessIcon, WarningIcon, LoadingIcon } from '../components'; import { ToastType } from '../types'; +/** + * Returns the appropriate icon component for a given toast type. + * Maps toast types to their corresponding icon components. + * + * @param type - The type of toast notification + * @returns The React icon component for the specified type, or null for 'default' type + */ export function getToastIcon(type: ToastType) { switch (type) { case 'success': diff --git a/packages/react-toast-msg/tsconfig.json b/packages/react-toast-msg/tsconfig.json index b40de02..6542a00 100644 --- a/packages/react-toast-msg/tsconfig.json +++ b/packages/react-toast-msg/tsconfig.json @@ -1,17 +1,15 @@ { + "extends": "@repo/typescript-config/react-library.json", "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "jsx": "react-jsx", - "declaration": true, + "rootDir": "src", "declarationDir": "dist/types", - "outDir": "dist", - "strict": true, - "esModuleInterop": true, - "moduleResolution": "Node", - "skipLibCheck": true, - "allowSyntheticDefaultImports": true + "outDir": "dist" }, - "include": ["src"], - "exclude": ["node_modules", "dist"] -} + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5fb1523..0f1049e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -188,6 +188,9 @@ importers: specifier: ^3.4.0 version: 3.5.0 devDependencies: + '@repo/typescript-config': + specifier: workspace:* + version: link:../typescript-config '@tailwindcss/cli': specifier: ^4.1.18 version: 4.2.3 From 691a1dc94384c7c742fc77e640f133a2a3e09b20 Mon Sep 17 00:00:00 2001 From: SudhuCodes Date: Tue, 21 Apr 2026 21:36:36 +0530 Subject: [PATCH 2/4] chore: remove outdated pull request template --- .github/PULL_REQUEST_TEMPLATE.md | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 9e89718..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,22 +0,0 @@ -## Description - -Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. - -Fixes # (issue) - -## Type of change - -## How Has This Been Tested? - -Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. - -## Checklist: - -- [ ] My code follows the style guidelines of this project -- [ ] I have performed a self-review of my own code -- [ ] I have commented my code, particularly in hard-to-understand areas -- [ ] I have made corresponding changes to the documentation -- [ ] My changes generate no new warnings -- [ ] I have added tests that prove my fix is effective or that my feature works -- [ ] New and existing unit tests pass locally with my changes -- [ ] Any dependent changes have been merged and published in downstream modules From 20370294836bcb326dd45c4637885bdcdc3d4b86 Mon Sep 17 00:00:00 2001 From: SudhuCodes Date: Tue, 21 Apr 2026 22:09:46 +0530 Subject: [PATCH 3/4] chore: add Changesets for automated changelog and version management - Create CHANGELOG.md and README.md for Changesets usage - Add config.json for Changesets configuration - Create initial changeset for major updates in react-toast-msg - Set up CI workflow for testing across multiple Node.js versions - Add USAGE.md for react-toast-msg with installation and usage instructions --- .changeset/CHANGELOG.md | 17 + .changeset/README.md | 34 + .changeset/config.json | 11 + .changeset/frank-chicken-tell.md | 5 + .github/workflows/ci.yml | 45 ++ package.json | 1 + packages/react-toast-msg/USAGE.md | 63 ++ packages/react-toast-msg/package.json | 8 +- .../src/components/icons/icons.tsx | 4 +- .../toast-container/toast-container.tsx | 13 +- .../src/components/toast/toast.tsx | 6 +- .../src/utilities/get-icon.tsx | 4 +- packages/react-toast-msg/tsconfig.json | 7 +- packages/react-toast-msg/vitest.config.ts | 6 + pnpm-lock.yaml | 609 +++++++++++++++--- 15 files changed, 720 insertions(+), 113 deletions(-) create mode 100644 .changeset/CHANGELOG.md create mode 100644 .changeset/README.md create mode 100644 .changeset/config.json create mode 100644 .changeset/frank-chicken-tell.md create mode 100644 .github/workflows/ci.yml create mode 100644 packages/react-toast-msg/USAGE.md diff --git a/.changeset/CHANGELOG.md b/.changeset/CHANGELOG.md new file mode 100644 index 0000000..94df1b5 --- /dev/null +++ b/.changeset/CHANGELOG.md @@ -0,0 +1,17 @@ +--- +'@changesets/cli': + description: 'Automated versioning and changelog management.' + homepage: 'https://github.com/changesets/changesets' +--- + +# Changelog Management + +This repo uses [Changesets](https://github.com/changesets/changesets) for automated changelog and version management. + +## How it works + +- Run `pnpm changeset` after making a change. This creates a markdown file in `.changeset/` describing your change. +- When ready to release, run `pnpm changeset version` to update changelogs and bump versions. +- Publish with `pnpm changeset publish`. + +See `.changeset/README.md` for more details. diff --git a/.changeset/README.md b/.changeset/README.md new file mode 100644 index 0000000..14ea6fd --- /dev/null +++ b/.changeset/README.md @@ -0,0 +1,34 @@ +# How to Use Changesets + +This repo uses [Changesets](https://github.com/changesets/changesets) for automated changelog and version management. + +## Common Commands + +- **Add a changeset:** + + ```sh + pnpm changeset + ``` + + Follow the prompts to describe your change and select affected packages and version bumps. + +- **Version packages & update changelog:** + + ```sh + pnpm changeset version + ``` + + This will update versions and changelogs for all packages with pending changesets. + +- **Publish (after versioning):** + ```sh + pnpm changeset publish + ``` + +## Workflow + +1. Run `pnpm changeset` after making a change. Commit the generated markdown file. +2. When ready to release, run `pnpm changeset version` and commit the updated changelogs and package versions. +3. Publish with `pnpm changeset publish`. + +See the [Changesets docs](https://github.com/changesets/changesets) for more details. diff --git a/.changeset/config.json b/.changeset/config.json new file mode 100644 index 0000000..5c58ec9 --- /dev/null +++ b/.changeset/config.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://unpkg.com/@changesets/config@3.1.4/schema.json", + "changelog": "@changesets/cli/changelog", + "commit": false, + "fixed": [], + "linked": [], + "access": "restricted", + "baseBranch": "main", + "updateInternalDependencies": "patch", + "ignore": [] +} diff --git a/.changeset/frank-chicken-tell.md b/.changeset/frank-chicken-tell.md new file mode 100644 index 0000000..f801b0d --- /dev/null +++ b/.changeset/frank-chicken-tell.md @@ -0,0 +1,5 @@ +--- +'react-toast-msg': major +--- + +added comprehensive JSDoc comments to all the exported types, functions, and components diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3c97b1a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,45 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18, 20, 22] + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + + - name: Setup Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Run linting + run: pnpm run lint + + - name: Check types + run: pnpm run check-types + + - name: Run tests + run: pnpm run test + + - name: Build packages + run: pnpm run build diff --git a/package.json b/package.json index c126071..ed90ec6 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "check-types": "turbo run check-types" }, "devDependencies": { + "@changesets/cli": "^2.31.0", "prettier": "^3.7.4", "turbo": "^2.9.6", "typescript": "5.9.2" diff --git a/packages/react-toast-msg/USAGE.md b/packages/react-toast-msg/USAGE.md new file mode 100644 index 0000000..d61c760 --- /dev/null +++ b/packages/react-toast-msg/USAGE.md @@ -0,0 +1,63 @@ +# React Toast Msg + +A fast, flexible, developer-friendly React toast notification library with a clean black & white design. + +## Installation + +```sh +pnpm add react-toast-msg +# or +yarn add react-toast-msg +# or +npm install react-toast-msg +``` + +## Usage + +1. **Add the ToastContainer at the root of your app:** + +```tsx +import { ToastContainer } from 'react-toast-msg'; + +function App() { + return ( + <> + + {/* ...your app... */} + + ); +} +``` + +2. **Show a toast from anywhere:** + +```tsx +import { toast } from 'react-toast-msg'; + +toast('Hello world!'); +toast.success('Success message'); +toast.error('Error message'); +toast.warning('Warning message'); +toast.loading('Loading...'); +``` + +3. **Promise toast:** + +```tsx +import { toast } from 'react-toast-msg'; + +toast.promise(fetch('/api/data'), { + loading: 'Loading...', + success: 'Loaded!', + error: 'Failed!' +}); +``` + +## Customization + +- Pass `autoClose`, `closeButton`, or custom `icon` as props to `ToastContainer` or individual toasts. +- Style with your own CSS or override the default styles. + +--- + +For more, see the [full documentation](https://rtm.sudhucodes.com) or the [example app](../apps/test-app). diff --git a/packages/react-toast-msg/package.json b/packages/react-toast-msg/package.json index e075b63..81ed4bf 100644 --- a/packages/react-toast-msg/package.json +++ b/packages/react-toast-msg/package.json @@ -11,7 +11,7 @@ "build": "pnpm build:ts && pnpm build:css", "build:ts": "tsup", "build:css": "shx mkdir -p dist && shx cp ./src/style.css ./dist/style.css", - "test": "vitest" + "test": "vitest run" }, "main": "dist/index.js", "module": "dist/index.mjs", @@ -49,20 +49,20 @@ "react-dom": "^18 || ^19" }, "devDependencies": { + "@repo/typescript-config": "workspace:*", "@tailwindcss/cli": "^4.1.18", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.2", - "@repo/typescript-config": "workspace:*", "@types/react": "^19.2.2", "@types/react-dom": "^19.2.2", - "shx": "^0.4.0", - "@vitejs/plugin-react": "^4.3.4", + "@vitejs/plugin-react": "^6.0.1", "jsdom": "^29.0.1", "prettier": "^3.6.2", "prettier-plugin-tailwindcss": "^0.7.2", "react": "^19.2.4", "react-dom": "^19.2.4", + "shx": "^0.4.0", "tailwindcss": "^4.1.18", "tsup": "^8.5.0", "typescript": "^5.9.3", diff --git a/packages/react-toast-msg/src/components/icons/icons.tsx b/packages/react-toast-msg/src/components/icons/icons.tsx index 982a10d..5a33a26 100644 --- a/packages/react-toast-msg/src/components/icons/icons.tsx +++ b/packages/react-toast-msg/src/components/icons/icons.tsx @@ -1,5 +1,5 @@ -import { IconProps } from '../../types'; -import { cn } from '../../utilities/cn'; +import { IconProps } from '@/types'; +import { cn } from '@/utilities/cn'; /** * Success icon component for success toast notifications. diff --git a/packages/react-toast-msg/src/components/toast-container/toast-container.tsx b/packages/react-toast-msg/src/components/toast-container/toast-container.tsx index 980c69d..f3b15cd 100644 --- a/packages/react-toast-msg/src/components/toast-container/toast-container.tsx +++ b/packages/react-toast-msg/src/components/toast-container/toast-container.tsx @@ -1,14 +1,9 @@ import { useState, useEffect } from 'react'; -import { Toast } from '../toast'; -import { getToastIcon } from '../../utilities/get-icon'; -import { - ToastContainerProps, - ToastItem, - ToastOptions, - ToastType -} from '../../types'; -import { cn } from '../../utilities/cn'; +import { ToastContainerProps, ToastItem, ToastOptions } from '@/types'; import { AnimatePresence } from 'framer-motion'; +import { cn } from '@/utilities/cn'; +import { getToastIcon } from '@/utilities/get-icon'; +import { Toast } from '@/components/toast'; let showToastFn: ((message: string, options?: ToastOptions) => string | number) | null = null; diff --git a/packages/react-toast-msg/src/components/toast/toast.tsx b/packages/react-toast-msg/src/components/toast/toast.tsx index a06bb97..4a25d42 100644 --- a/packages/react-toast-msg/src/components/toast/toast.tsx +++ b/packages/react-toast-msg/src/components/toast/toast.tsx @@ -1,7 +1,7 @@ -import { ToastProps } from '../../types'; -import { cn } from '../../utilities/cn'; +import { ToastProps } from '@/types'; +import { cn } from '@/utilities/cn'; import { motion } from 'framer-motion'; -import { CloseIcon } from '../icons'; +import { CloseIcon } from '@/components/icons'; /** diff --git a/packages/react-toast-msg/src/utilities/get-icon.tsx b/packages/react-toast-msg/src/utilities/get-icon.tsx index 931a056..7b2e002 100644 --- a/packages/react-toast-msg/src/utilities/get-icon.tsx +++ b/packages/react-toast-msg/src/utilities/get-icon.tsx @@ -1,5 +1,5 @@ -import { ErrorIcon, SuccessIcon, WarningIcon, LoadingIcon } from '../components'; -import { ToastType } from '../types'; +import { ErrorIcon, SuccessIcon, WarningIcon, LoadingIcon } from '@/components'; +import { ToastType } from '@/types'; /** * Returns the appropriate icon component for a given toast type. diff --git a/packages/react-toast-msg/tsconfig.json b/packages/react-toast-msg/tsconfig.json index 6542a00..894f286 100644 --- a/packages/react-toast-msg/tsconfig.json +++ b/packages/react-toast-msg/tsconfig.json @@ -3,7 +3,12 @@ "compilerOptions": { "rootDir": "src", "declarationDir": "dist/types", - "outDir": "dist" + "outDir": "dist", + "paths": { + "@/*": [ + "./src/*" + ] + }, }, "include": [ "src" diff --git a/packages/react-toast-msg/vitest.config.ts b/packages/react-toast-msg/vitest.config.ts index ba5aaff..ce24089 100644 --- a/packages/react-toast-msg/vitest.config.ts +++ b/packages/react-toast-msg/vitest.config.ts @@ -1,5 +1,6 @@ import { defineConfig } from 'vitest/config'; import react from '@vitejs/plugin-react'; +import { resolve } from 'path'; export default defineConfig({ plugins: [react()], @@ -8,4 +9,9 @@ export default defineConfig({ setupFiles: ['./src/test/setup.ts'], globals: true, }, + resolve: { + alias: { + '@': resolve(__dirname, './src'), + }, + }, }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0f1049e..147ac49 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: devDependencies: + '@changesets/cli': + specifier: ^2.31.0 + version: 2.31.0(@types/node@24.12.2) prettier: specifier: ^3.7.4 version: 3.7.4 @@ -210,8 +213,8 @@ importers: specifier: ^19.2.2 version: 19.2.2(@types/react@19.2.2) '@vitejs/plugin-react': - specifier: ^4.3.4 - version: 4.7.0(vite@8.0.9(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)) + specifier: ^6.0.1 + version: 6.0.1(vite@8.0.9(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1)) jsdom: specifier: ^29.0.1 version: 29.0.2 @@ -303,10 +306,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-plugin-utils@7.28.6': - resolution: {integrity: sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==} - engines: {node: '>=6.9.0'} - '@babel/helper-string-parser@7.27.1': resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} engines: {node: '>=6.9.0'} @@ -328,18 +327,6 @@ packages: engines: {node: '>=6.0.0'} hasBin: true - '@babel/plugin-transform-react-jsx-self@7.27.1': - resolution: {integrity: sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - - '@babel/plugin-transform-react-jsx-source@7.27.1': - resolution: {integrity: sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - '@babel/runtime@7.29.2': resolution: {integrity: sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==} engines: {node: '>=6.9.0'} @@ -360,6 +347,61 @@ packages: resolution: {integrity: sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==} hasBin: true + '@changesets/apply-release-plan@7.1.1': + resolution: {integrity: sha512-9qPCm/rLx/xoOFXIHGB229+4GOL76S4MC+7tyOuTsR6+1jYlfFDQORdvwR5hDA6y4FL2BPt3qpbcQIS+dW85LA==} + + '@changesets/assemble-release-plan@6.0.10': + resolution: {integrity: sha512-rSDcqdJ9KbVyjpBIuCidhvZNIiVt1XaIYp73ycVQRIA5n/j6wQaEk0ChRLMUQ1vkxZe51PTQ9OIhbg6HQMW45A==} + + '@changesets/changelog-git@0.2.1': + resolution: {integrity: sha512-x/xEleCFLH28c3bQeQIyeZf8lFXyDFVn1SgcBiR2Tw/r4IAWlk1fzxCEZ6NxQAjF2Nwtczoen3OA2qR+UawQ8Q==} + + '@changesets/cli@2.31.0': + resolution: {integrity: sha512-AhI4enNTgHu2IZr6K4WZyf0EPch4XVMn1yOMFmCD9gsfBGqMYaHXls5HyDv6/CL5axVQABz68eG30eCtbr2wFg==} + hasBin: true + + '@changesets/config@3.1.4': + resolution: {integrity: sha512-pf0bvD/v6WI2cRlZ6hzpjtZdSlXDXMAJ+Iz7xfFzV4ZxJ8OGGAON+1qYc99ZPrijnt4xp3VGG7eNvAOGS24V1Q==} + + '@changesets/errors@0.2.0': + resolution: {integrity: sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==} + + '@changesets/get-dependents-graph@2.1.4': + resolution: {integrity: sha512-ZsS00x6WvmHq3sQv8oCMwL0f/z3wbXCVuSVTJwCnnmbC/iBdNJGFx1EcbMG4PC6sXRyH69liM4A2WKXzn/kRPg==} + + '@changesets/get-release-plan@4.0.16': + resolution: {integrity: sha512-2K5Om6CrMPm45rtvckfzWo7e9jOVCKLCnXia5eUPaURH7/LWzri7pK1TycdzAuAtehLkW7VPbWLCSExTHmiI6g==} + + '@changesets/get-version-range-type@0.4.0': + resolution: {integrity: sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==} + + '@changesets/git@3.0.4': + resolution: {integrity: sha512-BXANzRFkX+XcC1q/d27NKvlJ1yf7PSAgi8JG6dt8EfbHFHi4neau7mufcSca5zRhwOL8j9s6EqsxmT+s+/E6Sw==} + + '@changesets/logger@0.1.1': + resolution: {integrity: sha512-OQtR36ZlnuTxKqoW4Sv6x5YIhOmClRd5pWsjZsddYxpWs517R0HkyiefQPIytCVh4ZcC5x9XaG8KTdd5iRQUfg==} + + '@changesets/parse@0.4.3': + resolution: {integrity: sha512-ZDmNc53+dXdWEv7fqIUSgRQOLYoUom5Z40gmLgmATmYR9NbL6FJJHwakcCpzaeCy+1D0m0n7mT4jj2B/MQPl7A==} + + '@changesets/pre@2.0.2': + resolution: {integrity: sha512-HaL/gEyFVvkf9KFg6484wR9s0qjAXlZ8qWPDkTyKF6+zqjBe/I2mygg3MbpZ++hdi0ToqNUF8cjj7fBy0dg8Ug==} + + '@changesets/read@0.6.7': + resolution: {integrity: sha512-D1G4AUYGrBEk8vj8MGwf75k9GpN6XL3wg8i42P2jZZwFLXnlr2Pn7r9yuQNbaMCarP7ZQWNJbV6XLeysAIMhTA==} + + '@changesets/should-skip-package@0.1.2': + resolution: {integrity: sha512-qAK/WrqWLNCP22UDdBTMPH5f41elVDlsNyat180A33dWxuUDyNpg6fPi/FyTZwRriVjg0L8gnjJn2F9XAoF0qw==} + + '@changesets/types@4.1.0': + resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} + + '@changesets/types@6.1.0': + resolution: {integrity: sha512-rKQcJ+o1nKNgeoYRHKOS07tAMNd3YSN0uHaJOZYjBAgxfV7TUE7JE+z4BzZdQwb5hKaYbayKN5KrYV7ODb2rAA==} + + '@changesets/write@0.4.0': + resolution: {integrity: sha512-CdTLvIOPiCNuH71pyDu3rA+Q0n65cmAbXnwWH84rKGiFumFzkmHNT8KHTMEchcxN+Kl8I54xGUhJ7l3E7X396Q==} + '@csstools/color-helpers@6.0.2': resolution: {integrity: sha512-LMGQLS9EuADloEFkcTBR3BwV/CGHV7zyDxVRtVDTwdI2Ca4it0CCVTT9wCkxSgokjE5Ho41hEPgb8OEUwoXr6Q==} engines: {node: '>=20.19.0'} @@ -800,6 +842,15 @@ packages: cpu: [x64] os: [win32] + '@inquirer/external-editor@1.0.3': + resolution: {integrity: sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + '@jridgewell/gen-mapping@0.3.13': resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} @@ -816,6 +867,12 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + '@manypkg/find-root@1.1.0': + resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} + + '@manypkg/get-packages@1.1.3': + resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} + '@mdx-js/mdx@3.1.1': resolution: {integrity: sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==} @@ -1341,9 +1398,6 @@ packages: cpu: [x64] os: [win32] - '@rolldown/pluginutils@1.0.0-beta.27': - resolution: {integrity: sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==} - '@rolldown/pluginutils@1.0.0-rc.16': resolution: {integrity: sha512-45+YtqxLYKDWQouLKCrpIZhke+nXxhsw+qAHVzHDVwttyBlHNBVs2K25rDXrZzhpTp9w1FlAlvweV1H++fdZoA==} @@ -1680,18 +1734,6 @@ packages: '@types/aria-query@5.0.4': resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==} - '@types/babel__core@7.20.5': - resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} - - '@types/babel__generator@7.27.0': - resolution: {integrity: sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==} - - '@types/babel__template@7.4.4': - resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} - - '@types/babel__traverse@7.28.0': - resolution: {integrity: sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==} - '@types/chai@5.2.3': resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} @@ -1725,6 +1767,9 @@ packages: '@types/ms@2.1.0': resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==} + '@types/node@12.20.55': + resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + '@types/node@20.19.39': resolution: {integrity: sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw==} @@ -1969,12 +2014,6 @@ packages: cpu: [x64] os: [win32] - '@vitejs/plugin-react@4.7.0': - resolution: {integrity: sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 - '@vitejs/plugin-react@6.0.1': resolution: {integrity: sha512-l9X/E3cDb+xY3SWzlG1MOGt2usfEHGMNIaegaUGFsLkb3RCn/k8/TOXBcab+OndDI4TBtktT8/9BwwW8Vi9KUQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2037,6 +2076,10 @@ packages: ajv@6.14.0: resolution: {integrity: sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==} + ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -2077,6 +2120,10 @@ packages: resolution: {integrity: sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==} engines: {node: '>= 0.4'} + array-union@2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + array.prototype.findlast@1.2.5: resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==} engines: {node: '>= 0.4'} @@ -2143,6 +2190,10 @@ packages: engines: {node: '>=6.0.0'} hasBin: true + better-path-resolve@1.0.0: + resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} + engines: {node: '>=4'} + bidi-js@1.0.3: resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==} @@ -2220,6 +2271,9 @@ packages: character-reference-invalid@2.0.1: resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==} + chardet@2.1.1: + resolution: {integrity: sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==} + chokidar@4.0.3: resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} engines: {node: '>= 14.16.0'} @@ -2348,6 +2402,10 @@ packages: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} + detect-indent@6.1.0: + resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} + engines: {node: '>=8'} + detect-libc@2.1.2: resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} engines: {node: '>=8'} @@ -2358,6 +2416,10 @@ packages: devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + dir-glob@3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + docstra-mdx@0.1.0: resolution: {integrity: sha512-o62AzFuQ756Pi1/9sIKI4pPBM1SJV3pI2lUE9raNV1TJlOBIkZy8r4srwZaN3dk9seEJwbsLMHps1mZxy1MadQ==} peerDependencies: @@ -2401,6 +2463,10 @@ packages: resolution: {integrity: sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==} engines: {node: '>=10.13.0'} + enquirer@2.4.1: + resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} + engines: {node: '>=8.6'} + entities@6.0.1: resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==} engines: {node: '>=0.12'} @@ -2665,6 +2731,9 @@ packages: extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + extendable-error@0.1.7: + resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} + fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -2702,6 +2771,10 @@ packages: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} + find-up@4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} @@ -2739,6 +2812,14 @@ packages: react-dom: optional: true + fs-extra@7.0.1: + resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} + engines: {node: '>=6 <7 || >=8'} + + fs-extra@8.1.0: + resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} + engines: {node: '>=6 <7 || >=8'} + fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -2813,6 +2894,10 @@ packages: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} + globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + gopd@1.2.0: resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} engines: {node: '>= 0.4'} @@ -2891,6 +2976,14 @@ packages: html-void-elements@3.0.0: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} + human-id@4.1.3: + resolution: {integrity: sha512-tsYlhAYpjCKa//8rXZ9DqKEawhPoSytweBC2eNvcaDK+57RZLHGqNs3PZTQO6yekLFSuvA6AlnAfrw1uBvtb+Q==} + hasBin: true + + iconv-lite@0.7.2: + resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==} + engines: {node: '>=0.10.0'} + ignore@5.3.2: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} @@ -3032,6 +3125,10 @@ packages: resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==} engines: {node: '>= 0.4'} + is-subdir@1.2.0: + resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==} + engines: {node: '>=4'} + is-symbol@1.1.1: resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==} engines: {node: '>= 0.4'} @@ -3052,6 +3149,10 @@ packages: resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==} engines: {node: '>= 0.4'} + is-windows@1.0.2: + resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} + engines: {node: '>=0.10.0'} + isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} @@ -3116,6 +3217,9 @@ packages: engines: {node: '>=6'} hasBin: true + jsonfile@4.0.0: + resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + jsx-ast-utils@3.3.5: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} @@ -3219,6 +3323,10 @@ packages: resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + locate-path@5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + locate-path@6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} @@ -3226,6 +3334,9 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + lodash.startcase@4.4.0: + resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} + longest-streak@3.1.0: resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} @@ -3570,22 +3681,48 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} + outdent@0.5.0: + resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} + own-keys@1.0.1: resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==} engines: {node: '>= 0.4'} + p-filter@2.1.0: + resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} + engines: {node: '>=8'} + p-finally@1.0.0: resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} engines: {node: '>=4'} + p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + p-limit@3.1.0: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} + p-locate@4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + p-locate@5.0.0: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} + p-map@2.1.0: + resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} + engines: {node: '>=6'} + + p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + + package-manager-detector@0.2.11: + resolution: {integrity: sha512-BEnLolu+yuz22S56CU1SUKq3XC3PkwD5wv4ikR4MfGvnRVcmzXR9DwSlW2fEamyTPyXHomBJRzgapeuBvRNzJQ==} + parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} @@ -3617,6 +3754,10 @@ packages: path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + pathe@2.0.3: resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} @@ -3635,6 +3776,10 @@ packages: resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} engines: {node: '>=12'} + pify@4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + pirates@4.0.7: resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==} engines: {node: '>= 6'} @@ -3735,6 +3880,11 @@ packages: prettier-plugin-svelte: optional: true + prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} + hasBin: true + prettier@3.7.4: resolution: {integrity: sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==} engines: {node: '>=14'} @@ -3756,6 +3906,9 @@ packages: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} + quansync@0.2.11: + resolution: {integrity: sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==} + queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -3775,10 +3928,6 @@ packages: react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - react-refresh@0.17.0: - resolution: {integrity: sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==} - engines: {node: '>=0.10.0'} - react-remove-scroll-bar@2.3.8: resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==} engines: {node: '>=10'} @@ -3823,6 +3972,10 @@ packages: resolution: {integrity: sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==} engines: {node: '>=0.10.0'} + read-yaml-file@1.1.0: + resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} + engines: {node: '>=6'} + readdirp@4.1.2: resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==} engines: {node: '>= 14.18.0'} @@ -3954,6 +4107,9 @@ packages: resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==} engines: {node: '>= 0.4'} + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + saxes@6.0.0: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} @@ -4044,6 +4200,14 @@ packages: signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + slash@3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -4055,6 +4219,9 @@ packages: space-separated-tokens@2.0.2: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} + spawndamnit@3.0.1: + resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==} + sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} @@ -4097,6 +4264,10 @@ packages: stringify-entities@4.0.4: resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + strip-bom-string@1.0.0: resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} engines: {node: '>=0.10.0'} @@ -4162,6 +4333,10 @@ packages: resolution: {integrity: sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==} engines: {node: '>=6'} + term-size@2.2.1: + resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} + engines: {node: '>=8'} + thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} @@ -4344,6 +4519,10 @@ packages: unist-util-visit@5.1.0: resolution: {integrity: sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==} + universalify@0.1.2: + resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} + engines: {node: '>= 4.0.0'} + unrs-resolver@1.11.1: resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==} @@ -4641,8 +4820,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-plugin-utils@7.28.6': {} - '@babel/helper-string-parser@7.27.1': {} '@babel/helper-validator-identifier@7.28.5': {} @@ -4658,16 +4835,6 @@ snapshots: dependencies: '@babel/types': 7.29.0 - '@babel/plugin-transform-react-jsx-self@7.27.1(@babel/core@7.29.0)': - dependencies: - '@babel/core': 7.29.0 - '@babel/helper-plugin-utils': 7.28.6 - - '@babel/plugin-transform-react-jsx-source@7.27.1(@babel/core@7.29.0)': - dependencies: - '@babel/core': 7.29.0 - '@babel/helper-plugin-utils': 7.28.6 - '@babel/runtime@7.29.2': {} '@babel/template@7.28.6': @@ -4697,6 +4864,149 @@ snapshots: dependencies: css-tree: 3.2.1 + '@changesets/apply-release-plan@7.1.1': + dependencies: + '@changesets/config': 3.1.4 + '@changesets/get-version-range-type': 0.4.0 + '@changesets/git': 3.0.4 + '@changesets/should-skip-package': 0.1.2 + '@changesets/types': 6.1.0 + '@manypkg/get-packages': 1.1.3 + detect-indent: 6.1.0 + fs-extra: 7.0.1 + lodash.startcase: 4.4.0 + outdent: 0.5.0 + prettier: 2.8.8 + resolve-from: 5.0.0 + semver: 7.7.3 + + '@changesets/assemble-release-plan@6.0.10': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.4 + '@changesets/should-skip-package': 0.1.2 + '@changesets/types': 6.1.0 + '@manypkg/get-packages': 1.1.3 + semver: 7.7.3 + + '@changesets/changelog-git@0.2.1': + dependencies: + '@changesets/types': 6.1.0 + + '@changesets/cli@2.31.0(@types/node@24.12.2)': + dependencies: + '@changesets/apply-release-plan': 7.1.1 + '@changesets/assemble-release-plan': 6.0.10 + '@changesets/changelog-git': 0.2.1 + '@changesets/config': 3.1.4 + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.4 + '@changesets/get-release-plan': 4.0.16 + '@changesets/git': 3.0.4 + '@changesets/logger': 0.1.1 + '@changesets/pre': 2.0.2 + '@changesets/read': 0.6.7 + '@changesets/should-skip-package': 0.1.2 + '@changesets/types': 6.1.0 + '@changesets/write': 0.4.0 + '@inquirer/external-editor': 1.0.3(@types/node@24.12.2) + '@manypkg/get-packages': 1.1.3 + ansi-colors: 4.1.3 + enquirer: 2.4.1 + fs-extra: 7.0.1 + mri: 1.2.0 + package-manager-detector: 0.2.11 + picocolors: 1.1.1 + resolve-from: 5.0.0 + semver: 7.7.3 + spawndamnit: 3.0.1 + term-size: 2.2.1 + transitivePeerDependencies: + - '@types/node' + + '@changesets/config@3.1.4': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.4 + '@changesets/logger': 0.1.1 + '@changesets/should-skip-package': 0.1.2 + '@changesets/types': 6.1.0 + '@manypkg/get-packages': 1.1.3 + fs-extra: 7.0.1 + micromatch: 4.0.8 + + '@changesets/errors@0.2.0': + dependencies: + extendable-error: 0.1.7 + + '@changesets/get-dependents-graph@2.1.4': + dependencies: + '@changesets/types': 6.1.0 + '@manypkg/get-packages': 1.1.3 + picocolors: 1.1.1 + semver: 7.7.3 + + '@changesets/get-release-plan@4.0.16': + dependencies: + '@changesets/assemble-release-plan': 6.0.10 + '@changesets/config': 3.1.4 + '@changesets/pre': 2.0.2 + '@changesets/read': 0.6.7 + '@changesets/types': 6.1.0 + '@manypkg/get-packages': 1.1.3 + + '@changesets/get-version-range-type@0.4.0': {} + + '@changesets/git@3.0.4': + dependencies: + '@changesets/errors': 0.2.0 + '@manypkg/get-packages': 1.1.3 + is-subdir: 1.2.0 + micromatch: 4.0.8 + spawndamnit: 3.0.1 + + '@changesets/logger@0.1.1': + dependencies: + picocolors: 1.1.1 + + '@changesets/parse@0.4.3': + dependencies: + '@changesets/types': 6.1.0 + js-yaml: 4.1.1 + + '@changesets/pre@2.0.2': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/types': 6.1.0 + '@manypkg/get-packages': 1.1.3 + fs-extra: 7.0.1 + + '@changesets/read@0.6.7': + dependencies: + '@changesets/git': 3.0.4 + '@changesets/logger': 0.1.1 + '@changesets/parse': 0.4.3 + '@changesets/types': 6.1.0 + fs-extra: 7.0.1 + p-filter: 2.1.0 + picocolors: 1.1.1 + + '@changesets/should-skip-package@0.1.2': + dependencies: + '@changesets/types': 6.1.0 + '@manypkg/get-packages': 1.1.3 + + '@changesets/types@4.1.0': {} + + '@changesets/types@6.1.0': {} + + '@changesets/write@0.4.0': + dependencies: + '@changesets/types': 6.1.0 + fs-extra: 7.0.1 + human-id: 4.1.3 + prettier: 2.8.8 + '@csstools/color-helpers@6.0.2': {} '@csstools/css-calc@3.2.0(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': @@ -5033,6 +5343,13 @@ snapshots: '@img/sharp-win32-x64@0.34.5': optional: true + '@inquirer/external-editor@1.0.3(@types/node@24.12.2)': + dependencies: + chardet: 2.1.1 + iconv-lite: 0.7.2 + optionalDependencies: + '@types/node': 24.12.2 + '@jridgewell/gen-mapping@0.3.13': dependencies: '@jridgewell/sourcemap-codec': 1.5.5 @@ -5052,6 +5369,22 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 + '@manypkg/find-root@1.1.0': + dependencies: + '@babel/runtime': 7.29.2 + '@types/node': 12.20.55 + find-up: 4.1.0 + fs-extra: 8.1.0 + + '@manypkg/get-packages@1.1.3': + dependencies: + '@babel/runtime': 7.29.2 + '@changesets/types': 4.1.0 + '@manypkg/find-root': 1.1.0 + fs-extra: 8.1.0 + globby: 11.1.0 + read-yaml-file: 1.1.0 + '@mdx-js/mdx@3.1.1': dependencies: '@types/estree': 1.0.8 @@ -5495,8 +5828,6 @@ snapshots: '@rolldown/binding-win32-x64-msvc@1.0.0-rc.16': optional: true - '@rolldown/pluginutils@1.0.0-beta.27': {} - '@rolldown/pluginutils@1.0.0-rc.16': {} '@rolldown/pluginutils@1.0.0-rc.7': {} @@ -5775,27 +6106,6 @@ snapshots: '@types/aria-query@5.0.4': {} - '@types/babel__core@7.20.5': - dependencies: - '@babel/parser': 7.29.2 - '@babel/types': 7.29.0 - '@types/babel__generator': 7.27.0 - '@types/babel__template': 7.4.4 - '@types/babel__traverse': 7.28.0 - - '@types/babel__generator@7.27.0': - dependencies: - '@babel/types': 7.29.0 - - '@types/babel__template@7.4.4': - dependencies: - '@babel/parser': 7.29.2 - '@babel/types': 7.29.0 - - '@types/babel__traverse@7.28.0': - dependencies: - '@babel/types': 7.29.0 - '@types/chai@5.2.3': dependencies: '@types/deep-eql': 4.0.2 @@ -5829,6 +6139,8 @@ snapshots: '@types/ms@2.1.0': {} + '@types/node@12.20.55': {} + '@types/node@20.19.39': dependencies: undici-types: 6.21.0 @@ -6179,18 +6491,6 @@ snapshots: '@unrs/resolver-binding-win32-x64-msvc@1.11.1': optional: true - '@vitejs/plugin-react@4.7.0(vite@8.0.9(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1))': - dependencies: - '@babel/core': 7.29.0 - '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.29.0) - '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/core@7.29.0) - '@rolldown/pluginutils': 1.0.0-beta.27 - '@types/babel__core': 7.20.5 - react-refresh: 0.17.0 - vite: 8.0.9(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1) - transitivePeerDependencies: - - supports-color - '@vitejs/plugin-react@6.0.1(vite@8.0.9(@types/node@24.12.2)(esbuild@0.27.7)(jiti@2.6.1))': dependencies: '@rolldown/pluginutils': 1.0.0-rc.7 @@ -6259,6 +6559,8 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + ansi-colors@4.1.3: {} + ansi-regex@5.0.1: {} ansi-styles@4.3.0: @@ -6301,6 +6603,8 @@ snapshots: is-string: 1.1.1 math-intrinsics: 1.1.0 + array-union@2.1.0: {} + array.prototype.findlast@1.2.5: dependencies: call-bind: 1.0.8 @@ -6376,6 +6680,10 @@ snapshots: baseline-browser-mapping@2.10.20: {} + better-path-resolve@1.0.0: + dependencies: + is-windows: 1.0.2 + bidi-js@1.0.3: dependencies: require-from-string: 2.0.2 @@ -6452,6 +6760,8 @@ snapshots: character-reference-invalid@2.0.1: {} + chardet@2.1.1: {} + chokidar@4.0.3: dependencies: readdirp: 4.1.2 @@ -6568,6 +6878,8 @@ snapshots: dequal@2.0.3: {} + detect-indent@6.1.0: {} + detect-libc@2.1.2: {} detect-node-es@1.1.0: {} @@ -6576,6 +6888,10 @@ snapshots: dependencies: dequal: 2.0.3 + dir-glob@3.0.1: + dependencies: + path-type: 4.0.0 + docstra-mdx@0.1.0(next@16.0.10(@babel/core@7.29.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0))(shiki@4.0.2): dependencies: '@mdx-js/mdx': 3.1.1 @@ -6640,6 +6956,11 @@ snapshots: graceful-fs: 4.2.11 tapable: 2.3.2 + enquirer@2.4.1: + dependencies: + ansi-colors: 4.1.3 + strip-ansi: 6.0.1 + entities@6.0.1: {} entities@8.0.0: {} @@ -7126,6 +7447,8 @@ snapshots: extend@3.0.2: {} + extendable-error@0.1.7: {} + fast-deep-equal@3.1.3: {} fast-glob@3.3.1: @@ -7168,6 +7491,11 @@ snapshots: dependencies: to-regex-range: 5.0.1 + find-up@4.1.0: + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + find-up@5.0.0: dependencies: locate-path: 6.0.0 @@ -7212,6 +7540,18 @@ snapshots: react: 19.2.5 react-dom: 19.2.5(react@19.2.5) + fs-extra@7.0.1: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + + fs-extra@8.1.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + fsevents@2.3.3: optional: true @@ -7287,6 +7627,15 @@ snapshots: define-properties: 1.2.1 gopd: 1.2.0 + globby@11.1.0: + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.3 + ignore: 5.3.2 + merge2: 1.4.1 + slash: 3.0.0 + gopd@1.2.0: {} graceful-fs@4.2.11: {} @@ -7429,6 +7778,12 @@ snapshots: html-void-elements@3.0.0: {} + human-id@4.1.3: {} + + iconv-lite@0.7.2: + dependencies: + safer-buffer: 2.1.2 + ignore@5.3.2: {} ignore@7.0.5: {} @@ -7561,6 +7916,10 @@ snapshots: call-bound: 1.0.4 has-tostringtag: 1.0.2 + is-subdir@1.2.0: + dependencies: + better-path-resolve: 1.0.0 + is-symbol@1.1.1: dependencies: call-bound: 1.0.4 @@ -7582,6 +7941,8 @@ snapshots: call-bound: 1.0.4 get-intrinsic: 1.3.0 + is-windows@1.0.2: {} + isarray@2.0.5: {} isexe@2.0.0: {} @@ -7654,6 +8015,10 @@ snapshots: json5@2.2.3: {} + jsonfile@4.0.0: + optionalDependencies: + graceful-fs: 4.2.11 + jsx-ast-utils@3.3.5: dependencies: array-includes: 3.1.9 @@ -7733,12 +8098,18 @@ snapshots: load-tsconfig@0.2.5: {} + locate-path@5.0.0: + dependencies: + p-locate: 4.1.0 + locate-path@6.0.0: dependencies: p-locate: 5.0.0 lodash.merge@4.6.2: {} + lodash.startcase@4.4.0: {} + longest-streak@3.1.0: {} loose-envify@1.4.0: @@ -8361,22 +8732,44 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 + outdent@0.5.0: {} + own-keys@1.0.1: dependencies: get-intrinsic: 1.3.0 object-keys: 1.1.1 safe-push-apply: 1.0.0 + p-filter@2.1.0: + dependencies: + p-map: 2.1.0 + p-finally@1.0.0: {} + p-limit@2.3.0: + dependencies: + p-try: 2.2.0 + p-limit@3.1.0: dependencies: yocto-queue: 0.1.0 + p-locate@4.1.0: + dependencies: + p-limit: 2.3.0 + p-locate@5.0.0: dependencies: p-limit: 3.1.0 + p-map@2.1.0: {} + + p-try@2.2.0: {} + + package-manager-detector@0.2.11: + dependencies: + quansync: 0.2.11 + parent-module@1.0.1: dependencies: callsites: 3.1.0 @@ -8409,6 +8802,8 @@ snapshots: path-parse@1.0.7: {} + path-type@4.0.0: {} + pathe@2.0.3: {} picocolors@1.1.1: {} @@ -8419,6 +8814,8 @@ snapshots: picomatch@4.0.4: {} + pify@4.0.1: {} + pirates@4.0.7: {} pkg-types@1.3.1: @@ -8459,6 +8856,8 @@ snapshots: dependencies: prettier: 3.7.4 + prettier@2.8.8: {} + prettier@3.7.4: {} pretty-format@27.5.1: @@ -8482,6 +8881,8 @@ snapshots: punycode@2.3.1: {} + quansync@0.2.11: {} + queue-microtask@1.2.3: {} react-dom@19.2.0(react@19.2.0): @@ -8498,8 +8899,6 @@ snapshots: react-is@17.0.2: {} - react-refresh@0.17.0: {} - react-remove-scroll-bar@2.3.8(@types/react@19.2.2)(react@19.2.0): dependencies: react: 19.2.0 @@ -8541,6 +8940,13 @@ snapshots: react@19.2.5: {} + read-yaml-file@1.1.0: + dependencies: + graceful-fs: 4.2.11 + js-yaml: 3.14.2 + pify: 4.0.1 + strip-bom: 3.0.0 + readdirp@4.1.2: {} readdirp@5.0.0: {} @@ -8785,6 +9191,8 @@ snapshots: es-errors: 1.3.0 is-regex: 1.2.1 + safer-buffer@2.1.2: {} + saxes@6.0.0: dependencies: xmlchars: 2.2.0 @@ -8923,12 +9331,21 @@ snapshots: signal-exit@3.0.7: {} + signal-exit@4.1.0: {} + + slash@3.0.0: {} + source-map-js@1.2.1: {} source-map@0.7.6: {} space-separated-tokens@2.0.2: {} + spawndamnit@3.0.1: + dependencies: + cross-spawn: 7.0.6 + signal-exit: 4.1.0 + sprintf-js@1.0.3: {} stable-hash@0.0.5: {} @@ -8997,6 +9414,10 @@ snapshots: character-entities-html4: 2.1.0 character-entities-legacy: 3.0.0 + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + strip-bom-string@1.0.0: {} strip-bom@3.0.0: {} @@ -9048,6 +9469,8 @@ snapshots: tapable@2.3.2: {} + term-size@2.2.1: {} + thenify-all@1.6.0: dependencies: thenify: 3.3.1 @@ -9284,6 +9707,8 @@ snapshots: unist-util-is: 6.0.1 unist-util-visit-parents: 6.0.2 + universalify@0.1.2: {} + unrs-resolver@1.11.1: dependencies: napi-postinstall: 0.3.4 From b583dd0abdec30ac3f538a5cfb32eb05713e6435 Mon Sep 17 00:00:00 2001 From: SudhuCodes Date: Tue, 21 Apr 2026 22:17:20 +0530 Subject: [PATCH 4/4] chore: update version numbers and add changelogs for docs and test-app; remove outdated changesets --- .changeset/CHANGELOG.md | 17 ----------------- .changeset/frank-chicken-tell.md | 5 ----- apps/docs/CHANGELOG.md | 8 ++++++++ apps/docs/package.json | 2 +- apps/test-app/CHANGELOG.md | 8 ++++++++ apps/test-app/package.json | 2 +- packages/react-toast-msg/CHANGELOG.md | 7 +++++++ packages/react-toast-msg/package.json | 2 +- 8 files changed, 26 insertions(+), 25 deletions(-) delete mode 100644 .changeset/CHANGELOG.md delete mode 100644 .changeset/frank-chicken-tell.md create mode 100644 apps/docs/CHANGELOG.md create mode 100644 apps/test-app/CHANGELOG.md create mode 100644 packages/react-toast-msg/CHANGELOG.md diff --git a/.changeset/CHANGELOG.md b/.changeset/CHANGELOG.md deleted file mode 100644 index 94df1b5..0000000 --- a/.changeset/CHANGELOG.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@changesets/cli': - description: 'Automated versioning and changelog management.' - homepage: 'https://github.com/changesets/changesets' ---- - -# Changelog Management - -This repo uses [Changesets](https://github.com/changesets/changesets) for automated changelog and version management. - -## How it works - -- Run `pnpm changeset` after making a change. This creates a markdown file in `.changeset/` describing your change. -- When ready to release, run `pnpm changeset version` to update changelogs and bump versions. -- Publish with `pnpm changeset publish`. - -See `.changeset/README.md` for more details. diff --git a/.changeset/frank-chicken-tell.md b/.changeset/frank-chicken-tell.md deleted file mode 100644 index f801b0d..0000000 --- a/.changeset/frank-chicken-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-toast-msg': major ---- - -added comprehensive JSDoc comments to all the exported types, functions, and components diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md new file mode 100644 index 0000000..748543f --- /dev/null +++ b/apps/docs/CHANGELOG.md @@ -0,0 +1,8 @@ +# docs + +## 0.1.1 + +### Patch Changes + +- Updated dependencies [2037029] + - react-toast-msg@2.8.0 diff --git a/apps/docs/package.json b/apps/docs/package.json index f750ca2..43779a8 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "0.1.0", + "version": "0.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/apps/test-app/CHANGELOG.md b/apps/test-app/CHANGELOG.md new file mode 100644 index 0000000..a05e07c --- /dev/null +++ b/apps/test-app/CHANGELOG.md @@ -0,0 +1,8 @@ +# test-app + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [2037029] + - react-toast-msg@2.8.0 diff --git a/apps/test-app/package.json b/apps/test-app/package.json index fc15b4d..9b65131 100644 --- a/apps/test-app/package.json +++ b/apps/test-app/package.json @@ -1,7 +1,7 @@ { "name": "test-app", "private": true, - "version": "0.0.0", + "version": "0.0.1", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/react-toast-msg/CHANGELOG.md b/packages/react-toast-msg/CHANGELOG.md new file mode 100644 index 0000000..8d6bdb3 --- /dev/null +++ b/packages/react-toast-msg/CHANGELOG.md @@ -0,0 +1,7 @@ +# react-toast-msg + +## 2.8.0 + +### Minor Changes + +- 2037029: added comprehensive JSDoc comments to all the exported types, functions, and components diff --git a/packages/react-toast-msg/package.json b/packages/react-toast-msg/package.json index 81ed4bf..325857b 100644 --- a/packages/react-toast-msg/package.json +++ b/packages/react-toast-msg/package.json @@ -1,6 +1,6 @@ { "name": "react-toast-msg", - "version": "2.7.2", + "version": "2.8.0", "description": "Fast, flexible, developer-friendly React toast notifications with a clean black & white design.", "files": [ "dist"