![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@u2dv/marketplace_common
Advanced tools
A library of reusable code for use in Uptodate Marketplace projects.
The Marketplace common package was created in May 2021 with the goal of improving code reuse and reducing code duplication in Marketplace projects. It is supposed to contain all classes, functions and constants which are used in more than one project. Instead of copying and pasting the same code from one repository to another, it is preferred that the shared code is put into this package.
If you want to publish a new version of the package to the private NPM registry, you can follow these steps:
Bump the package version by increasing the "version"
property npm version major|minor|patch
.
Perform a test run of the publish to see what would happen:
$ npm publish --dry-run
Most importantly, this will show you the contents of the package as they would be published.
Finally, once you have verified the package, publish it as follows:
$ npm publish --access public
Note: be sure to only publish from the latest revision of the master branch. If you need to publish a pre-release for testing purposes, use the --tag
argument to npm publish
as described here: npm-prerelease.
You can use the npm pack
command to store the NPM package on your local disk:
$ cd marketplace_common
$ npm pack
Assuming that your marketplace_common
directory is in /home/user/marketplace_common
and the current version of the package is 1.0.4
, npm pack
will generate the following file:
/home/user/marketplace_common/u2dv-marketplace_common-1.0.4.tgz
You can now install this package into another project using npm
as follows:
$ npm install /home/user/marketplace_common/u2dv-marketplace_common-1.0.4.tgz
Installing the package this way is 100% identical to installing the package from the package registry via the Internet. It can be a good way to verify that the package works as expected before publishing it.
Before you publish a new release, follow the semantic versioning guidelines in order to choose a new version number. Most importantly, use a major version bump (1.x
=> 2.x
) if you need to publish a breaking change.
First, install the dependencies:
$ npm install
You can now run the tests:
$ npm test
FAQs
Common code shared across Uptodate Marketplace projects.
We found that @u2dv/marketplace_common demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.