Modular 5.0.0

New Features

  • Node 20 Support. Modular is now tested against Node 20, and has added it to the supported engines field
  • Build output now targets ES2017 (Previously ES2016)
  • Standardized Modular command behavior:
    • modular lint now fully supports selective behavior, taking packages instead of regexes as the default arguments, bringing it in line with other modular commands
    • modular lint now runs lint script on selected non-modular packages by default, if specified in the package’s package.json
    • modular typecheck now runs typecheck script selected non-modular packages, if specified in the package’s package.json
    • Modular’s workspace resolver now respects a repo’s .gitignore, overridden by an optional .modularignore. Ignored workspaces will be skipped by Modular commands and won’t cause errors from Modular checks

Breaking Changes

  • Dropped Node 14 from supported engines in line with the end of LTS. Modular is no longer tested against Node 14 and can’t guarantee compatibility
  • Build output now targets ES2017 (Previously ES2016)
  • Changed default behavior and options for modular lint and modular typecheck. All functionality has been retained, but the command interface has been changed
  • Modular’s workspace resolver now respects .gitignore. This behavior, if breaking, can be overridden by adding an empty .modularignore to the repos’s root.

Merged Changes

create-modular-react-app@6.0.0

Major Changes

eslint-config-modular-app@5.0.0

Major Changes

modular-scripts@5.0.0

Major Changes

  • #2391 6209e17 Thanks @AlbertoBrusa! - Modular’s workspace resolver now ignores a workspace if covered by a .modularignore or .gitignore (.modularignore overrides .gitignore)

  • #2384 1e9c8cb Thanks @AlbertoBrusa! - Standardized lint and typecheck commands to bring them in line with other modular selective behavior. Now lints and typechecks non-modular packages by default

  • #2370 ef63eb3 Thanks @AlbertoBrusa! - Dropped Node 14 support, added Node 20 support. Changed target to ES2017

@modular-scripts/workspace-resolver@2.0.0

Major Changes

  • #2391 6209e17 Thanks @AlbertoBrusa! - Modular’s workspace resolver now ignores a workspace if covered by a .modularignore or .gitignore (.modularignore overrides .gitignore)

Patch Versions

Patch versions of this release do not have a dedicated summary. For details of patch releases, please visit the GitHub releases page.