riyadhalnur / npm-modules-sync Goto Github PK
View Code? Open in Web Editor NEWKeep your global NPM packages in sync between machines.
License: MIT License
Keep your global NPM packages in sync between machines.
License: MIT License
At the moment, the module will install packages without any constraints, i.e all packages will fall back to the latest tag on npm. The module should respect the version number of packages.
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
package.json
files, so that was left aloneIf youβre interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didnβt already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didnβt touch job or matrix configurations because these tend to be quite specific and complex, and itβs difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what youβre doing it may require additional work or may not be applicable at all. Weβre also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, Iβm a humble robot and wonβt feel rejected
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot
Title self explanatory, the link goes to : https://github.com/riyadhalnur/npm-modules-sync/blob/master/docs/docs.md
Self explanatory.
2.5.0
to 2.6.0
.This version is covered by your current version range and after updating it in your project the build failed.
update-notifier is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 10 commits.
622ee5f
2.6.0
ad8ed1b
Suggest yarn when installed with yarn (#132)
5f06620
Exit the update check process if it does not respond after 30s (#156)
79e89ad
Fix failing test (#155)
c8faa84
Add distTag
option (#151)
14632e4
Add failing test for #153 (#154)
aafd8a0
Require Node.js 8
0d49f51
Add Tidelift mention in the readme
8df01b3
Fix docs position of shouldNotifyInNpmScript
(#143)
d371834
Docs: isGlobal option does not default to true (#142)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot
β ~ npm-sync init -t XXX -i XXX
β Writing configuration to disk
β― Fetching information from GitHub
β Get list of packages from GitHub
β Install npm packages globally
TypeError: Cannot create property 'context' on string 'npm ERR! code ENOLOCAL
npm ERR! Could not install from "" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/fabianhenzler/.npm/_logs/2018-02-27T09_05_06_299Z-debug.log
'
at tasks.then.catch.err (/usr/local/lib/node_modules/npm-modules-sync/node_modules/listr/index.js:74:17)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
Command aliases for the main commands - download
and upload
have not been implemented yet. Minor change but definitely something that would be a welcome feature.
By default, download
will install the version that is saved. It would also be useful to override this to install the latest version of a package if needed, i.e download --latest
?
Bash completion script would make like easier.
Describe the bug
I have my own unpublished npm module on my filesystem that I have npm install -g
. Making a gist after this has been installed and then trying to do an initial sync fails, and no npm packages at all are installed from the gist:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/replace-slack-text - Not found
npm ERR! 404
npm ERR! 404 '[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
...
$ npm list -g --depth=0
/Users/twoode/.nvm/versions/node/v12.18.3/lib
βββ [email protected]
βββ [email protected]
A couple of other reasons users may have packages not in npm: they might have npm link
ed them, they might use a private repo in addition to npm...
To Reproduce
Steps to reproduce the behavior:
npm install -g
some trivial thing with a package.json)Expected behavior
If we can't locate a package on npm, we should continue to print the error, but also try to install all other packages
When downloading, the package should diff against the saved list on gist with local global packages and remove packages from local as required based on filtered list.
The new version of this modules is using a broken version of husky. Due to changes downstream, husky is failing. But since it's a dev dependency only, it won't affect this module itself. Will need to bump version once a fix is pushed for husky.
The module should fail gracefully with a crafted message to indicate that there are no packages to back up.
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.