-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
52 lines (39 loc) · 1.01 KB
/
justfile
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
NPM := "npm"
LATEST_PACKAGE_VERSION := `cat package.json | jq -r .version`
help:
just --list
# Install project dependencies
install:
{{NPM}} install
# Test the application
test:
{{NPM}} test
# Update NPM Packages
update-latest:
{{NPM}} install mathjs@latest
{{NPM}} install quickmathjs@latest
{{NPM}} update packages
# Update NPM Packages
update:
{{NPM}} update packages
# Display Git History
history:
gitk --all
# Display NPM Depency Tree
dependency:
{{NPM}} ls -all
publisher-install:
{{NPM}} install -g @vscode/vsce
{{NPM}} install -g ovsx
# Package (Will generate something like quickcalc-{{LATEST_PACKAGE_VERSION}}.vsix )
package:
vsce package
# Login To Microsoft VSCODE (If you need to update your Public Access Token)
vscode-login:
vsce login
# Publish To Microsoft VSCODE (https://marketplace.visualstudio.com/)
vscode-publish:
vsce publish
# Publish To Codium (https://open-vsx.org/)
openvsx-publish:
ovsx publish quickcalc-{{LATEST_PACKAGE_VERSION}}.vsix -p ${OPEN_VSX_MARKETPLACE_ACCESS_TOKEN}