bit

A build system for development of composable software.

OTHER License

Downloads
64.9K
Stars
17.8K
Committers
79

Bot releases are hidden (Show)

bit - v14.7.3

Published by GiladShoham over 4 years ago

New

  • support overrides of the workspace defaultScope per components
  • use workspace defaultScope to generate node-modules links for pre-export components

Changes

  • #2247 improve auto-tag output

Bug fixes

  • fix "JavaScript heap out of memory" errors during bit export
  • #2260 fix duplicate dependencies
  • #2264 fix generated dependencies links on capsule
  • #2267 fix duplicate devDependencies
  • #2258 don't install devDependencies packages upon extensions import
  • #2255 avoid adding unneeded overrides upon import
bit - v14.7.2

Published by GiladShoham almost 5 years ago

New

  • #1894 introduce --remote flag for bit log
  • add --conf and --ignore-package-json flags to bit checkout similar to bit import

Bug fixes

  • #2231 update typescript to support optional chaining
  • improve performance of bit checkout by writing multiple components in parallel
  • fix overrides of a component added with package syntax to be recognized as bit-component
  • #2196 fix dependency resolution when Bit component is imported in a sub-package

Internal

  • install librarian from npm
bit - v14.7.1

Published by GiladShoham almost 5 years ago

New

  • add component root dir to bit show (json only)

Bug fixes

  • #2182 fix package-name replacement of dists when a package has a tilda prefix
  • #2182 don't write dependencies dists to a capsule when their compiler was removed
  • fix tester's isolate API
bit - v14.7.0

Published by GiladShoham almost 5 years ago

New

  • Tester's API can use the isolate function.
  • bit status shows untracked file dependencies recursively.

Bug fixes

  • #2171 fix component-not-found when exporting to multiple scopes and there are dependencies between them
  • #2175 add missing packages from overrides to bit status
  • #2176 fix workspace overrides to not leak rules to unrelated component
  • #2178 fix adding ts types packages to respect overrides settings

Experimental

bit - v14.6.0

Published by GiladShoham almost 5 years ago

  • compress ssh args before sending
  • add new global config ssh_no_compress
bit - v14.5.0

Published by GiladShoham almost 5 years ago

New

  • support anonymous authentication for remote read operations
  • add --token flag for commands that runs against a remote server
  • #2101 suggest matching commands

Changes

  • improve loader when building components
  • add --no-warnings flag to bit test child process

Bug fixes

  • #2147 fix overrides to respect dependencies received by a compiler/tester/extension
  • fix symlink errors when generating links to d.ts files
  • #2140 update bit-javascript to support import { x as y } syntax
  • fix fork of a component when a dependency exists in an older version only
  • update react-docgen version from 2.21.0 to 4.1.1
  • keep flattened dependencies saved by auto-tag up to date, although they're not part of the current tag
  • show a message about missing test files in the compiled files

Experimental

  • expose buildOne and buildAll for programmatic api (Experimental)

Internal

  • consolidate isolation options
  • formalize isolate api result
bit - v14.4.3

Published by GiladShoham almost 5 years ago

Bug fixes

  • lock memfs package version to v2.15.5 due to issues with the v2.16.0
bit - v14.4.2

Published by GiladShoham almost 5 years ago

Bug fixes

  • #2024 rebuild components upon dependencies changes for compilers that build dependencies
  • #2067 fix bit checkout to not duplicate modified files when the shared dir has changed
  • #2079 update bit-javascript to fix error when Yarn workspaces uses nohoist
  • #2072 update bit-javascript to support React fragments

Experimental

  • #2066 introduce --skip-auto-tag flag for bit tag

Internal

  • move from flow to typescript
bit - v14.4.1

Published by GiladShoham about 5 years ago

Bug fixes

  • #2019 fix bit import --merge to not override changed dependencies
  • #2023 better handle external errors from compilers
  • #2013 fix bit import when one module resolution alias is a directory of another alias for extensions other than .js
  • #2033 improve bit link to build unrecognized missing links
  • #2035 fix "unable to manually add the dependency" error when package.json of an imported component is missing
  • #2034 make sure versions are not deleted upon tag when components have cycle dependencies and a version is specified
  • #2027 fix ComponentNotFound error when building a typescript component and its Bit dependency is installed as a package
  • #2011 update dependents package.json files when ejecting dependencies
  • fix bit graph edge colouring for regular dependencies
  • call pre and post export hooks actions
