mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 19:07:15 +08:00
Remove donna
since there is no coffeescript, update locks
This commit is contained in:
parent
6260d9fc06
commit
346fde7cce
4 changed files with 1398 additions and 1094 deletions
|
@ -4,7 +4,6 @@ const rimraf = require('rimraf');
|
|||
const fs = require('fs-plus');
|
||||
var fs_extra = require('fs-extra');
|
||||
|
||||
const donna = require('donna');
|
||||
const joanna = require('joanna');
|
||||
const tello = require('tello');
|
||||
|
||||
|
@ -115,12 +114,6 @@ module.exports = function(grunt) {
|
|||
return true;
|
||||
});
|
||||
|
||||
grunt.log.ok('Done transforming, starting donna extraction');
|
||||
grunt.log.writeln('cjsxOutputDir: ' + cjsxOutputDir);
|
||||
|
||||
let metadata = donna.generateMetadata([cjsxOutputDir]);
|
||||
grunt.log.ok('---- Done with Donna (cjsx metadata)----');
|
||||
|
||||
// DEBUG
|
||||
// Use to check individual files
|
||||
var js_files = [];
|
||||
|
@ -142,12 +135,9 @@ module.exports = function(grunt) {
|
|||
|
||||
console.log(js_files);
|
||||
grunt.log.ok('---- Starting Jonna (jsx metadata)----');
|
||||
let jsx_metadata = joanna(js_files);
|
||||
let metadata = joanna(js_files);
|
||||
grunt.log.ok('---- Done with Joanna (jsx metadata)----');
|
||||
|
||||
Object.assign(metadata[0].files, jsx_metadata.files);
|
||||
console.log(metadata[0]);
|
||||
|
||||
grunt.file.write('/tmp/metadata.json', JSON.stringify(metadata, null, 2));
|
||||
|
||||
try {
|
||||
|
|
1648
app/package-lock.json
generated
1648
app/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -21,7 +21,6 @@
|
|||
"chalk": "1.x.x",
|
||||
"commander": "^2.9.0",
|
||||
"devtron": "^1.4.0",
|
||||
"donna": "^1.0.16",
|
||||
"electron": "1.8.2-beta.4",
|
||||
"electron-installer-dmg": "0.2.x",
|
||||
"electron-packager": "8.7.x",
|
||||
|
|
Loading…
Reference in a new issue