Skip to content

Commit

Permalink
npm updates (#536)
Browse files Browse the repository at this point in the history
* update main lockfile

* update vega-typings

* use vega 5.22

* update lockfiles

* require npm@8

* update typescript

* override typescript

* vega 5.22

* try downgrade node

* bump node version

* comment out build

* update typedoc

* uncomment

* update ts-loader

* downgrade typescript & typedoc

* regen

* powerbi bump
  • Loading branch information
danmarshall authored Sep 8, 2022
1 parent f3e005f commit 9300b00
Show file tree
Hide file tree
Showing 80 changed files with 32,335 additions and 30,906 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ pool:
steps:
- task: NodeTool@0
inputs:
versionSpec: '14.x'
versionSpec: '16.x'
displayName: 'Install Node.js'

- script: |
npm i -g npm@7
displayName: 'Install npm 7'
npm i -g npm@8
displayName: 'Install npm 8'

- script: |
npm install
Expand Down
4 changes: 2 additions & 2 deletions dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ The SandDance repo is a monorepo made up of several packages, managed by [Lerna]
1. [sanddance-app](https://github.com/microsoft/SandDance/tree/master/packages/sanddance-app) - React-based sample application used on website.

## System requirements
* Node.js 14 or higher
* NPM 7 or higher
* Node.js 16 or higher
* NPM 8 or higher

## Install
1. Clone this repo
Expand Down
Binary file not shown.
12 changes: 6 additions & 6 deletions docs/dist/sanddance-explorer/v4/sanddance-explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ var $818261f0bc10eb56$var$BarChartRecommenderSummary = /** @class */ function()
if (column.name === this.best.columns.x || column.stats.isSequential) continue;
if (column.quantitative || column.stats.distinctValueCount < $mKnoG.maxCategoricalColors && column.stats.distinctValueCount > 1) {
this.best.columns.color = this.best.columns.sort = column.name;
this.best.scheme = $mKnoG.defaultColorScheme(column);
this.best.scheme = (0, $mKnoG.defaultColorScheme)(column);
if (column.quantitative) this.best.colorBin = "quantile";
break;
}
Expand Down Expand Up @@ -243,16 +243,16 @@ var $482125d789b1323b$var$ScatterPlotRecommenderSummary = /** @class */ function
columns.forEach(function(column) {
if (!rec.columns.x) {
if (column.name.toLowerCase() === "x") return rec.columns.x = column.name;
else if ($a7afS.isLongitude(column)) return rec.columns.x = column.name;
else if ((0, $a7afS.isLongitude)(column)) return rec.columns.x = column.name;
}
if (!rec.columns.y) {
if (column.name.toLowerCase() === "y") return rec.columns.y = column.name;
else if ($a7afS.isLatitude(column)) return rec.columns.y = column.name;
else if ((0, $a7afS.isLatitude)(column)) return rec.columns.y = column.name;
}
if (!rec.columns.color && !column.stats.isSequential) {
if (column.quantitative || column.stats.distinctValueCount < $mKnoG.maxCategoricalColors) {
rec.columns.color = rec.columns.sort = column.name;
rec.scheme = $mKnoG.defaultColorScheme(column);
rec.scheme = (0, $mKnoG.defaultColorScheme)(column);
if (column.quantitative) rec.colorBin = "quantile";
return;
}
Expand Down Expand Up @@ -286,7 +286,7 @@ function $178167658ad4c5ea$var$preferredColumnForTreemapSize(columns, strict) {
if (c.quantitative) {
if (strict && c.stats.hasNegative) continue;
if (strict && c.stats.isSequential) continue;
if (strict && $a7afS.isGeo(c)) continue;
if (strict && (0, $a7afS.isGeo)(c)) continue;
return c;
}
}
Expand Down Expand Up @@ -38860,7 +38860,7 @@ const $8f1b85a9470d3af5$export$c4b7cd609ccf4a5a = (title, embed)=>`<!DOCTYPE htm
<body>
<script src="https://unpkg.com/react@17/umd/react.production.min.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js" crossorigin></script>
<script src="https://unpkg.com/vega@5.20/build/vega.min.js"></script>
<script src="https://unpkg.com/vega@5.22/build/vega.min.js"></script>
<script src="https://unpkg.com/@fluentui/react@8/dist/fluentui-react.js"></script>
<script src="https://unpkg.com/@msrvida/sanddance-explorer@4/dist/umd/sanddance-explorer.js"></script>
<script src="https://unpkg.com/@msrvida/sanddance-embed@4/dist/umd/sanddance-embed.js"></script>
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/docs/sanddance-explorer/v4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2>Installation</h2>
<p>Add these to the <code>dependencies</code> section of your <code>package.json</code>, then run <code>npm install</code>:</p>
<pre><code class="language-json"><span style="color: #A31515">&quot;@msrvida/sanddance-explorer&quot;</span><span style="color: #000000">: </span><span style="color: #A31515">&quot;^4&quot;</span><span style="color: #000000">,</span>
<span style="color: #A31515">&quot;@fluentui/react&quot;</span><span style="color: #000000">: </span><span style="color: #A31515">&quot;^8&quot;</span><span style="color: #000000">,</span>
<span style="color: #A31515">&quot;vega&quot;</span><span style="color: #000000">: </span><span style="color: #A31515">&quot;^5.20&quot;</span>
<span style="color: #A31515">&quot;vega&quot;</span><span style="color: #000000">: </span><span style="color: #A31515">&quot;^5.22&quot;</span>
</code></pre>
<p>Import these in your JavaScript:</p>
<pre><code class="language-js"><span style="color: #AF00DB">import</span><span style="color: #000000"> </span><span style="color: #0000FF">*</span><span style="color: #000000"> </span><span style="color: #AF00DB">as</span><span style="color: #000000"> </span><span style="color: #001080">fluentui</span><span style="color: #000000"> </span><span style="color: #AF00DB">from</span><span style="color: #000000"> </span><span style="color: #A31515">&#039;@fluentui/react&#039;</span><span style="color: #000000">;</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ <h2>Index</h2>
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="SandDance.VegaMorphCharts.types.BasicRendererOptions.html#antialias" class="tsd-kind-icon">antialias</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="SandDance.VegaMorphCharts.types.BasicRendererOptions.html#contextmenu" class="tsd-kind-icon">contextmenu</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="SandDance.VegaMorphCharts.types.BasicRendererOptions.html#height" class="tsd-kind-icon">height</a></li>
<li class="tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external"><a href="SandDance.VegaMorphCharts.types.BasicRendererOptions.html#width" class="tsd-kind-icon">width</a></li>
</ul>
Expand All @@ -70,6 +71,17 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> antialias</h3>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
<a name="contextmenu" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagOptional">Optional</span> contextmenu</h3>
<div class="tsd-signature tsd-kind-icon">contextmenu<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<aside class="tsd-sources">
<p>Inherited from Renderers.Basic.IRendererOptions.contextmenu</p>
<ul>
<li>Defined in vega-morphcharts/node_modules/morphcharts/dist/main.d.ts:24</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
<a name="height" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagOptional">Optional</span> height</h3>
Expand Down Expand Up @@ -167,6 +179,9 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> width</h3>
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
<a href="SandDance.VegaMorphCharts.types.BasicRendererOptions.html#antialias" class="tsd-kind-icon">antialias</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
<a href="SandDance.VegaMorphCharts.types.BasicRendererOptions.html#contextmenu" class="tsd-kind-icon">contextmenu</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-inherited tsd-is-external">
<a href="SandDance.VegaMorphCharts.types.BasicRendererOptions.html#height" class="tsd-kind-icon">height</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h3>bounds</h3>
<aside class="tsd-sources">
<p>Inherited from Scene.bounds</p>
<ul>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:2</li>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:4</li>
</ul>
</aside>
</section>
Expand All @@ -89,7 +89,7 @@ <h3>clip</h3>
<aside class="tsd-sources">
<p>Inherited from Scene.clip</p>
<ul>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:3</li>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:5</li>
</ul>
</aside>
</section>
Expand All @@ -100,7 +100,7 @@ <h3>interactive</h3>
<aside class="tsd-sources">
<p>Inherited from Scene.interactive</p>
<ul>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:4</li>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:6</li>
</ul>
</aside>
</section>
Expand All @@ -111,7 +111,7 @@ <h3>items</h3>
<aside class="tsd-sources">
<p>Inherited from Scene.items</p>
<ul>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:5</li>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:7</li>
</ul>
</aside>
</section>
Expand All @@ -122,7 +122,7 @@ <h3>marktype</h3>
<aside class="tsd-sources">
<p>Inherited from Scene.marktype</p>
<ul>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:6</li>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:8</li>
</ul>
</aside>
</section>
Expand All @@ -133,7 +133,7 @@ <h3>name</h3>
<aside class="tsd-sources">
<p>Inherited from Scene.name</p>
<ul>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:7</li>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:9</li>
</ul>
</aside>
</section>
Expand All @@ -144,7 +144,7 @@ <h3>role</h3>
<aside class="tsd-sources">
<p>Inherited from Scene.role</p>
<ul>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:8</li>
<li>Defined in chart-types/node_modules/vega-typings/types/runtime/scene.d.ts:10</li>
</ul>
</aside>
</section>
Expand Down
Loading

0 comments on commit 9300b00

Please sign in to comment.