unic / estatico

[DEPRECATED] Estático – Static site generator for frontend unicorns
Other
121 stars 18 forks source link

Evaluate Yarn #12

Closed backflip closed 6 years ago

backflip commented 7 years ago

Because speed (2-4x faster without a node_modules folder (depending on whether there is a local cache or not), 30x faster with a preexisting one – tested locally and on Jenkins) and reliability (.yarn.lock vs npm-shrinkwrap.json).

backflip commented 7 years ago

https://github.com/unic/estatico/compare/feature/ESTATICO-224-yarn?expand=1

backflip commented 7 years ago

Issue: gulp-raster seems not to be resolved correctly.

"gulp-raster@git://github.com/unic/gulp-raster.git#acd044d950d9ed65870b3c39cb6294a09174d166":
  version "0.1.0"
  resolved "git://github.com/unic/gulp-raster.git#acd044d950d9ed65870b3c39cb6294a09174d166"
  dependencies:
    gulp-util "~2.2.14"
    phridge "~1.1.0"
    through2 "*"

phridge should resolve to ^2.0.0: https://github.com/unic/gulp-raster/commit/acd044d950d9ed65870b3c39cb6294a09174d166

See https://github.com/yarnpkg/yarn/pull/1393#issuecomment-257884141

backflip commented 7 years ago

Update: Tags seem to work: https://github.com/unic/estatico/commit/fd37dab39a4494fcb8c62e77ccb532bed17e3240

orioltf commented 7 years ago

PR awaiting feedback or reviews: #67

backflip commented 6 years ago

Dropped since recent npm versions fixed all of our issues.