diff --git a/static/monitoring/README.md b/static/monitoring/README.md new file mode 100644 index 0000000000..dbcd33aa6c --- /dev/null +++ b/static/monitoring/README.md @@ -0,0 +1,16 @@ +This directory contains a custom package.json file that is only to be used by +[Gemnasium](https://gemnasium.com/edx/edx-platform). It declares the versions +of the platform's JavaScript vendor libraries that are used without npm. This +is necessary because Gemnasium cannot find such JavaScript files, as it only +looks at dependencies declared in package.json files. + +An important note is that .json files cannot contain comments, so libraries +that cannot be found must be removed from package.json. For this reason, +there is a package.txt with a full list of all the vendor libraries in +package.json format. This can be used to determine the scope of libraries +that are not being managed through npm. + +As JavaScript dependencies are added to the true package.json file, they should +be removed from both files so that obsolete version dependencies aren't captured. + +For more information, see the JIRA story [FEDX-2](https://openedx.atlassian.net/browse/FEDX-2). diff --git a/static/monitoring/package.json b/static/monitoring/package.json new file mode 100644 index 0000000000..405f8f3639 --- /dev/null +++ b/static/monitoring/package.json @@ -0,0 +1,36 @@ +{ + "name": "edx-monitoring-only", + "version": "0.0.1", + "dependencies": { + "annotator": "1.2.6", + "backbone": "1.0.0", + "backbone.paginator": "0.8.1", + "backbone-relational": "0.9.0", + "codemirror": "3.21.0", + "date": "1.0", + "domready": "2.0.1", + "draggabilly": "1.2.4", + "jquery": "1.7.2", + "jquery-form": "3.18.0", + "jquery-watch": "2.0", + "moment": "2.10.6", + "mustache": "0.5.1", + "rangeslider": "1.0", + "require": "2.1.8", + "requirejs-text": "2.0.14", + "slickgrid": "2.1", + "timeago": "0.11.4", + "tinymce": "4.0.20", + "underscore": "1.4.4", + "urijs": "1.11.2", + "url": "1.8.4" + }, + "devDependencies": { + "jasmine": "1.0.0", + "jasmine-async": "0.1.0", + "jasmine-jquery": "1.5.1", + "jasmine-stealth": "0.0.12", + "sinon": "1.17.0", + "squire": "1.0.0" + } +} diff --git a/static/monitoring/package.txt b/static/monitoring/package.txt new file mode 100644 index 0000000000..35cf178da0 --- /dev/null +++ b/static/monitoring/package.txt @@ -0,0 +1,123 @@ +// Annotated version as JSON files cannot have comments +{ + "name": "edx-monitoring-only", + "version": "0.0.1", + "dependencies": { + "afontgarde": "0.1.6", + "annotator": "1.2.6", + "annotator-full": "1.2.8", + // "annotator-full-firebase-auth": "unknown", + "annotator.store": "1.2.6", + "annotator.tags": "1.2.6", + "backbone": "1.0.0", + "backbone.paginator": "0.8.1", + // "backbone-associations": "unknown", + "backbone-relational": "0.9.0", + // "backbone-super": "unknown", + "codemirror": "3.21.0", + "codemirror-accessible": "3.15.0", + // many codemirror plugins... + "date": "1.0", + "datepair": "1.2.2", + "domReady": "2.0.1", + "draggabilly": "1.2.4", + // "history": "1.8b2", + "jquery": "1.7.2", + // "jquery.ajaxQueue": "unknown", + // "jquery.ajax-retry": "unknown", + "jquery.colorhelpers": "1.1", + // "jquery.cookie": "unknown", + "jquery.event.drag": "2.2", + "jquery.event.drop": "2.2", + "jquery.fileupload": "5.32.2", + // "jquery.fileupload-angular": ..., + // "jquery.fileupload-audio": ..., + // "jquery.fileupload-image": ..., + // "jquery.fileupload-jquery-ui": ..., + // "jquery.fileupload-process": ..., + "jquery.fileupload-ui": "8.8.1", + // "jquery.fileupload-validate": ..., + // "jquery.fileupload-video": ..., + "jquery.flot": "0.7", + // "jquery.flot.axislabels": ..., + // "jquery.flot.crosshair": ..., + // "jquery.flot.fillbetween": ..., + // "jquery.flot.image": ..., + // "jquery.flot.navigate": ..., + // "jquery.flot.pie": ..., + // "jquery.flot.resize": ..., + // "jquery.flot.selection": ..., + // "jquery.flot.stack": ..., + // "jquery.flot.symbol": ..., + // "jquery.flot.threshold": ..., + "jquery.form": "3.18", + "jquery.iframe-transport": "1.7", + // "jquery.inlineedit": "unknown", + "jquery-jvectormap": "1.1.1", + "jquery.leanModal": "1.1", + "jquery.markitup": "1.1", + "jquery.postmessage-transport": "1.1.1", + "jquery.xdr-transport": "1.1.3", + // "jquery.qtip": "unknown", + // "jquery.qubit": "unknown", + "jquery.scrollTo": "1.4.2", + "jquery.smooth-scroll": "1.4.10", + // "jquery.tablednd": "unknown", + "jquery.timeago": "0.11.4", + // "jquery.timepicker": "unknown", + // "jquery.truncate": "unknown", + // "jquery.ui": "unknown", + "jquery.ui.draggable": "1.10.0", + "jquery.ui.widget": "1.10.3", + "jquery-Watch": "2.0", + // "json2": "unknown", + // "mersenne-twister": "unknown", + // "modernizr.fontface-generatedcontent": "custom 2.7.1", + "moment": "2.10.6", + // "moment-with-locales": "unknown", + "mustache": "0.5.1", + "noreferrer": "0.1.3", + // "number-polyfill": "unknown", + "openseaddragon": "0.9.131", + // "OpenSeaDragonAnnotation": "Harvard", + // "ova": "Harvard", + // "pdf": "unknown", + // "pdf.worker": "unknown", + "rangeslider": "1.0", + "reply-annotator": "1.0", + "require": "2.1.8", + "requirejs.text": "2.0.14", + "responsive-carousel": "0.1.0", + "richText-annotator": "1.0", + "share-annotator": "1.1", + // "slick.core": "unknown", + // "slick.dataview": "unknown", + // "slick.editors": "unknown", + // "slick.formatters": "unknown", + "slick.grid": "2.1", + // "slick.groupitemmetadataprovider": "unknown", + // "slick.remotemodel": "unknown", + "tags-annotator": "1.0", + "tinymce": "4.0.20", + "tinymce.jquery": "4.0.20", + // many tinymce plugins... + "underscore": "1.4.4", + "URI": "1.11.2", + "url": "1.8.4", + // "urlify": "unknown", + "xdomain": "0.6.17" + // "video.dev": "unknown", + // "vjs.youtube": "unknown" + }, + "devDependencies": { + // "jasmine": "unknown", + "jasmine.async": "0.1.0", + "jasmine-imagediff": "1.0.3", + "jasmine-jquery": "1.5.1", + "jasmine-stealth": "0.0.12", + // "jquery.simulate": "unknown", + // "mock-ajax": "unknown", + "sinon": "1.17.0" + // "Squire": "unknown" + } +}