Skip to content

Commit

Permalink
Update to Rapier 0.20 (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz authored Jun 21, 2024
1 parent 34bd132 commit 06c3d90
Show file tree
Hide file tree
Showing 22 changed files with 524 additions and 69 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"javascript.format.enable": false,
"typescript.format.enable": false
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Unreleased

- Update to rapier 0.20 ([#281](https://github.com/dimforge/rapier.js/pull/281)), see [rapier's changelog](https://github.com/dimforge/rapier/blob/master/CHANGELOG.md#v0200-9-june-2024) for more context.

### 0.13.1 (2024-05-08)

#### Fixed
Expand Down
30 changes: 26 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion rapier2d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ required-features = ["dim2"]


[dependencies]
rapier2d = { version = "0.19.0", features = ["wasm-bindgen", "serde-serialize", "enhanced-determinism", "debug-render"] }
rapier2d = { version = "0.20.0", features = [
"wasm-bindgen",
"serde-serialize",
"enhanced-determinism",
"debug-render",
] }
ref-cast = "1"
wasm-bindgen = "0.2.90"
js-sys = "0.3"
Expand Down
2 changes: 2 additions & 0 deletions rapier2d/build_typescript.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#! /bin/sh

mkdir -p ./pkg/src
cp -r ../src.ts/* pkg/src/.
rm -f ./pkg/raw.ts
Expand Down
203 changes: 202 additions & 1 deletion rapier2d/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions rapier2d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
"scripts": {
"build": "npm run clean && npm run build:wasm && npm run build:ts && npm run build:doc",
"build:doc": "typedoc --tsconfig tsconfig_typedoc.json",
"build:wasm": "./build_rust.sh",
"build:ts": "./build_typescript.sh",
"build:wasm": "sh ./build_rust.sh",
"build:ts": "sh ./build_typescript.sh",
"clean": "rimraf pkg"
},
"devDependencies": {
"rimraf": "^3.0.2"
"rimraf": "^3.0.2",
"typedoc": "^0.25.13"
},
"dependencies": {
"wasm-pack": "^0.12.1"
Expand Down
7 changes: 6 additions & 1 deletion rapier3d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ required-features = ["dim3"]


[dependencies]
rapier3d = { version = "0.19.0", features = ["wasm-bindgen", "serde-serialize", "enhanced-determinism", "debug-render"] }
rapier3d = { version = "0.20.0", features = [
"wasm-bindgen",
"serde-serialize",
"enhanced-determinism",
"debug-render",
] }
ref-cast = "1"
wasm-bindgen = "^0.2.90"
js-sys = "0.3"
Expand Down
2 changes: 2 additions & 0 deletions rapier3d/build_typescript.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#! /bin/sh

mkdir -p ./pkg/src
cp -r ../src.ts/* pkg/src/.
rm -f ./pkg/raw.ts
Expand Down
Loading

0 comments on commit 06c3d90

Please sign in to comment.