Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1,985 changes: 1,119 additions & 866 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,25 @@
"type": "module",
"exports": "./lib/NMRiumWrapper.js",
"files": [
"lib"
"lib",
"src"
],
"volta": {
"node": "22.14.0"
"node": "24.4.0"
},
"dependencies": {
"@blueprintjs/core": "^5.19.0",
"@blueprintjs/icons": "^5.22.0",
"@blueprintjs/core": "^6.0.0",
"@blueprintjs/icons": "^6.0.0",
"@blueprintjs/select": "^6.0.0",
"@emotion/styled": "^11.14.1",
"@vitejs/plugin-react": "^4.6.0",
"fifo-logger": "^1.0.0",
"filelist-utils": "^1.11.3",
"nmr-load-save": "^3.6.0",
"nmr-processing": "^19.0.1",
"nmrium": "^0.65.0",
"nmrium": "^0.65.1",
"openchemlib": "^9.6.0",
"react-science": "^18.1.0"
"react-science": "^19.1.0"
},
"scripts": {
"start": "vite --host localhost --port 3000 --open",
Expand All @@ -43,25 +45,25 @@
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@playwright/test": "^1.53.2",
"@playwright/test": "^1.54.1",
"@simbathesailor/use-what-changed": "^2.0.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.10",
"@types/node": "^24.0.14",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"cross-env": "^7.0.3",
"eslint": "^9.30.1",
"eslint-config-cheminfo-react": "^16.1.0",
"eslint-config-cheminfo-typescript": "^18.0.1",
"eslint": "^9.31.0",
"eslint-config-cheminfo-react": "^17.0.0",
"eslint-config-cheminfo-typescript": "^19.0.0",
"jest": "^30.0.4",
"prettier": "3.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^7.6.3",
"serve": "^14.2.4",
"typescript": "^5.8.3",
"vite": "^7.0.0",
"vite": "^7.0.4",
"vite-plugin-pwa": "^1.0.1"
}
}
}
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { PlaywrightTestConfig, ViewportSize } from '@playwright/test';
import { devices } from '@playwright/test';
import type { ViewportSize , PlaywrightTestConfig} from '@playwright/test';

const viewportOverride: ViewportSize = {
width: 1400,
Expand Down
4 changes: 2 additions & 2 deletions src/NMRiumWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { NMRiumData, NMRiumRefAPI, NMRiumChangeCb } from 'nmrium';
import type { NMRiumChangeCb, NMRiumData, NMRiumRefAPI } from 'nmrium';
import { NMRium } from 'nmrium';
import type { CSSProperties } from 'react';
import { useEffect, useState, useCallback, useRef } from 'react';
import { useCallback, useEffect, useRef, useState } from 'react';
import { RootLayout } from 'react-science/ui';

import events from './events/event.js';
Expand Down
2 changes: 1 addition & 1 deletion src/events/event.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { EventType, EventData } from './types.js';
import type { EventData, EventType } from './types.js';

const namespace = 'nmr-wrapper';

Expand Down
2 changes: 1 addition & 1 deletion src/events/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ type EventData<T extends EventType> = T extends 'data-change'
: T extends 'error'
? Error
: never;
export type { EventType, EventData };
export type { EventData, EventType };
2 changes: 1 addition & 1 deletion src/hooks/useLoadSpectra.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FifoLogger } from 'fifo-logger';
import { fileCollectionFromFiles } from 'filelist-utils';
import type { NmriumState, ParsingOptions, ViewState } from 'nmr-load-save';
import { read, readFromWebSource, CURRENT_EXPORT_VERSION } from 'nmr-load-save';
import { CURRENT_EXPORT_VERSION, read, readFromWebSource } from 'nmr-load-save';
import { useCallback, useMemo, useState } from 'react';

import events from '../events/event.js';
Expand Down
2 changes: 1 addition & 1 deletion test-e2e/core.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { test, expect } from '@playwright/test';
import { expect, test } from '@playwright/test';

import NmriumWrapperPage from './NmriumWrapperPage.js';

Expand Down
Loading
Loading