You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Library and Version updates](#Library-and-Version-updates)
92
+
86
93
Embark's 5th version is full of improvements, especially in the configurations, all to make your life easier.
87
94
88
95
In this guide, we'll go through the different breaking changes introduced in Embark 5, that will let you upgrade from Embark 4.0.
@@ -195,6 +202,41 @@ module.exports = {
195
202
}
196
203
```
197
204
205
+
### Embark Plugins
206
+
207
+
A lot of functionality of Embark has been extracted into plugins and those need to be installed explicitly when upgrading from v4. This includes things like `embark-geth` to spin up a blockchain, `embark-profiler` and `embark-graph`. Notice that these are entirely optional though.
208
+
209
+
To make this work, add the needed plugins as dependencies to your project's `package.json`:
210
+
211
+
212
+
```json
213
+
{
214
+
...
215
+
"devDependencies": {
216
+
...
217
+
"embark-geth": "^5.2.3",
218
+
"embark-ipfs": "^5.2.3",
219
+
"embark-swarm": "^5.2.3",
220
+
"embark-whisper-geth": "^5.2.3",
221
+
}
222
+
}
223
+
```
224
+
225
+
Once these are installed, list them inside of your project's `embark.json` so Embark knows which ones to load when booting up:
226
+
227
+
```json
228
+
{
229
+
...
230
+
"plugins": {
231
+
"embark-ipfs": {},
232
+
"embark-whisper-geth": {},
233
+
"embark-geth": {},
234
+
...
235
+
},
236
+
...
237
+
}
238
+
```
239
+
198
240
### Tests
199
241
200
242
There were few breaking changes related to `embark test`, mostly new features.
0 commit comments