Skip to content
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

Audit module dependencies #8573

Merged
merged 2 commits into from Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 4 additions & 6 deletions modules/aggregation-layers/package.json
Expand Up @@ -38,18 +38,16 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/shadertools": "9.0.0-beta.6",
"@math.gl/web-mercator": "^4.0.0",
"d3-hexbin": "^0.2.1"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha",
"@deck.gl/layers": "^9.0.0-alpha",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6"
"@deck.gl/core": "^9.0.0-beta",
"@deck.gl/layers": "^9.0.0-beta",
"@luma.gl/core": "^9.0.0-beta",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Users don't have to explicitly specify luma deps right? they are covered by deck.gl/core or something? Why is shadertools handled differently?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically the only package that has to go into peer dep is core, which does not allow multiple copies.

"@luma.gl/engine": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
15 changes: 7 additions & 8 deletions modules/arcgis/package.json
Expand Up @@ -35,16 +35,15 @@
"build-bundle": "ocular-bundle ./bundle.ts",
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"peerDependencies": {
"@arcgis/core": "^4.0.0",
"@deck.gl/core": "^9.0.0-alpha",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@luma.gl/constants": "9.0.0-beta.6",
"esri-loader": "^3.3.0"
},
"peerDependencies": {
"@arcgis/core": "^4.0.0",
"@deck.gl/core": "^9.0.0-beta",
"@luma.gl/core": "^9.0.0-beta",
"@luma.gl/engine": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
26 changes: 12 additions & 14 deletions modules/carto/package.json
Expand Up @@ -42,37 +42,35 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@loaders.gl/gis": "^4.1.0",
"@loaders.gl/loader-utils": "^4.1.0",
"@loaders.gl/mvt": "^4.1.0",
"@loaders.gl/schema": "^4.1.0",
"@loaders.gl/tiles": "^4.1.0",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@math.gl/web-mercator": "^4.0.0",
"@types/d3-array": "^3.0.2",
"@types/d3-color": "^1.4.2",
"@types/d3-scale": "^3.0.0",
"cartocolor": "^4.0.2",
"d3-array": "^3.2.0",
"d3-color": "^3.1.0",
"d3-format": "^3.1.0",
"d3-scale": "^4.0.0",
"earcut": "^2.2.4",
"h3-js": "^4.1.0",
"moment-timezone": "^0.5.33",
"pbf": "^3.2.1",
"quadbin": "^0.2.0"
},
"devDependencies": {
"@loaders.gl/schema": "^4.1.0",
"@types/d3-array": "^3.0.2",
"@types/d3-color": "^1.4.2",
"@types/d3-scale": "^3.0.0"
},
"peerDependencies": {
"@deck.gl/aggregation-layers": "^9.0.0-alpha",
"@deck.gl/core": "^9.0.0-alpha",
"@deck.gl/extensions": "^9.0.0-alpha",
"@deck.gl/geo-layers": "^9.0.0-alpha",
"@deck.gl/layers": "^9.0.0-alpha",
"@loaders.gl/core": "^4.1.0"
"@deck.gl/aggregation-layers": "^9.0.0-beta",
"@deck.gl/core": "^9.0.0-beta",
"@deck.gl/extensions": "^9.0.0-beta",
"@deck.gl/geo-layers": "^9.0.0-beta",
"@deck.gl/layers": "^9.0.0-beta",
"@loaders.gl/core": "^4.1.0",
"@luma.gl/core": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
1 change: 0 additions & 1 deletion modules/core/package.json
Expand Up @@ -40,7 +40,6 @@
"prepublishOnly": "npm run build-debugger && npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@loaders.gl/core": "^4.1.0",
"@loaders.gl/images": "^4.1.0",
"@luma.gl/constants": "9.0.0-beta.6",
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/lib/attribute/data-column.ts
Expand Up @@ -23,7 +23,7 @@ export type BufferAccessor = {
/** The number of elements per vertex attribute. */
size?: number;
/** 1 if instanced. */
divisor?: number;
divisor?: 1 | 0;
/** Offset of the first vertex attribute into the buffer, in bytes. */
offset?: number;
/** The offset between the beginning of consecutive vertex attributes, in bytes. */
Expand Down
16 changes: 6 additions & 10 deletions modules/extensions/package.json
Expand Up @@ -38,18 +38,14 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@luma.gl/shadertools": "9.0.0-beta.6"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6",
"@luma.gl/shadertools": "9.0.0-beta.6",
"@luma.gl/webgl": "9.0.0-beta.6",
"@math.gl/core": "^4.0.0",
"@math.gl/web-mercator": "^4.0.0"
"@math.gl/core": "^4.0.0"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-beta",
"@luma.gl/core": "^9.0.0-beta",
"@luma.gl/engine": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
19 changes: 6 additions & 13 deletions modules/geo-layers/package.json
Expand Up @@ -38,7 +38,6 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@loaders.gl/3d-tiles": "^4.1.0",
"@loaders.gl/gis": "^4.1.0",
"@loaders.gl/loader-utils": "^4.1.0",
Expand All @@ -47,9 +46,6 @@
"@loaders.gl/terrain": "^4.1.0",
"@loaders.gl/tiles": "^4.1.0",
"@loaders.gl/wms": "^4.1.0",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6",
"@luma.gl/gltf": "9.0.0-beta.6",
"@luma.gl/shadertools": "9.0.0-beta.6",
"@math.gl/core": "^4.0.0",
Expand All @@ -60,16 +56,13 @@
"long": "^3.2.0"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha",
"@deck.gl/extensions": "^9.0.0-alpha",
"@deck.gl/layers": "^9.0.0-alpha",
"@deck.gl/mesh-layers": "^9.0.0-alpha",
"@deck.gl/core": "^9.0.0-beta",
"@deck.gl/extensions": "^9.0.0-beta",
"@deck.gl/layers": "^9.0.0-beta",
"@deck.gl/mesh-layers": "^9.0.0-beta",
"@loaders.gl/core": "^4.1.0",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6",
"@luma.gl/gltf": "9.0.0-beta.6",
"@luma.gl/shadertools": "9.0.0-beta.6"
"@luma.gl/core": "^9.0.0-beta",
"@luma.gl/engine": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
12 changes: 4 additions & 8 deletions modules/google-maps/package.json
Expand Up @@ -38,17 +38,13 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0"
},
"devDependencies": {
"@luma.gl/constants": "9.0.0-beta.6",
"@math.gl/core": "^4.0.0",
"@types/google.maps": "^3.48.6"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6",
"@math.gl/core": "^4.0.0"
"@deck.gl/core": "^9.0.0-beta",
"@luma.gl/core": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
4 changes: 1 addition & 3 deletions modules/json/package.json
Expand Up @@ -38,12 +38,10 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"d3-dsv": "^1.0.8",
"expression-eval": "^5.0.0"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha"
"@deck.gl/core": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
1 change: 1 addition & 0 deletions modules/jupyter-widget/package.json
Expand Up @@ -40,6 +40,7 @@
"@loaders.gl/core": "^4.1.0",
"@loaders.gl/csv": "^4.1.0",
"@luma.gl/core": "9.0.0-beta.6",
"d3-dsv": "^1.0.8",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@loaders.gl/csv is missing this dependency @ibgreen

"mapbox-gl": "^1.13.2"
},
"jupyterlab": {
Expand Down
12 changes: 3 additions & 9 deletions modules/layers/package.json
Expand Up @@ -37,25 +37,19 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@loaders.gl/images": "^4.1.0",
"@loaders.gl/schema": "^4.1.0",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6",
"@luma.gl/shadertools": "9.0.0-beta.6",
"@mapbox/tiny-sdf": "^2.0.5",
"@math.gl/core": "^4.0.0",
"@math.gl/polygon": "^4.0.0",
"@math.gl/web-mercator": "^4.0.0",
"earcut": "^2.2.4"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha",
"@deck.gl/core": "^9.0.0-beta",
"@loaders.gl/core": "^4.1.0",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6",
"@luma.gl/shadertools": "9.0.0-beta.6"
"@luma.gl/core": "^9.0.0-beta",
"@luma.gl/engine": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
1 change: 0 additions & 1 deletion modules/main/package.json
Expand Up @@ -36,7 +36,6 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@deck.gl/aggregation-layers": "9.0.0-beta.6",
"@deck.gl/carto": "9.0.0-beta.6",
"@deck.gl/core": "9.0.0-beta.6",
Expand Down
5 changes: 2 additions & 3 deletions modules/mapbox/package.json
Expand Up @@ -39,12 +39,11 @@
},
"dependencies": {
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@math.gl/web-mercator": "^4.0.0"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha",
"@luma.gl/constants": "9.0.0-beta.6"
"@deck.gl/core": "^9.0.0-beta",
"@luma.gl/core": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
12 changes: 5 additions & 7 deletions modules/mesh-layers/package.json
Expand Up @@ -37,17 +37,15 @@
"build-bundle": "ocular-bundle ./bundle.ts",
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"@loaders.gl/gltf": "^4.1.0",
"@luma.gl/constants": "9.0.0-beta.6",
"@luma.gl/core": "9.0.0-beta.6",
"@luma.gl/engine": "9.0.0-beta.6",
"@luma.gl/gltf": "9.0.0-beta.6",
"@luma.gl/shadertools": "9.0.0-beta.6"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-beta",
"@luma.gl/core": "^9.0.0-beta",
"@luma.gl/engine": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}
3 changes: 1 addition & 2 deletions modules/react/package.json
Expand Up @@ -35,10 +35,9 @@
"sideEffects": false,
"scripts": {},
"dependencies": {
"@babel/runtime": "^7.0.0"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha",
"@deck.gl/core": "^9.0.0-beta",
"@types/react": "^18.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
8 changes: 4 additions & 4 deletions modules/test-utils/package.json
Expand Up @@ -33,12 +33,12 @@
"typed"
],
"dependencies": {
"@babel/runtime": "^7.0.0"
"@luma.gl/test-utils": "9.0.0-beta.6"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha",
"@luma.gl/test-utils": "9.0.0-beta.6",
"@luma.gl/webgl": "9.0.0-beta.6",
"@deck.gl/core": "^9.0.0-beta",
"@luma.gl/core": "^9.0.0-beta",
"@luma.gl/engine": "^9.0.0-beta",
"@probe.gl/test-utils": "^4.0.0"
},
"scripts": {},
Expand Down
3 changes: 1 addition & 2 deletions modules/widgets/package.json
Expand Up @@ -39,11 +39,10 @@
"prepublishOnly": "npm run build-bundle && npm run build-bundle -- --env=dev"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"preact": "^10.17.0"
},
"peerDependencies": {
"@deck.gl/core": "^9.0.0-alpha"
"@deck.gl/core": "^9.0.0-beta"
},
"gitHead": "13ace64fc2cee08c133afc882fc307253489a4e4"
}