This commit is contained in:
Adam 2023-04-16 19:07:30 -04:00
parent b781a564ea
commit 5985698e3e
5 changed files with 158 additions and 131 deletions

View file

@ -9,7 +9,7 @@
"devDependencies": {
"@types/node": "^18.15.11",
"esbuild": "^0.14.54",
"postcss": "^8.4.21",
"postcss": "^8.4.22",
"solid-start-node": "^0.2.26",
"typescript": "^4.9.5",
"vite": "^4.2.1"

218
lightning/pnpm-lock.yaml generated
View file

@ -40,8 +40,8 @@ devDependencies:
specifier: ^0.14.54
version: 0.14.54
postcss:
specifier: ^8.4.21
version: 8.4.21
specifier: ^8.4.22
version: 8.4.22
solid-start-node:
specifier: ^0.2.26
version: 0.2.26(solid-start@0.2.26)(undici@5.21.2)(vite@4.2.1)
@ -1209,80 +1209,80 @@ packages:
'@types/mapbox-gl': 2.7.10
dev: false
/@esbuild/android-arm64@0.17.16:
resolution: {integrity: sha512-QX48qmsEZW+gcHgTmAj+x21mwTz8MlYQBnzF6861cNdQGvj2jzzFjqH0EBabrIa/WVZ2CHolwMoqxVryqKt8+Q==}
/@esbuild/android-arm64@0.17.17:
resolution: {integrity: sha512-jaJ5IlmaDLFPNttv0ofcwy/cfeY4bh/n705Tgh+eLObbGtQBK3EPAu+CzL95JVE4nFAliyrnEu0d32Q5foavqg==}
engines: {node: '>=12'}
cpu: [arm64]
os: [android]
requiresBuild: true
optional: true
/@esbuild/android-arm@0.17.16:
resolution: {integrity: sha512-baLqRpLe4JnKrUXLJChoTN0iXZH7El/mu58GE3WIA6/H834k0XWvLRmGLG8y8arTRS9hJJibPnF0tiGhmWeZgw==}
/@esbuild/android-arm@0.17.17:
resolution: {integrity: sha512-E6VAZwN7diCa3labs0GYvhEPL2M94WLF8A+czO8hfjREXxba8Ng7nM5VxV+9ihNXIY1iQO1XxUU4P7hbqbICxg==}
engines: {node: '>=12'}
cpu: [arm]
os: [android]
requiresBuild: true
optional: true
/@esbuild/android-x64@0.17.16:
resolution: {integrity: sha512-G4wfHhrrz99XJgHnzFvB4UwwPxAWZaZBOFXh+JH1Duf1I4vIVfuYY9uVLpx4eiV2D/Jix8LJY+TAdZ3i40tDow==}
/@esbuild/android-x64@0.17.17:
resolution: {integrity: sha512-446zpfJ3nioMC7ASvJB1pszHVskkw4u/9Eu8s5yvvsSDTzYh4p4ZIRj0DznSl3FBF0Z/mZfrKXTtt0QCoFmoHA==}
engines: {node: '>=12'}
cpu: [x64]
os: [android]
requiresBuild: true
optional: true
/@esbuild/darwin-arm64@0.17.16:
resolution: {integrity: sha512-/Ofw8UXZxuzTLsNFmz1+lmarQI6ztMZ9XktvXedTbt3SNWDn0+ODTwxExLYQ/Hod91EZB4vZPQJLoqLF0jvEzA==}
/@esbuild/darwin-arm64@0.17.17:
resolution: {integrity: sha512-m/gwyiBwH3jqfUabtq3GH31otL/0sE0l34XKpSIqR7NjQ/XHQ3lpmQHLHbG8AHTGCw8Ao059GvV08MS0bhFIJQ==}
engines: {node: '>=12'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
optional: true
/@esbuild/darwin-x64@0.17.16:
resolution: {integrity: sha512-SzBQtCV3Pdc9kyizh36Ol+dNVhkDyIrGb/JXZqFq8WL37LIyrXU0gUpADcNV311sCOhvY+f2ivMhb5Tuv8nMOQ==}
/@esbuild/darwin-x64@0.17.17:
resolution: {integrity: sha512-4utIrsX9IykrqYaXR8ob9Ha2hAY2qLc6ohJ8c0CN1DR8yWeMrTgYFjgdeQ9LIoTOfLetXjuCu5TRPHT9yKYJVg==}
engines: {node: '>=12'}
cpu: [x64]
os: [darwin]
requiresBuild: true
optional: true
/@esbuild/freebsd-arm64@0.17.16:
resolution: {integrity: sha512-ZqftdfS1UlLiH1DnS2u3It7l4Bc3AskKeu+paJSfk7RNOMrOxmeFDhLTMQqMxycP1C3oj8vgkAT6xfAuq7ZPRA==}
/@esbuild/freebsd-arm64@0.17.17:
resolution: {integrity: sha512-4PxjQII/9ppOrpEwzQ1b0pXCsFLqy77i0GaHodrmzH9zq2/NEhHMAMJkJ635Ns4fyJPFOlHMz4AsklIyRqFZWA==}
engines: {node: '>=12'}
cpu: [arm64]
os: [freebsd]
requiresBuild: true
optional: true
/@esbuild/freebsd-x64@0.17.16:
resolution: {integrity: sha512-rHV6zNWW1tjgsu0dKQTX9L0ByiJHHLvQKrWtnz8r0YYJI27FU3Xu48gpK2IBj1uCSYhJ+pEk6Y0Um7U3rIvV8g==}
/@esbuild/freebsd-x64@0.17.17:
resolution: {integrity: sha512-lQRS+4sW5S3P1sv0z2Ym807qMDfkmdhUYX30GRBURtLTrJOPDpoU0kI6pVz1hz3U0+YQ0tXGS9YWveQjUewAJw==}
engines: {node: '>=12'}
cpu: [x64]
os: [freebsd]
requiresBuild: true
optional: true
/@esbuild/linux-arm64@0.17.16:
resolution: {integrity: sha512-8yoZhGkU6aHu38WpaM4HrRLTFc7/VVD9Q2SvPcmIQIipQt2I/GMTZNdEHXoypbbGao5kggLcxg0iBKjo0SQYKA==}
/@esbuild/linux-arm64@0.17.17:
resolution: {integrity: sha512-2+pwLx0whKY1/Vqt8lyzStyda1v0qjJ5INWIe+d8+1onqQxHLLi3yr5bAa4gvbzhZqBztifYEu8hh1La5+7sUw==}
engines: {node: '>=12'}
cpu: [arm64]
os: [linux]
requiresBuild: true
optional: true
/@esbuild/linux-arm@0.17.16:
resolution: {integrity: sha512-n4O8oVxbn7nl4+m+ISb0a68/lcJClIbaGAoXwqeubj/D1/oMMuaAXmJVfFlRjJLu/ZvHkxoiFJnmbfp4n8cdSw==}
/@esbuild/linux-arm@0.17.17:
resolution: {integrity: sha512-biDs7bjGdOdcmIk6xU426VgdRUpGg39Yz6sT9Xp23aq+IEHDb/u5cbmu/pAANpDB4rZpY/2USPhCA+w9t3roQg==}
engines: {node: '>=12'}
cpu: [arm]
os: [linux]
requiresBuild: true
optional: true
/@esbuild/linux-ia32@0.17.16:
resolution: {integrity: sha512-9ZBjlkdaVYxPNO8a7OmzDbOH9FMQ1a58j7Xb21UfRU29KcEEU3VTHk+Cvrft/BNv0gpWJMiiZ/f4w0TqSP0gLA==}
/@esbuild/linux-ia32@0.17.17:
resolution: {integrity: sha512-IBTTv8X60dYo6P2t23sSUYym8fGfMAiuv7PzJ+0LcdAndZRzvke+wTVxJeCq4WgjppkOpndL04gMZIFvwoU34Q==}
engines: {node: '>=12'}
cpu: [ia32]
os: [linux]
@ -1298,96 +1298,96 @@ packages:
dev: true
optional: true
/@esbuild/linux-loong64@0.17.16:
resolution: {integrity: sha512-TIZTRojVBBzdgChY3UOG7BlPhqJz08AL7jdgeeu+kiObWMFzGnQD7BgBBkWRwOtKR1i2TNlO7YK6m4zxVjjPRQ==}
/@esbuild/linux-loong64@0.17.17:
resolution: {integrity: sha512-WVMBtcDpATjaGfWfp6u9dANIqmU9r37SY8wgAivuKmgKHE+bWSuv0qXEFt/p3qXQYxJIGXQQv6hHcm7iWhWjiw==}
engines: {node: '>=12'}
cpu: [loong64]
os: [linux]
requiresBuild: true
optional: true
/@esbuild/linux-mips64el@0.17.16:
resolution: {integrity: sha512-UPeRuFKCCJYpBbIdczKyHLAIU31GEm0dZl1eMrdYeXDH+SJZh/i+2cAmD3A1Wip9pIc5Sc6Kc5cFUrPXtR0XHA==}
/@esbuild/linux-mips64el@0.17.17:
resolution: {integrity: sha512-2kYCGh8589ZYnY031FgMLy0kmE4VoGdvfJkxLdxP4HJvWNXpyLhjOvxVsYjYZ6awqY4bgLR9tpdYyStgZZhi2A==}
engines: {node: '>=12'}
cpu: [mips64el]
os: [linux]
requiresBuild: true
optional: true
/@esbuild/linux-ppc64@0.17.16:
resolution: {integrity: sha512-io6yShgIEgVUhExJejJ21xvO5QtrbiSeI7vYUnr7l+v/O9t6IowyhdiYnyivX2X5ysOVHAuyHW+Wyi7DNhdw6Q==}
/@esbuild/linux-ppc64@0.17.17:
resolution: {integrity: sha512-KIdG5jdAEeAKogfyMTcszRxy3OPbZhq0PPsW4iKKcdlbk3YE4miKznxV2YOSmiK/hfOZ+lqHri3v8eecT2ATwQ==}
engines: {node: '>=12'}
cpu: [ppc64]
os: [linux]
requiresBuild: true
optional: true
/@esbuild/linux-riscv64@0.17.16:
resolution: {integrity: sha512-WhlGeAHNbSdG/I2gqX2RK2gfgSNwyJuCiFHMc8s3GNEMMHUI109+VMBfhVqRb0ZGzEeRiibi8dItR3ws3Lk+cA==}
/@esbuild/linux-riscv64@0.17.17:
resolution: {integrity: sha512-Cj6uWLBR5LWhcD/2Lkfg2NrkVsNb2sFM5aVEfumKB2vYetkA/9Uyc1jVoxLZ0a38sUhFk4JOVKH0aVdPbjZQeA==}
engines: {node: '>=12'}
cpu: [riscv64]
os: [linux]
requiresBuild: true
optional: true
/@esbuild/linux-s390x@0.17.16:
resolution: {integrity: sha512-gHRReYsJtViir63bXKoFaQ4pgTyah4ruiMRQ6im9YZuv+gp3UFJkNTY4sFA73YDynmXZA6hi45en4BGhNOJUsw==}
/@esbuild/linux-s390x@0.17.17:
resolution: {integrity: sha512-lK+SffWIr0XsFf7E0srBjhpkdFVJf3HEgXCwzkm69kNbRar8MhezFpkIwpk0qo2IOQL4JE4mJPJI8AbRPLbuOQ==}
engines: {node: '>=12'}
cpu: [s390x]
os: [linux]
requiresBuild: true
optional: true
/@esbuild/linux-x64@0.17.16:
resolution: {integrity: sha512-mfiiBkxEbUHvi+v0P+TS7UnA9TeGXR48aK4XHkTj0ZwOijxexgMF01UDFaBX7Q6CQsB0d+MFNv9IiXbIHTNd4g==}
/@esbuild/linux-x64@0.17.17:
resolution: {integrity: sha512-XcSGTQcWFQS2jx3lZtQi7cQmDYLrpLRyz1Ns1DzZCtn898cWfm5Icx/DEWNcTU+T+tyPV89RQtDnI7qL2PObPg==}
engines: {node: '>=12'}
cpu: [x64]
os: [linux]
requiresBuild: true
optional: true
/@esbuild/netbsd-x64@0.17.16:
resolution: {integrity: sha512-n8zK1YRDGLRZfVcswcDMDM0j2xKYLNXqei217a4GyBxHIuPMGrrVuJ+Ijfpr0Kufcm7C1k/qaIrGy6eG7wvgmA==}
/@esbuild/netbsd-x64@0.17.17:
resolution: {integrity: sha512-RNLCDmLP5kCWAJR+ItLM3cHxzXRTe4N00TQyQiimq+lyqVqZWGPAvcyfUBM0isE79eEZhIuGN09rAz8EL5KdLA==}
engines: {node: '>=12'}
cpu: [x64]
os: [netbsd]
requiresBuild: true
optional: true
/@esbuild/openbsd-x64@0.17.16:
resolution: {integrity: sha512-lEEfkfsUbo0xC47eSTBqsItXDSzwzwhKUSsVaVjVji07t8+6KA5INp2rN890dHZeueXJAI8q0tEIfbwVRYf6Ew==}
/@esbuild/openbsd-x64@0.17.17:
resolution: {integrity: sha512-PAXswI5+cQq3Pann7FNdcpSUrhrql3wKjj3gVkmuz6OHhqqYxKvi6GgRBoaHjaG22HV/ZZEgF9TlS+9ftHVigA==}
engines: {node: '>=12'}
cpu: [x64]
os: [openbsd]
requiresBuild: true
optional: true
/@esbuild/sunos-x64@0.17.16:
resolution: {integrity: sha512-jlRjsuvG1fgGwnE8Afs7xYDnGz0dBgTNZfgCK6TlvPH3Z13/P5pi6I57vyLE8qZYLrGVtwcm9UbUx1/mZ8Ukag==}
/@esbuild/sunos-x64@0.17.17:
resolution: {integrity: sha512-V63egsWKnx/4V0FMYkr9NXWrKTB5qFftKGKuZKFIrAkO/7EWLFnbBZNM1CvJ6Sis+XBdPws2YQSHF1Gqf1oj/Q==}
engines: {node: '>=12'}
cpu: [x64]
os: [sunos]
requiresBuild: true
optional: true
/@esbuild/win32-arm64@0.17.16:
resolution: {integrity: sha512-TzoU2qwVe2boOHl/3KNBUv2PNUc38U0TNnzqOAcgPiD/EZxT2s736xfC2dYQbszAwo4MKzzwBV0iHjhfjxMimg==}
/@esbuild/win32-arm64@0.17.17:
resolution: {integrity: sha512-YtUXLdVnd6YBSYlZODjWzH+KzbaubV0YVd6UxSfoFfa5PtNJNaW+1i+Hcmjpg2nEe0YXUCNF5bkKy1NnBv1y7Q==}
engines: {node: '>=12'}
cpu: [arm64]
os: [win32]
requiresBuild: true
optional: true
/@esbuild/win32-ia32@0.17.16:
resolution: {integrity: sha512-B8b7W+oo2yb/3xmwk9Vc99hC9bNolvqjaTZYEfMQhzdpBsjTvZBlXQ/teUE55Ww6sg//wlcDjOaqldOKyigWdA==}
/@esbuild/win32-ia32@0.17.17:
resolution: {integrity: sha512-yczSLRbDdReCO74Yfc5tKG0izzm+lPMYyO1fFTcn0QNwnKmc3K+HdxZWLGKg4pZVte7XVgcFku7TIZNbWEJdeQ==}
engines: {node: '>=12'}
cpu: [ia32]
os: [win32]
requiresBuild: true
optional: true
/@esbuild/win32-x64@0.17.16:
resolution: {integrity: sha512-xJ7OH/nanouJO9pf03YsL9NAFQBHd8AqfrQd7Pf5laGyyTt/gToul6QYOA/i5i/q8y9iaM5DQFNTgpi995VkOg==}
/@esbuild/win32-x64@0.17.17:
resolution: {integrity: sha512-FNZw7H3aqhF9OyRQbDDnzUApDXfC1N6fgBhkqEO2jvYCJ+DxMTfZVqg3AX0R1khg1wHTBRD5SdcibSJ+XF6bFg==}
engines: {node: '>=12'}
cpu: [x64]
os: [win32]
@ -1638,7 +1638,7 @@ packages:
'@babel/runtime': 7.21.0
dev: false
/@rollup/plugin-commonjs@24.1.0(rollup@3.20.2):
/@rollup/plugin-commonjs@24.1.0(rollup@3.20.3):
resolution: {integrity: sha512-eSL45hjhCWI0jCCXcNtLVqM5N1JlBGvlFfY0m6oOYnLCJ6N0qEXoZql4sY2MOUArzhH4SA/qBpTxvvZp2Sc+DQ==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -1647,15 +1647,15 @@ packages:
rollup:
optional: true
dependencies:
'@rollup/pluginutils': 5.0.2(rollup@3.20.2)
'@rollup/pluginutils': 5.0.2(rollup@3.20.3)
commondir: 1.0.1
estree-walker: 2.0.2
glob: 8.1.0
is-reference: 1.2.1
magic-string: 0.27.0
rollup: 3.20.2
rollup: 3.20.3
/@rollup/plugin-json@6.0.0(rollup@3.20.2):
/@rollup/plugin-json@6.0.0(rollup@3.20.3):
resolution: {integrity: sha512-i/4C5Jrdr1XUarRhVu27EEwjt4GObltD7c+MkCIpO2QIbojw8MUs+CCTqOphQi3Qtg1FLmYt+l+6YeoIf51J7w==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -1664,10 +1664,10 @@ packages:
rollup:
optional: true
dependencies:
'@rollup/pluginutils': 5.0.2(rollup@3.20.2)
rollup: 3.20.2
'@rollup/pluginutils': 5.0.2(rollup@3.20.3)
rollup: 3.20.3
/@rollup/plugin-node-resolve@15.0.2(rollup@3.20.2):
/@rollup/plugin-node-resolve@15.0.2(rollup@3.20.3):
resolution: {integrity: sha512-Y35fRGUjC3FaurG722uhUuG8YHOJRJQbI6/CkbRkdPotSpDj9NtIN85z1zrcyDcCQIW4qp5mgG72U+gJ0TAFEg==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -1676,15 +1676,15 @@ packages:
rollup:
optional: true
dependencies:
'@rollup/pluginutils': 5.0.2(rollup@3.20.2)
'@rollup/pluginutils': 5.0.2(rollup@3.20.3)
'@types/resolve': 1.20.2
deepmerge: 4.3.1
is-builtin-module: 3.2.1
is-module: 1.0.0
resolve: 1.22.3
rollup: 3.20.2
rollup: 3.20.3
/@rollup/pluginutils@5.0.2(rollup@3.20.2):
/@rollup/pluginutils@5.0.2(rollup@3.20.3):
resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==}
engines: {node: '>=14.0.0'}
peerDependencies:
@ -1696,7 +1696,7 @@ packages:
'@types/estree': 1.0.0
estree-walker: 2.0.2
picomatch: 2.3.1
rollup: 3.20.2
rollup: 3.20.3
/@sideway/address@4.1.4:
resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==}
@ -1912,7 +1912,7 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
caniuse-lite: 1.0.30001478
caniuse-lite: 1.0.30001479
electron-to-chromium: 1.4.365
node-releases: 2.0.10
update-browserslist-db: 1.0.11(browserslist@4.21.5)
@ -1934,8 +1934,8 @@ packages:
resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==}
engines: {node: '>= 0.8'}
/caniuse-lite@1.0.30001478:
resolution: {integrity: sha512-gMhDyXGItTHipJj2ApIvR+iVB5hd0KP3svMWWXDvZOmjzJJassGLMfxRkQCSYgGd2gtdL/ReeiyvMSFD1Ss6Mw==}
/caniuse-lite@1.0.30001479:
resolution: {integrity: sha512-6nuRFim5dx8Eu2tO+KJ9PiBdPHs7WB5Hdf+klDcyefyEuOAcfhihIv7pS+JFknJLUiNQbm1AJYKm0c9QOlQS/Q==}
/chalk@2.4.2:
resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==}
@ -2241,7 +2241,7 @@ packages:
dev: true
optional: true
/esbuild-plugin-solid@0.5.0(esbuild@0.17.16)(solid-js@1.7.3):
/esbuild-plugin-solid@0.5.0(esbuild@0.17.17)(solid-js@1.7.3):
resolution: {integrity: sha512-ITK6n+0ayGFeDVUZWNMxX+vLsasEN1ILrg4pISsNOQ+mq4ljlJJiuXotInd+HE0MzwTcA9wExT1yzDE2hsqPsg==}
peerDependencies:
esbuild: '>=0.12'
@ -2250,7 +2250,7 @@ packages:
'@babel/core': 7.21.4
'@babel/preset-typescript': 7.21.4(@babel/core@7.21.4)
babel-preset-solid: 1.7.3(@babel/core@7.21.4)
esbuild: 0.17.16
esbuild: 0.17.17
solid-js: 1.7.3
transitivePeerDependencies:
- supports-color
@ -2320,34 +2320,34 @@ packages:
esbuild-windows-arm64: 0.14.54
dev: true
/esbuild@0.17.16:
resolution: {integrity: sha512-aeSuUKr9aFVY9Dc8ETVELGgkj4urg5isYx8pLf4wlGgB0vTFjxJQdHnNH6Shmx4vYYrOTLCHtRI5i1XZ9l2Zcg==}
/esbuild@0.17.17:
resolution: {integrity: sha512-/jUywtAymR8jR4qsa2RujlAF7Krpt5VWi72Q2yuLD4e/hvtNcFQ0I1j8m/bxq238pf3/0KO5yuXNpuLx8BE1KA==}
engines: {node: '>=12'}
hasBin: true
requiresBuild: true
optionalDependencies:
'@esbuild/android-arm': 0.17.16
'@esbuild/android-arm64': 0.17.16
'@esbuild/android-x64': 0.17.16
'@esbuild/darwin-arm64': 0.17.16
'@esbuild/darwin-x64': 0.17.16
'@esbuild/freebsd-arm64': 0.17.16
'@esbuild/freebsd-x64': 0.17.16
'@esbuild/linux-arm': 0.17.16
'@esbuild/linux-arm64': 0.17.16
'@esbuild/linux-ia32': 0.17.16
'@esbuild/linux-loong64': 0.17.16
'@esbuild/linux-mips64el': 0.17.16
'@esbuild/linux-ppc64': 0.17.16
'@esbuild/linux-riscv64': 0.17.16
'@esbuild/linux-s390x': 0.17.16
'@esbuild/linux-x64': 0.17.16
'@esbuild/netbsd-x64': 0.17.16
'@esbuild/openbsd-x64': 0.17.16
'@esbuild/sunos-x64': 0.17.16
'@esbuild/win32-arm64': 0.17.16
'@esbuild/win32-ia32': 0.17.16
'@esbuild/win32-x64': 0.17.16
'@esbuild/android-arm': 0.17.17
'@esbuild/android-arm64': 0.17.17
'@esbuild/android-x64': 0.17.17
'@esbuild/darwin-arm64': 0.17.17
'@esbuild/darwin-x64': 0.17.17
'@esbuild/freebsd-arm64': 0.17.17
'@esbuild/freebsd-x64': 0.17.17
'@esbuild/linux-arm': 0.17.17
'@esbuild/linux-arm64': 0.17.17
'@esbuild/linux-ia32': 0.17.17
'@esbuild/linux-loong64': 0.17.17
'@esbuild/linux-mips64el': 0.17.17
'@esbuild/linux-ppc64': 0.17.17
'@esbuild/linux-riscv64': 0.17.17
'@esbuild/linux-s390x': 0.17.17
'@esbuild/linux-x64': 0.17.17
'@esbuild/netbsd-x64': 0.17.17
'@esbuild/openbsd-x64': 0.17.17
'@esbuild/sunos-x64': 0.17.17
'@esbuild/win32-arm64': 0.17.17
'@esbuild/win32-ia32': 0.17.17
'@esbuild/win32-x64': 0.17.17
/escalade@3.1.1:
resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}
@ -2816,8 +2816,8 @@ packages:
'@polka/url': 1.0.0-next.21
trouter: 3.2.1
/postcss@8.4.21:
resolution: {integrity: sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==}
/postcss@8.4.22:
resolution: {integrity: sha512-XseknLAfRHzVWjCEtdviapiBtfLdgyzExD50Rg2ePaucEesyh8Wv4VPdW0nbyDa1ydbrAxV19jvMT4+LFmcNUA==}
engines: {node: ^10 || ^12 || >=14}
dependencies:
nanoid: 3.3.6
@ -2905,7 +2905,7 @@ packages:
resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
/rollup-plugin-visualizer@5.9.0(rollup@3.20.2):
/rollup-plugin-visualizer@5.9.0(rollup@3.20.3):
resolution: {integrity: sha512-bbDOv47+Bw4C/cgs0czZqfm8L82xOZssk4ayZjG40y9zbXclNk7YikrZTDao6p7+HDiGxrN0b65SgZiVm9k1Cg==}
engines: {node: '>=14'}
hasBin: true
@ -2917,21 +2917,21 @@ packages:
dependencies:
open: 8.4.2
picomatch: 2.3.1
rollup: 3.20.2
rollup: 3.20.3
source-map: 0.7.4
yargs: 17.7.1
/rollup-route-manifest@1.0.0(rollup@3.20.2):
/rollup-route-manifest@1.0.0(rollup@3.20.3):
resolution: {integrity: sha512-3CmcMmCLAzJDUXiO3z6386/Pt8/k9xTZv8gIHyXI8hYGoAInnYdOsFXiGGzQRMy6TXR1jUZme2qbdwjH2nFMjg==}
engines: {node: '>=8'}
peerDependencies:
rollup: '>=2.0.0'
dependencies:
rollup: 3.20.2
rollup: 3.20.3
route-sort: 1.0.0
/rollup@3.20.2:
resolution: {integrity: sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==}
/rollup@3.20.3:
resolution: {integrity: sha512-u6/O1X42CAZ79rbk+smyONJQLTpwFBL7InpRa/AVWia5lq60w5J/PUsVHCOgSolN0X9R2GjQ41fZm3x28Hk1lA==}
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
hasBin: true
optionalDependencies:
@ -3010,12 +3010,12 @@ packages:
undici: ^5.8.0
vite: '*'
dependencies:
'@rollup/plugin-commonjs': 24.1.0(rollup@3.20.2)
'@rollup/plugin-json': 6.0.0(rollup@3.20.2)
'@rollup/plugin-node-resolve': 15.0.2(rollup@3.20.2)
'@rollup/plugin-commonjs': 24.1.0(rollup@3.20.3)
'@rollup/plugin-json': 6.0.0(rollup@3.20.3)
'@rollup/plugin-node-resolve': 15.0.2(rollup@3.20.3)
compression: 1.7.4
polka: 1.0.0-next.22
rollup: 3.20.2
rollup: 3.20.3
sirv: 2.0.2
solid-start: 0.2.26(@solidjs/meta@0.28.4)(@solidjs/router@0.8.2)(solid-js@1.7.3)(solid-start-node@0.2.26)(vite@4.2.1)
terser: 5.16.9
@ -3074,15 +3074,15 @@ packages:
dequal: 2.0.3
dotenv: 16.0.3
es-module-lexer: 1.2.1
esbuild: 0.17.16
esbuild-plugin-solid: 0.5.0(esbuild@0.17.16)(solid-js@1.7.3)
esbuild: 0.17.17
esbuild-plugin-solid: 0.5.0(esbuild@0.17.17)(solid-js@1.7.3)
fast-glob: 3.2.12
get-port: 6.1.2
parse-multipart-data: 1.5.0
picocolors: 1.0.0
rollup: 3.20.2
rollup-plugin-visualizer: 5.9.0(rollup@3.20.2)
rollup-route-manifest: 1.0.0(rollup@3.20.2)
rollup: 3.20.3
rollup-plugin-visualizer: 5.9.0(rollup@3.20.3)
rollup-route-manifest: 1.0.0(rollup@3.20.3)
sade: 1.8.1
set-cookie-parser: 2.6.0
sirv: 2.0.2
@ -3091,7 +3091,7 @@ packages:
terser: 5.16.9
undici: 5.21.2
vite: 4.2.1(@types/node@18.15.11)
vite-plugin-inspect: 0.7.22(rollup@3.20.2)(vite@4.2.1)
vite-plugin-inspect: 0.7.22(rollup@3.20.3)(vite@4.2.1)
vite-plugin-solid: 2.7.0(solid-js@1.7.3)(vite@4.2.1)
wait-on: 6.0.1(debug@4.3.4)
transitivePeerDependencies:
@ -3250,14 +3250,14 @@ packages:
resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
engines: {node: '>= 0.8'}
/vite-plugin-inspect@0.7.22(rollup@3.20.2)(vite@4.2.1):
/vite-plugin-inspect@0.7.22(rollup@3.20.3)(vite@4.2.1):
resolution: {integrity: sha512-Z4y3MPuvn//0/XcpNLwTBqjfSt+c2utIFZu8Dw+nbR2HrPoIrKHedvSuqC8mLzxOpRKRoW60HWvZUDz8J2zRIA==}
engines: {node: '>=14'}
peerDependencies:
vite: ^3.1.0 || ^4.0.0
dependencies:
'@antfu/utils': 0.7.2
'@rollup/pluginutils': 5.0.2(rollup@3.20.2)
'@rollup/pluginutils': 5.0.2(rollup@3.20.3)
debug: 4.3.4
fs-extra: 11.1.1
picocolors: 1.0.0
@ -3311,10 +3311,10 @@ packages:
optional: true
dependencies:
'@types/node': 18.15.11
esbuild: 0.17.16
postcss: 8.4.21
esbuild: 0.17.17
postcss: 8.4.22
resolve: 1.22.3
rollup: 3.20.2
rollup: 3.20.3
optionalDependencies:
fsevents: 2.3.2

View file

@ -5,6 +5,8 @@ import { MapboxLayer } from '@deck.gl/mapbox/typed';
import { ArcLayer, ScatterplotLayer } from '@deck.gl/layers/typed';
import MapControls from './MapControls';
import MapScatLayer from './MapScatLayer';
import MapArcLayer from './MapArcLayer';
import type { JSX } from 'solid-js';
import type { MapOptions } from 'maplibre-gl';
@ -15,6 +17,9 @@ import 'maplibre-gl/dist/maplibre-gl.css';
function BadassMap(): JSX.Element {
const FANEUIL_HALL: number[] = [-71.05625, 42.36]
const GD_TAVERN: number[] = [-71.056922, 42.360919]
const BBC: number[] = [-71.103, 42.3145]
const GARDEN: number[] = [-71.062228, 42.366303]
const PR_HOUSE: number[] = [-71.053678, 42.363722]
const TILES_URL: string = 'https://api.maptiler.com/maps/024da34e-fa66-4cb3-8f5f-0466b51e972e/style.json?key=Ukl2QNcQUCPAwuelQOvM'
const options: MapOptions = {
@ -33,26 +38,36 @@ function BadassMap(): JSX.Element {
const [rotate, setRotate] = createSignal<boolean>(true);
const toggleRotate = () => setRotate<boolean>(!rotate());
const ARC_DATA = [
{ source: FANEUIL_HALL, target: GD_TAVERN },
{ source: FANEUIL_HALL, target: BBC },
{ source: FANEUIL_HALL, target: GARDEN },
{ source: FANEUIL_HALL, target: PR_HOUSE },
];
const arcLayer = new MapboxLayer({
id: 'deckgl-arc',
type: ArcLayer,
data: [
{ source: FANEUIL_HALL, target: GD_TAVERN },
],
data: ARC_DATA,
getSourcePosition: (d: any) => d.source,
getTargetPosition: (d: any) => d.target,
getSourceColor: [255, 208, 0],
getTargetColor: [0, 128, 255],
getWidth: 8,
getSourceColor: [200, 0, 0],
getTargetColor: [0, 230, 0],
getWidth: 6,
});
const SCATTER_DATA = [
{ coordinates: FANEUIL_HALL },
{ coordinates: GD_TAVERN },
{ coordinates: BBC },
{ coordinates: GARDEN },
{ coordinates: PR_HOUSE },
];
const scatterplotLayer = new MapboxLayer({
id: 'deckgl-scatterplot',
type: ScatterplotLayer,
data: [
{ coordinates: FANEUIL_HALL },
{ coordinates: GD_TAVERN },
],
data: SCATTER_DATA,
getPosition: (d: any) => d.coordinates,
getRadius: 30,
getFillColor: [255, 140, 0],
@ -76,17 +91,17 @@ function BadassMap(): JSX.Element {
hi
</Marker>
<MapControls />
<Camera
rotateViewport={rotate()}
reverse={true}
/>
<Show
when={rotate()}
fallback={<button onClick={toggleRotate}> Rotation On </button>}
>
<button onClick={toggleRotate}> Rotation Off </button>
</Show>
<Camera
rotateViewport={rotate()}
reverse={true}
/>
<Show
when={rotate()}
fallback={<button onClick={toggleRotate}> Rotation On </button>}
>
<button onClick={toggleRotate}> Rotation Off </button>
</Show>
<MapControls />
</MapGL >
);
};

View file

@ -0,0 +1,7 @@
import { ScatterplotLayer } from '@deck.gl/layers/typed';
function MapScatLayer(props): JSX.Element {
}
export default MapScatLayer;

View file

@ -27,6 +27,11 @@ export default function Home() {
Solid Map GL
</a>
</li>
<li>
<a href="https://deck.gl/" target="_blank">
deck.gl
</a>
</li>
</ul>
<img src='5Q14.gif' />
<p>