Modular 4.4.0
modular-scripts 4.4.0
-
modular add
now removes uninstalls templates after use, removing them from the dependencies (previously kept and considered dependencies even though they are only required when running the add command) -
Non-modular templates are now supported. If a template does not have a
modular.templateType
field in its package.json, the template will still be used and the resulting package will not be considered a Modular package. -
Added optional swc/jest support in
modular test
through--swc
flag. Replacests-jest
with Rust basedswc-jest
for performance improvements. -
modular build
output will now inherit theengines
field specified in the package’s or root package.json. -
We now allow the ‘strict’ typecheck compiler option
-
Added a
--bypass
flag tomodular test
to bypass all Modular selective logic and pass all provided options directly to Jest. See usingmodular-test
with IntelliJ -
Building with Webpack will now only typecheck relevant packages: the package being built, and the packages it depends on.
Other changes:
- Added a new recommended eslint configuration now set as default on new workspaces from Modular templates. Adds import sorting rules.
Merged Changes
modular-scripts@4.4.0
Minor Changes
-
#2365
89097fc
Thanks @AlbertoBrusa! -modular add
now cleans up after itself by removing the added template dependency -
#2368
2ca7fcd
Thanks @cristiano-belloni! - Support non-modular templates -
#2338
d4a64ef
Thanks @AlbertoBrusa! - Added –swc flag to test command: Runs tests with @swc/jest instead of ts-jest & babel for increased performance -
#2364
fdf2f71
Thanks @AlbertoBrusa! -modular build
now includes the ‘engines’ field in the dist package.json when provided in the workspace or root package.json -
#2352
ccffbfd
Thanks @cristiano-belloni! - Enable “strict” compiler option in the typecheck allowlist -
#2363
d770c80
Thanks @AlbertoBrusa! - Added –bypass flag to bypass modular test behavior -
#2371
4e6fb9b
Thanks @AlbertoBrusa! - When building with webpack, only typecheck the package being built and its dependents
modular-template-app@2.0.0
Major Changes
- #2369
3141f92
Thanks @AlbertoBrusa! - Added new recommended eslint configuration that includes import sorting - “modular-app/recommended”
modular-template-esm-view@2.0.0
Major Changes
- #2369
3141f92
Thanks @AlbertoBrusa! - Added new recommended eslint configuration that includes import sorting - “modular-app/recommended”
modular-template-package@2.0.0
Major Changes
- #2369
3141f92
Thanks @AlbertoBrusa! - Added new recommended eslint configuration that includes import sorting - “modular-app/recommended”
modular-template-source@2.0.0
Major Changes
- #2369
3141f92
Thanks @AlbertoBrusa! - Added new recommended eslint configuration that includes import sorting - “modular-app/recommended”
modular-template-view@2.0.0
Major Changes
- #2369
3141f92
Thanks @AlbertoBrusa! - Added new recommended eslint configuration that includes import sorting - “modular-app/recommended”
create-modular-react-app@5.1.0
Minor Changes
- #2369
3141f92
Thanks @AlbertoBrusa! - Added new recommended eslint configuration that includes import sorting - “modular-app/recommended”
eslint-config-modular-app@4.1.0
Minor Changes
- #2369
3141f92
Thanks @AlbertoBrusa! - Added new recommended eslint configuration that includes import sorting - “modular-app/recommended”
Patch Versions
Patch versions of this release do not have a dedicated summary. For details of patch releases, please visit the GitHub releases page.