Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–5 unchanged (5 lines)
6npm install
7
8# Get version from package.json
9VERSION=$(node -p "require('./package.json').version")
10EXT_NAME=$(node -p "require('./package.json').name")
11
12# Install vsce to package extensions
13npm install -g @vscode/vsce
14
15# Package extension
16vsce package --skip-license
17
18# Install via VSCode
19code --install-extension $EXT_NAME-$VERSION.vsix
20rm $EXT_NAME-$VERSION.vsix
21
22cd $MONGO_REPO
23

After

…lines 1–4 unchanged (4 lines)
5
6npm install
7
8# Get version from package.json
9VERSION=$(node -p "require('./package.json').version")
10EXT_NAME=$(node -p "require('./package.json').name")
11
12# Package extension
13npm run package
14
15# Install via VSCode
16code --install-extension $EXT_NAME-$VERSION.vsix
17rm $EXT_NAME-$VERSION.vsix
18
19cd $MONGO_REPO
20

Before

program
comment "#!/bin/bash"
command
command_name
word "cd"
simple_expansion
$ "$"
variable_name "MONGO_REPO"
command
command_name
word "cd"
word "src/mongo/shell/debugger/vscode"
command
command_name
word "npm"
word "install"
comment "# Get version from package.json"
variable_assignment
variable_name "VERSION"
= "="
command_substitution
$( "$("
command
command_name
word "node"
word "-p"
string
" "\""
string_content "require('./package.json').version"
" "\""
) ")"
variable_assignment
variable_name "EXT_NAME"
= "="
command_substitution
$( "$("
command
command_name
word "node"
word "-p"
string
" "\""
string_content "require('./package.json').name"
" "\""
) ")"
comment "# Install vsce to package extensions"
command
command_name
word "npm"
word "install"
word "-g"
word "@vscode/vsce"
comment "# Package extension"
command
command_name
word "vsce"
word "package"
word "--skip-license"
comment "# Install via VSCode"
command
command_name
word "code"
word "--install-extension"
concatenation
simple_expansion
$ "$"
variable_name "EXT_NAME"
word "-"
$ "$"
word "VERSION.vsix"
command
command_name
word "rm"
concatenation
simple_expansion
$ "$"
variable_name "EXT_NAME"
word "-"
$ "$"
word "VERSION.vsix"
command
command_name
word "cd"
simple_expansion
$ "$"
variable_name "MONGO_REPO"

After

program
comment "#!/bin/bash"
command
command_name
word "cd"
simple_expansion
$ "$"
variable_name "MONGO_REPO"
command
command_name
word "cd"
word "src/mongo/shell/debugger/vscode"
command
command_name
word "npm"
word "install"
comment "# Get version from package.json"
variable_assignment
variable_name "VERSION"
= "="
command_substitution
$( "$("
command
command_name
word "node"
word "-p"
string
" "\""
string_content "require('./package.json').version"
" "\""
) ")"
variable_assignment
variable_name "EXT_NAME"
= "="
command_substitution
$( "$("
command
command_name
word "node"
word "-p"
string
" "\""
string_content "require('./package.json').name"
" "\""
) ")"
comment "# Package extension"
command
command_name
word "npm"
word "run"
word "package"
comment "# Install via VSCode"
command
command_name
word "code"
word "--install-extension"
concatenation
simple_expansion
$ "$"
variable_name "EXT_NAME"
word "-"
$ "$"
word "VERSION.vsix"
command
command_name
word "rm"
concatenation
simple_expansion
$ "$"
variable_name "EXT_NAME"
word "-"
$ "$"
word "VERSION.vsix"
command
command_name
word "cd"
simple_expansion
$ "$"
variable_name "MONGO_REPO"