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: delete std-contracts package #1341

Merged
merged 4 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/brown-icons-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@latticexyz/cli": patch
"@latticexyz/std-contracts": major
---

Removes `std-contracts` package. These were v1 contracts, now entirely replaced by our v2 tooling. See the [MUD docs](https://mud.dev/) for building with v2 or create a new project from our v2 templates with `pnpm create mud@next your-app-name`.
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@latticexyz/schema-type": "workspace:*",
"@latticexyz/services": "workspace:*",
"@latticexyz/solecs": "workspace:*",
"@latticexyz/std-contracts": "workspace:*",
"@latticexyz/store": "workspace:*",
"@latticexyz/utils": "workspace:*",
"@latticexyz/world": "workspace:*",
Expand Down
9 changes: 0 additions & 9 deletions packages/std-contracts/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions packages/std-contracts/.npmignore

This file was deleted.

8 changes: 0 additions & 8 deletions packages/std-contracts/.solhint.json

This file was deleted.

442 changes: 0 additions & 442 deletions packages/std-contracts/CHANGELOG.md

This file was deleted.

7 changes: 0 additions & 7 deletions packages/std-contracts/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions packages/std-contracts/exports.txt

This file was deleted.

10 changes: 0 additions & 10 deletions packages/std-contracts/foundry.toml

This file was deleted.

19 changes: 0 additions & 19 deletions packages/std-contracts/hardhat.config.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/std-contracts/index.ts

This file was deleted.

32 changes: 1 addition & 31 deletions packages/std-contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,5 @@
{
"name": "@latticexyz/std-contracts",
"version": "2.0.0-next.3",
"description": "MUD Contracts Standard Library",
"repository": {
"type": "git",
"url": "https://github.com/latticexyz/mud.git",
"directory": "packages/std-contracts"
},
"license": "MIT",
"types": "./types/ethers-contracts/",
"scripts": {
"build": "pnpm run build:abi && pnpm run build:typechain",
"build:abi": "forge build --extra-output-files abi --out abi --skip test script",
"build:typechain": "typechain --target ethers-v5 'abi/**/*.sol/!(*.abi).json'",
"clean": "pnpm run clean:abi && pnpm run clean:typechain",
"clean:abi": "rimraf abi",
"clean:typechain": "rimraf types",
"lint": "solhint --config ./.solhint.json 'src/**/*.sol'",
"test": "forge test"
},
"devDependencies": {
"@latticexyz/solecs": "workspace:*",
"@solidstate/contracts": "^0.0.52",
"@typechain/ethers-v5": "^10.2.0",
"ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0",
"forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1",
"hardhat": "^2.10.2",
"memmove": "https://github.com/dk1a/memmove.git#ffd71cd77b1708574ef46a667b23ca3a5cc9fa27",
"solhint": "^3.3.7",
"solmate": "https://github.com/transmissions11/solmate.git#9cf1428245074e39090dceacb0c28b1f684f584c",
"typechain": "^8.1.1"
},
"gitHead": "914a1e0ae4a573d685841ca2ea921435057deb8f"
"private": true
}
6 changes: 0 additions & 6 deletions packages/std-contracts/remappings.txt

This file was deleted.

24 changes: 0 additions & 24 deletions packages/std-contracts/src/components/AddressBareComponent.sol

This file was deleted.

28 changes: 0 additions & 28 deletions packages/std-contracts/src/components/AddressComponent.sol

This file was deleted.

24 changes: 0 additions & 24 deletions packages/std-contracts/src/components/BoolBareComponent.sol

This file was deleted.

28 changes: 0 additions & 28 deletions packages/std-contracts/src/components/BoolComponent.sol

This file was deleted.

32 changes: 0 additions & 32 deletions packages/std-contracts/src/components/CoordBareComponent.sol

This file was deleted.

36 changes: 0 additions & 36 deletions packages/std-contracts/src/components/CoordComponent.sol

This file was deleted.

38 changes: 0 additions & 38 deletions packages/std-contracts/src/components/FunctionBareComponent.sol

This file was deleted.

42 changes: 0 additions & 42 deletions packages/std-contracts/src/components/FunctionComponent.sol

This file was deleted.

Loading