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

Fix npm ci for npm 6 users #6004

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 27, 2021

Following the #897 work, this PR help
close #5925 &
close #5929 &
close #5966 &
close #5980 for the npm 6 and node <= 14 users.

  • moved stackgl and gl-vis parts into stackgl_modules folder and pre-bundle it using node16
  • added install and build test using node-12 and npm-6.

@plotly/plotly_js

 - import and export those required in plotly.js
 - pre-bundle stackgl/gl-vis modules using node16
 - test npm ci using npm v6 and cibuild with node12
@archmoj archmoj added bug something broken status: reviewable labels Oct 27, 2021
@archmoj archmoj added this to the v2.6.0 milestone Oct 27, 2021
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

Ha ok - interesting solution. I still feel like long-term we'd be better served by inlining these modules as folders here so their ultimate source is in this repo, and development can continue without having to coordinate between repos at all.

But yes this will solve the issues you reference relating to old node versions or inaccessible GitHub, so let's go with it. 💃

@archmoj archmoj merged commit d638fb3 into master Oct 29, 2021
@archmoj archmoj deleted the prebundle-revised-stackgl-modules branch October 29, 2021 12:16
@archmoj archmoj added the regression this used to work label Oct 29, 2021
"svg-path-sdf": "^1.1.3",
"tinycolor2": "^1.4.2",
"to-px": "1.0.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

to-px version should have been kept at 1.0.1 otherwise causing #6010.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken regression this used to work
Projects
None yet
2 participants