Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

* Updated `@enact/template-limestone` dependency.

### serve, test

* Added `react-is` dependency and changed jest config and webpack config files to use it.

## 7.3.1 (May 4, 2026)

* Fixed `postcss-preset-env` version to v10 temporarily.
Expand Down
1 change: 1 addition & 0 deletions config/jest/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ module.exports = {
'^@testing-library/react$': require.resolve('@testing-library/react'),
'^@testing-library/user-event$': require.resolve('@testing-library/user-event'),
'^react$': require.resolve('react'),
'^react-is$': require.resolve('react-is'),
// Backward compatibility for new iLib location with old Enact
'^ilib[/](.*)$': path.join(app.context, globals.ILIB_BASE_PATH, '$1'),
// Backward compatibility for old iLib location with new Enact
Expand Down
12 changes: 9 additions & 3 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,15 @@ module.exports = function (
symlinks: false,
// Backward compatibility for apps using new ilib references with old Enact
// and old apps referencing old iLib location with new Enact
alias: fs.existsSync(path.join(app.context, 'node_modules', '@enact', 'i18n', 'ilib')) ?
Object.assign({ilib: '@enact/i18n/ilib'}, app.alias) :
Object.assign({'@enact/i18n/ilib': 'ilib'}, app.alias),
alias: Object.assign(
{
'react-is': path.dirname(require.resolve('react-is/package.json'))
},
fs.existsSync(path.join(app.context, 'node_modules', '@enact', 'i18n', 'ilib')) ?
{ilib: '@enact/i18n/ilib'} :
{'@enact/i18n/ilib': 'ilib'},
app.alias
),
// Optional configuration for redirecting module requests.
fallback: app.resolveFallback
},
Expand Down
23 changes: 12 additions & 11 deletions npm-shrinkwrap.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"react": "^19.2.4",
"react-dev-utils": "^12.0.1",
"react-dom": "^19.2.4",
"react-is": "^19.2.7",
"react-refresh": "^0.18.0",
"react-test-renderer": "^19.2.4",
"resolution-independence": "^1.0.0",
Expand Down Expand Up @@ -131,4 +132,4 @@
"globals": "^17.4.0",
"prettier": "^3.8.1"
}
}
}
Loading