Merge pull request #3931 from oliverguenther/features/ng-annotate

[21918] Add ngAnnotate
pull/3935/head
Alex Dik 9 years ago
commit 4d4dc8304e
  1. 85
      frontend/npm-shrinkwrap.json
  2. 1
      frontend/package.json
  3. 4
      frontend/scripts/clean-shrinkwrap.js
  4. 3
      frontend/webpack.config.js

@ -1219,7 +1219,82 @@
"version": "0.5.1" "version": "0.5.1"
}, },
"lodash": { "lodash": {
"version": "2.4.1" "version": "2.4.2"
},
"ng-annotate-loader": {
"version": "0.0.10",
"dependencies": {
"ng-annotate": {
"version": "1.0.2",
"dependencies": {
"acorn": {
"version": "2.1.0"
},
"alter": {
"version": "0.2.0"
},
"convert-source-map": {
"version": "1.0.0"
},
"optimist": {
"version": "0.6.1",
"dependencies": {
"wordwrap": {
"version": "0.0.3"
},
"minimist": {
"version": "0.0.10"
}
}
},
"ordered-ast-traverse": {
"version": "1.1.1",
"dependencies": {
"ordered-esprima-props": {
"version": "1.1.0"
}
}
},
"simple-fmt": {
"version": "0.1.0"
},
"simple-is": {
"version": "0.2.0"
},
"stable": {
"version": "0.1.5"
},
"stringmap": {
"version": "0.2.2"
},
"stringset": {
"version": "0.2.1"
},
"tryor": {
"version": "0.1.2"
}
}
},
"source-map": {
"version": "0.4.2",
"dependencies": {
"amdefine": {
"version": "1.0.0"
}
}
},
"loader-utils": {
"version": "0.2.12",
"dependencies": {
"big.js": {
"version": "3.1.3"
},
"json5": {
"version": "0.4.0"
}
}
}
}
}, },
"ngtemplate-loader": { "ngtemplate-loader": {
"version": "0.1.3", "version": "0.1.3",
@ -1683,14 +1758,6 @@
} }
} }
} }
},
"fsevents": {
"version": "0.3.6",
"dependencies": {
"nan": {
"version": "1.8.4"
}
}
} }
} }
}, },

@ -56,6 +56,7 @@
"html-loader": "^0.2.3", "html-loader": "^0.2.3",
"json-loader": "^0.5.1", "json-loader": "^0.5.1",
"lodash": "^2.4.2", "lodash": "^2.4.2",
"ng-annotate-loader": "0.0.10",
"ngtemplate-loader": "^0.1.2", "ngtemplate-loader": "^0.1.2",
"polyfill-function-prototype-bind": "0.0.1", "polyfill-function-prototype-bind": "0.0.1",
"shelljs": "^0.3.0", "shelljs": "^0.3.0",

@ -1,3 +1,5 @@
#!/usr/bin/env node
//-- copyright //-- copyright
// OpenProject is a project management system. // OpenProject is a project management system.
// Copyright (C) 2012-2015 the OpenProject Foundation (OPF) // Copyright (C) 2012-2015 the OpenProject Foundation (OPF)
@ -26,8 +28,6 @@
// See doc/COPYRIGHT.rdoc for more details. // See doc/COPYRIGHT.rdoc for more details.
//++ //++
#!/usr/bin/env node
/** /**
* this script is just a temporary solution to deal with the issue of npm outputting the npm * this script is just a temporary solution to deal with the issue of npm outputting the npm
* shrinkwrap file in an unstable manner. * shrinkwrap file in an unstable manner.

@ -66,7 +66,8 @@ var loaders = [
{ test: /\.png$/, loader: 'url-loader?limit=100000&mimetype=image/png' }, { test: /\.png$/, loader: 'url-loader?limit=100000&mimetype=image/png' },
{ test: /\.gif$/, loader: 'file-loader' }, { test: /\.gif$/, loader: 'file-loader' },
{ test: /\.jpg$/, loader: 'file-loader' }, { test: /\.jpg$/, loader: 'file-loader' },
{ test: /js-[\w|-]{2,5}\.yml$/, loader: 'json!yaml' } { test: /js-[\w|-]{2,5}\.yml$/, loader: 'json!yaml' },
{ test: /[\/].*\.js$/, loader: 'ng-annotate?map=true' }
]; ];
for (var k in pathConfig.pluginNamesPaths) { for (var k in pathConfig.pluginNamesPaths) {

Loading…
Cancel
Save