Skip to content

v14.1.2

Compare
Choose a tag to compare
@GiladShoham GiladShoham released this 02 Jun 18:39
· 10744 commits to master since this release

New

  • introduce a new command bit undeprecate to revert deprecation of components
  • introduce a new flag --machine-name for bit login to help CI servers keep their token not revoked
  • support bit import with wildcards to import an entire scope or particular namespace(s)
  • support changing the log to json format by running bit config set log_json_format true
  • add bit version validation to bit doctor command
  • add validation for npm executable on bit doctor
  • add validation for yarn executable on bit doctor

Changes

  • sort .bitmap component ids alphabetically to reduce chances for git conflicts (#1671)
  • #1627 improve bit tag output
  • add a suggestion to run bit doctor on various errors
  • avoid generating links of devDependencies when installing component as packages (#1614)
  • add metadata to bit doctor output
  • update bit add help message with instructions for using glob patterns with --tests
  • rewrite dependencies when installed as components even when exist to rebuild their dist directory

Bug fixes

  • #1665 fix resolve-modules prefix with Tilda
  • improve sync between .bitmap file and the local store, see #1543 for complete use cases
  • fix bit remove and bit eject to delete the dist directory when located outside the components dir
  • fix bit eject to support component custom npm registry scope
  • fix generated package.json when dist is outside the components dir to point the main to the dist file (#1648)
  • ignore import/require statements from CDN (HTTP/HTTPS)
  • avoid generating package.json inside node_modules for an author when one of the component files is package.json
  • preserve indentation of package.json files and default to 2 spaces, similar to NPM (#1630)
  • show a descriptive error when the dist directory configured to be outside the components dir and is missing files