Skip to content

Commit

Permalink
Merge pull request #67 from Kanahiro/feat/poststyle
Browse files Browse the repository at this point in the history
feat: add POST endpoint to accept arbitary stylejson, refactor
  • Loading branch information
Kanahiro authored May 23, 2024
2 parents ac4aa1c + 955eefd commit fc3cff4
Show file tree
Hide file tree
Showing 9 changed files with 240 additions and 146 deletions.
98 changes: 53 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "chiitiler",
"version": "1.9.0",
"version": "1.10.0",
"description": "Tiny map rendering server for MapLibre Style Spec",
"main": "dist/main.js",
"scripts": {
Expand Down Expand Up @@ -29,12 +29,14 @@
"@mapbox/sphericalmercator": "^1.2.0",
"@mapbox/tilebelt": "^1.0.2",
"@maplibre/maplibre-gl-native": "^5.4.0",
"@maplibre/maplibre-gl-style-spec": "^20.2.0",
"better-sqlite3": "^9.6.0",
"commander": "^11.0.0",
"file-system-cache": "^2.4.4",
"generic-pool": "^3.9.0",
"hono": "^4.3.0",
"memory-cache-node": "^1.4.0",
"node-object-hash": "^3.0.0",
"pmtiles": "^3.0.5",
"sharp": "^0.32.5"
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import process from 'node:process';

import { program } from 'commander';

import { initServer, type InitServerOptions } from './server.js';
import { initServer, type InitServerOptions } from './server/index.js';
import * as caches from './cache/index.js';

function parseCacheStrategy(
Expand Down
Loading

0 comments on commit fc3cff4

Please sign in to comment.