Skip to content

Commit

Permalink
refactor to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
sickelap committed Nov 24, 2023
1 parent 4346929 commit bd96b6e
Show file tree
Hide file tree
Showing 11 changed files with 338 additions and 392 deletions.
11 changes: 11 additions & 0 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"not op_mini all"
],
"dependencies": {
"es-abstract": "1.22.3",
"@badeball/cypress-cucumber-preprocessor": "^18.0.0",
"@dnd-kit/core": "6.0.8",
"@dnd-kit/sortable": "7.0.2",
Expand All @@ -59,6 +58,7 @@
"d3-hierarchy": "3.1.2",
"d3-shape": "3.2.0",
"dayjs": "1.11.10",
"es-abstract": "1.22.3",
"font-awesome": "4.7.0",
"gulp": "4.0.2",
"history": "5.3.0",
Expand Down Expand Up @@ -99,13 +99,13 @@
"react-router-dom": "6.16.0",
"react-sortable-tree": "2.8.0",
"react-sortable-tree-theme-file-explorer": "2.0.0",
"react-spring": "^9.2.3",
"react-virtualized": "9.22.5",
"react-virtualized-item-grid": "1.0.0",
"react-vis": "1.12.1",
"react-visibility-sensor": "5.1.1",
"redux": "4.2.1",
"redux-first-history": "5.1.1",
"react-spring": "^9.2.3",
"redux-persist": "6.0.0",
"redux-persist-transform-filter": "0.0.22",
"redux-thunk": "2.4.2",
Expand All @@ -130,6 +130,7 @@
"@types/react-leaflet": "^2.0.0",
"@types/react-modal": "3.16.2",
"@types/react-redux": "7.1.28",
"@types/react-virtualized": "^9.21.28",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@typescript-eslint/parser": "6.7.3",
"@welldone-software/why-did-you-render": "7.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/i18n.js → src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ i18n
interpolation: {
format: (value, format, lng) => {
if (value instanceof Date) {
// @ts-ignore
return DateTime.fromJSDate(value).setLocale(lng).toLocaleString(DateTime[format]);
}
return value;
Expand Down
259 changes: 0 additions & 259 deletions src/layouts/sharing/AlbumsShared.js

This file was deleted.

Loading

0 comments on commit bd96b6e

Please sign in to comment.