Skip to content

Commit

Permalink
chore(changeset): release packages (#262)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Feb 20, 2024
1 parent 68cb2b8 commit 636f67d
Show file tree
Hide file tree
Showing 18 changed files with 134 additions and 84 deletions.
5 changes: 0 additions & 5 deletions .changeset/eighty-swans-guess.md

This file was deleted.

27 changes: 0 additions & 27 deletions .changeset/light-mice-shop.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/lovely-oranges-nail.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/neat-parrots-prove.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/serious-rice-press.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/spicy-cooks-taste.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-cobras-marry.md

This file was deleted.

36 changes: 36 additions & 0 deletions packages/arancini-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# @arancini/core

## 6.5.0

### Minor Changes

- 68cb2b8: feat: remove world.id and world.entity

Computing ids based on object identity is easy to do in userland if required. See below:

```ts
let entityIdCounter = 0;
const entityToId = new Map<E, number>();
const idToEntity = new Map<number, E>();

const getEntityId = (entity: E) => {
let id = entityToId.get(entity);

if (id === undefined) {
id = entityIdCounter++;
entityToId.set(entity, id);
}

return id;
};

const getEntityById = (id: number) => idToEntity.get(id);
```

- 68cb2b8: feat: remove query.destroy(), use world.destroyQuery instead

### Patch Changes

- 68cb2b8: feat: normalize 'not' conditions
- 68cb2b8: fix: return correct type from world.create
- 68cb2b8: feat: minor refactors for iteration performance
- @arancini/events@6.5.0

## 6.4.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/arancini-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"packageManager": "yarn@3.2.1",
"author": "Isaac Mason <isaac@isaacmason.com>",
"license": "MIT",
"version": "6.4.0",
"version": "6.5.0",
"homepage": "https://github.com/isaac-mason/arancini",
"bugs": {
"url": "https://github.com/isaac-mason/arancini/issues"
Expand All @@ -22,7 +22,7 @@
"build:before": "rm -rf dist"
},
"dependencies": {
"@arancini/events": "6.4.0"
"@arancini/events": "6.5.0"
},
"devDependencies": {
"@isaac-mason/eslint-config-typescript": "^0.0.4",
Expand Down
2 changes: 2 additions & 0 deletions packages/arancini-events/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @arancini/events

## 6.5.0

## 6.4.0

## 6.3.2
Expand Down
2 changes: 1 addition & 1 deletion packages/arancini-events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"packageManager": "yarn@3.2.1",
"author": "Isaac Mason <isaac@isaacmason.com>",
"license": "MIT",
"version": "6.4.0",
"version": "6.5.0",
"homepage": "https://github.com/isaac-mason/arancini",
"bugs": {
"url": "https://github.com/isaac-mason/arancini/issues"
Expand Down
16 changes: 16 additions & 0 deletions packages/arancini-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @arancini/react

## 6.5.0

### Minor Changes

- 68cb2b8: feat: throw meaningful errors when using hooks and components outside of required contexts

### Patch Changes

- 68cb2b8: feat: improve performance by removing a state update and rerender when initially adding components
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- @arancini/core@6.5.0

## 6.4.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/arancini-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"packageManager": "yarn@3.2.1",
"author": "Isaac Mason <isaac@isaacmason.com>",
"license": "MIT",
"version": "6.4.0",
"version": "6.5.0",
"scripts": {
"test": "tsc && vitest run --coverage",
"test:watch": "vitest",
Expand All @@ -19,7 +19,7 @@
"build:before": "rm -rf dist"
},
"dependencies": {
"@arancini/core": "6.4.0"
"@arancini/core": "6.5.0"
},
"peerDependencies": {
"react": "^18.0.0",
Expand Down
11 changes: 11 additions & 0 deletions packages/arancini-systems/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @arancini/systems

## 6.5.0

### Patch Changes

- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- @arancini/core@6.5.0

## 6.4.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/arancini-systems/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"packageManager": "yarn@3.2.1",
"author": "Isaac Mason <isaac@isaacmason.com>",
"license": "MIT",
"version": "6.4.0",
"version": "6.5.0",
"homepage": "https://github.com/isaac-mason/arancini",
"bugs": {
"url": "https://github.com/isaac-mason/arancini/issues"
Expand All @@ -22,7 +22,7 @@
"build:before": "rm -rf dist"
},
"dependencies": {
"@arancini/core": "6.4.0"
"@arancini/core": "6.5.0"
},
"devDependencies": {
"@isaac-mason/eslint-config-typescript": "^0.0.4",
Expand Down
46 changes: 46 additions & 0 deletions packages/arancini/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# arancini

## 6.5.0

### Minor Changes

- 68cb2b8: feat: remove world.id and world.entity

Computing ids based on object identity is easy to do in userland if required. See below:

```ts
let entityIdCounter = 0;
const entityToId = new Map<E, number>();
const idToEntity = new Map<number, E>();

const getEntityId = (entity: E) => {
let id = entityToId.get(entity);

if (id === undefined) {
id = entityIdCounter++;
entityToId.set(entity, id);
}

return id;
};

const getEntityById = (id: number) => idToEntity.get(id);
```

- 68cb2b8: feat: remove query.destroy(), use world.destroyQuery instead

### Patch Changes

- 68cb2b8: feat: normalize 'not' conditions
- 68cb2b8: fix: return correct type from world.create
- 68cb2b8: feat: minor refactors for iteration performance
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- Updated dependencies [68cb2b8]
- @arancini/react@6.5.0
- @arancini/core@6.5.0
- @arancini/systems@6.5.0
- @arancini/events@6.5.0

## 6.4.0

### Minor Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/arancini/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"packageManager": "yarn@3.2.1",
"author": "Isaac Mason <isaac@isaacmason.com>",
"license": "MIT",
"version": "6.4.0",
"version": "6.5.0",
"homepage": "https://github.com/isaac-mason/arancini",
"bugs": {
"url": "https://github.com/isaac-mason/arancini/issues"
Expand All @@ -22,10 +22,10 @@
"build-storybook": "storybook build"
},
"dependencies": {
"@arancini/core": "6.4.0",
"@arancini/events": "6.4.0",
"@arancini/react": "6.4.0",
"@arancini/systems": "6.4.0"
"@arancini/core": "6.5.0",
"@arancini/events": "6.5.0",
"@arancini/react": "6.5.0",
"@arancini/systems": "6.5.0"
},
"peerDependencies": {
"react": "^18.0.0",
Expand Down
22 changes: 11 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ __metadata:
languageName: node
linkType: hard

"@arancini/core@npm:6.4.0, @arancini/core@workspace:packages/arancini-core":
"@arancini/core@npm:6.5.0, @arancini/core@workspace:packages/arancini-core":
version: 0.0.0-use.local
resolution: "@arancini/core@workspace:packages/arancini-core"
dependencies:
"@arancini/events": "npm:6.4.0"
"@arancini/events": "npm:6.5.0"
"@isaac-mason/eslint-config-typescript": "npm:^0.0.4"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-node-resolve": "npm:^15.0.1"
Expand All @@ -52,7 +52,7 @@ __metadata:
languageName: unknown
linkType: soft

"@arancini/events@npm:6.4.0, @arancini/events@workspace:packages/arancini-events":
"@arancini/events@npm:6.5.0, @arancini/events@workspace:packages/arancini-events":
version: 0.0.0-use.local
resolution: "@arancini/events@workspace:packages/arancini-events"
dependencies:
Expand All @@ -74,11 +74,11 @@ __metadata:
languageName: unknown
linkType: soft

"@arancini/react@npm:6.4.0, @arancini/react@workspace:packages/arancini-react":
"@arancini/react@npm:6.5.0, @arancini/react@workspace:packages/arancini-react":
version: 0.0.0-use.local
resolution: "@arancini/react@workspace:packages/arancini-react"
dependencies:
"@arancini/core": "npm:6.4.0"
"@arancini/core": "npm:6.5.0"
"@isaac-mason/eslint-config-typescript": "npm:^0.0.4"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-node-resolve": "npm:^15.0.1"
Expand All @@ -105,11 +105,11 @@ __metadata:
languageName: unknown
linkType: soft

"@arancini/systems@npm:6.4.0, @arancini/systems@workspace:packages/arancini-systems":
"@arancini/systems@npm:6.5.0, @arancini/systems@workspace:packages/arancini-systems":
version: 0.0.0-use.local
resolution: "@arancini/systems@workspace:packages/arancini-systems"
dependencies:
"@arancini/core": "npm:6.4.0"
"@arancini/core": "npm:6.5.0"
"@isaac-mason/eslint-config-typescript": "npm:^0.0.4"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-node-resolve": "npm:^15.0.1"
Expand Down Expand Up @@ -6288,10 +6288,10 @@ __metadata:
version: 0.0.0-use.local
resolution: "arancini@workspace:packages/arancini"
dependencies:
"@arancini/core": "npm:6.4.0"
"@arancini/events": "npm:6.4.0"
"@arancini/react": "npm:6.4.0"
"@arancini/systems": "npm:6.4.0"
"@arancini/core": "npm:6.5.0"
"@arancini/events": "npm:6.5.0"
"@arancini/react": "npm:6.5.0"
"@arancini/systems": "npm:6.5.0"
"@babel/preset-env": "npm:^7.23.7"
"@babel/preset-react": "npm:^7.22.15"
"@babel/preset-typescript": "npm:^7.23.3"
Expand Down

0 comments on commit 636f67d

Please sign in to comment.