From 133f0b32033e0266efa7f632d8e6c067689df97d Mon Sep 17 00:00:00 2001 From: jlahovnik Date: Tue, 7 Jan 2025 10:35:32 +0100 Subject: [PATCH] fix: config and dependencies --- .gitignore | 2 ++ .yarnrc.yml | 7 +++++-- package.json | 20 +++++++++++++++--- tsconfig.json | 1 + yarn.lock | 57 ++++++++++++++++++++++++++++----------------------- 5 files changed, 56 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 78c3034..f5a43ea 100644 --- a/.gitignore +++ b/.gitignore @@ -122,3 +122,5 @@ dmypy.json # IDE .idea/ + +.venv/ diff --git a/.yarnrc.yml b/.yarnrc.yml index 773e426..2dd5023 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,5 +1,8 @@ -enableImmutableInstalls: false +compressionLevel: mixed -nodeLinker: node-modules +enableGlobalCache: false yarnPath: .yarn/releases/yarn-3.8.7.cjs + +enableImmutableInstalls: false +nodeLinker: node-modules diff --git a/package.json b/package.json index c429041..e6e5393 100644 --- a/package.json +++ b/package.json @@ -48,15 +48,23 @@ "watch:src": "tsc -w" }, "dependencies": { + "@emotion/react": "^11.14.0", + "@emotion/sheet": "^1.4.0", "@fortawesome/fontawesome-svg-core": "6.2.0", "@fortawesome/free-solid-svg-icons": "6.2.0", "@fortawesome/react-fontawesome": "^0.2.0", "@jupyterlab/application": "^4.3.0", "@jupyterlab/apputils": "^4.4.0", "@jupyterlab/cells": "^4.3.0", + "@jupyterlab/coreutils": "^6.3.4", "@jupyterlab/notebook": "^4.3.0", + "@jupyterlab/services": "^7.3.4", "@jupyterlab/settingregistry": "^4.3.0", + "@jupyterlab/ui-components": "^4.3.4", + "@lumino/signaling": "^2.1.3", + "@lumino/widgets": "^2.5.0", "@terraformer/wkt": "^2.1.2", + "classnames": "^2.5.1", "install": "^0.13.0", "isomorphic-fetch": "^3.0.0", "leaflet": "1.8.0", @@ -75,8 +83,9 @@ "react-virtualized": "^9.22.4" }, "devDependencies": { - "@jupyterlab/builder": "^4.0.0", - "@types/classnames": "^2.3.1", + "@jupyterlab/builder": "^4.3.4", + "@types/classnames": "^2.3.4", + "@types/geojson": "^7946.0.15", "@types/isomorphic-fetch": "^0.0.36", "@types/json-schema": "^7.0.11", "@types/leaflet": "^1.7.11", @@ -93,6 +102,7 @@ "@types/react-virtualized": "^9.21.21", "@typescript-eslint/eslint-plugin": "^6.1.0", "@typescript-eslint/parser": "^6.1.0", + "corepack": "^0.30.0", "css-loader": "^6.7.1", "eslint": "^8.36.0", "eslint-config-prettier": "^8.8.0", @@ -208,5 +218,9 @@ "value-no-vendor-prefix": null } }, - "packageManager": "yarn@4.5.3" + "resolutions": { + "@types/react-dom": "18.3.5", + "@types/react": "^18.0.26" + }, + "packageManager": "yarn@3.8.7" } diff --git a/tsconfig.json b/tsconfig.json index c05ddbe..2a1589e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "esModuleInterop": true, "incremental": true, "jsx": "react", + "lib": ["es2020", "dom"], "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, diff --git a/yarn.lock b/yarn.lock index 96c59b2..114851a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -468,7 +468,7 @@ __metadata: languageName: node linkType: hard -"@emotion/react@npm:^11.8.1": +"@emotion/react@npm:^11.14.0, @emotion/react@npm:^11.8.1": version: 11.14.0 resolution: "@emotion/react@npm:11.14.0" dependencies: @@ -856,7 +856,7 @@ __metadata: languageName: node linkType: hard -"@jupyterlab/builder@npm:^4.0.0": +"@jupyterlab/builder@npm:^4.3.4": version: 4.3.4 resolution: "@jupyterlab/builder@npm:4.3.4" dependencies: @@ -1826,7 +1826,7 @@ __metadata: languageName: node linkType: hard -"@types/classnames@npm:^2.3.1": +"@types/classnames@npm:^2.3.4": version: 2.3.4 resolution: "@types/classnames@npm:2.3.4" dependencies: @@ -1871,7 +1871,7 @@ __metadata: languageName: node linkType: hard -"@types/geojson@npm:*": +"@types/geojson@npm:*, @types/geojson@npm:^7946.0.15": version: 7946.0.15 resolution: "@types/geojson@npm:7946.0.15" checksum: 226d7ab59540632b19f7889c76c4c586a5104c18c43a81f32974aa035eafe557f86bd5a79ca5568bb63cbe5bfa9014c8e9a29cb0bb3d2f0bd71b0cc13ad8ccb3 @@ -1983,16 +1983,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:*": - version: 19.0.2 - resolution: "@types/react-dom@npm:19.0.2" - peerDependencies: - "@types/react": ^19.0.0 - checksum: d2ae81ec0b8eee7a4bf31918796fdaa34e8db68f69682163bc212d759de76783e6ffcc02c02722dcf508429067148841e6da81414cc730ca2a28c9c2b350c880 - languageName: node - linkType: hard - -"@types/react-dom@npm:^18.3": +"@types/react-dom@npm:18.3.5": version: 18.3.5 resolution: "@types/react-dom@npm:18.3.5" peerDependencies: @@ -2051,15 +2042,6 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*": - version: 19.0.3 - resolution: "@types/react@npm:19.0.3" - dependencies: - csstype: ^3.0.2 - checksum: a6c2bcd032522f5c041601a0df1c56288ad66c7973fa672b6c375334dd93295a4d1bfebf9c3498bafb86525f1fd8f4d58175267ed41ef5534b64ba28bd274bb6 - languageName: node - linkType: hard - "@types/react@npm:^18.0.26": version: 18.3.18 resolution: "@types/react@npm:18.3.18" @@ -2795,7 +2777,7 @@ __metadata: languageName: node linkType: hard -"classnames@npm:*, classnames@npm:^2.2.6, classnames@npm:^2.3.0": +"classnames@npm:*, classnames@npm:^2.2.6, classnames@npm:^2.3.0, classnames@npm:^2.5.1": version: 2.5.1 resolution: "classnames@npm:2.5.1" checksum: da424a8a6f3a96a2e87d01a432ba19315503294ac7e025f9fece656db6b6a0f7b5003bb1fbb51cbb0d9624d964f1b9bb35a51c73af9b2434c7b292c42231c1e5 @@ -2924,6 +2906,19 @@ __metadata: languageName: node linkType: hard +"corepack@npm:^0.30.0": + version: 0.30.0 + resolution: "corepack@npm:0.30.0" + bin: + corepack: ./dist/corepack.js + pnpm: ./dist/pnpm.js + pnpx: ./dist/pnpx.js + yarn: ./dist/yarn.js + yarnpkg: ./dist/yarnpkg.js + checksum: 3439f4ce4ed90d0c734af8c964a8091b4d7cb9d884381cf842474293afe9fd9da7735f1dc960f2a09fc6906ba78a91c7c77c822f552dab11de22c04d2870126e + languageName: node + linkType: hard + "cosmiconfig@npm:^7.0.0": version: 7.1.0 resolution: "cosmiconfig@npm:7.1.0" @@ -3346,17 +3341,25 @@ __metadata: version: 0.0.0-use.local resolution: "eodag-labextension@workspace:." dependencies: + "@emotion/react": ^11.14.0 + "@emotion/sheet": ^1.4.0 "@fortawesome/fontawesome-svg-core": 6.2.0 "@fortawesome/free-solid-svg-icons": 6.2.0 "@fortawesome/react-fontawesome": ^0.2.0 "@jupyterlab/application": ^4.3.0 "@jupyterlab/apputils": ^4.4.0 - "@jupyterlab/builder": ^4.0.0 + "@jupyterlab/builder": ^4.3.4 "@jupyterlab/cells": ^4.3.0 + "@jupyterlab/coreutils": ^6.3.4 "@jupyterlab/notebook": ^4.3.0 + "@jupyterlab/services": ^7.3.4 "@jupyterlab/settingregistry": ^4.3.0 + "@jupyterlab/ui-components": ^4.3.4 + "@lumino/signaling": ^2.1.3 + "@lumino/widgets": ^2.5.0 "@terraformer/wkt": ^2.1.2 - "@types/classnames": ^2.3.1 + "@types/classnames": ^2.3.4 + "@types/geojson": ^7946.0.15 "@types/isomorphic-fetch": ^0.0.36 "@types/json-schema": ^7.0.11 "@types/leaflet": ^1.7.11 @@ -3373,6 +3376,8 @@ __metadata: "@types/react-virtualized": ^9.21.21 "@typescript-eslint/eslint-plugin": ^6.1.0 "@typescript-eslint/parser": ^6.1.0 + classnames: ^2.5.1 + corepack: ^0.30.0 css-loader: ^6.7.1 eslint: ^8.36.0 eslint-config-prettier: ^8.8.0