Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1723a6a

Browse files
committed
updated dependencies and script to install modules
1 parent 4f543c9 commit 1723a6a

File tree

2 files changed

+35
-10
lines changed

2 files changed

+35
-10
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,9 @@
749749
}
750750
},
751751
"scripts": {
752-
"vscode:prepublish": "git submodule update --recursive --remote && node ./node_modules/vscode/bin/compile && webpack",
753-
"compile": "webpack && node ./node_modules/vscode/bin/compile -watch -p ./ && installServerIntoExtension ./out ./src/server/package.json ./src/server/tsconfig.json",
754-
"postinstall": "node ./node_modules/vscode/bin/install",
752+
"vscode:prepublish": "git submodule update --init && git submodule update --recursive --remote && node ./node_modules/vscode/bin/compile && webpack",
753+
"compile": "git submodule update --init && git submodule update --recursive --remote && webpack && node ./node_modules/vscode/bin/compile -watch -p ./ && installServerIntoExtension ./out ./src/server/package.json ./src/server/tsconfig.json",
754+
"postinstall": "node ./node_modules/vscode/bin/install && git submodule update --init && git submodule update --recursive --remote",
755755
"test": "node ./node_modules/vscode/bin/test"
756756
},
757757
"dependencies": {
@@ -764,19 +764,19 @@
764764
"diff-match-patch": "^1.0.0",
765765
"fs-extra": "^0.30.0",
766766
"jmp": "^0.4.0",
767-
"jupyter-js-services": "^0.18.1",
768-
"line-by-line": "^0.1.4",
767+
"jupyter-js-services": "^0.19.0",
768+
"line-by-line": "^0.1.5",
769769
"named-js-regexp": "^1.3.1",
770-
"node-static": "^0.7.8",
770+
"node-static": "^0.7.9",
771771
"prepend-file": "^1.3.0",
772772
"socket.io": "^1.4.8",
773773
"spawnteract": "^2.2.0",
774-
"tmp": "0.0.28",
774+
"tmp": "0.0.29",
775775
"transformime": "^3.1.2",
776776
"transformime-marked": "0.0.1",
777-
"tree-kill": "^1.0.0",
777+
"tree-kill": "^1.1.0",
778778
"uint64be": "^1.0.1",
779-
"uuid": "^2.0.2",
779+
"uuid": "^2.0.3",
780780
"vscode-debugadapter": "^1.0.1",
781781
"vscode-debugprotocol": "^1.0.1",
782782
"vscode-extension-telemetry": "0.0.5",
@@ -795,4 +795,4 @@
795795
"vscode": "^0.11.0",
796796
"webpack": "^1.13.2"
797797
}
798-
}
798+
}

scripts/npm.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
if [[ "$OSTYPE" == "darwin"* ]]; then
4+
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
5+
ROOT=$(dirname $(dirname $(realpath "$0")))
6+
npm_config_arch=x64
7+
else
8+
ROOT=$(dirname $(dirname $(readlink -f $0)))
9+
10+
# if [ -z $npm_config_arch ]; then
11+
# npm_config_arch=$(node -p process.arch)
12+
# echo "Warning: remember to set \$npm_config_arch to either x64 or ia32 to build the binaries for the right architecture. Picking '$npm_config_arch'."
13+
# fi
14+
fi
15+
16+
ELECTRON_VERSION=1.3.7
17+
18+
ELECTRON_GYP_HOME=~/.electron-gyp
19+
mkdir -p $ELECTRON_GYP_HOME
20+
21+
npm_config_disturl=https://atom.io/download/atom-shell \
22+
npm_config_target=$ELECTRON_VERSION \
23+
npm_config_runtime=electron \
24+
HOME=$ELECTRON_GYP_HOME \
25+
npm $*

0 commit comments

Comments
 (0)