Skip to content

Commit

Permalink
chore(changeset): release packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and isaac-mason committed Oct 15, 2024
1 parent 98b833b commit 5227754
Show file tree
Hide file tree
Showing 21 changed files with 112 additions and 83 deletions.
9 changes: 0 additions & 9 deletions .changeset/kind-parrots-grin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thin-planes-guess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-toes-agree.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-clouds-pay.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/three-node-cjs-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"recast-navigation": "0.34.0",
"recast-navigation": "0.35.0",
"three": "^0.167.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/three-node-esm-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"recast-navigation": "0.34.0",
"recast-navigation": "0.35.0",
"three": "^0.167.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/three-vite-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "vite preview"
},
"dependencies": {
"recast-navigation": "0.34.0",
"recast-navigation": "0.35.0",
"three": "^0.169.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/three-vite-worker-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "vite preview"
},
"dependencies": {
"recast-navigation": "0.34.0",
"recast-navigation": "0.35.0",
"three": "^0.167.1"
},
"devDependencies": {
Expand Down
26 changes: 16 additions & 10 deletions packages/recast-navigation-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @recast-navigation/core

## 0.35.0

### Patch Changes

- @recast-navigation/wasm@0.35.0

## 0.34.0

### Patch Changes
Expand Down Expand Up @@ -178,7 +184,7 @@
old usage:

```ts
import { NavMesh, Crowd, NavMeshQuery } from "recast-navigation";
import { NavMesh, Crowd, NavMeshQuery } from 'recast-navigation';
const navMesh = new NavMesh();
Expand All @@ -194,7 +200,7 @@
new usage:

```ts
import { NavMesh, Crowd, NavMeshQuery } from "recast-navigation";
import { NavMesh, Crowd, NavMeshQuery } from 'recast-navigation';
const navMesh = new NavMesh();
Expand All @@ -219,18 +225,18 @@
Note that the other `wasm` flavor currently does not support node.js environments.

```ts
import { init } from "recast-navigation";
import { init } from 'recast-navigation';
// import the 'wasm' flavor - has a separate wasm file, not inlined
import RecastWasm from "@recast-navigation/wasm/wasm";
import RecastWasm from '@recast-navigation/wasm/wasm';
await init(RecastWasm);
```

It's still possible to use the inlined wasm flavor by not passing anything to `init` as before.

```ts
import { init } from "recast-navigation";
import { init } from 'recast-navigation';
// internally dynamically imports `@recast-navigation/wasm`
await init();
Expand Down Expand Up @@ -279,7 +285,7 @@
usage changed from:

```ts
import { Arrays } from "@recast-navigation/core";
import { Arrays } from '@recast-navigation/core';
Arrays.VertsArray;
Arrays.TrisArray;
Expand All @@ -297,7 +303,7 @@
TringleAreasArray,
ChunkIdsArray,
TileCacheData,
} from "@recast-navigation/core";
} from '@recast-navigation/core';
```

The `.copy` method now directly copies the data from the source array to the emscripten heap. This should improve performance when copying large arrays.
Expand Down Expand Up @@ -357,7 +363,7 @@
```ts
const path = navMeshQuery.computePath(
{ x: 0, y: 0, z: 0 }, // start position
{ x: 2, y: 0, z: 0 }, // end position
{ x: 2, y: 0, z: 0 } // end position
);
```

Expand All @@ -366,7 +372,7 @@
```ts
const { success, error, path } = navMeshQuery.computePath(
{ x: 0, y: 0, z: 0 }, // start position
{ x: 2, y: 0, z: 0 }, // end position
{ x: 2, y: 0, z: 0 } // end position
);
```

Expand Down Expand Up @@ -428,7 +434,7 @@
const { success, status, obstacle } = tileCache.addBoxObstacle(
position,
extent,
angle,
angle
);
```

