From d384cfec36173a3e448cb348a6ee15cd9bf3a8ed Mon Sep 17 00:00:00 2001 From: Jonathan Aquino Marcos Date: Fri, 16 Aug 2024 13:19:01 -0400 Subject: [PATCH] mapbox switch julia --- package-lock.json | 23 +++++++++++++++++++++++ package.json | 1 + work/julia-kwon/map.js | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 72dcce6..ecf1b34 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { + "config": "^3.3.12", "eleventy": "^1.0.7", "liquidjs": "^10.16.1" }, @@ -577,6 +578,17 @@ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "dev": true }, + "node_modules/config": { + "version": "3.3.12", + "resolved": "https://registry.npmjs.org/config/-/config-3.3.12.tgz", + "integrity": "sha512-Vmx389R/QVM3foxqBzXO8t2tUikYZP64Q6vQxGrsMpREeJc/aWRnPRERXWsYzOHAumx/AOoILWe6nU3ZJL+6Sw==", + "dependencies": { + "json5": "^2.2.3" + }, + "engines": { + "node": ">= 10.0.0" + } + }, "node_modules/constantinople": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-4.0.1.tgz", @@ -1407,6 +1419,17 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/jstransformer": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz", diff --git a/package.json b/package.json index df52716..b934089 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "js-yaml": "^4.1.0" }, "dependencies": { + "config": "^3.3.12", "eleventy": "^1.0.7", "liquidjs": "^10.16.1" } diff --git a/work/julia-kwon/map.js b/work/julia-kwon/map.js index eb75d66..28132dc 100644 --- a/work/julia-kwon/map.js +++ b/work/julia-kwon/map.js @@ -1,4 +1,4 @@ -mapboxgl.accessToken = config.mapboxToken; +mapboxgl.accessToken = "pk.eyJ1Ijoiamt3b244MzAiLCJhIjoiY2xqeGNobGU3MDRxZzNjbW1xOWk1YjY3ZiJ9.1lPT3kf1nZfkSqKpAyQDSA" // Initialize the Mapbox map const map = new mapboxgl.Map({