Browse Source

Use monaco from npm (where it's at least versioned)

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
3d117caa39
  1. 3
      Makefile
  2. 3
      bower.json
  3. 1
      package.json

3
Makefile

@ -50,6 +50,9 @@ $(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,7 +27,6 @@
"clipboard": "^1.5.12",
"raven-js": "^3.7.0",
"es6-promise": "^4.0.5",
"lru-cache": "2.7.3",
"monaco-editor": "*"
"lru-cache": "2.7.3"
}
}

1
package.json

@ -23,6 +23,7 @@
"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",

Loading…
Cancel
Save