Skip to content

package.json version now optional - #215

Merged
joshwlewis merged 2 commits into
mainfrom
package-json-version-optional
Mar 23, 2022
Merged

package.json version now optional#215
joshwlewis merged 2 commits into
mainfrom
package-json-version-optional

Conversation

@joshwlewis

@joshwlewis joshwlewis commented Mar 23, 2022

Copy link
Copy Markdown
Contributor

@joshwlewis
joshwlewis requested a review from a team as a code owner March 23, 2022 16:00

@edmorley edmorley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is it worth changing one/some of the integration test fixtures so that they omit all fields from package.json aside from name and engines?

This will ensure optional fields are indeed treated as optional.
@joshwlewis

joshwlewis commented Mar 23, 2022

Copy link
Copy Markdown
Contributor Author

Is it worth changing one/some of the integration test fixtures so that they omit all fields from package.json aside from name and engines?

Done in e08e9a7.

@joshwlewis
joshwlewis merged commit e5bf41e into main Mar 23, 2022
@joshwlewis
joshwlewis deleted the package-json-version-optional branch March 23, 2022 18:40
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.

version is now required in package.json

2 participants