thornyweb / pkgmigr8or Goto Github PK
View Code? Open in Web Editor NEWMigration CLI tool to export packages from NPM to a private registry.
License: MIT License
Migration CLI tool to export packages from NPM to a private registry.
License: MIT License
I'm trying to migrate a package that seems already exist on my storage but fails because of a package already exist. It would be a great way to force publish.
// pkg.txt
melody-loader
pkgmigr8or pkg.txt http://localhost:4873
➜ pkgmigr8or pkg.txt http://localhost:4873
Fetching information for 1 packages...
████████████████████████████████████████ 100% | ETA: 0s | 1/1
Downloading 103 tarballs...
████████████████████████████████████████ 100% | ETA: 1s | 103/103
Publishing 103 tarballs...
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 2% | ETA: 314s | 2/103(node:73922) UnhandledPromiseRejectionWarning: Error: Command failed: npm publish "/Users/user/melody-loader-1.1.1-0743e7f.53.tgz" --registry=htt
npm notice
npm notice 📦 [email protected]
npm notice === Tarball Contents ===
npm notice 728B package.json
npm notice 9.6kB LICENSE
npm notice 2.4kB lib/index.esm.js
npm notice 2.7kB lib/index.js
npm notice 2.6kB src/index.js
npm notice === Tarball Details ===
npm notice name: melody-loader
npm notice version: 1.1.1-0743e7f.53
npm notice package size: 5.4 kB
npm notice unpacked size: 18.1 kB
npm notice shasum: c31b172f4de5bdfe3687e65cf6a5010f11e8a716
npm notice integrity: sha512-aF9kRn3db9a36[...]mxU+gJP9rLw/g==
npm notice total files: 5
npm notice
npm ERR! code EPUBLISHCONFLICT
npm ERR! publish fail Cannot publish over existing version.
npm ERR! publish fail Update the 'version' field in package.json and try again.
npm ERR! publish fail
npm ERR! publish fail To automatically increment version numbers, see:
npm ERR! publish fail npm help version
If you are download more than one version of any given package, the order in which the tarballs are published is arbitrary. Suggest to fix by publishing in filename order based on semver naming of tarballs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.