-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bazel] Run nodejs inside of bazel for genrules #1948
Conversation
Bloaty Results 🐋Compared to main
Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-1948-compared-to-main.txtCompared to d387090 (legacy)
Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results/pr-1948-compared-to-legacy.txt |
Should we maybe stick to package-lock.json so we don't have two separate lockfiles? |
Unfortunately I think that's a requirement of these rules, but I'm asking around to see if that interpretation is true |
71a6312
to
43a56c5
Compare
this currently includes #1956 |
Bloaty Results (iOS) 🐋Compared to main
Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results-ios/pr-1948-compared-to-main.txt |
ok once we merge the 7.x bump and I rebase this I think it will look good! |
This fixes maplibre#1910 by using rules_js.
As is this fixes #2009 by replacing the umbrella header with one generated by bazel, and taking some part of #2010. This probably results in the import being different for folks using --- /dev/fd/63 2024-01-29 14:06:43
+++ /dev/fd/62 2024-01-29 14:06:43
@@ -1,5 +1,4 @@
MLNAnnotation.h
-MLNAnnotationContainerView.h
MLNAnnotationImage.h
MLNAnnotationView.h
MLNAttributedExpression.h
@@ -10,15 +9,13 @@
MLNCircleStyleLayer.h
MLNClockDirectionFormatter.h
MLNCluster.h
-MLNCompactCalloutView.h
MLNCompassButton.h
MLNCompassDirectionFormatter.h
MLNComputedShapeSource.h
-MLNConversion.h
MLNCoordinateFormatter.h
+MLNCustomDrawableStyleLayer.h
MLNDefaultStyle.h
MLNDistanceFormatter.h
-MLNFaux3DUserLocationAnnotationView.h
MLNFeature.h
MLNFillExtrusionStyleLayer.h
MLNFillStyleLayer.h
@@ -32,14 +29,10 @@
MLNLineStyleLayer.h
MLNLocationManager.h
MLNLoggingConfiguration.h
-MLNMapAccessibilityElement.h
MLNMapCamera.h
MLNMapProjection.h
MLNMapSnapshotter.h
MLNMapView+IBAdditions.h
-MLNMapView+Impl.h
-MLNMapView+Metal.h
-MLNMapView+OpenGL.h
MLNMapView.h
MLNMapViewDelegate.h
MLNMultiPoint.h
@@ -47,6 +40,7 @@
MLNOfflinePack.h
MLNOfflineRegion.h
MLNOfflineStorage.h
+MLNOpenGLStyleLayer.h
MLNOverlay.h
MLNPointAnnotation.h
MLNPointCollection.h
@@ -55,10 +49,6 @@
MLNRasterDEMSource.h
MLNRasterStyleLayer.h
MLNRasterTileSource.h
-MLNReachability.h
-MLNRendererConfiguration.h
-MLNRendererFrontend.h
-MLNScaleBar.h
MLNSettings.h
MLNShape.h
MLNShapeCollection.h
@@ -67,7 +57,6 @@
MLNSource.h
MLNStyle.h
MLNStyleLayer.h
-MLNStyleLayerManager.h
MLNStyleValue.h
MLNSymbolStyleLayer.h
MLNTilePyramidOfflineRegion.h
@@ -77,30 +66,10 @@
MLNUserLocation.h
MLNUserLocationAnnotationView.h
MLNUserLocationAnnotationViewStyle.h
-MLNUserLocationHeadingArrowLayer.h
-MLNUserLocationHeadingBeamLayer.h
-MLNUserLocationHeadingIndicator.h
-MLNValueEvaluator.h
MLNVectorStyleLayer.h
MLNVectorTileSource.h
+MapLibre.h
Mapbox.h
-NSArray+MLNAdditions.h
-NSBundle+MLNAdditions.h
-NSCoder+MLNAdditions.h
-NSComparisonPredicate+MLNAdditions.h
-NSCompoundPredicate+MLNAdditions.h
-NSDate+MLNAdditions.h
-NSDictionary+MLNAdditions.h
-NSException+MLNAdditions.h
NSExpression+MLNAdditions.h
-NSOrthography+MLNAdditions.h
NSPredicate+MLNAdditions.h
-NSString+MLNAdditions.h
-NSURL+MLNAdditions.h
NSValue+MLNAdditions.h
-NSValue+MLNStyleAttributeAdditions.h
-UIColor+MLNAdditions.h
-UIDevice+MLNAdditions.h
-UIImage+MLNAdditions.h
-UIView+MLNAdditions.h
-UIViewController+MLNAdditions.h |
@louwers fun one for you |
This looks good to me.
I think these are intended to be private headers. If someone complains though, it will be pretty easy to fix.
I think before the 6.0.0 release it used to be One question though: what steps are needed to update npm packages now? |
So when node packages are updated now the build will fail CI until this new file is re-sync'd with:
|
Hey folks, can we merge this one? |
@louwers want to merge this one? |
This fixes #1910 by using rules_js.