Skip to content

Resetting cache when packages dependencies have changes #94

@kickbk

Description

@kickbk

I noticed that if I update dependencies in one of the packages, while I previously ran a build via GitHub actions, then next time I deploy, it will use the outdated cache stored on GitHub and this will finally generate an app on EAS using the old packages dependencies.
I know we invalidate Metro cache when env vars change, but what about the cache that needs to be invalidated when updating package dependencies?

Currently metro.json has:

"build": {
  "dependsOn": ["^build"],
  "outputs": [
    ".next/**",
    "build/**",
    "node_modules/.cache/metro/**"
  ],
  "env": [
    ...
  ]
},

Or maybe I'm missing something, if so, could you please let me know what?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions