-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools_node.json
More file actions
157 lines (157 loc) · 6.81 KB
/
Copy pathtools_node.json
File metadata and controls
157 lines (157 loc) · 6.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"macOS": {
"description": "Installing ABK tool set for MacOS",
"supported_versions": {
"macOS": ["13", "14", "15", "26"]
},
"update_packages": ["brew update", "brew upgrade", "brew cleanup", "brew missing"],
"tools": {
"descriptions": {
"git": "Distributed version control system for tracking changes in source code",
"jq": "Command-line JSON processor for parsing, filtering and transforming JSON data",
"nodenv": "Node.js version manager that allows easy switching between Node.js versions",
"oh-my-posh": "Cross-platform prompt theme engine for any shell with customizable themes",
"typescript": "Typed superset of JavaScript that compiles to plain JavaScript",
"wget": "Command-line utility for downloading files from web servers via HTTP/HTTPS/FTP",
"yq": "Command-line YAML processor - the YAML equivalent of jq for parsing and manipulating YAML"
},
"check": {
"git": ["command -v git"],
"jq": ["command -v jq"],
"nodenv": ["command -v nodenv"],
"oh-my-posh": ["brew list | grep oh-my-posh"],
"typescript": ["command -v tsc"],
"wget": ["command -v wget"],
"yq": ["command -v yq"]
},
"install": {
"git": ["brew install git"],
"jq": ["brew install jq"],
"nodenv": [
"brew install nodenv",
"(cd unixBin/env && ln -s XXX_nodenv.env LINK_nodenv.env)"
],
"oh-my-posh": [
"brew install oh-my-posh",
"oh-my-posh init $ABK_SHELL",
"(cd unixBin/env && ln -s XXX_oh-my-posh.env LINK_oh-my-posh.env)"
],
"typescript": ["brew install typescript"],
"wget": ["brew install wget"],
"yq": ["brew install yq"]
},
"uninstall": {
"git": ["brew uninstall git"],
"jq": ["brew uninstall jq"],
"nodenv": [
"find ./unixBin/env -type l -name 'LINK_nodenv.env' -delete",
"brew uninstall nodenv",
"rm -Rf ~/.nodenv"
],
"oh-my-posh": [
"find ./unixBin/env -type l -name 'LINK_oh-my-posh.env' -delete",
"brew uninstall oh-my-posh"
],
"typescript": ["brew uninstall typescript"],
"wget": ["brew uninstall wget"],
"yq": ["brew uninstall yq"]
}
},
"apps": {
"check": {
},
"install": {
},
"uninstall": {
}
},
"fonts": {
"check": {
},
"install": {
},
"uninstall": {
}
}
},
"linux": {
"debian": {
"description": "Installing ABK tool set for Linux / Debian based distro",
"supported_versions": {
"debian": ["11", "12", "13"],
"raspbian": ["11", "12", "13"],
"ubuntu": ["22.04", "24.04"]
},
"update_packages": ["sudo apt update", "sudo apt upgrade -y", "sudo apt dist-upgrade -y"],
"tools": {
"descriptions": {
"git": "Distributed version control system for tracking changes in source code",
"jq": "Command-line JSON processor for parsing, filtering and transforming JSON data",
"nodenv": "Node.js version manager that allows easy switching between Node.js versions",
"oh-my-posh": "Cross-platform prompt theme engine for any shell with customizable themes",
"wget": "Command-line utility for downloading files from web servers via HTTP/HTTPS/FTP",
"yq": "Command-line YAML processor - the YAML equivalent of jq for parsing and manipulating YAML"
},
"check": {
"git": ["command -v git"],
"jq": ["command -v jq"],
"nodenv": ["command -v nodenv"],
"oh-my-posh": ["command -v ./unixBin/oh-my-posh"],
"wget": ["command -v wget"],
"yq": ["command -v yq"]
},
"install": {
"git": ["sudo apt install -y git"],
"jq": ["sudo apt install -y jq"],
"nodenv": [
"git clone https://github.com/nodenv/nodenv.git ~/.nodenv",
"sudo ln -vs ~/.nodenv/bin/nodenv /usr/local/bin/nodenv",
"(cd ~/.nodenv src/configure && make -C src || true)",
"mkdir -p $(nodenv root)/plugins",
"git clone https://github.com/nodenv/node-build.git $(nodenv root)/plugins/node-build",
"git clone https://github.com/nodenv/nodenv-aliases.git $(nodenv root)/plugins/nodenv-aliases",
"(cd unixBin/env && ln -s XXX_nodenv.env LINK_nodenv.env)"
],
"oh-my-posh": [
"curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ./unixBin",
"./unixBin/oh-my-posh init $ABK_SHELL",
"(cd unixBin/env && ln -s XXX_oh-my-posh.env LINK_oh-my-posh.env)"
],
"wget": ["sudo apt install -y wget"],
"yq": ["sudo apt install -y yq"]
},
"uninstall": {
"git": ["sudo apt remove -y git"],
"jq": ["sudo apt remove -y jq"],
"nodenv": [
"find ./unixBin/env -type l -name 'LINK_nodenv.env' -delete",
"sudo find /usr/local/bin -type l -name 'nodenv' -delete",
"rm -Rf ~/.nodenv"
],
"oh-my-posh": [
"find ./unixBin/env -type l -name 'LINK_oh-my-posh.env' -delete",
"rm -f ./unixBin/oh-my-posh"
],
"wget": ["sudo apt remove -y wget"],
"yq": ["sudo apt remove -y yq"]
}
},
"apps": {
"check": {
},
"install":{
},
"uninstall": {
}
},
"fonts": {
"check": {
},
"install": {
},
"uninstall": {
}
}
}
}
}