Skip to content

Commit 950fb9e

Browse files
obiotclaude
andcommitted
Align tiled-inflate-plugin with melonJS build targets
- Set esbuild target to es2022 (matching melonjs) - Update Node.js engine requirement to >= 20 (matching melonjs) - Update peerDependencies to melonjs >= 18.0.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 499bbe4 commit 950fb9e

4 files changed

Lines changed: 43 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ UI
8282

8383
Level Editor
8484
- [Tiled](https://www.mapeditor.org) map format version +1.0 built-in support for easy level design
85-
- Uncompressed and [compressed](https://github.com/melonjs/tiled-inflate-plugin) Plain, Base64, CSV and JSON encoded XML tilemap loading
85+
- Uncompressed and [compressed](https://github.com/melonjs/melonJS/tree/master/packages/tiled-inflate-plugin) Plain, Base64, CSV and JSON encoded XML tilemap loading
8686
- Orthogonal, Isometric and Hexagonal maps (both normal and staggered)
8787
- Multiple layers (multiple background/foreground, collision and Image layers)
8888
- Parallax scrolling via Image layers
@@ -191,8 +191,8 @@ Plugins
191191
melonJS provides a plugin system allowing to extend the engine capabilities.
192192

193193
Here is the list of official plugins maintained by the melonJS team:
194-
- [debug-plugin](https://github.com/melonjs/debug-plugin) - a debug panel for inspecting game objects
195-
- [tiled-inflate-plugin](https://github.com/melonjs/tiled-inflate-plugin) - enable loading and parsing of zlib and gzip compressed [Tiled](https://www.mapeditor.org/) maps
194+
- [debug-plugin](https://github.com/melonjs/melonJS/tree/master/packages/debug-plugin) - a debug panel for inspecting game objects
195+
- [tiled-inflate-plugin](https://github.com/melonjs/melonJS/tree/master/packages/tiled-inflate-plugin) - enable loading and parsing of zlib, gzip and zstd compressed [Tiled](https://www.mapeditor.org/) maps
196196
- [spine-plugin](https://github.com/melonjs/spine-plugin) - [Spine](http://esotericsoftware.com) runtime integration to render Spine skeletal animations
197197

198198
If you wish to develop your own plugin, we also provide a [plugin template](https://github.com/melonjs/plugin-template) to help you get started.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Changelog
2+
3+
## 1.2.0
4+
5+
### New Features
6+
- Added zstd decompression support via [fzstd](https://github.com/101arrowz/fzstd)
7+
- Migrated to melonJS monorepo
8+
- Replaced rollup build with esbuild (matching other monorepo packages)
9+
10+
### Improvements
11+
- Fixed Uint32Array construction to account for byteOffset/byteLength
12+
- Set esbuild target to es2022
13+
- Updated Node.js engine requirement to >= 20
14+
15+
## 1.1.2
16+
17+
### Improvements
18+
- Updated dependencies
19+
20+
## 1.1.1
21+
22+
### Bug Fixes
23+
- Fix compatibility with melonJS version 15.2.1 and higher
24+
25+
## 1.1.0
26+
27+
### New Features
28+
- Add declaration files for TypeScript
29+
30+
## 1.0.3
31+
32+
### Bug Fixes
33+
- Fix package build distribution path in package.json
34+
35+
## 1.0.2
36+
37+
### Bug Fixes
38+
- Fix gzip compressed map support (thanks @bjorn)

packages/tiled-inflate-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"author": "Olivier Biot (AltByte Pte Ltd)",
2929
"funding": "https://github.com/sponsors/melonjs",
3030
"engines": {
31-
"node": ">= 19"
31+
"node": ">= 20"
3232
},
3333
"types": "./build/index.d.ts",
3434
"exports": {

packages/tiled-inflate-plugin/scripts/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const banner = [
1414
const buildOptions = {
1515
entryPoints: ["src/index.js"],
1616
external: ["melonjs"],
17+
target: "es2022",
1718
splitting: true,
1819
format: "esm",
1920
outdir: "build",

0 commit comments

Comments
 (0)