Refactor/remove react code view package #64
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request fully deprecates the
react-code-viewwrapper package in favor of direct usage of@react-code-view/reactand updates documentation, changelogs, and package metadata to reflect this migration. It also provides clear instructions and resources for users to transition and for maintainers to deprecate the package on npm. The most important changes are grouped below.Deprecation and Removal of
react-code-viewPackagereact-code-viewpackage: deleted its source code (src/index.ts), styles (styles/highlight.css), README, changelog, and package manifest (package.json). The wrapper package is no longer published or maintained. [1] [2] [3] [4] [5]Documentation and Migration Guidance
DEPRECATION_react-code-view.mdwith a detailed migration guide, rationale, package structure, and timeline for deprecation.NPM_DEPRECATION_COMMANDS.mdwith step-by-step instructions for deprecating the package on npm, including verification and notes on npm policy.README.mdto remove references toreact-code-view, revise installation and import instructions to use@react-code-view/react, and clarify the new package structure. [1] [2] [3] [4] [5]Changelog and Version Updates
@react-code-view/corechangelog to reflect the new migration instructions and import paths, and bumped its version to3.1.0. [1] [2] [3]package.jsonto3.1.0.These changes ensure that all usage and documentation now point to the maintained packages, and provide a clear migration path for users and maintainers.