salesforce / sfdx-lwc-jest

Run Jest against LWC components in SFDX workspace environment
MIT License
164 stars 81 forks source link

Missing winter23 tagged npm version #294

Closed alan-morey closed 1 year ago

alan-morey commented 1 year ago

Description

There is no winter23 tagged version

https://www.npmjs.com/package/@salesforce/sfdx-lwc-jest

What is the appropriate version to use for Winter '23 environments?

README.md says:

The npm latest tag corresponds to the latest version of this repo, not necessarily Salesforce production versions.

Is latest appropriate or not for Winter '23 now?

alan-morey commented 1 year ago

I tried upgrading depdency and then running sfdx-lwc-jest with follow versions:

I think the latest and prerelease tags on these versions are misleading.

nolanlawson commented 1 year ago

There is a winter23 branch; we just didn't submit the tag to npm apparently. https://github.com/salesforce/sfdx-lwc-jest/tree/winter23

nolanlawson commented 1 year ago

prerelease is wrong, I dunno what that tag is supposed to be for. winter23 should be 1.2.1, so the fact that you didn't get any errors with that version is a good sign.

I've updated the winter23 tag, and deleted the prerelease and next tags to make things less confusing. Thanks for opening this issue!

alan-morey commented 1 year ago

@nolanlawson Thanks for updating.

Just a few more notes: