@hagicode/steamworks.js 0.1.6-dev.17 → 0.1.6-dev.18
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/README.md +24 -18
- package/dist/win64/steamworksjs.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,22 +2,28 @@
|
|
|
2
2
|
[](https://npmjs.com/package/@hagicode/steamworks.js)
|
|
3
3
|
[](https://opensource.org/licenses/MIT)
|
|
4
4
|
|
|
5
|
-
# Steamworks.js
|
|
5
|
+
# Steamworks.js (HagiCode fork)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Node.js and Electron bindings for the Steamworks SDK, maintained as a personal fork of [ceifa/steamworks.js](https://github.com/ceifa/steamworks.js).
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Introduction, guides and agent skills: **https://steamworks.hagicode.com/**
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## About this fork
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
This project is a fork of the upstream [steamworks.js](https://github.com/ceifa/steamworks.js) (Node/Electron bindings) and, through the `vendor/steamworks-rs` submodule, of [steamworks-rs](https://github.com/Noxime/steamworks-rs) (the Rust bindings it is built on). The Rust side lives in [HagiCode-org/steamworks-rs](https://github.com/HagiCode-org/steamworks-rs).
|
|
14
|
+
|
|
15
|
+
It exists for my own development work, not as a general replacement for upstream. It is shaped around two needs:
|
|
16
|
+
|
|
17
|
+
* **Working well with coding agents.** The repository carries agent guidance (`AGENTS.md`), task-oriented skills for Steam Workshop work (`steamworks-js/` and the `steamworks-workshop-*` folders), and a documentation site built from this README and those skills.
|
|
18
|
+
* **Covering the Steamworks features my projects use.** Workshop publishing and updates (additional previews, preview-only and content-only updates, item dependencies, per-language titles and descriptions), plus friends, stats and leaderboards, networking sockets/messages/utils, the server browser, timeline, screenshots and Remote Play.
|
|
19
|
+
|
|
20
|
+
What that means in practice:
|
|
21
|
+
|
|
22
|
+
* The npm package is [`@hagicode/steamworks.js`](https://npmjs.com/package/@hagicode/steamworks.js), not the unscoped `steamworks.js`, and it is released on its own schedule.
|
|
23
|
+
* Changes follow what I need, so there is no promise of staying in step with upstream. If you want the general-purpose library, use upstream.
|
|
24
|
+
* Upstream's history is kept. All credit for the original design and implementation goes to the upstream authors, and the MIT license with the original copyright notice (Gabriel Francisco Dos Santos) is kept in [LICENSE](./LICENSE). The Steamworks SDK files bundled through `vendor/steamworks-rs` are not covered by that license and remain under Valve's terms.
|
|
25
|
+
|
|
26
|
+
Bug reports and pull requests are still welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md).
|
|
21
27
|
|
|
22
28
|
## API
|
|
23
29
|
|
|
@@ -46,11 +52,11 @@ To use steamworks.js you don't have to build anything, just install it from npm:
|
|
|
46
52
|
npm i @hagicode/steamworks.js
|
|
47
53
|
```
|
|
48
54
|
|
|
49
|
-
Guides and agent skills are on the documentation site at https://steamworks.hagicode.com/.
|
|
55
|
+
Guides and agent skills are on the documentation site at https://steamworks.hagicode.com/. To try the latest build from `main`, install the `dev` dist-tag: `npm i @hagicode/steamworks.js@dev`.
|
|
50
56
|
|
|
51
|
-
### Migration from `steamworks.js`
|
|
57
|
+
### Migration from upstream `steamworks.js`
|
|
52
58
|
|
|
53
|
-
If you were using the unscoped `steamworks.js` package, update your `package.json`:
|
|
59
|
+
If you were using the unscoped upstream `steamworks.js` package and want this fork instead, update your `package.json`:
|
|
54
60
|
|
|
55
61
|
```json
|
|
56
62
|
{
|
|
@@ -88,7 +94,7 @@ For the production build, copy the relevant distro files from `sdk/redistributab
|
|
|
88
94
|
|
|
89
95
|
## How to build
|
|
90
96
|
|
|
91
|
-
> You **only** need to build if you are going to change something on
|
|
97
|
+
> You **only** need to build if you are going to change something on this fork's code. If you just want to use the library in your game, see the [installation section](#installation).
|
|
92
98
|
|
|
93
99
|
Make sure you have the latest [node.js](https://nodejs.org/en/), [Rust](https://www.rust-lang.org/tools/install) and [Clang](https://rust-lang.github.io/rust-bindgen/requirements.html). We also need [Steam](https://store.steampowered.com/about/) installed and running.
|
|
94
100
|
|
|
@@ -110,7 +116,7 @@ git submodule update --init --recursive
|
|
|
110
116
|
|
|
111
117
|
Install dependencies with `pnpm install` and then run `pnpm run build:debug` to build the library.
|
|
112
118
|
|
|
113
|
-
There is no way to build for all targets
|
|
119
|
+
There is no easy way to build for all targets locally, and you do not need to. Develop and test on your current target. When the code is merged to `main`, a GitHub Action builds every target and publishes a `dev` build.
|
|
114
120
|
|
|
115
121
|
### Testing Electron
|
|
116
122
|
|
|
@@ -472,7 +478,7 @@ client.cloud.setSyncPlatforms('save.json', 0 /* SyncPlatform.None */)
|
|
|
472
478
|
|
|
473
479
|
## Release Process
|
|
474
480
|
|
|
475
|
-
This
|
|
481
|
+
This fork has its own release line and publishes to npm as `@hagicode/steamworks.js`. It does not follow upstream's release numbers. Releases are automated:
|
|
476
482
|
|
|
477
483
|
- **Dev builds**: Every push to the `main` branch publishes a build to the npm `dev` dist-tag for testing
|
|
478
484
|
- **Release drafts**: Every push to `main` updates one draft GitHub release for the next `vX.Y.Z`, drafted by [hagi-release-drafter](https://github.com/HagiCode-org/hagi-release-drafter). It is never published automatically
|
|
Binary file
|