Skip to content

Commit

Permalink
Release 9.0.0 (#113)
Browse files Browse the repository at this point in the history
## What's Changed
* Prepare no_dist version by @puehringer in
#110
* chore: version pinning by @dvdanielamoitzi in
#111
* deps(npm): tdp_core@23.0.2 + yarn.lock by @thinkh in
#112

## New Contributors
* @puehringer made their first contribution in
#110
* @dvdanielamoitzi made their first contribution in
#111

**Full Changelog**:
v8.0.0...v9.0.0
  • Loading branch information
thinkh authored Feb 29, 2024
2 parents b6a4fc6 + c48d8a8 commit 6ac0870
Show file tree
Hide file tree
Showing 7 changed files with 19,677 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ node_modules/
*.css
*.log
/dist/
/yarn.lock
!yarn.lock
# yarn
.pnp.*
.yarn/*
Expand Down
46 changes: 39 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tourdino",
"description": "Calculate and visualize similarity measures.",
"homepage": "https://phovea.caleydo.org",
"version": "8.0.0",
"version": "9.0.0",
"author": {
"name": "The Caleydo Team",
"email": "contact@caleydo.org",
Expand All @@ -23,8 +23,41 @@
"type": "git",
"url": "git@github.com:Caleydo/tourdino.git"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"exports": {
".": {
"types": [
"./dist/index.d.ts",
"./src/index.ts"
],
"import": [
"./dist/index.js",
"./src/index.ts"
],
"default": [
"./dist/index.js",
"./src/index.ts"
]
},
"./phovea_registry": [
"./dist/phovea_registry.js",
"./src/phovea_registry.ts"
],
"./dist/phovea_registry": [
"./dist/phovea_registry.js",
"./src/phovea_registry.ts"
],
"./src/scss/*": [
"./dist/scss/*",
"./src/scss/*"
],
"./dist/scss/*": [
"./dist/scss/*",
"./src/scss/*"
],
"./package.json": "./package.json"
},
"files": [
"src",
"dist"
Expand All @@ -48,7 +81,6 @@
"docs": "visyn_scripts docs",
"lint:fix": "visyn_scripts lint --fix",
"lint": "visyn_scripts lint",
"prepack": "npm run build",
"start": "visyn_scripts start --env workspace_mode=single",
"storybook:build": "NODE_OPTIONS=--max_old_space_size=4096 build-storybook",
"storybook": "NODE_OPTIONS=--max_old_space_size=4096 start-storybook -p 6006",
Expand All @@ -62,16 +94,16 @@
"worker-loader": "^2.0.0"
},
"dependencies": {
"d3.parsets": "git+ssh://git@github.com/jasondavies/d3-parsets#v1.2.4",
"d3.parsets": "git+ssh://git@github.com/jasondavies/d3-parsets#e758679787f009b760d42a41189102bf216f39ab",
"jstat": "^1.9.4",
"lodash": "~4.17.20",
"tdp_core": "^20.1.0",
"tdp_core": "^23.0.2",
"vega": "~5.20.0",
"vega-embed": "6.19.1",
"vega-functions": "5.12.0",
"vega-lite": "5.1.1",
"vega-parser": "6.1.3",
"visyn_scripts": "^4.1.0",
"visyn_scripts": "^7.0.1",
"xxhashjs": "^0.2.2"
},
"resolutions": {
Expand Down
6 changes: 5 additions & 1 deletion src/app/TouringPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ export class TouringPanel {

private active: boolean;

constructor(private readonly _desc: IPanelTabExtensionDesc, private readonly tab: PanelTab, private readonly provider: LocalDataProvider) {
constructor(
private readonly _desc: IPanelTabExtensionDesc,
private readonly tab: PanelTab,
private readonly provider: LocalDataProvider,
) {
this.node = tab.node;
this.node.classList.add('touring');
this.node.innerHTML = touringTemplate;
Expand Down
4 changes: 2 additions & 2 deletions src/base/BaseUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ export class BaseUtils {

while (integers.length !== n) {
// skipped if n = max+1 --> all integers between 0 and max
integers.splice(getRandomInt(0, integers.length), 1); // definetly one hit per iteration
integers.splice(BaseUtils.getRandomInt(0, integers.length), 1); // definetly one hit per iteration
}
return integers;
}
const integers = [];
while (integers.length < n) {
const integer = getRandomInt(0, max);
const integer = BaseUtils.getRandomInt(0, max);
if (integers.indexOf(integer) === -1) {
// not every iteration might add an element
integers.push(integer);
Expand Down
1 change: 1 addition & 0 deletions src/phovea_registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import reg from './phovea';
* build a registry by registering all phovea modules
*/
// other modules
import 'tdp_core/dist/phovea_registry';

// self
PluginRegistry.getInstance().register('tourdino', reg);
5 changes: 4 additions & 1 deletion src/tasks/RankingAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ export class RankingAdapter {
return indices;
}

constructor(protected readonly provider: LocalDataProvider, private rankingIndex = 0) {}
constructor(
protected readonly provider: LocalDataProvider,
private rankingIndex = 0,
) {}

public getProvider(): LocalDataProvider {
return this.provider;
Expand Down
Loading

0 comments on commit 6ac0870

Please sign in to comment.