Skip to content

Commit 82136f7

Browse files
committed
Update docs to run on Altis build script
1 parent a6f18cb commit 82136f7

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

packages/eslint-config-humanmade/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,14 @@ npx install-peerdeps --global @humanmade/eslint-config@latest
5353
```
5454

5555
This allows you to use `eslint -c humanmade MyFile.js` anywhere on your filesystem.
56+
57+
## Integration with Altis build script.
58+
59+
We require the use of Node v16+ and npm v7+, however the Altis build container ships with Node 12.18 and npm 6.14 so it will not work out of the box.
60+
61+
As per the Altis documentation, [you can install other versions of Node using nvm](https://docs.altis-dxp.com/cloud/build-scripts/#included-build-tools), so we recommend that you add the following to your build script.
62+
63+
```
64+
nvm install 16
65+
nvm use 16
66+
```

packages/stylelint-config/readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ Then, add a `.stylelintrc` file and extend these rules. You can also add your ow
2222
}
2323
}
2424
```
25+
26+
## Integration with Altis build script.
27+
28+
We require the use of Node v16+ and npm v7+, however the Altis build container ships with Node 12.18 and npm 6.14 so it will not work out of the box.
29+
30+
As per the Altis documentation, [you can install other versions of Node using nvm](https://docs.altis-dxp.com/cloud/build-scripts/#included-build-tools), so we recommend that you add the following to your build script.
31+
32+
```
33+
nvm install 16
34+
nvm use 16
35+
```

0 commit comments

Comments
 (0)