Skip to content

v14.2.0

Compare
Choose a tag to compare
@GiladShoham GiladShoham released this 18 Jul 13:57

Bit is now available to install as a binary with all dependencies. This is the prefer method to install Bit, as it is bundled with its runtime. Note that when you install with npm / yarn Bit only supports node < 8.12.0.

New

  • Support packaging bit-bin into a binary file according to the OS by running npm run pkg
  • Enable compilers and testers to isolate components using capsule.
  • add --no-cache flag to bit ci-update command
  • #1762 allow compilers to add properties to package.json file.
  • #1770 modify dependency links for compilers that bundle them.
  • #1663 Support toposort order when compiling components.
  • #1808 Adding dist-path-template as a package.json value, which gets replaced with the calculated dist path upon import.
  • Generate index.d.ts file for node_modules links generated for typescript's custom-resolve-modules.
  • Add a custom entry point file for Angular components
  • Support providing different main-file for dists by a compiler
  • Support identify angular dependencies

Changes

  • fix require statements to an internal package file to not include extensions if they're [.js, .ts, .tsx, .jsx]
  • #1792 don't generate entry-point files for nested dependencies when their package.json is written
  • change dependency links generated when dependencies are saved as components to be module paths and not relative paths

Bug fixes

  • #1817 fix ComponentNotFound error when tagging after export, tag and untag for author using compiler that builds dependencies.
  • #1810 avoid generating link files with .ts, .jsx and .tsx inside node_modules.
  • #1807 fix resolution of dependency when 2 files require it and one of them using alias
  • #1796 fix dependency resolution when 2 files of component import different things from a file of another component
  • #1779 update bit-javascript to prioritize custom-resolve settings
  • avoid generating duplicate require statements within dependency links files of ES6
  • update bit-javascript to fix finding tsconfig.json for Angular projects
  • #1750 improve the output to clarify when a dependency package is missing
  • #1752 fix dependency links generation when originally there were multiple link files
  • fix directory flag of bit ci-update command
  • fix installation errors on Windows related to posix package by replacing it with uid-number
  • #1734 fix error "unable to add the file ..." when the require statement was of . or .. as the only string

Experimental

  • add post-add hook
  • add option to isolate component into "capsule" via bit isolate command

Internal

  • update execa to v2.0.3
  • upgrade to babel 7