Comments (6)
I have a demo of this up on GitHub at https://github.com/mdholloway/kartotherian-lerna. If that looks about as expected, I'll open up a PR.
from kartotherian.
It does indeed make dependency management much easier!
from kartotherian.
@mateusbs17
from kartotherian.
@mdholloway this is awesome!!! Thanks for tackling this. I have been observing a very similar effort by https://github.com/vega/vega -- they recently did the same migration (I initially suggested it to them, but did not actually participate in the migration itself), and they ended up using workspace
feature as being much easier to handle than the hackish Lerna-own dependency hoisting, and instead relies on yarn's native support for workspaces. I think it would make sense for us to follow the same model and use their experience with this.
from kartotherian.
@mdholloway I have re-done the merge in order to keep the original structure, and migrated to yarn. yarn
supports workspaces, thus linking is done on the level of the package manager, not lerna (thus it is far more reliable). Also, I kept the tilelive-vector
because it has been significantly altered in order to support language param passing. I'm not sure if WMF is using it, but I think we should keep it in the monorepo. #89
from kartotherian.
Hey @nyurik, sorry but I've been head-down recently trying to get a new MW extension shipped for the Android team. The yarn/workspaces approach sounds interesting and I hope to have a look soon. In the meantime I'll close this PR, since it appears to be obsolete.
from kartotherian.
Related Issues (20)
- Support no-scaling mode
- Mapbox GL HOT 2
- Using Tilerator in the real world HOT 5
- Invalid zoom param - an integer zoom value was expected HOT 2
- Medium severity vulnerability affecting this repo HOT 1
- Discussion: docker packaging, upgrading to latest dependencies HOT 4
- Revert merging of the forked repos HOT 4
- Independencies installation failed HOT 2
- Tilerator performance HOT 1
- Generation job immediate finish HOT 2
- Some jobs of tilerator are invalid
- Support Node.js 10+ HOT 1
- Docker building HOT 2
- 429 status code response when using leaflet map with zoom >= 10 HOT 6
- Archive the project? HOT 1
- Refactor configuration system HOT 1
- Support env variables in config HOT 1
- checkType returns false after setting default value of field HOT 1
- sort hangs if sortFiles gets an empty list HOT 1
- Airbnb eslint rules hard-code es6 rules and are unable to disable it HOT 1
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 kartotherian.