Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove some unused files #2398

Merged
merged 4 commits into from
Mar 11, 2024
Merged

chore: remove some unused files #2398

merged 4 commits into from
Mar 11, 2024

Conversation

yonadaa
Copy link
Contributor

@yonadaa yonadaa commented Mar 8, 2024

These files are not referenced elsewhere in the codebase and cause type errors (surfaced in #2398), so we can remove them and simplify the codebase a tiny bit.

Copy link

changeset-bot bot commented Mar 8, 2024

🦋 Changeset detected

Latest commit: 80c6f3f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 31 packages
Name Type
@latticexyz/common Patch
@latticexyz/react Patch
@latticexyz/block-logs-stream Patch
@latticexyz/cli Patch
@latticexyz/config Patch
@latticexyz/dev-tools Patch
@latticexyz/faucet Patch
@latticexyz/protocol-parser Patch
@latticexyz/store-indexer Patch
@latticexyz/store-sync Patch
@latticexyz/store Patch
@latticexyz/world-modules Patch
@latticexyz/world Patch
@latticexyz/abi-ts Patch
create-mud Patch
@latticexyz/ecs-browser Patch
@latticexyz/gas-report Patch
@latticexyz/network Patch
@latticexyz/noise Patch
@latticexyz/phaserx Patch
@latticexyz/recs Patch
@latticexyz/schema-type Patch
@latticexyz/services Patch
@latticexyz/solecs Patch
solhint-config-mud Patch
solhint-plugin-mud Patch
@latticexyz/std-client Patch
@latticexyz/std-contracts Patch
@latticexyz/store-cache Patch
@latticexyz/utils Patch
mock-game-contracts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yonadaa yonadaa force-pushed the yonadaaa/remove-unused-files branch from 32eb946 to a1f5492 Compare March 8, 2024 17:40
@yonadaa yonadaa marked this pull request as ready for review March 8, 2024 18:15
@yonadaa yonadaa requested review from alvrs and holic as code owners March 8, 2024 18:15
holic
holic previously approved these changes Mar 8, 2024
@@ -1,3 +0,0 @@
export function identity<T>(value: T): T {
return value;
}
Copy link
Member

@holic holic Mar 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we leave this one? I assume this didn't cause TS issues

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure! no issues

export * from "./groupBy";
export * from "./identity";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prob need a changeset for removing exports

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True

@yonadaa yonadaa merged commit 01e46d9 into main Mar 11, 2024
11 checks passed
@yonadaa yonadaa deleted the yonadaaa/remove-unused-files branch March 11, 2024 14:50
"@latticexyz/react": patch
---

Removed some unused files, namely `curry` in `@latticexyz/common` and `useDeprecatedComputedValue` from `@latticexyz/react`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for future reference, you can create a changeset for each package with the package-specific changes so that we don't need the irrelevant change in another package's changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants