Comments (6)
i only expected to save debug
of coures
from ied.
Yeah, had a look into it. This is actually not a bug, but more or less the intended behaviour, which might be confusing.... and I'm open to changes here..
ied install
installs all dependencies and devDependencies frompackage.json
ied install some-package
installs only some-packageied install some-package --save
installs only some-package and saves it underdependencies
ied install some-package --save-dev
installs only some-package and saves it underdevDependencies
ied install --save
installs all dependencies and devDependencies frompackage.json
and saves them underdependencies
ied install --save-dev
installs all dependencies and devDependencies frompackage.json
and saves them underdevDependencies
etc.
Confusing cases:
ied install --save-dev some-package
installs all dependencies and devDependencies frompackage.json
and saves them underdevDependencies
,some-package
is being ignored and is not being installed
etc.
To put it in a nutshell the order matters. ied install debug --save-dev
does what you would expect.
from ied.
To put it in a nutshell the order matters. ied install debug --save-dev does what you would expect.
maybe the option order should matter, or should not
but can you write this in document?
it's pretty confusing to many people i think
from ied.
To put it in a nutshell the order matters.
ied install debug --save-dev
does what you would expect.
Can we make the behaviour of the basic commands as similar to npm
s behaviour as possible?
If you need a rationalisation, mine is that ied [command] [--modifier] [subject(s)]
makes it more obvious that the modifier (e.g. --save-dev
) is upon the command (e.g. install
). Basically, it should be this way for the same reason you don't ied [subject(s)] [command]
(e.g. ied debug install
).
from ied.
It's confusing that option order should matter, most reasonably friendly CLI tooling doesn't require this. These cases should be interchangeable:
ied install --save foo
ied install foo --save
The --save
option is "tied" to the install
command, not the argument foo
. At least, that's how I'm used to thinking about the UX of CLI tooling.
from ied.
This has been fixed.
from ied.
Related Issues (20)
- Seriously, IED is a terrible name. HOT 4
- rxjs\Observer error HOT 3
- Jest Dependencies
- Error status code undefined on raw.githubusercontent.com
- Replace hashes with readable name HOT 2
- EXDEV issue with Docker HOT 1
- Hotfix release needed - Issue with latest rxjs release candidate HOT 9
- support for --registry broken? HOT 1
- Rewrite ied in Go HOT 1
- Idea: collaboration with pnpm HOT 34
- Why can't modules be stored globally on a machine?
- Spec: Lockfile HOT 10
- Spec: console output HOT 10
- Fixing --preserve-symlinks. Enhancing node to exploit.
- EINVAL when installing on Docker on CircleCI
- Replace SHA1 with SHA2 HOT 4
- New Registry Feature: Filtered Metadata HOT 1
- IED installer with phantomJS or with phantomjs-prebuilt HOT 1
- ied install not executing npm install in local dependencies folders
- Not working with electron
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ied.