Giter Site home page Giter Site logo

bit-javascript's Introduction

Bit driver for javascript

For more information on Bit see Bit's docs.

No need to install this package individually anymore. By installing Bit, this driver is already installed.

Installing bit-javascript

npm install bit-javascript -g

Contributing to bit-javascript

Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.

See Contributing.

Analytics

bit-javascript's People

Contributors

amitgilad3 avatar davidfirst avatar giladshoham avatar guysaar223 avatar itaymendel avatar ran-y avatar uptownhr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bit-javascript's Issues

wrong link files in get dependencies

clone material ui project
run get dependencies on the src/index file

this is code for the project:

// material-ui/src/utils/keyboardFocus.js
import addEventListener from '../utils/addEventListener’;
// material-ui/src/utils/addEventListener.js
// @flow

import addEventListener from 'dom-helpers/events/on';
import removeEventListener from 'dom-helpers/events/off';

export default function(node: Node, event: string, handler: EventHandler, capture?: boolean) {
  addEventListener(node, event, handler, capture);
  return {
    remove() {
      removeEventListener(node, event, handler, capture);
    },
  };
}

part of the tree is:

"src/utils/keyboardFocus.js": {
  "packages": {},
  "files": [],
  "linkFiles": [
    {
      "file": "src/utils/addEventListener.js",
      "dependencies": [
        {
          "file": "node_modules/dom-helpers/events/on.js",
          "importSpecifiers": [
            {
              "mainFile": {
                "isDefault": true,
                "name": "addEventListener"
              },
              "linkFile": {
                "isDefault": true,
                "name": "addEventListener"
              }
            }
          ]
        }
      ]
    }
  ]
},

It identify addEventListener as link file while it's clearly not.

support rewire in get-dependencies

There is a popular package called rewire used for unit testing.
Currently, we don't recognize files required by rewire as dependencies

Had to pull this into VSC manually.

Good Evening,

Just wanted to call out that I needed to pull this manually to try to use the bit IS.

System Info:

OS Name Microsoft Windows 10 Pro
Version 10.0.17763 Build 17763
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name DESKTOP-BPM4SSS
System Manufacturer Micro-Star International Co., Ltd.
System Model GX780R/GT780R/GT780DXR/GT783R
System Type x64-based PC
System SKU To be filled by O.E.M.
Processor Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz, 2201 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. E1761IMS V3.0H, 11/18/2011
SMBIOS Version 2.7
Embedded Controller Version 255.255
BIOS Mode Legacy
BaseBoard Manufacturer Micro-Star International Co., Ltd.
BaseBoard Product MS-1761
BaseBoard Version To be filled by O.E.M.
Platform Role Mobile
Secure Boot State Unsupported
PCR7 Configuration Binding Not Possible
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "10.0.17763.194"
User Name ***
Time Zone Central Standard Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 16.0 GB
Available Physical Memory 9.10 GB
Total Virtual Memory 18.9 GB
Available Virtual Memory 11.4 GB
Page File Space 2.88 GB
Page File C:\pagefile.sys
Kernel DMA Protection Off
Virtualization-based security Running
Virtualization-based security Required Security Properties
Virtualization-based security Available Security Properties Base Virtualization Support, DMA Protection
Virtualization-based security Services Configured
Virtualization-based security Services Running
Device Encryption Support Reasons for failed automatic device encryption: TPM is not usable, PCR7 binding is not supported, Hardware Security Test Interface failed and device is not InstantGo, Un-allowed DMA capable bus/device(s) detected, TPM is not usable
A hypervisor has been detected. Features required for Hyper-V will not be displayed.

Node MSI Installer Version: node-v10.15.1-x64

Maybe it's included in 11? ¯_(ツ)_/¯

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.