Skip to content

Commit 3521c8a

Browse files
committed
Switch from node-sass to sass
https://sass-lang.com/blog/libsass-is-deprecated#how-do-i-migrate4.6.1 Binary download is 404, and build fails on Utf8Value signature. `npm start` works with the `sass` module. Signed-off-by: Jean Jordaan <[email protected]>
1 parent ba24067 commit 3521c8a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

vorto-dashboard/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ You can use the basic structre of a thing and define the attributes like this:
126126
> **Note** That the `"definition": "org.eclipse.vorto:Topology:1.0.0"` is the most important part since it defines this element as the root.
127127
<br />
128128
129-
In order to add containers that hold entities, simply create another meta-model that holds similar content to the root (e.g. empyt features etc.).
129+
In order to add containers that hold entities, simply create another meta-model that holds similar content to the root (e.g. empty features etc.).
130130
Make sure to define the `references` and `referencedBy` fields in the attributes in order to tell the dashboard the structure.
131131

132132
```json
@@ -195,4 +195,4 @@ npm version x.y.z
195195
git tag x.y.z
196196
# push the tag
197197
git push --tags
198-
```
198+
```

vorto-dashboard/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@
4646
"request": "^2.88.0",
4747
"request-promise-native": "^1.0.7",
4848
"reselect": "^4.0.0",
49+
"typescript": "^4.2.3",
4950
"yarn": "^1.17.3"
5051
},
5152
"devDependencies": {
52-
"node-sass": "4.6.1",
53+
"sass": "^1.32.8",
5354
"node-sass-chokidar": "^1.3.5",
5455
"npm-run-all": "4.1.2",
5556
"react-scripts": "^3.1.1"

0 commit comments

Comments
 (0)