Commit Graph

60 Commits

Author SHA1 Message Date
Brandon Liu
a0ee7c4906 JS 3.0.0-alpha.1 (#340) 2024-01-31 14:28:25 +08:00
Brandon Liu
6638d040a5 linting and typing improvements [#287] (#337)
* Typing improvements [#287]

* rename FileApiSource to FileSource
* In a few cases we need to use any and biome-ignore. Deferring any restructuring here to js v4.
* replace prettier with biome
2024-01-31 12:22:25 +08:00
Brandon Liu
6bb1c68ead JS: make an ESM-only package, remove CommonJS [#287] (#336) 2024-01-30 13:00:34 +08:00
Brandon Liu
9a29c5a78a JS v3.0.0-alpha.0 (#334)
* JS v3.0.0-alpha.0

* Alpha package of new major version with ES6 modules as default in package.json. [#317, #248]

* bump JS examples to 3.0.0-alpha.0
2024-01-29 18:03:00 +08:00
Brandon Liu
22d7a58f36 replace esbuild runner with tsx (#333)
* also bump esbuild to latest version in all package.jsons
2024-01-29 17:51:42 +08:00
Brandon Liu
a6cbc1961e Continue linting fixes [#287] (#332)
* make use of ===, if branches, let/const, string templates, var names consistent style.
2024-01-29 17:41:12 +08:00
Brandon Liu
3b61cc8b49 apply automated linting fixes (#331) 2024-01-29 16:04:41 +08:00
Brandon Liu
5e41bd65ef Make package.json main es6 module instead of cjs [#317, #248] (#330)
* Make package.json main es6 module instead of cjs [#317, #248]

* remove use of package.json main, instead use exports for dual es6/cjs modules [#317, #248]

* replace esbuild-runner with tsx [#477]
2024-01-29 15:31:51 +08:00
Brandon Liu
8c282b90da js v2.11 (#260)
* js 2.11.0

* update examples
2023-09-28 15:14:50 +08:00
Brandon Liu
77c956d381 Replace compression polyfill ("Worker" related errors) (#222)
* replace compression-streams-polyfill with globalThis check [#167]

* work around web worker issue with decompression polyfill.

* js 2.10.0-beta.0

* js 2.10.0; update examples
2023-07-31 22:20:42 +08:00
Brandon Liu
181c9efb7e js 2.9; pass header bounds through maplibre protocol 2023-06-22 14:32:11 +08:00
Brandon Liu
6052ca2d57 js 2.8.0 2023-06-17 10:44:57 +08:00
Brandon Liu
db7ed668bb js 2.8.0-beta.0 2023-05-24 13:05:34 +08:00
Brandon Liu
b2aa3164fb use compression-stream-polyfill for faster, native gzip decompression [#97, #167] 2023-05-22 10:49:16 +08:00
Brandon Liu
21cb8b32bd js 2.7.2 2023-04-11 10:49:54 +02:00
Brandon Liu
1fe4545e85 js 2.7.1; update changelog 2023-03-13 14:34:15 +08:00
Brandon Liu
802f6aea4e run prettier on js/test; add prettier check to CI 2023-03-12 13:30:57 +08:00
Logan Houp
c07c73481b add prettierrc config file 2023-03-11 12:35:07 -05:00
Brandon Liu
4d8d1b0a21 js 2.7.0 2022-12-23 00:14:04 +08:00
Brandon Liu
9a79970851 js 2.6.1 2022-12-10 19:57:33 +08:00
Brandon Liu
577bd9ede7 js 2.6.0 2022-12-05 12:38:46 +08:00
Brandon Liu
37012d28c0 js 2.5.1 2022-12-02 12:52:49 +08:00
Brandon Liu
47d35484fc port tests to node 18 test module; remove zora dep 2022-11-22 20:38:14 +08:00
Brandon Liu
82bad64bd3 js 2.5.0 2022-11-21 19:48:16 +08:00
Brandon Liu
76063ccadb js 2.4.0 2022-10-27 15:32:59 +08:00
Brandon Liu
6a71f48f20 js v2.3.0 2022-10-24 12:29:43 +08:00
Brandon Liu
9000d6d1ba js 2.2.0 2022-10-17 21:20:37 +08:00
Brandon Liu
1933aeddd6 js 2.1.0 2022-10-14 00:08:51 +08:00
Brandon Liu
cf20dcd0ce js v2.0.0: rename protocol.tileFunc -> tile, CHANGELOG, README 2022-10-13 10:13:10 +08:00
Brandon Liu
f831dd113a fix testing command 2022-10-05 10:46:43 +08:00
Brandon Liu
3811ff9b1b js decoder 1.1.0
adds fflate dependency; maplibre decoder can read gzipped tiles [#41]
2022-07-07 12:36:16 +08:00
Brandon Liu
f31b8b2bca js 1.0.4 2022-05-17 14:08:44 +08:00
Brandon Liu
29b9a83e63 fix overwriting of dist/index.js when tsc declarations built 2022-05-17 14:08:24 +08:00
Brandon Liu
51c8ed1804 1.0.3 2022-03-08 16:30:09 +08:00
Brandon Liu
e898912327 fix dist filenames; add cjs build output 2022-03-08 16:29:52 +08:00
Brandon Liu
914999dd3d 1.0.2 fix package.json 2022-02-19 13:24:12 +08:00
Brandon Liu
73a9d37a89 js 1.0.1 2022-02-19 13:22:34 +08:00
Brandon Liu
1b9d9966f5 rename pmtiles.ts > index.ts to fix node-style module resolution 2022-02-19 13:21:35 +08:00
Blayne Chard
bed9372b3a format all typescript files with prettier 2022-02-17 19:27:36 +13:00
Brandon Liu
802b5e46fd re-prettier pmtiles.ts; add prettier task 2022-02-17 14:18:27 +08:00
Brandon Liu
bcb20299cd js library 1.0.0 preliminary port to typescript (breaking changes) 2022-02-17 13:31:03 +08:00
Brandon Liu
dc4cde0d1d source files for faster directory fetches [#26] 2022-01-30 20:03:08 +08:00
Brandon Liu
4931f58d85 js 0.5.0 2021-12-29 12:37:20 +08:00
Brandon Liu
36b982c553 js 0.4.0 2021-12-28 18:20:21 +08:00
Brandon Liu
d649aaf1d3 js 0.3.1 2021-06-18 13:17:17 +08:00
Brandon Liu
199e90429b js 0.3.0 2021-06-18 13:13:36 +08:00
Brandon Liu
959d573eb6 0.2.2 2021-06-03 12:26:07 +08:00
Brandon Liu
c6f801a1b3 esm target is built by esbuild so dependents don't need classProperties 2021-06-03 12:21:19 +08:00
Brandon Liu
9eae1b8452 js 0.2.1 2021-05-09 11:18:52 +08:00
Brandon Liu
a07144640f 0.2.0 2021-04-30 18:21:41 +08:00