@clevercanary/data-explorer-ui
v71.0.0
Published
## General info
Downloads
170
Readme
data-explorer-ui
General info
srccontains TypeScript source files;libwill contain compiled JavaScript, which is what should be imported by the external application.- Import paths used by the external application need to specify the full path starting from the package name,
in the form
@clevercanary/data-explorer-ui/lib/<path>, where<path>is the path of the file within thelibfolder.
Developing the Clever Canary Data Explorer alongside Clever Canary Data Browser
- Clone this repository into the same parent folder as the Clever Canary Data Browser.
- Set
nodeversion to16.15.0(this is also the version used by the Data Browser). - In the Data Explorer
packages/data-explorer-uidirectory (e.g.data-explorer/packages/data-explorer-ui):- Run
npm ci. - Bump the version number in
package.jsone.g.npm version <update_type>. - Run
npx tsc(this should be run when this repository is first downloaded and when any changes are made to the source files; one way this can be done more efficiently is by setting the default build task in VS Code so that it can be done with a keyboard shortcut).
- Run
- In the Data Browser
explorerdirectory (e.g.data-browser/explorer):- Run
npm ci. - Update the
@clevercanary/data-explorer-uidependency in thepackage.jsonfile to use the new version ofdata-explorer-ui. - Run
npm link ../../data-explorer/packages/data-explorer-ui, which will create a symlink in node_modules pointing to data-explorer-ui. - If any packages are later installed or uninstalled, the symlink will need to be created again, which can be done
with the same command or by running
npm link @clevercanary/data-explorer-ui.
- Run
