Bit v14.1.2 Release Notes

Release Date: 2019-06-02 // almost 5 years ago
  • ๐Ÿ†• 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