Skip to content

Commit

Permalink
Move all npm from meteor packages to package.json & Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigok committed Jan 17, 2018
1 parent 654eecd commit e62fddc
Show file tree
Hide file tree
Showing 144 changed files with 13,634 additions and 15,067 deletions.
23,350 changes: 13,390 additions & 9,960 deletions package-lock.json

Large diffs are not rendered by default.

50 changes: 46 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,13 @@
"email": "support@rocket.chat"
},
"devDependencies": {
"autoprefixer": "^7.2.4",
"autoprefixer": "^7.2.5",
"babel-mocha-es6-compiler": "^0.1.0",
"babel-plugin-array-includes": "^2.0.3",
"chimp": "^0.51.0",
"conventional-changelog-cli": "^1.3.5",
"eslint": "^4.15.0",
"mocha": "^4.1.0",
"mock-require": "^2.0.2",
"mock-require": "^3.0.1",
"postcss-custom-properties": "^6.2.0",
"postcss-import": "^11.0.0",
"postcss-media-minmax": "^3.0.0",
Expand All @@ -106,31 +105,74 @@
"supertest": "^3.0.0"
},
"dependencies": {
"@google-cloud/language": "0.8.0",
"@google-cloud/storage": "1.4.0",
"@google-cloud/vision": "0.11.5",
"adm-zip": "0.4.7",
"atlassian-crowd": "0.5.0",
"autolinker": "1.6.0",
"aws-sdk": "^2.180.0",
"babel-runtime": "^6.26.0",
"bad-words": "1.3.1",
"bcrypt": "^1.0.3",
"bson": "0.5.5",
"bugsnag": "1.8.0",
"bunyan": "^1.8.12",
"busboy": "0.2.14",
"cas": "https://github.com/kcbanner/node-cas/tarball/fcd27dad333223b3b75a048bce27973fb3ca0f62",
"clipboard": "1.7.1",
"codemirror": "^5.33.0",
"coffeescript": "1.12.7",
"connect": "2.7.10",
"core-js": "^2.5.3",
"csv-parse": "1.2.0",
"emailreplyparser": "^0.0.5",
"file-type": "^7.4.0",
"filesize": "3.5.11",
"gm": "1.23.1",
"gridfs-stream": "1.1.1",
"he": "1.1.1",
"highlight.js": "^9.12.0",
"iconv-lite": "0.4.19",
"image-size": "0.6.2",
"imap": "^0.8.19",
"ip-range-check": "0.0.2",
"jquery": "^3.2.1",
"jschardet": "1.6.0",
"ldapjs": "^1.0.2",
"less": "https://github.com/meteor/less.js/tarball/8130849eb3d7f0ecf0ca8d0af7c4207b0442e3f6",
"less-plugin-autoprefix": "1.5.1",
"localforage": "1.5.5",
"lokijs": "1.4.1",
"lru-cache": "2.6.5",
"mailparser": "^2.1.0",
"marked": "0.3.12",
"mime-db": "^1.32.0",
"mime-type": "^3.0.5",
"mkdirp": "0.5.1",
"moment": "^2.20.1",
"moment-timezone": "^0.5.14",
"node-dogstatsd": "0.0.7",
"object-path": "0.11.4",
"photoswipe": "^4.1.2",
"poplib": "^0.1.7",
"prom-client": "^10.2.2",
"querystring": "0.2.0",
"redis": "2.2.5",
"semver": "^5.4.1",
"slack-client": "2.0.6",
"speakeasy": "2.0.0",
"tar-stream": "1.5.5",
"toastr": "^2.1.4",
"twilio": "2.9.1",
"ua-parser-js": "0.7.17",
"underscore": "^1.8.3",
"underscore.string": "^3.3.4",
"wolfy87-eventemitter": "^5.2.4"
"wolfy87-eventemitter": "^5.2.4",
"xml-crypto": "0.6.0",
"xml2js": "0.2.0",
"xmlbuilder": "2.6.4",
"xmldom": "0.1.27",
"yaqrcode": "0.2.1"
}
}
2 changes: 1 addition & 1 deletion packages/autoupdate/autoupdate_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// version. Developers can easily experiment with different versioning and
// updating models by forking this package.

var Future = Npm.require("fibers/future");
import Future from "fibers/future";

Autoupdate = {};

Expand Down
3 changes: 2 additions & 1 deletion packages/autoupdate/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Package.onUse(function (api) {

api.use([
'ddp',
'mongo'
'mongo',
'ecmascript'
], ['client', 'server']);

api.use(['http', 'random'], 'web.cordova');
Expand Down
1 change: 0 additions & 1 deletion packages/meteor-accounts-saml/.npm/package/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions packages/meteor-accounts-saml/.npm/package/README

This file was deleted.

122 changes: 0 additions & 122 deletions packages/meteor-accounts-saml/.npm/package/npm-shrinkwrap.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/meteor-accounts-saml/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,3 @@ Package.on_use(function(api) {
api.add_files(['saml_rocketchat.js'], 'server');
api.add_files('saml_client.js', 'client');
});

Npm.depends({
'xml2js': '0.2.0',
'xml-crypto': '0.6.0',
'xmldom': '0.1.19',
'connect': '2.7.10',
'xmlbuilder': '2.6.4',
'querystring': '0.2.0'
});
4 changes: 2 additions & 2 deletions packages/meteor-accounts-saml/saml_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ if (!Accounts.saml) {
};
}

const fiber = Npm.require('fibers');
const connect = Npm.require('connect');
import fiber from 'fibers';
import connect from 'connect';
RoutePolicy.declare('/_saml/', 'network');

/**
Expand Down
14 changes: 7 additions & 7 deletions packages/meteor-accounts-saml/saml_utils.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* globals SAML:true */

const zlib = Npm.require('zlib');
const xml2js = Npm.require('xml2js');
const xmlCrypto = Npm.require('xml-crypto');
const crypto = Npm.require('crypto');
const xmldom = Npm.require('xmldom');
const querystring = Npm.require('querystring');
const xmlbuilder = Npm.require('xmlbuilder');
import zlib from 'zlib';
import xml2js from 'xml2js';
import xmlCrypto from 'xml-crypto';
import crypto from 'crypto';
import xmldom from 'xmldom';
import querystring from 'querystring';
import xmlbuilder from 'xmlbuilder';

// var prefixMatch = new RegExp(/(?!xmlns)^.*:/);

Expand Down
1 change: 0 additions & 1 deletion packages/rocketchat-2fa/.npm/package/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions packages/rocketchat-2fa/.npm/package/README

This file was deleted.

20 changes: 0 additions & 20 deletions packages/rocketchat-2fa/.npm/package/npm-shrinkwrap.json

This file was deleted.

5 changes: 0 additions & 5 deletions packages/rocketchat-2fa/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ Package.describe({
documentation: 'README.md'
});

Npm.depends({
speakeasy: '2.0.0',
yaqrcode: '0.2.1'
});

Package.onUse(function(api) {
api.use([
'accounts-base',
Expand Down
1 change: 0 additions & 1 deletion packages/rocketchat-api/.npm/package/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions packages/rocketchat-api/.npm/package/README

This file was deleted.

45 changes: 0 additions & 45 deletions packages/rocketchat-api/.npm/package/npm-shrinkwrap.json

This file was deleted.

4 changes: 0 additions & 4 deletions packages/rocketchat-api/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,3 @@ Package.onUse(function(api) {
api.addFiles('server/v1/stats.js', 'server');
api.addFiles('server/v1/users.js', 'server');
});

Npm.depends({
busboy: '0.2.13'
});
Loading

0 comments on commit e62fddc

Please sign in to comment.