Skip to content

Commit

Permalink
Fix generator widget package json templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersonRibeiro committed Apr 3, 2023
1 parent ac2b81a commit feb50e8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions packages/generator-widget/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- We fixed the broken package.json templates for native and web when generating widgets without unit/e2e tests

## [9.24.0] - 2023-03-31

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},<% } %>
"devDependencies": {
"@mendix/pluggable-widgets-tools": "^9.24.0"<% if (isLanguageTS) { %>,
"@types/big.js": "^6.0.2",<% if (hasUnitTests) { %>
"@types/big.js": "^6.0.2"<% if (hasUnitTests) { %>,
"@types/enzyme": "^3.10.8",
"@types/jest": "^29.0.0"<% } %>
<% } %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
},
"devDependencies": {
"@mendix/pluggable-widgets-tools": "^9.24.0"<% if (isLanguageTS) { %>,
"@types/big.js": "^6.0.2",<% if (hasUnitTests || hasE2eTests) { %>
"@types/big.js": "^6.0.2"<% if (hasUnitTests || hasE2eTests) { %>,
"@types/enzyme": "^3.10.8",<% } %><% if (hasE2eTests) { %>
"@types/jasmine": "^3.6.9",<% } %><% if (hasUnitTests) { %>
"@types/jest": "^29.0.0"<% } %><% if (hasUnitTests) { %>,
"@types/jest": "^29.0.0",
"@types/react-test-renderer": "~18.0.0"<% } %><% } %><% if (hasE2eTests) { %>,
"cypress": "^10.10.0"<% } %>
},
Expand Down
4 changes: 2 additions & 2 deletions packages/generator-widget/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/generator-widget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mendix/generator-widget",
"version": "9.24.0",
"version": "9.24.1",
"description": "Mendix Pluggable Widgets Generator",
"engines": {
"node": ">=16"
Expand Down

0 comments on commit feb50e8

Please sign in to comment.