@gaialabs/core 0.1.18 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +0 -22
- package/dist/index.d.mts +1619 -122
- package/dist/index.d.ts +1619 -122
- package/dist/index.js +4088 -761
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3937 -695
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -19
- package/dist/browser.d.mts +0 -2
- package/dist/browser.d.ts +0 -2
- package/dist/browser.js +0 -4
- package/dist/browser.js.map +0 -1
- package/dist/browser.mjs +0 -3
- package/dist/browser.mjs.map +0 -1
- package/dist/node.d.mts +0 -2
- package/dist/node.d.ts +0 -2
- package/dist/node.js +0 -4
- package/dist/node.js.map +0 -1
- package/dist/node.mjs +0 -3
- package/dist/node.mjs.map +0 -1
- package/dist/worker.d.mts +0 -2
- package/dist/worker.d.ts +0 -2
- package/dist/worker.js +0 -4
- package/dist/worker.js.map +0 -1
- package/dist/worker.mjs +0 -3
- package/dist/worker.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -3,25 +3,3 @@
|
|
|
3
3
|
Core ROM processing engine for the GaiaLabs platform.
|
|
4
4
|
|
|
5
5
|
This package exposes TypeScript libraries for reading, writing and rebuilding ROMs. It runs in both Node.js and the browser and is referenced by the studio and API applications.
|
|
6
|
-
|
|
7
|
-
See the [project root README](../../README.md) for an overview of the monorepo.
|
|
8
|
-
|
|
9
|
-
## Directory overview
|
|
10
|
-
|
|
11
|
-
- `assembly/` – CPU opcode helpers and stack/register utilities.
|
|
12
|
-
- `compression/` – compression providers such as `QuintetLZ` with tests.
|
|
13
|
-
- `rom/` – project parsing, extraction and rebuild pipeline.
|
|
14
|
-
- `sprites/` – sprite map and frame helpers.
|
|
15
|
-
- `api/` – high-level `ProjectManager` and `RomProcessor` classes.
|
|
16
|
-
- `__tests__/` – vitest unit tests.
|
|
17
|
-
|
|
18
|
-
## Common commands
|
|
19
|
-
|
|
20
|
-
```bash
|
|
21
|
-
pnpm dev # build in watch mode with tsup
|
|
22
|
-
pnpm build # output ESM/CJS bundles
|
|
23
|
-
pnpm test # run unit tests with vitest
|
|
24
|
-
pnpm type-check # run the TypeScript compiler
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
The original C# implementation lives under `ext/GaiaLib` and serves as a reference.
|