Releases: teambit/bit
Releases · teambit/bit
v14.2.4
New
- #1867 apply workspace overrides config on imported components
- #1863 allow excluding components from
overrides
rules - #1865 allow adding
package.json
props viaoverrides
- #1837 enable executing commands on remote components outside of bit-workspace
- #913 add new flags to bit init
-c|--compiler
,-t|--tester
,-d|--default-directory
,-p|--package-manager
- #1889 auto add
@types/package-name
to the dependencies of TS components - added
no_warnings
config to eliminate some warnings from being written to the stdout
Changes
- remove Angular dependencies from bit-javascript, instead, use TS compiler to parse Angular Decorators
- #1892 deprecating
bit list --bare
and replace withbit list --raw
- #1774 improve access errors and warn when sudo is used
- change shortcut flag to
bit init
standalone fromt
toT
Bug fixes
- safer access to bit global config
- #1903 fix importing dependents to not override dependencies
- fix capsule to respect the
override
property of vinyl files - #1925 update bit-javascript to fix Angular non-relative paths from decorators
Experimental
v14.2.3
- #1714 auto recognize mainFile when a file added with the same name as its dir
- #1683 introduce
--namespace
flag forbit list
to support namespaces with wildcards - #1727 prevent saving objects that link to invalid objects
- #1856 fix links deletion from
node_modules
after installing packages by a compiler on a capsule - #1710 improve performance of importing an entire collection
v14.2.2
New
- add workspacePath and bitmapFileName to post-add hook invocation
Changes
- improve
bit watch
to watch directories instead of only files to support addition / deletion - #1634 improve the output of
bit watch
Bug fixes
- fix "Cannot read property 'push' of undefined" error upon
bit status
- build only the component of the modified/added/removed file upon
bit watch
- #1668 bug fix -
bit watch
doesn't update files
v14.2.1
v14.2.0
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
v14.1.4-dev.12
- update bit-javascript to fix finding tsconfig.json for Angular projects
- change the minimum node supported to v8.12.0 instead of v8.0.0, to be compatible with
execa
v14.1.4-dev.6
v14.1.3
v14.1.2
New
- introduce a new command
bit undeprecate
to revert deprecation of components - introduce a new flag
--machine-name
forbit 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
andbit 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 themain
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
v14.1.1
Bug fixes
- fix bit build to not generate
index.js
files whenpackage.json
file already exists - prevent overwriting author files by not writing auto-generated content on symlink files (#1628)
- avoid changing the local version of a component to the latest when exporting an older version
- fix post-receive-hook to send all exported versions and not only the latest
- fix dependency resolution to identify link (proxy) files correctly
- fix bit status to not show a component as modified after tag when the version is modified in the dependent package.json
- fix "npm ERR! enoent ENOENT" errors when importing/installing multiple components
- fix dependency value in the dependent package.json to include the path when importing them both in the same command
- fix "EEXIST: file already exists" error when running
bit link
orbit install
and the dist is outside the component directory - fix
bit add
to ignore directories when their files are added (#1406)