Skip to content

Commit 81e1efe

Browse files
authored
Merge pull request plone#1458 from plone/yarn3
Volto requires Yarn 3 now. Update make start-frontend output
2 parents e937a5a + 8ef5046 commit 81e1efe

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

docs/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ mrs-developer
272272
As a byproduct of its update operations, it also automatically adjusts `jsconfig.json`, which is used by Volto to configure webpack aliases.
273273
274274
Yarn
275-
[Yarn](https://classic.yarnpkg.com/) is a JavaScript package manager.
275+
[Yarn](https://yarnpkg.com/) is a JavaScript package manager.
276276
277277
Hydration
278278
After loading an HTML page generated with {term}`SSR` in the browser, React can populate the existing {term}`DOM` elements, and recreate and attach their coresponding components.

docs/install/install-from-packages.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,21 +145,24 @@ npm install -g yo
145145

146146
(install-prerequisites-yarn-label)=
147147

148-
#### Yarn
148+
#### Yarn 3
149149

150-
Install the Yarn Classic version (not the latest 2.x one) using `npm`.
150+
Install the latest Yarn 3 version (not the Classic 1.x one) using `npm`.
151151

152152
1. Open a terminal and type:
153153

154154
```shell
155-
npm install yarn@1
155+
npm install yarn@3
156156
```
157157

158-
2. Verify that Yarn v1.x.x is installed and activated.
158+
2. Verify that Yarn v3.x.x is installed and activated.
159159

160160
```shell
161161
yarn -v
162162
```
163+
```console
164+
3.2.3
165+
```
163166

164167

165168
(install-prerequisites-make-label)=
@@ -344,8 +347,6 @@ make start-frontend
344347
The Plone frontend server starts up and emits messages to the console.
345348

346349
```console
347-
yarn run v1.22.19
348-
$ razzle start
349350
WAIT Compiling...
350351

351352

@@ -356,6 +357,7 @@ $ razzle start
356357
Compiled successfully in 9.62s
357358

358359
✅ Server-side HMR Enabled!
360+
sswp> Handling Hot Module Reloading
359361
Volto is running in SEAMLESS mode
360362
Using internal proxy: http://localhost:3000 -> http://localhost:8080/Plone
361363
🎭 Volto started at 0.0.0.0:3000 🚀

0 commit comments

Comments
 (0)