Skip to content

FastStore v3.0.123: Renaming `faststore.config` to `discovery.config`

Latest
Compare
Choose a tag to compare
@hellofanny hellofanny released this 07 Oct 14:21
· 64 commits to main since this release

⚠️ This is part of an ongoing initiative to turn the store's repository into a monorepo, allowing for more customizable modules.

The faststore will manage a module called discovery, so we have renamed all configuration file from faststore.config to discovery.config, while maintaining compatibility with the legacy name.

What needs to be done?

After updating your store's FastStore package to v3.0.123, everything should continue to work as before. To update the package, see the previous release notes for more details.

If you're manually using the configuration file (for example, if you're importing it directly), you might encounter an error like this:

image

To resolve this:

  1. Rename faststore.config.js file to discovery.config.js.
  2. Update any references pointing to faststore.config.js to use discovery.config.js instead.

If you encounter any other errors, please:

Run faststore in the terminal

image
  • If it's outdated, update it using the following command:
yarn upgrade -L --scope @faststore

PRs that is related to this changes: