Browse Source

Go back to using the bower package (thanks @michal-golfi)

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
4078fadc35
  1. 3
      Makefile
  2. 3
      bower.json
  3. 1
      package.json
  4. 2
      static/main.js

3
Makefile

@ -50,9 +50,6 @@ $(BOWER_MODULES): bower.json $(NODE_MODULES)
if ! test -f "${BOWER_MODULES}"; then rm -rf static/ext; fi
$(NODE) ./node_modules/bower/bin/bower install
@touch $@
# Workaround for lack of versioned monaco-editor in bower
rm -rf static/ext/monaco-editor
cp -r node_modules/monaco-editor static/ext/
lint: $(NODE_MODULES)
$(NODE) ./node_modules/.bin/jshint app.js $(shell find lib static -name '*.js' -not -path 'static/ext/*')

3
bower.json

@ -27,6 +27,7 @@
"clipboard": "^1.5.12",
"raven-js": "^3.7.0",
"es6-promise": "^4.0.5",
"lru-cache": "2.7.3"
"lru-cache": "2.7.3",
"monaco-editor": "0.7.x"
}
}

1
package.json

@ -23,7 +23,6 @@
"fs-extra": "0.26.x",
"http-proxy": "1.12.x",
"lru-cache": "2.7.x",
"monaco-editor": "0.7.x",
"morgan": "1.6.x",
"promise": "7.0.x",
"promise-queue": "2.1.x",

2
static/main.js

@ -41,7 +41,7 @@ require.config({
},
packages: [{
name: "vs",
location: "ext/monaco-editor/dev/vs"
location: "ext/monaco-editor/release/dev/vs"
}],
shim: {
underscore: {exports: '_'},

Loading…
Cancel
Save