-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Delni/feat/node
Add node.js presets
- Loading branch information
Showing
5 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package presets | ||
|
||
import "preflight/src/systemcheck" | ||
|
||
var node systemcheck.SystemCheck = systemcheck.SystemCheck{ | ||
Name: "Node", | ||
Description: "", | ||
Checkpoints: []systemcheck.Checkpoint{ | ||
{ | ||
Name: "node", | ||
Command: "node", | ||
Documentation: "See installation: https://nodejs.org/", | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package presets | ||
|
||
import "preflight/src/systemcheck" | ||
|
||
var nodeVersion systemcheck.SystemCheck = systemcheck.SystemCheck{ | ||
Name: "Node Version Manager", | ||
Description: "tools to be able to seamlessly change your current node/npm version", | ||
Checkpoints: []systemcheck.Checkpoint{ | ||
{ | ||
Name: "nvm", | ||
Command: "nvm", | ||
Documentation: "See installation on github: https://github.com/nvm-sh/nvm#installing-and-updating", | ||
}, | ||
{ | ||
Name: "n", | ||
Command: "n", | ||
Documentation: "See installation on github: https://github.com/tj/n#installation", | ||
}, | ||
{ | ||
Name: "volta", | ||
Command: "volta", | ||
Documentation: "See https://volta.sh", | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package presets | ||
|
||
import "preflight/src/systemcheck" | ||
|
||
var yarn = systemcheck.SystemCheck{ | ||
Name: "Yarn", | ||
Description: "Package Manager and tooling for managing your node projects", | ||
Checkpoints: []systemcheck.Checkpoint{ | ||
{ | ||
Name: "yarn", | ||
Command: "yarn", | ||
Documentation: "See https://yarnpkg.com", | ||
}, | ||
}, | ||
} |