Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.02 KB

iar-vsc-common

This package contains code that is shared between the two IAR VS Code extensions.

The src/thrift/bindings directory contains automatically generated thrift code, and should not be edited manually.

This package is not meant to be published to a package registry; rather, it should be used by adding a package.json dependency on this repository:

"dependencies": {
    ...
    "iar-vsc-common": "[email protected]:IARSystems/iar-vsc-common.git#<commit-hash>"
}

The typescript source code is transpiled on installation. Thus, pushing to the src directory of this repository is publishing.

For development, it is practical to use a local version of this repository. Simply clone this repository next to the extension repositories, then change the package.json dependency for each extension to point to the new clone:

"dependencies": {
    ...
    "iar-vsc-common": "file:../iar-vsc-common"
}

When you've finished, do not forget to change the dependency back, and update the target revision number.