-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update updating-the-core-package-version.mdx
- Loading branch information
1 parent
379d9b5
commit 43d35ae
Showing
1 changed file
with
17 additions
and
4 deletions.
There are no files selected for viewing
21 changes: 17 additions & 4 deletions
21
...aststore/docs/reference/project-structure/updating-the-core-package-version.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
--- | ||
title: "Updating the '@fastore/core' package version" | ||
title: "Updating the '@fastore/cli' package version" | ||
--- | ||
|
||
If you need to update the [`@fastore/core`](https://developers.vtex.com/docs/guides/faststore/project-structure-overview#packagejson) package, follow the instructions below: | ||
If you need to update the [`@fastore/cli`](https://developers.vtex.com/docs/guides/faststore/project-structure-overview#packagejson) package, follow these instructions. | ||
|
||
1. Open your FastStore codebase in the code editor of your preference. | ||
|
||
2. Open the terminal and run the following: | ||
|
||
```bash | ||
yarn add @faststore/core@latest | ||
yarn add @faststore/cli@latest | ||
``` | ||
|
||
3. Run `yarn dev` to sync the changes to your project. | ||
3. The following message will appear: | ||
|
||
```bash | ||
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check). | ||
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. | ||
``` | ||
4. Run the `yarn add @faststore/cli@latest` command again and add the `-W` flag: | ||
```bash | ||
yarn add @faststore/cli@latest -W | ||
``` | ||
5. Run `yarn dev` to sync the changes to your project. |