Skip to content

Extract core package#92

Merged
Nowely merged 35 commits intonextfrom
extract-core
Sep 23, 2025
Merged

Extract core package#92
Nowely merged 35 commits intonextfrom
extract-core

Conversation

@Nowely
Copy link
Owner

@Nowely Nowely commented Sep 21, 2025

  • Extract core package
  • Move unit tests from test package to core
  • Add many generated unit tests

Nowely added 30 commits August 8, 2025 00:31
…r-js/faker and vitest packages, and adjust package.json dependencies to use catalog references.
…ypes/react (18.3.24) and adjust package references for consistency across dependencies.
- Introduced a new styles.css file with styles for input and suggestions components.
- Updated package.json to export the new styles.css for use in other packages.
- Consolidated utility functions into a new text-manipulation module.
- Introduced Caret and TriggerFinder classes for managing caret position and text selection.
- Added EventBus for a type-safe event system with Symbol-based event keys.
- Updated imports across the codebase to reflect new module paths.
- Added unit tests for Caret and TriggerFinder functionalities.
- Enhanced README files for caret and events features with usage examples.
- Introduced new utility functions for parsing and text manipulation, including `denote`, `getTokensByUI`, `getTokensByValue`, `createNewSpan`, `deleteMark`, and `toString`.
- Added constants for system events in `constants.ts`.
- Implemented shallow comparison utility in `shallow.ts`.
- Created comprehensive unit tests for all new utilities to ensure functionality and reliability.
- Enhanced overall code organization by consolidating related functionalities into dedicated modules.
- Updated export paths for parsing utilities, moving them to a dedicated `utils` directory for better organization.
- Adjusted imports in various files to reflect the new structure, enhancing code clarity and maintainability.
- Consolidated event-related exports by moving `SystemEvent` to `constants.ts`.
- Improved unit test imports to align with the new module paths.
- Introduced new index files for default, parsing, and preparsing features, exporting essential constants and utility functions.
- Enhanced module organization by clearly defining exports for better accessibility and maintainability.
- Consolidated exports from shared and feature modules into a more structured format.
- Enhanced accessibility by grouping related exports, including constants and utility functions.
- Removed redundant exports to streamline the index file and improve maintainability.
- Added sections for event handling, caret position management, and text preprocessing utilities.
- Updated usage examples to include new classes: TriggerFinder and EventBus.
- Expanded API documentation to cover new methods and constants related to text manipulation and event systems.
- Included development instructions for building and testing the package.
- Updated export statements in the core index file to separate type and value exports for better organization.
- Enhanced maintainability by streamlining the export process from the default feature module.
@vercel
Copy link

vercel bot commented Sep 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marked-input Ready Ready Preview Comment Sep 23, 2025 8:25pm

- Introduced `use:local` and `use:workspace` scripts for easier management of the `rc-marked-input` dependency.
- These scripts facilitate switching between local and workspace versions of the package, enhancing development workflow.
@Nowely Nowely merged commit 1e6440e into next Sep 23, 2025
4 checks passed
@Nowely Nowely deleted the extract-core branch September 23, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant