FuelLabs/fuels-ts

Adjust `types` property in all `package.json` files

Closed this issue · 1 comments

We need to replicate this to all packages: 3d0c0f6

It seems that the types property must be the first, otherwise we get a warning:

Warning: G] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]

    ../../package.json:19:6:
      19 │       "types": "./dist/index.d.ts"
         ╵       ~~~~~~~

Originally posted by @petertonysmith94 in #3190 (comment)

This PR ensures that the types property is correctly positioned as the first property in all package.json files to avoid potential warnings during compilation.

I have checked all linked repositories, and this issue has been addressed in all relevant package.json files.

This PR closes #3208.
#3212