screeps-clockwork 0.7.2 → 0.8.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/README.md +7 -4
- package/dist/index.js +949 -988
- package/dist/index.js.map +1 -1
- package/dist/screeps_clockwork.wasm +0 -0
- package/dist/src/index.d.ts +2 -2
- package/dist/src/wasm/screeps_clockwork.d.ts +637 -407
- package/dist/src/wasm/snippets/screeps-clockwork-869b2861045aa01b/inline0.d.ts +1 -0
- package/dist/src/wrappers/distanceMap.d.ts +24 -0
- package/dist/src/wrappers/multiroomDistanceMap.d.ts +10 -4
- package/dist/src/wrappers/path.d.ts +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -63,7 +63,10 @@ Dependencies to build and run the project:
|
|
|
63
63
|
curl https://sh.rustup.rs -sSf | sh
|
|
64
64
|
|
|
65
65
|
# Install wasm-pack
|
|
66
|
-
curl https://
|
|
66
|
+
curl https://wasm-bindgen.github.io/wasm-pack/installer/init.sh -sSf | sh
|
|
67
|
+
|
|
68
|
+
# Install Bacon for Rust watch builds
|
|
69
|
+
cargo install --locked bacon
|
|
67
70
|
|
|
68
71
|
# Add rust-src component
|
|
69
72
|
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
|
|
@@ -75,9 +78,9 @@ rustup default nightly
|
|
|
75
78
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
|
|
76
79
|
|
|
77
80
|
# Install node
|
|
78
|
-
nvm install
|
|
79
|
-
nvm use
|
|
80
|
-
nvm alias default
|
|
81
|
+
nvm install
|
|
82
|
+
nvm use
|
|
83
|
+
nvm alias default 24 # optional
|
|
81
84
|
|
|
82
85
|
# install project dependencies
|
|
83
86
|
npm install
|