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

Update/remove some deps using old semver #22420

Merged
merged 4 commits into from
Sep 6, 2024
Merged

Conversation

ChumpChief
Copy link
Contributor

Updates:

  • pm2
  • @changesets/cli
  • @changesets/types
  • sass
  • sass-loader

Removes

  • typescript-formatter

While looking at dependabot alerts (specifically around old semver dependencies) found these low-hanging fruit to help. Does not fully resolve the alert, but improves upon current.

@github-actions github-actions bot added area: examples Changes that focus on our examples area: server Server related issues (routerlicious) dependencies Pull requests that update a dependency file base: main PRs targeted against main branch labels Sep 6, 2024
"@changesets/cli": "^2.26.1",
"@changesets/types": "^5.2.1",
"@changesets/cli": "^2.27.8",
"@changesets/types": "^6.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

Not sure this is safe. There is interplay between this package and build-tools. Do the release notes say anything about why it's a major release?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's due to this change, which I don't think should matter to us?
changesets/changesets#1185 (comment)

(was originally checked in as minor, then readjusted to major):
changesets/changesets#1186

https://github.com/changesets/changesets/releases/tag/%40changesets%2Ftypes%406.0.0

Copy link
Member

Choose a reason for hiding this comment

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

Ha, yeah, that shouldn't affect us because we have modernized our build-env already. Yay!

@@ -42,7 +42,7 @@
"@fluidframework/eslint-config-fluid": "^5.4.0",
"eslint": "~8.55.0",
"eslint-config-prettier": "~9.0.0",
"pm2": "^5.3.1",
"pm2": "^5.4.2",
Copy link
Member

Choose a reason for hiding this comment

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

I thought we had found a replacement for pm2 - @alexvy86 @Josmithr does that ring any bells?

Copy link
Contributor

Choose a reason for hiding this comment

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

I replaced forever with pm2 in #19459. I remember some discussion after that at some point and IIRC my take then was "we probably don't need pm2 where we use it, it's just a convenience; if anyone wants to find an alternative or just get rid of it, feel free". That said, I went through the legal review process it needed due to its licensing and we're ok to use it as a dev dependency, so we're not in urgent need of doing something about it.

Copy link
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

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

LGTM but let's make sure we address Tyler's concern.

@msfluid-bot
Copy link
Collaborator

@fluid-example/bundle-size-tests: +245 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 460.2 KB 460.24 KB +35 Bytes
azureClient.js 558.17 KB 558.21 KB +49 Bytes
connectionState.js 680 Bytes 680 Bytes No change
containerRuntime.js 260.96 KB 260.97 KB +14 Bytes
fluidFramework.js 400.53 KB 400.54 KB +14 Bytes
loader.js 134.24 KB 134.25 KB +14 Bytes
map.js 42.44 KB 42.44 KB +7 Bytes
matrix.js 146.59 KB 146.59 KB +7 Bytes
odspClient.js 525.47 KB 525.52 KB +49 Bytes
odspDriver.js 97.72 KB 97.74 KB +21 Bytes
odspPrefetchSnapshot.js 42.78 KB 42.79 KB +14 Bytes
sharedString.js 163.28 KB 163.29 KB +7 Bytes
sharedTree.js 390.99 KB 391 KB +7 Bytes
Total Size 3.3 MB 3.3 MB +245 Bytes

Baseline commit: 35610c0

Generated by 🚫 dangerJS against fac9a7d

@ChumpChief ChumpChief merged commit 63aeb13 into microsoft:main Sep 6, 2024
45 checks passed
@ChumpChief ChumpChief deleted the PM2Dep branch September 6, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: examples Changes that focus on our examples area: server Server related issues (routerlicious) base: main PRs targeted against main branch dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants