Skip to content

Commit

Permalink
Update build system, readme, and add debug logging to data storage (#207
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ThePhar authored Nov 4, 2024
2 parents bd18f1f + 3ed5176 commit 21370f4
Show file tree
Hide file tree
Showing 6 changed files with 1,897 additions and 1,140 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
![npm](https://img.shields.io/npm/v/archipelago.js?style=flat-square)
![npm](https://img.shields.io/npm/dm/archipelago.js?style=flat-square)

> This is the developer documentation for the legacy 1.x branch, if you are looking for the developer documentation for
> **2.0.0**, see [these docs](https://thephar.github.io/archipelago.js/v2.0/).
A general purpose library for communicating with Archipelago servers in Node.js or in the browser.

You can install it from npm or use a CDN to use it in browser.
Expand Down Expand Up @@ -456,5 +459,5 @@ The full API documentation is located [here](https://thephar.github.io/archipela
while you are developing your JavaScript-based clients.

This library supports 100% of the Archipelago network protocol referenced at
[here](https://github.com/ArchipelagoMW/Archipelago/blob/main/docs/network%20protocol.md) as of **2023-07-08**. See more
[here](https://github.com/ArchipelagoMW/Archipelago/blob/main/docs/network%20protocol.md) as of **2023-07-08** (0.4.2). See more
information about [Archipelago](https://archipelago.gg) at their website.
15 changes: 15 additions & 0 deletions build.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import dts from "bun-plugin-dts";

await Bun.build({
entrypoints: ["./src/index.ts"],
outdir: "./dist",
plugins: [dts()],
});

// Standalone.
await Bun.build({
entrypoints: ["./src/index.ts"],
outdir: "./dist",
naming: "[dir]/archipelago.min.[ext]",
minify: true,
});
Loading

0 comments on commit 21370f4

Please sign in to comment.