Bit v14.2.0 Release Notes
Release Date: 2019-07-18 // almost 5 years ago-
๐ 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 tobit 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 apackage.json
value, which gets replaced with the calculated dist path upon import. - Generate
index.d.ts
file fornode_modules
links generated for typescript'scustom-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 afterexport
,tag
anduntag
for author using compiler that builds dependencies. - #1810 avoid generating link files with
.ts
,.jsx
and.tsx
insidenode_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 ofbit ci-update
command - ๐ fix installation errors on Windows related to
posix
package by replacing it withuid-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
- ๐ Support packaging bit-bin into a binary file according to the OS by running