Use custom shrinkwrap to ignore the translations package.

This commit is contained in:
Paulo Reis 2016-07-12 13:37:26 +01:00
parent b3acf011ab
commit 112a64ce84
3 changed files with 9 additions and 3855 deletions

View file

@ -17,6 +17,7 @@ module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-watch'
grunt.loadNpmTasks 'grunt-parallel'
grunt.loadNpmTasks 'grunt-exec'
grunt.loadNpmTasks 'grunt-custom-shrinkwrap'
# grunt.loadNpmTasks 'grunt-contrib-imagemin'
# grunt.loadNpmTasks 'grunt-sprity'
@ -208,6 +209,10 @@ module.exports = (grunt) ->
options:
prop: 'commit'
customShrinkwrap:
defaultTarget:
options:
excludeDependencies: [ 'translations-sharelatex' ]
file_append:
default_options: files: [ {

File diff suppressed because one or more lines are too long

View file

@ -56,15 +56,16 @@
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
"sixpack-client": "^1.0.0",
"temp": "^0.8.3",
"translations-sharelatex": "git+https://github.com/sharelatex/translations-sharelatex.git#master",
"underscore": "1.6.0",
"v8-profiler": "^5.2.3",
"xml2js": "0.2.0"
},
"devDependencies": {
"bunyan": "0.22.1",
"translations-sharelatex": "git+https://github.com/sharelatex/translations-sharelatex.git#master",
"chai": "",
"chai-spies": "",
"clean-css": "^3.4.18",
"grunt-available-tasks": "0.4.1",
"grunt-bunyan": "0.5.0",
"grunt-contrib-clean": "0.5.0",
@ -72,8 +73,8 @@
"grunt-contrib-less": "0.9.0",
"grunt-contrib-requirejs": "0.4.1",
"grunt-contrib-watch": "^1.0.0",
"grunt-custom-shrinkwrap": "^0.1.0",
"grunt-env": "0.4.4",
"clean-css": "^3.4.18",
"grunt-exec": "^0.4.7",
"grunt-execute": "^0.2.2",
"grunt-file-append": "0.0.6",