mud

MUD is a framework for building ambitious onchain applications

MIT License

Downloads
318.4K
Stars
643
Committers
80

Bot releases are visible (Hide)

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • 96e7bf430: TS source has been removed from published packages in favor of DTS in an effort to improve TS performance. All packages now inherit from a base TS config in @latticexyz/common to allow us to continue iterating on TS performance without requiring changes in your project code.

    If you have a MUD project that you're upgrading, we suggest adding a tsconfig.json file to your project workspace that extends this base config.

    pnpm add -D @latticexyz/common
    echo "{\n  \"extends\": \"@latticexyz/common/tsconfig.base.json\"\n}" > tsconfig.json
    

    Then in each package of your project, inherit from your workspace root's config.

    For example, your TS config in packages/contracts/tsconfig.json might look like:

    {
      "extends": "../../tsconfig.json"
    }
    

    And your TS config in packages/client/tsconfig.json might look like:

    {
      "extends": "../../tsconfig.json",
      "compilerOptions": {
        "types": ["vite/client"],
        "target": "ESNext",
        "lib": ["ESNext", "DOM"],
        "jsx": "react-jsx",
        "jsxImportSource": "react"
      },
      "include": ["src"]
    }
    

    You may need to adjust the above configs to include any additional TS options you've set. This config pattern may also reveal new TS errors that need to be fixed or rules disabled.

    If you want to keep your existing TS configs, we recommend at least updating your moduleResolution setting.

    -"moduleResolution": "node"
    +"moduleResolution": "Bundler"
    
  • Updated dependencies [96e7bf430]

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • 9be2bb863: Fixed resolveTableId usage within config's module args to allow referencing both namespaced tables (e.g. resolveTableId("app_Tasks")) as well as tables by just their name (e.g. resolveTableId("Tasks")). Note that using just the table name requires it to be unique among all tables within the config.

    This helper is now exported from @latticexyz/world package as intended. The previous, deprecated export has been removed.

    -import { resolveTableId } from "@latticexyz/config/library";
    +import { resolveTableId } from "@latticexyz/world/internal";
    
  • 96e7bf430: TS source has been removed from published packages in favor of DTS in an effort to improve TS performance. All packages now inherit from a base TS config in @latticexyz/common to allow us to continue iterating on TS performance without requiring changes in your project code.

    If you have a MUD project that you're upgrading, we suggest adding a tsconfig.json file to your project workspace that extends this base config.

    pnpm add -D @latticexyz/common
    echo "{\n  \"extends\": \"@latticexyz/common/tsconfig.base.json\"\n}" > tsconfig.json
    

    Then in each package of your project, inherit from your workspace root's config.

    For example, your TS config in packages/contracts/tsconfig.json might look like:

    {
      "extends": "../../tsconfig.json"
    }
    

    And your TS config in packages/client/tsconfig.json might look like:

    {
      "extends": "../../tsconfig.json",
      "compilerOptions": {
        "types": ["vite/client"],
        "target": "ESNext",
        "lib": ["ESNext", "DOM"],
        "jsx": "react-jsx",
        "jsxImportSource": "react"
      },
      "include": ["src"]
    }
    

    You may need to adjust the above configs to include any additional TS options you've set. This config pattern may also reveal new TS errors that need to be fixed or rules disabled.

    If you want to keep your existing TS configs, we recommend at least updating your moduleResolution setting.

    -"moduleResolution": "node"
    +"moduleResolution": "Bundler"
    
  • Updated dependencies [c10c9fb2d]

  • Updated dependencies [c10c9fb2d]

  • Updated dependencies [9be2bb863]

  • Updated dependencies [96e7bf430]

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • 96e7bf430: TS source has been removed from published packages in favor of DTS in an effort to improve TS performance. All packages now inherit from a base TS config in @latticexyz/common to allow us to continue iterating on TS performance without requiring changes in your project code.

    If you have a MUD project that you're upgrading, we suggest adding a tsconfig.json file to your project workspace that extends this base config.

    pnpm add -D @latticexyz/common
    echo "{\n  \"extends\": \"@latticexyz/common/tsconfig.base.json\"\n}" > tsconfig.json
    

    Then in each package of your project, inherit from your workspace root's config.

    For example, your TS config in packages/contracts/tsconfig.json might look like:

    {
      "extends": "../../tsconfig.json"
    }
    

    And your TS config in packages/client/tsconfig.json might look like:

    {
      "extends": "../../tsconfig.json",
      "compilerOptions": {
        "types": ["vite/client"],
        "target": "ESNext",
        "lib": ["ESNext", "DOM"],
        "jsx": "react-jsx",
        "jsxImportSource": "react"
      },
      "include": ["src"]
    }
    

    You may need to adjust the above configs to include any additional TS options you've set. This config pattern may also reveal new TS errors that need to be fixed or rules disabled.

    If you want to keep your existing TS configs, we recommend at least updating your moduleResolution setting.

    -"moduleResolution": "node"
    +"moduleResolution": "Bundler"
    
  • Updated dependencies [96e7bf430]

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • 96e7bf430: TS source has been removed from published packages in favor of DTS in an effort to improve TS performance. All packages now inherit from a base TS config in @latticexyz/common to allow us to continue iterating on TS performance without requiring changes in your project code.

    If you have a MUD project that you're upgrading, we suggest adding a tsconfig.json file to your project workspace that extends this base config.

    pnpm add -D @latticexyz/common
    echo "{\n  \"extends\": \"@latticexyz/common/tsconfig.base.json\"\n}" > tsconfig.json
    

    Then in each package of your project, inherit from your workspace root's config.

    For example, your TS config in packages/contracts/tsconfig.json might look like:

    {
      "extends": "../../tsconfig.json"
    }
    

    And your TS config in packages/client/tsconfig.json might look like:

    {
      "extends": "../../tsconfig.json",
      "compilerOptions": {
        "types": ["vite/client"],
        "target": "ESNext",
        "lib": ["ESNext", "DOM"],
        "jsx": "react-jsx",
        "jsxImportSource": "react"
      },
      "include": ["src"]
    }
    

    You may need to adjust the above configs to include any additional TS options you've set. This config pattern may also reveal new TS errors that need to be fixed or rules disabled.

    If you want to keep your existing TS configs, we recommend at least updating your moduleResolution setting.

    -"moduleResolution": "node"
    +"moduleResolution": "Bundler"
    
mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - [email protected]

Published by github-actions[bot] 5 months ago

mud - [email protected]

Published by github-actions[bot] 5 months ago

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

mud - @latticexyz/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes