Sync to released Jecs 0.6.0-nightly.20250526T001303Z (#75)

Reviewed-on: #75
This commit is contained in:
marked 2025-05-26 02:13:24 +02:00
parent e17caebbf1
commit 8d41db3390
7 changed files with 24 additions and 9 deletions

View file

@ -14,6 +14,21 @@ Just a stupidly fast Entity Component System
- Cache friendly [archetype/SoA](https://ajmmertens.medium.com/building-an-ecs-2-archetypes-and-vectorization-fe21690805f9) storage
- Rigorously [unit tested](https://github.com/Ukendio/jecs/actions/workflows/ci.yaml) for stability
### Installation
With [Wally](https://wally.run/):
```bash
jecs = "ukendio/jecs@0.6.0" # Inside wally.toml
```
With [pesde](https://pesde.dev/):
```bash
pesde add wally#ukendio/jecs@0.6.0
```
With [npm](https://www.npmjs.com/package/@rbxts/jecs) ([roblox-ts](https://roblox-ts.com/)):
```bash
npm i @rbxts/jecs
```
### Example
```lua

View file

@ -1,2 +1,2 @@
modified = ["addons/observers.luau"]
version = "0.6.0-nightly.20250520T001101Z"
modified = ["README.md"]
version = "0.6.0-nightly.20250526T001303Z"

View file

@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
license = "MIT"
name = "marked/jecs_nightly"
repository = "https://git.devmarked.win/marked/jecs-nightly"
version = "0.6.0-nightly.20250520T001101Z"
version = "0.6.0-nightly.20250526T001303Z"
[indices]
default = "https://github.com/pesde-pkg/index"

View file

@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
license = "MIT"
name = "marked/jecs_nightly"
repository = "https://git.devmarked.win/marked/jecs-nightly"
version = "0.6.0-nightly.20250520T001101Z"
version = "0.6.0-nightly.20250526T001303Z"
[indices]
default = "https://github.com/pesde-pkg/index"

View file

@ -1,2 +1,2 @@
passed = true
timestamp = "20250525T001139Z"
timestamp = "20250526T001305Z"

View file

@ -1,5 +1,5 @@
7.1 us  3 kB│ delete children of entity
9.1 us  1 kB│ remove friends of entity
7.7 us  3 kB│ delete children of entity
9.0 us  1 kB│ remove friends of entity
346 ns  10  B│ simple deletion of entity
repro
NONE│ 
@ -121,5 +121,5 @@
PASS│ #2
PASS│ #3
74/74 test cases passed in 31.217 ms.
74/74 test cases passed in 32.163 ms.
0 fails

View file

@ -5,4 +5,4 @@ license = "MIT"
name = "mark-marks/jecs-nightly"
realm = "shared"
registry = "https://github.com/UpliftGames/wally-index"
version = "0.6.0-nightly.20250520T001101Z"
version = "0.6.0-nightly.20250526T001303Z"