Commit 56a2ef2
committed
fix: use strict versions for all dependencies
Currently build of the extension fails as the versions of dependencies and devDependencies are not hardcoded and we receive version of `@types/lodash` that is incompatible with the TypeScript we are using.
For `@types/lodash` we have the following dist-tags:
```
{ latest: '4.14.122',
'ts2.0': '4.14.50',
'ts2.1': '4.14.56',
'ts2.2': '4.14.112',
'ts2.3': '4.14.112',
'ts2.4': '4.14.112',
'ts2.5': '4.14.112',
'ts2.6': '4.14.121',
'ts2.7': '4.14.121',
'ts2.8': '4.14.122',
'ts2.9': '4.14.122',
'ts3.0': '4.14.122',
'ts3.1': '4.14.122',
'ts3.2': '4.14.122',
'ts3.3': '4.14.122',
'ts3.4': '4.14.122' }
```
In our case we are using TypeScript 2.6.2, so set the version of `@types/lodash` to 4.14.121.
Also set strict versions for all other dependencies (based on what has been installed in my local `node_modules` dir).1 parent 9a9a46d commit 56a2ef2
1 file changed
+14
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
0 commit comments