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

Audit module dependencies #8573

merged 2 commits into from Mar 6, 2024

Conversation

Pessimistress
Copy link
Collaborator

@Pessimistress Pessimistress commented Mar 2, 2024

For #7457

Change List

  • Remove duplicates between dependencies and peerDependencies
  • peerDependencies should not lock version
  • Remove unused dependencies

@@ -40,6 +40,7 @@
"@loaders.gl/core": "^4.1.0",
"@loaders.gl/csv": "^4.1.0",
"@luma.gl/core": "9.0.0-beta.4",
"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

@Pessimistress Pessimistress force-pushed the x/package-audit branch 2 times, most recently from 7120232 to 6347bad Compare March 2, 2024 06:16
Base automatically changed from x/attribute-type to master March 4, 2024 16:45
"@luma.gl/shadertools": "9.0.0-beta.4",
"@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.4",
"@luma.gl/engine": "9.0.0-beta.4"
"@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.

@@ -509,20 +520,20 @@ export default class DataColumn<Options, State> {
// https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/vertexAttribPointer
normalizeConstant(value: NumericArray): NumericArray {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this always return a Float32Array?

If we are using luma.gl types, should this be a luma.gl utility?

@coveralls
Copy link

Coverage Status

coverage: 70.67%. remained the same
when pulling 7bbdd24 on x/package-audit
into 038b823 on master.

@Pessimistress Pessimistress merged commit a81c37d into master Mar 6, 2024
3 checks passed
@Pessimistress Pessimistress deleted the x/package-audit branch March 6, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants