diff --git a/.changeset/heavy-rings-punch.md b/.changeset/heavy-rings-punch.md new file mode 100644 index 0000000000..15681411a7 --- /dev/null +++ b/.changeset/heavy-rings-punch.md @@ -0,0 +1,6 @@ +--- +"@latticexyz/common": patch +"create-mud": patch +--- + +Pinned prettier-plugin-solidity version to 1.1.3 diff --git a/examples/minimal/packages/contracts/package.json b/examples/minimal/packages/contracts/package.json index 0ecba50911..935ba8484b 100644 --- a/examples/minimal/packages/contracts/package.json +++ b/examples/minimal/packages/contracts/package.json @@ -30,7 +30,7 @@ "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1", "prettier": "^2.6.2", - "prettier-plugin-solidity": "^1.0.0-beta.19", + "prettier-plugin-solidity": "1.1.3", "rimraf": "^3.0.2", "solhint": "^3.4.1", "solhint-config-mud": "file:../../../../packages/solhint-config-mud", diff --git a/examples/minimal/pnpm-lock.yaml b/examples/minimal/pnpm-lock.yaml index 8960110570..d05669c462 100644 --- a/examples/minimal/pnpm-lock.yaml +++ b/examples/minimal/pnpm-lock.yaml @@ -342,8 +342,8 @@ importers: specifier: ^2.6.2 version: 2.6.2 prettier-plugin-solidity: - specifier: ^1.0.0-beta.19 - version: 1.0.0-beta.19(prettier@2.6.2) + specifier: 1.1.3 + version: 1.1.3(prettier@2.6.2) rimraf: specifier: ^3.0.2 version: 3.0.2 @@ -1030,12 +1030,6 @@ packages: '@scure/base': 1.1.1 dev: false - /@solidity-parser/parser@0.14.5: - resolution: {integrity: sha512-6dKnHZn7fg/iQATVEzqyUOyEidbn05q7YA2mQ9hC0MMXhhV3/JrsxmFSYZAcr7j1yUP700LLhTruvJ3MiQmjJg==} - dependencies: - antlr4ts: 0.5.0-alpha.4 - dev: true - /@solidity-parser/parser@0.16.0: resolution: {integrity: sha512-ESipEcHyRHg4Np4SqBCfcXwyxxna1DgFVz69bgpLV8vzl/NP1DtcKsJ4dJZXWQhY/Z4J2LeKBiOkOVZn9ct33Q==} dependencies: @@ -1696,10 +1690,6 @@ packages: resolution: {integrity: sha512-XKGdI4pWM78eLH2cbXJHiBnWUwFSzZM7XujsB6stDiGu9AeSqziedP6amNLpJzE3i0rLTcfAwdCTs5ecP5yeSg==} dev: true - /emoji-regex@10.2.1: - resolution: {integrity: sha512-97g6QgOk8zlDRdgq1WxwgTMgEWGVAQvB5Fdpgc1MkNy56la5SKP9GsMXKDOdqwn90/41a8yPwIGk1Y6WVbeMQA==} - dev: true - /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -2905,19 +2895,16 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier-plugin-solidity@1.0.0-beta.19(prettier@2.6.2): - resolution: {integrity: sha512-xxRQ5ZiiZyUoMFLE9h7HnUDXI/daf1tnmL1msEdcKmyh7ZGQ4YklkYLC71bfBpYU2WruTb5/SFLUaEb3RApg5g==} + /prettier-plugin-solidity@1.1.3(prettier@2.6.2): + resolution: {integrity: sha512-fQ9yucPi2sBbA2U2Xjh6m4isUTJ7S7QLc/XDDsktqqxYfTwdYKJ0EnnywXHwCGAaYbQNK+HIYPL1OemxuMsgeg==} engines: {node: '>=12'} peerDependencies: - prettier: ^2.3.0 + prettier: '>=2.3.0 || >=3.0.0-alpha.0' dependencies: - '@solidity-parser/parser': 0.14.5 - emoji-regex: 10.2.1 - escape-string-regexp: 4.0.0 + '@solidity-parser/parser': 0.16.0 prettier: 2.6.2 semver: 7.5.0 solidity-comments-extractor: 0.0.7 - string-width: 4.2.3 dev: true /prettier@2.6.2: diff --git a/package.json b/package.json index c7305a3ea2..530d75bdb8 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "husky": ">=6", "lint-staged": ">=10", "prettier": "^2.8.4", - "prettier-plugin-solidity": "^1.1.2", + "prettier-plugin-solidity": "1.1.3", "rimraf": "^3.0.2", "turbo": "^1.9.3", "typescript": "5.1.6" diff --git a/packages/common/package.json b/packages/common/package.json index 9e8f3e3488..83320848cc 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -60,7 +60,7 @@ "p-queue": "^7.4.1", "p-retry": "^5.1.2", "prettier": "^2.8.4", - "prettier-plugin-solidity": "^1.1.2", + "prettier-plugin-solidity": "1.1.3", "viem": "1.14.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0df9596050..24e082641c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: ^2.8.4 version: 2.8.4 prettier-plugin-solidity: - specifier: ^1.1.2 - version: 1.1.2(prettier@2.8.4) + specifier: 1.1.3 + version: 1.1.3(prettier@2.8.4) rimraf: specifier: ^3.0.2 version: 3.0.2 @@ -282,8 +282,8 @@ importers: specifier: ^2.8.4 version: 2.8.4 prettier-plugin-solidity: - specifier: ^1.1.2 - version: 1.1.2(prettier@2.8.4) + specifier: 1.1.3 + version: 1.1.3(prettier@2.8.4) viem: specifier: 1.14.0 version: 1.14.0(typescript@5.1.6)(zod@3.21.4) @@ -3080,16 +3080,10 @@ packages: antlr4ts: 0.5.0-alpha.4 dev: true - /@solidity-parser/parser@0.15.0: - resolution: {integrity: sha512-5UFJJTzWi1hgFk6aGCZ5rxG2DJkCJOzJ74qg7UkWSNCDSigW+CJLoYUb5bLiKrtI34Nr9rpFSUNHfkqtlL+N/w==} - dependencies: - antlr4ts: 0.5.0-alpha.4 - /@solidity-parser/parser@0.16.0: resolution: {integrity: sha512-ESipEcHyRHg4Np4SqBCfcXwyxxna1DgFVz69bgpLV8vzl/NP1DtcKsJ4dJZXWQhY/Z4J2LeKBiOkOVZn9ct33Q==} dependencies: antlr4ts: 0.5.0-alpha.4 - dev: false /@testing-library/react-hooks@8.0.1(@types/react@18.2.22)(react-test-renderer@18.2.0)(react@18.2.0): resolution: {integrity: sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==} @@ -9136,15 +9130,15 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier-plugin-solidity@1.1.2(prettier@2.8.4): - resolution: {integrity: sha512-KC5oNbFJfyBaFiO0kl56J6AXnDmr9tUlBV1iqo864x4KQrKYKaBZvW9jhT2oC0NHoNp7/GoMJNxqL8pp8k7C/g==} + /prettier-plugin-solidity@1.1.3(prettier@2.8.4): + resolution: {integrity: sha512-fQ9yucPi2sBbA2U2Xjh6m4isUTJ7S7QLc/XDDsktqqxYfTwdYKJ0EnnywXHwCGAaYbQNK+HIYPL1OemxuMsgeg==} engines: {node: '>=12'} peerDependencies: prettier: '>=2.3.0 || >=3.0.0-alpha.0' dependencies: - '@solidity-parser/parser': 0.15.0 + '@solidity-parser/parser': 0.16.0 prettier: 2.8.4 - semver: 7.3.8 + semver: 7.5.0 solidity-comments-extractor: 0.0.7 /prettier@1.19.1: @@ -9776,13 +9770,6 @@ packages: hasBin: true dev: true - /semver@7.3.8: - resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - /semver@7.5.0: resolution: {integrity: sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==} engines: {node: '>=10'} diff --git a/templates/phaser/packages/contracts/package.json b/templates/phaser/packages/contracts/package.json index 580cb610f0..87e0fa2db6 100644 --- a/templates/phaser/packages/contracts/package.json +++ b/templates/phaser/packages/contracts/package.json @@ -28,7 +28,7 @@ "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1", "prettier": "^2.6.2", - "prettier-plugin-solidity": "^1.0.0-beta.19", + "prettier-plugin-solidity": "1.1.3", "solhint": "^3.3.7", "solhint-config-mud": "file:../../../../packages/solhint-config-mud", "solhint-plugin-mud": "file:../../../../packages/solhint-plugin-mud" diff --git a/templates/react-ecs/packages/contracts/package.json b/templates/react-ecs/packages/contracts/package.json index 580cb610f0..87e0fa2db6 100644 --- a/templates/react-ecs/packages/contracts/package.json +++ b/templates/react-ecs/packages/contracts/package.json @@ -28,7 +28,7 @@ "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1", "prettier": "^2.6.2", - "prettier-plugin-solidity": "^1.0.0-beta.19", + "prettier-plugin-solidity": "1.1.3", "solhint": "^3.3.7", "solhint-config-mud": "file:../../../../packages/solhint-config-mud", "solhint-plugin-mud": "file:../../../../packages/solhint-plugin-mud" diff --git a/templates/react/packages/contracts/package.json b/templates/react/packages/contracts/package.json index 580cb610f0..87e0fa2db6 100644 --- a/templates/react/packages/contracts/package.json +++ b/templates/react/packages/contracts/package.json @@ -28,7 +28,7 @@ "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1", "prettier": "^2.6.2", - "prettier-plugin-solidity": "^1.0.0-beta.19", + "prettier-plugin-solidity": "1.1.3", "solhint": "^3.3.7", "solhint-config-mud": "file:../../../../packages/solhint-config-mud", "solhint-plugin-mud": "file:../../../../packages/solhint-plugin-mud" diff --git a/templates/threejs/packages/contracts/package.json b/templates/threejs/packages/contracts/package.json index 9cdc68470f..028d1ccc55 100644 --- a/templates/threejs/packages/contracts/package.json +++ b/templates/threejs/packages/contracts/package.json @@ -27,7 +27,7 @@ "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1", "prettier": "^2.6.2", - "prettier-plugin-solidity": "^1.0.0-beta.19", + "prettier-plugin-solidity": "1.1.3", "solhint": "^3.3.7", "solhint-config-mud": "file:../../../../packages/solhint-config-mud", "solhint-plugin-mud": "file:../../../../packages/solhint-plugin-mud" diff --git a/templates/vanilla/packages/contracts/package.json b/templates/vanilla/packages/contracts/package.json index 580cb610f0..87e0fa2db6 100644 --- a/templates/vanilla/packages/contracts/package.json +++ b/templates/vanilla/packages/contracts/package.json @@ -28,7 +28,7 @@ "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0", "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1", "prettier": "^2.6.2", - "prettier-plugin-solidity": "^1.0.0-beta.19", + "prettier-plugin-solidity": "1.1.3", "solhint": "^3.3.7", "solhint-config-mud": "file:../../../../packages/solhint-config-mud", "solhint-plugin-mud": "file:../../../../packages/solhint-plugin-mud"