
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
package-transfer
Advanced tools
Simple utility to transfer packages from your dependencies or devDependencies lists into new project.
Simple utility to transfer packages from your dependencies or devDependencies lists into new project.
npm install -g package-transfer
pkg-transfer [options]
Transfer dependencies from old-project
to current project (my-new-project
):
cd my-new-project
pkg-transfer -s ../old-project
The command detects which packages need to be transferred and offers to auto install them into target package.
This command does exactly the same thing only for devDependencies:
pkg-transfer -s ../old-project --dev
If you prefer yarn
over npm
:
pkg-transfer -s ../old-project --yarn
Most of the time you are locking your package.json dependencies to exact version. If you wish to transfer those exact versions to target package.json then just use --strict
argument.
pkg-transfer -s ../my-project --strict
Usage: pkg-transfer [options]
Options:
-v, --version Print version
--verbose Increase logging verbosity
-h, --help Output help and usage information
-s, --source Source package (from where you want to transfer dependencies)
-t, --target Target package (defaults to current directory)
--yarn Use yarn instead of npm
--dev Transfer devDependencies
--dry-run Just prints install command, does NOT really install anything
--strict Use exact versions from source package.json when installing dependencies
FAQs
Simple utility to transfer packages from your dependencies or devDependencies lists into new project.
We found that package-transfer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.