Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency typescript to v5.6.3 #5153

Merged
merged 29 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
83b60e8
chore(deps): update dependency typescript to v5.6.3
renovate[bot] Oct 21, 2024
003bbfe
update vue and vue-tsc as well
YohannParis Oct 21, 2024
72028e4
update fifo jupyter and csstype to help update ts
YohannParis Oct 21, 2024
870a8fd
small issue with ts update
YohannParis Oct 21, 2024
bdf2ffa
Update tera-optimize-ciemss-drilldown.vue
YohannParis Oct 21, 2024
e473662
remove unused features
YohannParis Oct 21, 2024
28a1624
Merge branch 'main' into renovate/typescript-5.x
YohannParis Oct 21, 2024
f8c94b2
Update yarn.lock
YohannParis Oct 21, 2024
0b113fb
remove kernel object
YohannParis Oct 21, 2024
4eed8c4
Merge branch 'main' into renovate/typescript-5.x
YohannParis Oct 21, 2024
d191e75
Remove CSS propeties support trick
YohannParis Oct 21, 2024
414b5fd
Revert "remove kernel object"
YohannParis Oct 21, 2024
ac8b54f
clean up
YohannParis Oct 21, 2024
86895ea
clean up
YohannParis Oct 21, 2024
a847e9c
remove unused console.log
YohannParis Oct 21, 2024
cc142cf
Merge branch 'main' into renovate/typescript-5.x
YohannParis Oct 21, 2024
920be03
update eslint and husky as well
YohannParis Oct 22, 2024
6e662f3
Merge branch 'main' into renovate/typescript-5.x
YohannParis Oct 22, 2024
401214e
Fix for jupyter typing
mattprintz Oct 22, 2024
d514549
Revert "update eslint and husky as well"
YohannParis Oct 22, 2024
77b1972
Merge branch 'main' into renovate/typescript-5.x
YohannParis Oct 22, 2024
c8fcda1
Merge remote-tracking branch 'origin/main' into renovate/typescript-5.x
mwdchang Oct 29, 2024
0e9586f
Merge branch 'main' into renovate/typescript-5.x
mwdchang Nov 6, 2024
f3bd783
revert jupyter update
mwdchang Nov 6, 2024
aaae185
revert jupyter changes
mwdchang Nov 6, 2024
0d1bdf0
linter
mwdchang Nov 7, 2024
bc9a8bf
Merge remote-tracking branch 'origin/main' into renovate/typescript-5.x
mwdchang Nov 7, 2024
9a6bbee
fix node_modules getting de-synced
mwdchang Nov 7, 2024
2f95ec6
linter
mwdchang Nov 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"husky": "8.0.3",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"prettier-plugin-java": "2.6.4",
"typescript": "5.4.5"
"prettier-plugin-java": "2.6.4"
}
}
2 changes: 1 addition & 1 deletion packages/client/graph-scaffolder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"npm-run-all2": "5.0.2",
"rimraf": "3.0.2",
"run-p": "0.0.0",
"typescript": "5.4.5",
"typescript": "5.6.3",
"yargs": "17.7.2"
}
}
6 changes: 3 additions & 3 deletions packages/client/hmi-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"vega": "5.30.0",
"vega-embed": "6.25.0",
"vega-lite": "5.19.0",
"vue": "3.5.3",
"vue": "3.5.12",
"vue-feather": "2.0.0",
"vue-gtag": "2.0.1",
"vue-router": "4.4.5",
Expand All @@ -88,10 +88,10 @@
"@vitejs/plugin-vue": "4.6.2",
"@vitest/coverage-c8": "0.24.5",
"jsdom": "24.1.3",
"typescript": "5.4.5",
"typescript": "5.6.3",
"vite": "5.4.10",
"vite-svg-loader": "4.0.0",
"vitest": "0.24.5",
"vue-tsc": "1.8.27"
"vue-tsc": "2.1.6"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ const saveAsNewDataset = async () => {
// newDataset.fileNames = [filename];
// const result = await createNewDataset(newDataset);

// import { KernelConnection as JupyterKernelConnection } from '@/services/jupyter';
const session = jupyterSession.session;
const kernel = session?.kernel as IKernelConnection;
const messageBody = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ const saveAsNewModel = async () => {
// newDataset.fileNames = [filename];
// const result = await createNewDataset(newDataset);

// import { KernelConnection as JupyterKernelConnection } from '@/services/jupyter';
const session = jupyterSession.session;
const kernel = session?.kernel as IKernelConnection;
const messageBody = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1244,13 +1244,12 @@ watch(
:deep(.failed-run main .content-container) {
border: 2px solid var(--error-color);
border-radius: var(--border-radius-big);
color: var(--error-color-text);
color: var(--error-message-color);
}

.successful-run {
border: none;
border-radius: none;
color: none;
border-radius: 0;
}

.form-section {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ const renderedRuns = computed<RunResults>(() => {
});

const lineWidthArray = computed(() => {
// If we have a meanline, make it bigger
// If we have a mean line, make it bigger
if (props.hasMeanLine) {
const output = Array(Math.max(Object.keys(renderedRuns.value).length - 1 ?? 0 - 1, 0)).fill(1);
const output = Array(Math.max((Object.keys(renderedRuns.value).length ?? 0) - 1, 0)).fill(1);
output.push(3);
return output;
}
Expand Down
18 changes: 10 additions & 8 deletions packages/client/hmi-client/src/services/jupyter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CodeMirrorMimeTypeService } from '@jupyterlab/codemirror';
import { standardRendererFactories as initialFactories, RenderMimeRegistry } from '@jupyterlab/rendermime';
import { JSONObject } from '@lumino/coreutils';
import * as messages from '@jupyterlab/services/lib/kernel/messages';
import * as kernel from '@jupyterlab/services/lib/kernel/kernel';
// import * as kernel from '@jupyterlab/services/lib/kernel/kernel';
import { KernelConnection as JupyterKernelConnection } from '@jupyterlab/services/lib/kernel';
import API from '@/api/api';
import { v4 as uuidv4 } from 'uuid';
Expand All @@ -20,15 +20,17 @@ declare module '@jupyterlab/services/lib/kernel/messages' {
declare module '@jupyterlab/services/lib/kernel/kernel' {
interface IKernelConnection {
sendJupyterMessage<T extends JupyterMessage>(msg: T): void;
sendShellMessage<T extends JupyterMessage>(msg: T): void;
}
}
declare module '@jupyterlab/services' {
class KernelConnection extends JupyterKernelConnection implements kernel.IKernelConnection {
sendJupyterMessage<T extends JupyterMessage>(msg: T): void;
sendShellMessage<T extends JupyterMessage>(msg: T): void;
}
}

// declare module '@jupyterlab/services' {
// class KernelConnection extends JupyterKernelConnection implements kernel.IKernelConnection {
// sendJupyterMessage<T extends JupyterMessage>(msg: T): void;
// sendShellMessage<T extends JupyterMessage>(msg: T): void;
// }
// }

// @ts-ignore: prototype stuff
JupyterKernelConnection.prototype.sendJupyterMessage = function (msg) {
return this.sendShellMessage(msg);
};
Expand Down
2 changes: 1 addition & 1 deletion packages/client/hmi-client/src/services/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ async function createProjectFromFile(file: File, progress?: Ref<number>) {
const icons = new Map<string | AssetType, string | Component>([
[AssetType.Document, 'file'],
[AssetType.Model, 'share-2'],
[AssetType.Dataset, DatasetIcon],
[AssetType.Dataset, DatasetIcon as Component],
[AssetType.Simulation, 'settings'],
[AssetType.Code, 'code'],
[AssetType.Workflow, 'git-merge'],
Expand Down
3 changes: 2 additions & 1 deletion packages/client/hmi-client/src/utils/FifoCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export class FIFOCache<T> {

// Expunge, keys are in insertion order thus making it fifo
if (this.cache.size > this.limit) {
this.cache.delete(this.cache.keys().next().value);
const firstKey = this.cache.keys().next().value;
if (firstKey) this.cache.delete(firstKey);
}
}
}
Loading