Comments (7)
@chalettu can you do a little research, and provide your thoughts here?
from manageiq-ui-service.
Sure, I can take a look. I had been reading about it earlier today but can
explore it to see its possible viability for node package management for
our projects
On Tue, Oct 11, 2016 at 4:09 PM, Chris Kacerguis [email protected]
wrote:
@chalettu https://github.com/chalettu can you do a little research, and
provide your thoughts here?β
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#245 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOElfHLq4qA8Obm2MbzCXOWp1eD1YIMks5qy_r-gaJpZM4KT_m3
.
Chris Hale
Senior Software Engineer
[email protected]
512-585-7286
https://bluejeans.com/chhale
from manageiq-ui-service.
I spent a brief amount of time playing with yarn
and from what I have seen so far it is an improvement over npm
for a few reasons.
-
The
yarn.lock
file is a much more robust solution thannpm-shrinkwrap.json
. The former works just likeGemfile.lock
, automatically generating a new lock file after runningyarn
. As long as this lock file is commited in source control, every developer will be using the same dependency versions. Shrinkwrap on the other hand has a few flaws. It must be maintained by hand which is error-prone and puts the onus on the developer updating dependencies to remember updating the shrinkwrap file as well. -
In very rudimentary benchmarks,
yarn
is faster and generates less noise during package installations. (For this benchmark I removed the bower install and gulp builds frompackage.json
)rm -rf node_modules && npm cache clean && time npm install npm install 56.05s user 16.14s system 39% cpu 3:04.96 total rm -rf node_modules && yarn cache clean && time yarn yarn 40.14s user 17.83s system 39% cpu 2:26.26 total
-
The command line interface is much cleaner both in output and in running commands with or without options. When
yarn
is installing packages it runs in distinct steps that are easy to understand and leave no mystery as to what is going on.
Again, I have only tried using yarn
briefly but I am already happy using it over npm
. The fact that it shares the same registry for packages as npm
and is backed by large companies like Facebook and Google already leads me to believe that it will be adopted rapidly.
from manageiq-ui-service.
Yep, looked, sold. Lets do it! Just keep that documentation π and :fresh: ( π instead of :fresh: β ) gotta point users to here for instillation and update steps.
A question this raises can we remove requirement for npm? (at least from the readme).
Snap, yarn install
saul' ya need to get rolling on this, for sure sold (big fan of things that are easy to use).
from manageiq-ui-service.
So the thing I think that is left to look at will be to see how we can get travis ci to use yarn as i was reading and travis ci uses npm by default and since yarn is new, I don't believe they have support for it just yet.
from manageiq-ui-service.
also this is AWESOME
from manageiq-ui-service.
Let's move forward with this! Sending to @chalettu for implementation!
from manageiq-ui-service.
Related Issues (20)
- WS-2022-0280 (High) detected in moment-timezone-0.4.1.tgz HOT 1
- WS-2022-0322 (High) detected in d3-color-1.4.1.tgz HOT 4
- CVE-2022-3517 (High) detected in minimatch-3.0.4.tgz - autoclosed HOT 1
- prepare the development environment to make code changes HOT 5
- CVE-2022-24999 (High) detected in qs-6.5.2.tgz - autoclosed HOT 1
- Unable to open a Native Console for a RHV VM in the Service UI
- CVE-2022-25881 (Medium) detected in http-cache-semantics-4.1.0.tgz - autoclosed HOT 1
- CVE-2023-28155 (Medium) detected in request-2.88.2.tgz - autoclosed HOT 1
- CVE-2023-26117 (Medium) detected in angular-1.8.3.tgz HOT 1
- CVE-2023-26118 (Medium) detected in angular-1.8.3.tgz HOT 1
- CVE-2023-26116 (Medium) detected in angular-1.8.3.tgz HOT 1
- CVE-2022-25883 (High) detected in semver-7.3.8.tgz - autoclosed HOT 1
- CVE-2020-23064 (Medium) detected in jquery-3.4.1.tgz, jquery-3.2.1.tgz - autoclosed HOT 1
- Opening the service ui results in downloading app.js over and over HOT 2
- CVE-2024-21490 (High) detected in angular-1.8.3.tgz
- CVE-2023-42282 (Critical) detected in ip-2.0.0.tgz - autoclosed HOT 1
- CVE-2024-28863 (Medium) detected in tar-6.2.0.tgz - autoclosed HOT 1
- Button role-based visibility rules do not work in UI Service HOT 2
- CVE-2023-44270 (Medium) detected in postcss-7.0.39.tgz
- Cookie βmiq_oidc_access_tokenβ is invalid because its size is too big. Max size is 4096 B. HOT 16
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 manageiq-ui-service.