Expand Down
4 changes: 2 additions & 2 deletions packages/recast-navigation-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]",
"url": "https://isaacmason.com/"
},
"version": "0.34.0",
"version": "0.35.0",
"license": "MIT",
"homepage": "https://github.com/isaac-mason/recast-navigation-js",
"bugs": {
Expand All @@ -27,7 +27,7 @@
"lint": "eslint src"
},
"dependencies": {
"@recast-navigation/wasm": "0.34.0"
"@recast-navigation/wasm": "0.35.0"
},
"devDependencies": {
"@babel/core": "^7.24.5",
Expand Down
12 changes: 10 additions & 2 deletions packages/recast-navigation-generators/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @recast-navigation/generators

## 0.35.0

### Patch Changes

- 4e63338: feat: add mergePositionsAndIndices
- @recast-navigation/core@0.35.0
- @recast-navigation/wasm@0.35.0

## 0.34.0

### Patch Changes
Expand Down Expand Up @@ -116,7 +124,7 @@
usage changed from:

```ts
import { Arrays } from "@recast-navigation/core";
import { Arrays } from '@recast-navigation/core';

Arrays.VertsArray;
Arrays.TrisArray;
Expand All @@ -134,7 +142,7 @@
TringleAreasArray,
ChunkIdsArray,
TileCacheData,
} from "@recast-navigation/core";
} from '@recast-navigation/core';
```

The `.copy` method now directly copies the data from the source array to the emscripten heap. This should improve performance when copying large arrays.
Expand Down
6 changes: 3 additions & 3 deletions packages/recast-navigation-generators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]",
"url": "https://isaacmason.com/"
},
"version": "0.34.0",
"version": "0.35.0",
"license": "MIT",
"homepage": "https://github.com/isaac-mason/recast-navigation-js",
"bugs": {
Expand All @@ -27,8 +27,8 @@
"lint": "eslint src"
},
"dependencies": {
"@recast-navigation/core": "0.34.0",
"@recast-navigation/wasm": "0.34.0"
"@recast-navigation/core": "0.35.0",
"@recast-navigation/wasm": "0.35.0"
},
"devDependencies": {
"@babel/core": "^7.24.5",
Expand Down
8 changes: 8 additions & 0 deletions packages/recast-navigation-playcanvas/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @recast-navigation/playcanvas

## 0.35.0

### Patch Changes

- Updated dependencies [4e63338]
- @recast-navigation/generators@0.35.0
- @recast-navigation/core@0.35.0

## 1.0.0

- Initial release!
6 changes: 3 additions & 3 deletions packages/recast-navigation-playcanvas/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@recast-navigation/playcanvas",
"description": "Utilities for using recast-navigation with PlayCanvas",
"version": "0.34.0",
"version": "0.35.0",
"license": "MIT",
"homepage": "https://github.com/isaac-mason/recast-navigation-js",
"bugs": {
Expand All @@ -22,8 +22,8 @@
"lint": "eslint src"
},
"dependencies": {
"@recast-navigation/core": "0.34.0",
"@recast-navigation/generators": "0.34.0"
"@recast-navigation/core": "0.35.0",
"@recast-navigation/generators": "0.35.0"
},
"devDependencies": {
"@babel/core": "^7.24.5",
Expand Down
13 changes: 13 additions & 0 deletions packages/recast-navigation-three/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @recast-navigation/three

## 0.35.0

### Minor Changes

- f9a09a2: feat: change three debug helpers to take required params as standalone constructor arguments
- 4e63338: feat: avoid cloning meshes and geometry in getPositionsAndIndices

### Patch Changes

- Updated dependencies [4e63338]
- @recast-navigation/generators@0.35.0
- @recast-navigation/core@0.35.0

## 0.34.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/recast-navigation-three/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]",
"url": "https://isaacmason.com/"
},
"version": "0.34.0",
"version": "0.35.0",
"license": "MIT",
"homepage": "https://github.com/isaac-mason/recast-navigation-js",
"bugs": {
Expand All @@ -27,8 +27,8 @@
"lint": "eslint src"
},
"dependencies": {
"@recast-navigation/core": "0.34.0",
"@recast-navigation/generators": "0.34.0"
"@recast-navigation/core": "0.35.0",
"@recast-navigation/generators": "0.35.0"
},
"peerDependencies": {
"@types/three": "0.x.x",
Expand Down
4 changes: 3 additions & 1 deletion packages/recast-navigation-wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @recast-navigation/wasm

## 0.35.0

## 0.34.0

## 0.33.0
Expand Down Expand Up @@ -88,7 +90,7 @@
const { success, status, obstacle } = tileCache.addBoxObstacle(
position,
extent,
angle,
angle
);
```

Expand Down
2 changes: 1 addition & 1 deletion packages/recast-navigation-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"email": "[email protected]",
"url": "https://isaacmason.com/"
},
"version": "0.34.0",
"version": "0.35.0",
"license": "MIT",
"homepage": "https://github.com/isaac-mason/recast-navigation-js",
"bugs": {
Expand Down
Loading

0 comments on commit 5227754

Please sign in to comment.