diff --git a/package-lock.json b/package-lock.json index daa703d..7612b59 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,18 +35,14 @@ "leaflet": "^1.8.0", "prettier": "^3.0.0", "tslib": "^2.5.0", - "typescript": "^4.8.4", + "typescript": "^5.3.2", "vite": "latest", "vitest": "latest" }, - "engines": { - "node": ">=16.0.0" - }, "peerDependencies": { "@linkurious/ogma": "^4.5.1", "react": "^18.0.8", - "react-dom": "^18.0.8", - "typescript": "^4.8.4" + "react-dom": "^18.0.8" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -3251,20 +3247,6 @@ "node": ">=12" } }, - "node_modules/dts-bundle-generator/node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "node_modules/dts-bundle-generator/node_modules/yargs": { "version": "17.7.2", "resolved": "https://nexus3.linkurious.net/repository/npm/yargs/-/yargs-17.7.2.tgz", @@ -8479,9 +8461,9 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.3.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-5.3.2.tgz", + "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", "dev": true, "license": "Apache-2.0", "bin": { @@ -8489,7 +8471,7 @@ "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/ufo": { @@ -11397,12 +11379,6 @@ "wrap-ansi": "^7.0.0" } }, - "typescript": { - "version": "5.2.2", - "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "dev": true - }, "yargs": { "version": "17.7.2", "resolved": "https://nexus3.linkurious.net/repository/npm/yargs/-/yargs-17.7.2.tgz", @@ -14837,9 +14813,9 @@ } }, "typescript": { - "version": "4.9.5", - "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.3.2", + "resolved": "https://nexus3.linkurious.net/repository/npm/typescript/-/typescript-5.3.2.tgz", + "integrity": "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==", "dev": true }, "ufo": { @@ -15274,4 +15250,4 @@ "dev": true } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index b59d1be..10b47be 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "exports": { "import": "./dist/ogma-react.mjs", "require": "./dist/ogma-react.js", - "default": "./dist/ogma-react.mjs" + "default": "./dist/ogma-react.mjs", + "types": "./dist/index.d.ts" }, "files": [ "dist/*.d.ts", @@ -48,8 +49,7 @@ "peerDependencies": { "@linkurious/ogma": "^4.5.1", "react": "^18.0.8", - "react-dom": "^18.0.8", - "typescript": "^4.8.4" + "react-dom": "^18.0.8" }, "devDependencies": { "@geist-ui/core": "^2.3.8", @@ -75,7 +75,7 @@ "leaflet": "^1.8.0", "prettier": "^3.0.0", "tslib": "^2.5.0", - "typescript": "^4.8.4", + "typescript": "^5.3.2", "vite": "latest", "vitest": "latest" }, @@ -92,4 +92,4 @@ "dependencies": { "lodash.throttle": "^4.1.1" } -} +} \ No newline at end of file