Skip to content

Commit

Permalink
Replace viv library references, increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Sharakhov authored and Nikita Sharakhov committed Aug 30, 2022
1 parent ebcce39 commit 05d4293
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Please see the [tutorial](./tutorial/README.md) for more information.
## 💽 Installation

```bash
$ npm install @hms-dbmi/viv
$ npm install @labshare/viv
```

You will also need to install [deck.gl](https://deck.gl) and other `peerDependencies` manually.
Expand Down Expand Up @@ -90,7 +90,7 @@ current versions are tested in our CI by naviating to our

## 🛠️ Build

- `@hms-dbmi/viv` library: `npm run build`
- `@labshare/viv` library: `npm run build`
- `Avivator` viewer: `npm run build:avivator`

## 📄 Publish
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { makeStyles, createStyles } from '@material-ui/core/styles';
import shallow from 'zustand/shallow';

// eslint-disable-next-line import/no-unresolved
import { getDefaultInitialViewState } from '@hms-dbmi/viv';
import { getDefaultInitialViewState } from '@labshare/viv';
import {
useImageSettingsStore,
useViewerStore,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import InputLabel from '@material-ui/core/InputLabel';
import shallow from 'zustand/shallow';

// eslint-disable-next-line import/no-unresolved
import { RENDERING_MODES } from '@hms-dbmi/viv';
import { RENDERING_MODES } from '@labshare/viv';
import { useImageSettingsStore, useViewerStore } from '../../../state';

const renderingOptions = Object.values(RENDERING_MODES);
Expand Down
2 changes: 1 addition & 1 deletion avivator/src/components/RenderingModeSelect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import FormControl from '@material-ui/core/FormControl';
import Select from '@material-ui/core/Select';
import InputLabel from '@material-ui/core/InputLabel';

import { RENDERING_MODES } from '@hms-dbmi/viv'; // eslint-disable-line import/no-unresolved
import { RENDERING_MODES } from '@labshare/viv'; // eslint-disable-line import/no-unresolved

function RenderingModeSelect({ value, handleChange, disabled }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion avivator/src/components/Viewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
AdditiveColormapExtension,
LensExtension
// eslint-disable-next-line import/no-unresolved
} from '@hms-dbmi/viv';
} from '@labshare/viv';
import {
useImageSettingsStore,
useViewerStore,
Expand Down
2 changes: 1 addition & 1 deletion avivator/src/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import create from 'zustand';

// eslint-disable-next-line import/no-unresolved
import { RENDERING_MODES } from '@hms-dbmi/viv';
import { RENDERING_MODES } from '@labshare/viv';

const captialize = string => string.charAt(0).toUpperCase() + string.slice(1);

Expand Down
2 changes: 1 addition & 1 deletion avivator/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
ColorPalette3DExtensions,
AdditiveColormap3DExtensions
// eslint-disable-next-line import/no-unresolved
} from '@hms-dbmi/viv';
} from '@labshare/viv';

import { GLOBAL_SLIDER_DIMENSION_FIELDS } from './constants';

Expand Down
2 changes: 1 addition & 1 deletion docs/SAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
getChannelStats,
loadOmeTiff,
PictureInPictureViewer,
} from '@hms-dbmi/viv';
} from '@labshare/viv';

const url = 'http://localhost:8000/LuCa-7color_Scan1.ome.tif'; // OME-TIFF

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@labshare/viv",
"version": "0.12.10",
"version": "0.12.11",
"main": "dist/viv.es.js",
"module": "dist/viv.es.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const configAvivator = defineConfig({
},
resolve: {
alias: {
'@hms-dbmi/viv': resolve(__dirname, 'src'),
'@labshare/viv': resolve(__dirname, 'src'),
'react': resolve(__dirname, 'avivator/node_modules/react'),
'react-dom': resolve(__dirname, 'avivator/node_modules/react-dom'),
},
Expand Down

0 comments on commit 05d4293

Please sign in to comment.