bit - v14.4.0

Published by GiladShoham about 5 years ago

New

  • #1981 allow compilers to add all dependencies types and not only devDependencies

Changes

  • #2004 ask for approval before exporting a component to another scope (fork)

Bug fixes

  • #2013 fix bit import when one module resolution alias is a directory of another alias
  • block tagging components with prerelease versions
  • fix "Converting circular structure to JSON" error when logging a circular metadata object
  • fix exporting to a different scope than workspace configuration of defaultScope
  • fix exporting components with and without scope at the same time
  • #1999 show a descriptive error when a component is missing from the scope

Experimental

  • #1956 introduce a new flag --rewire for bit export to replace the import/require statements in the source to the newly exported scope
bit - v14.3.0

Published by GiladShoham about 5 years ago

New

  • #1956 add defaultScope settings in workspace config for bit export to use when no remote scope defined for component
  • #1990 auto add @types/package-name for *.tsx files

Changes

  • generate node_modules links upon build for new components

Bug fixes

  • fail early when exporting nested dependency
  • fix an error "Cannot read property log of null" upon bit log
  • #1988 avoid adding a component to root package.json when importing with --ignore-package-json flag
  • #1972 fix generated links to nested dependencies in the capsule
  • #1966 prevent intermediate console printing when --json flag is used
  • #1721 enable removing/workspace-propagating a compiler/tester from component's config
  • #1965 fix generated links for .scss and .sass packages to point to the main file
  • #1959 improve message when running bit build when compiler not configured
  • fix dist replacements upon export (for angular compiler) to support require statements to an internal path
  • #1947 workaround an angular-compiler issue when the dists have a prefix

Experimental

  • #1956 add --include-dependenciesflag for bit export to be export all component-dependencies to the remote scope
  • #1956 support exporting components without mentioning a remote by exporting to their last remotes
bit - v14.2.5

Published by GiladShoham about 5 years ago

New

  • #1937 introduce --json flag for bit import

Bug fixes

  • fix dist changing of bit-ids on export to make the replacement on exact matches only
  • #1941 ignore .DS_Store file when reading dirs
  • #1912 fix linking to an internal and non-exist dist file to fallback to the main package
  • #1916 do not throw an error when there are no components to build
  • #1934 fix capsule compilers when configured to work with custom files
  • #1924 avoid generating old dists files when using capsule compilers

Experimental

  • #1885 introduce new flags --dependents and --dependencies for bit import to import them all directly
bit - v14.2.4

Published by GiladShoham about 5 years ago

New

  • #1867 apply workspace overrides config on imported components
  • #1863 allow excluding components from overrides rules
  • #1865 allow adding package.json props via overrides
  • #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 with bit list --raw
  • #1774 improve access errors and warn when sudo is used
  • change shortcut flag to bit init standalone from t to T

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

  • #1885 introduce new flags --dependents and --dependencies for bit show to display them all recursively
  • #1908 new bit init interactive
    Collapse
bit - v14.2.3

Published by GiladShoham about 5 years ago

  • #1714 auto recognize mainFile when a file added with the same name as its dir
  • #1683 introduce --namespace flag for bit 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
bit - v14.2.2

Published by GiladShoham about 5 years ago

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
bit - v14.2.1

Published by GiladShoham about 5 years ago

  • fix "Cannot read property 'length' of undefined" error upon bit status
  • fix error "unable to link" upon bit build when dist is outside the components dir
  • #1705 preserve newline type of package.json and add a newline at the end (same as NPM does)
bit - v14.2.0

Published by GiladShoham over 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 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
bit - v14.1.4-dev.12

Published by GiladShoham over 5 years ago

  • 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
bit - v14.1.4-dev.6

Published by imsnif over 5 years ago

  • add a custom entry point file for Angular components
  • #1750 improve the output to clarify when a dependency package is missing
  • #1752 fix dependency links generation when originally there were multiple link files
bit - v14.1.3

Published by GiladShoham over 5 years ago

Bug fixes

  • #1708 support require with apostrophes
  • #1698 fix dependency version resolution when imported component requires authored component
  • #1702 fix error "failed adding a symlink into DataToPersist, src is empty"
  • #1699 fix config.get is not a function