Skip to content

Commit

Permalink
chore: delete std-contracts package (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Aug 22, 2023
1 parent 6255a31 commit c32c8e8
Show file tree
Hide file tree
Showing 55 changed files with 11 additions and 2,281 deletions.
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

0 comments on commit c32c8e8

Please sign in to comment.