diff --git a/maplibre-gl-js b/maplibre-gl-js index f47e53cb5..925b85e33 160000 --- a/maplibre-gl-js +++ b/maplibre-gl-js @@ -1 +1 @@ -Subproject commit f47e53cb5a0411b5802a5ce5945997c597cb839e +Subproject commit 925b85e33790dd232570cff9fc5c5925d6a6cdc9 diff --git a/package-lock.json b/package-lock.json index 2d3a8e618..ce1928b4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,8 @@ "@mapbox/rehype-prism": "^0.5.0", "classnames": "^2.3.1", "fuse.js": "^5.2.3", - "rehype-slug": "^2.0.3" + "rehype-slug": "^2.0.3", + "typescript": "^4.5.5" }, "devDependencies": { "@babel/core": "^7.11.6", @@ -33728,6 +33729,18 @@ "is-typedarray": "^1.0.0" } }, + "node_modules/typescript": { + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", + "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, "node_modules/ua-parser-js": { "version": "0.7.23", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.23.tgz", @@ -63581,6 +63594,11 @@ "is-typedarray": "^1.0.0" } }, + "typescript": { + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", + "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==" + }, "ua-parser-js": { "version": "0.7.23", "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.23.tgz", diff --git a/package.json b/package.json index 55339df6f..cfb548077 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "scripts": { "lint": "eslint --ext .html docs/pages/example --ext .js .", "lint-md": "remark docs/pages/", - "install-gl-js-deps": "cd maplibre-gl-js/ && npm ci && npm run build-tsc", + "install-gl-js-deps": "cd maplibre-gl-js/ && npm ci && tsc --outDir rollup/build/tsc", "build-api": "documentation build --pe ts --re ts --re d.ts --github --format json --sort-order alpha --config ./docs/documentation.yml --output docs/components/api.json maplibre-gl-js/src/index.ts", "build-images": "mkdir -p docs/img/dist && node docs/bin/build-image-config.js && node docs/bin/appropriate-images.js --all", "build-docs": "run-s install-gl-js-deps build-api build-images", @@ -92,7 +92,8 @@ "@mapbox/rehype-prism": "^0.5.0", "classnames": "^2.3.1", "fuse.js": "^5.2.3", - "rehype-slug": "^2.0.3" + "rehype-slug": "^2.0.3", + "typescript": "^4.5.5" }, "jest": { "testPathIgnorePatterns": [