Modular 2.1.0

Allow certain commands and flags to be run outside of a modular directory

Before 2.1.0, some of the commands and standalone flags erroneously terminated earlier if invoked outside a subdirectory of a modular project. We corrected this in 2.1.0 and now, the --help and --version standalone flags and the init, help and convert commands can be run from anywhere in the file system. This is especially important for commands that are actually supposed to be invoked from within a non-modular subdirectory, like init and convert, and also allows users to invoke help and check their installed version from anywhere in the filesystem.

Hide yarn warnings by default

With the relase of 2.1.0 we will start hiding warning-level messages generated by the execution of underlying yarn processes by default, in order to improve user experience and avoid presenting them with pages of non-relevant information when they’re using modular. Warning messages are still visible by specifying the --verbose flag.

Merged Changes

  • #1017 Upgrade optimize-css-assets-webpack-plugin 6.0.1

  • #1022 Use non-zero exit codes to determine child process failures.

  • #1025 Suppress Yarn warnings by default when the verbose flag is not specified. This changes the screen output of create-modular-react-app and modular add.

  • #1026 Allow the --help and --version flags and the init, help and convert commands to work without necessarily being run inside a modular directory.

  • #1027 Bump @babel/eslint-parser from 7.16.0 to 7.16.3

  • #1028 Bump eslint-plugin-react-hooks from 4.2.0 to 4.3.0

  • #1030 Bump esbuild from 0.13.8 to 0.13.13

  • #1032 Export tsconfig.json

  • #1034 Bump eslint-plugin-import from 2.25.2 to 2.25.3

  • #1035 Bump eslint-plugin-jsx-a11y from 6.4.1 to 6.5.1

  • #1036 Bump eslint-plugin-react from 7.26.1 to 7.27.0

  • #1038 Add support for loading .woff font files.

  • #1039 Add missing dependencies required for esbuild-scripts.

Patch Versions

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