Skip to content

Commit e1c3dad

Browse files
authored
Add section on tooling and recommend using ASDF for tool versioning (#2547)
* spelling error / file name * Add section on tooling using ASDF * Set specific Node version
1 parent 062e318 commit e1c3dad

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 20.6.1

CONTRIBUTING.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,22 @@ $ npm run prettier:write
104104

105105
To ensure consistent reporting of lint warnings, you should use the same versions of ESLint and Prettier as defined in `package.json` (which is what the CI servers use).
106106

107+
### Tooling
108+
109+
To transparently handle all issues with different tool versions we recommend using [_ASDF: The Multiple Runtime Manager_][asdf]. You would then need the Ruby and Node plugins.
110+
111+
<details>
112+
113+
```
114+
asdf plugin add ruby
115+
asdf plugin add nodejs
116+
asdf install
117+
```
118+
119+
</details>
120+
121+
[asdf]: https://asdf-vm.com
122+
107123
### Run the tests
108124

109125
Following command runs unit tests in PhantomJS, Node and WebWorker
@@ -133,4 +149,4 @@ Build requires Node. Under the hood [Browserify](http://browserify.org/) is used
133149

134150
To build run
135151

136-
$ node build.js
152+
$ node build.cjs

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy