@yao-pkg/pkg 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +433 -0
- package/dictionary/angular-bridge.js +3 -0
- package/dictionary/any-promise.js +3 -0
- package/dictionary/async.js +3 -0
- package/dictionary/aws-sdk.js +7 -0
- package/dictionary/babel-core.js +3 -0
- package/dictionary/batch.js +3 -0
- package/dictionary/bcrypt.js +3 -0
- package/dictionary/better-sqlite3.js +3 -0
- package/dictionary/bignum.js +3 -0
- package/dictionary/bindings.js +3 -0
- package/dictionary/blessed.js +8 -0
- package/dictionary/body-parser.js +9 -0
- package/dictionary/browserify.js +7 -0
- package/dictionary/bson.js +3 -0
- package/dictionary/buffermaker.js +7 -0
- package/dictionary/bunyan.js +9 -0
- package/dictionary/busboy.js +7 -0
- package/dictionary/bytes.js +3 -0
- package/dictionary/callsites.js +3 -0
- package/dictionary/chokidar.js +3 -0
- package/dictionary/coffee-script.js +7 -0
- package/dictionary/colors.js +3 -0
- package/dictionary/compression.js +3 -0
- package/dictionary/compressjs.js +7 -0
- package/dictionary/connect-mongo.js +3 -0
- package/dictionary/connect-mongodb.js +3 -0
- package/dictionary/connect-redis.js +3 -0
- package/dictionary/connect.js +10 -0
- package/dictionary/consolidate.js +3 -0
- package/dictionary/cookie-parser.js +3 -0
- package/dictionary/cookie.js +3 -0
- package/dictionary/cors.js +3 -0
- package/dictionary/cron.js +3 -0
- package/dictionary/cross-env.js +11 -0
- package/dictionary/cross-spawn-async.js +3 -0
- package/dictionary/curve25519.js +3 -0
- package/dictionary/data-preflight.js +7 -0
- package/dictionary/debug.js +3 -0
- package/dictionary/denymount.js +3 -0
- package/dictionary/diff.js +3 -0
- package/dictionary/drivelist.js +22 -0
- package/dictionary/ed25519.js +3 -0
- package/dictionary/ejs.js +3 -0
- package/dictionary/elasticsearch.js +3 -0
- package/dictionary/electron.js +17 -0
- package/dictionary/emailjs.js +3 -0
- package/dictionary/engine.io.js +3 -0
- package/dictionary/epoll.js +3 -0
- package/dictionary/errorhandler.js +7 -0
- package/dictionary/errors.js +7 -0
- package/dictionary/eslint.js +7 -0
- package/dictionary/etcher-image-write.js +3 -0
- package/dictionary/exceljs.js +21 -0
- package/dictionary/exiftool.exe.js +13 -0
- package/dictionary/exiftool.pl.js +13 -0
- package/dictionary/express-load.js +12 -0
- package/dictionary/express-session.js +3 -0
- package/dictionary/express.js +14 -0
- package/dictionary/extender.js +11 -0
- package/dictionary/extsprintf.js +3 -0
- package/dictionary/faye-websocket.js +3 -0
- package/dictionary/feathers.js +3 -0
- package/dictionary/findup-sync.js +3 -0
- package/dictionary/floordate.js +3 -0
- package/dictionary/fmt.js +3 -0
- package/dictionary/formidable.js +3 -0
- package/dictionary/fs-extra.js +3 -0
- package/dictionary/fsevents.js +3 -0
- package/dictionary/geoip-lite.js +7 -0
- package/dictionary/github.js +7 -0
- package/dictionary/gm.js +3 -0
- package/dictionary/google-closure-compiler-java.js +13 -0
- package/dictionary/google-closure-compiler.js +13 -0
- package/dictionary/googleapis.js +7 -0
- package/dictionary/got.js +3 -0
- package/dictionary/graceful-fs.js +19 -0
- package/dictionary/grpc.js +11 -0
- package/dictionary/gulp.js +3 -0
- package/dictionary/hap-nodejs.js +3 -0
- package/dictionary/heapdump.js +3 -0
- package/dictionary/hoek.js +3 -0
- package/dictionary/homebridge.js +3 -0
- package/dictionary/http-proxy.js +3 -0
- package/dictionary/http-server.js +3 -0
- package/dictionary/image-size.js +3 -0
- package/dictionary/indexof.js +3 -0
- package/dictionary/inquirer.js +3 -0
- package/dictionary/j.js +16 -0
- package/dictionary/jade.js +3 -0
- package/dictionary/jsdom.js +3 -0
- package/dictionary/json-stringify-date.js +3 -0
- package/dictionary/json-stringify-safe.js +3 -0
- package/dictionary/jsonwebtoken.js +3 -0
- package/dictionary/kerberos.js +3 -0
- package/dictionary/knex.js +7 -0
- package/dictionary/later.js +7 -0
- package/dictionary/level.js +3 -0
- package/dictionary/leveldown.js +10 -0
- package/dictionary/levelup.js +3 -0
- package/dictionary/liftoff.js +12 -0
- package/dictionary/lodash.js +3 -0
- package/dictionary/log4js.js +7 -0
- package/dictionary/logform.js +7 -0
- package/dictionary/machinepack-urls.js +7 -0
- package/dictionary/markdown.js +3 -0
- package/dictionary/mdns.js +6 -0
- package/dictionary/method-override.js +3 -0
- package/dictionary/microjob.js +16 -0
- package/dictionary/mime-types.js +3 -0
- package/dictionary/mime.js +3 -0
- package/dictionary/minimatch.js +3 -0
- package/dictionary/minstache.js +3 -0
- package/dictionary/module-deps.js +3 -0
- package/dictionary/moment-timezone.js +3 -0
- package/dictionary/moment.js +7 -0
- package/dictionary/mongodb-core.js +22 -0
- package/dictionary/mongodb.js +7 -0
- package/dictionary/mongoose.js +7 -0
- package/dictionary/mongoskin.js +7 -0
- package/dictionary/ms.js +3 -0
- package/dictionary/msgpack.js +3 -0
- package/dictionary/multer.js +3 -0
- package/dictionary/muri.js +3 -0
- package/dictionary/native-or-bluebird.js +3 -0
- package/dictionary/natives.js +3 -0
- package/dictionary/nconf.js +7 -0
- package/dictionary/nedb.js +3 -0
- package/dictionary/negotiator.js +7 -0
- package/dictionary/newrelic.js +3 -0
- package/dictionary/nib.js +3 -0
- package/dictionary/nightmare.js +18 -0
- package/dictionary/node-forge.js +7 -0
- package/dictionary/node-libcurl.js +3 -0
- package/dictionary/node-notifier.js +30 -0
- package/dictionary/node-pre-gyp.js +7 -0
- package/dictionary/node-redis-pubsub.js +3 -0
- package/dictionary/node-sass.js +3 -0
- package/dictionary/node-uuid.js +3 -0
- package/dictionary/node-xlsx.js +3 -0
- package/dictionary/node-zookeeper-client.js +7 -0
- package/dictionary/nodegit.js +7 -0
- package/dictionary/nodemailer-sendmail-transport.js +3 -0
- package/dictionary/nodemailer.js +3 -0
- package/dictionary/npm-registry-client.js +7 -0
- package/dictionary/npm.js +7 -0
- package/dictionary/nssocket.js +3 -0
- package/dictionary/oauth2orize.js +7 -0
- package/dictionary/octobat.js +3 -0
- package/dictionary/open.js +13 -0
- package/dictionary/opn.js +4 -0
- package/dictionary/optimist.js +3 -0
- package/dictionary/passport-local.js +3 -0
- package/dictionary/passport.js +3 -0
- package/dictionary/pg-cursor.js +3 -0
- package/dictionary/pg-query-stream.js +3 -0
- package/dictionary/pg-types.js +7 -0
- package/dictionary/pg.js +7 -0
- package/dictionary/pg.js.js +7 -0
- package/dictionary/pgpass.js +7 -0
- package/dictionary/phantom.js +19 -0
- package/dictionary/phantomjs-prebuilt.js +16 -0
- package/dictionary/pkginfo.js +3 -0
- package/dictionary/pm2.js +7 -0
- package/dictionary/pmx.js +3 -0
- package/dictionary/pouchdb.js +3 -0
- package/dictionary/primus-emitter.js +3 -0
- package/dictionary/primus-spark-latency.js +3 -0
- package/dictionary/primus.js +3 -0
- package/dictionary/publicsuffixlist.js +15 -0
- package/dictionary/pug.js +3 -0
- package/dictionary/punt.js +3 -0
- package/dictionary/puppeteer.js +13 -0
- package/dictionary/pwd.js +3 -0
- package/dictionary/q.js +3 -0
- package/dictionary/raven.js +3 -0
- package/dictionary/rc.js +12 -0
- package/dictionary/readable-stream.js +3 -0
- package/dictionary/rechoir.js +3 -0
- package/dictionary/redis-parser.js +3 -0
- package/dictionary/redis.js +3 -0
- package/dictionary/regression.js +3 -0
- package/dictionary/reload.js +7 -0
- package/dictionary/request.js +3 -0
- package/dictionary/require-uncached.js +3 -0
- package/dictionary/require_optional.js +3 -0
- package/dictionary/s3.js +3 -0
- package/dictionary/safe_datejs.js +3 -0
- package/dictionary/sails.js +33 -0
- package/dictionary/sax.js +3 -0
- package/dictionary/scrypt.js +3 -0
- package/dictionary/semver.js +3 -0
- package/dictionary/sequelize.js +7 -0
- package/dictionary/serialport.js +3 -0
- package/dictionary/sha3.js +3 -0
- package/dictionary/sharp.js +11 -0
- package/dictionary/shelljs.js +7 -0
- package/dictionary/sinon.js +3 -0
- package/dictionary/socket.io-client.js +13 -0
- package/dictionary/socket.io.js +12 -0
- package/dictionary/sqip.js +7 -0
- package/dictionary/sqlite3.js +3 -0
- package/dictionary/steam-crypto.js +7 -0
- package/dictionary/steam-resources.js +19 -0
- package/dictionary/steam.js +3 -0
- package/dictionary/stripe-webhook-middleware.js +3 -0
- package/dictionary/stripe.js +3 -0
- package/dictionary/strong-globalize.js +3 -0
- package/dictionary/stylus.js +14 -0
- package/dictionary/supervisor.js +3 -0
- package/dictionary/svgo.js +8 -0
- package/dictionary/tabtab.js +3 -0
- package/dictionary/tesseract.js.js +7 -0
- package/dictionary/throng.js +3 -0
- package/dictionary/time.js +3 -0
- package/dictionary/tinify.js +7 -0
- package/dictionary/tiny-worker.js +7 -0
- package/dictionary/tmp.js +3 -0
- package/dictionary/transformers.js +3 -0
- package/dictionary/uglify-js.js +9 -0
- package/dictionary/umd.js +19 -0
- package/dictionary/underscore.js +3 -0
- package/dictionary/union.js +3 -0
- package/dictionary/update-notifier.js +3 -0
- package/dictionary/usage.js +7 -0
- package/dictionary/v8flags.js +13 -0
- package/dictionary/verror.js +3 -0
- package/dictionary/voc.js +3 -0
- package/dictionary/webdriverio.js +7 -0
- package/dictionary/winston-uber.js +7 -0
- package/dictionary/winston.js +7 -0
- package/dictionary/ws.js +3 -0
- package/dictionary/xlsx.js +16 -0
- package/dictionary/xml2js.js +3 -0
- package/dictionary/yargs.js +3 -0
- package/dictionary/zeromq.js +13 -0
- package/lib-es5/bin.js +19 -0
- package/lib-es5/chmod.js +15 -0
- package/lib-es5/common.js +235 -0
- package/lib-es5/compress_type.js +10 -0
- package/lib-es5/detector.js +420 -0
- package/lib-es5/fabricator.js +141 -0
- package/lib-es5/follow.js +91 -0
- package/lib-es5/help.js +53 -0
- package/lib-es5/index.d.ts +2 -0
- package/lib-es5/index.js +541 -0
- package/lib-es5/log.js +7 -0
- package/lib-es5/mach-o.js +61 -0
- package/lib-es5/packer.js +131 -0
- package/lib-es5/producer.js +343 -0
- package/lib-es5/refiner.js +87 -0
- package/lib-es5/types.js +9 -0
- package/lib-es5/walker.js +853 -0
- package/package.json +143 -0
- package/prelude/bootstrap.js +2256 -0
- package/prelude/diagnostic.js +136 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
pkg: {
|
|
5
|
+
patches: {
|
|
6
|
+
'lib/error.js': [
|
|
7
|
+
'return err;',
|
|
8
|
+
'if (err.message.indexOf("SyntaxError") >= 0) {' +
|
|
9
|
+
'err.message = "Pkg: Try to specify your ' +
|
|
10
|
+
"javascript file in 'assets' in config. \" + err.message;" +
|
|
11
|
+
'};\n' +
|
|
12
|
+
'return err;',
|
|
13
|
+
'if (Error.captureStackTrace) {',
|
|
14
|
+
'if (this.message.indexOf("SyntaxError") >= 0) {' +
|
|
15
|
+
'this.message = "Pkg: Try to specify your ' +
|
|
16
|
+
"javascript file in 'assets' in config. \" + this.message;" +
|
|
17
|
+
'};\n' +
|
|
18
|
+
'if (Error.captureStackTrace) {',
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
package/dictionary/ms.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
pkg: {
|
|
5
|
+
patches: {
|
|
6
|
+
'lib/nightmare.js': [
|
|
7
|
+
"path.join(__dirname, 'runner.js')",
|
|
8
|
+
"path.join(path.dirname(process.execPath), 'nightmare/runner.js')",
|
|
9
|
+
],
|
|
10
|
+
},
|
|
11
|
+
deployFiles: [
|
|
12
|
+
['lib/runner.js', 'nightmare/runner.js'],
|
|
13
|
+
['lib/frame-manager.js', 'nightmare/frame-manager.js'],
|
|
14
|
+
['lib/ipc.js', 'nightmare/ipc.js'],
|
|
15
|
+
['lib/preload.js', 'nightmare/preload.js'],
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
pkg: {
|
|
5
|
+
patches: {
|
|
6
|
+
'notifiers/balloon.js': [
|
|
7
|
+
"__dirname, '../vendor/notifu/notifu'",
|
|
8
|
+
"path.dirname(process.execPath), 'notifier/notifu'",
|
|
9
|
+
],
|
|
10
|
+
'notifiers/notificationcenter.js': [
|
|
11
|
+
"__dirname,\n '../vendor/terminal-notifier.app/Contents/MacOS/terminal-notifier'",
|
|
12
|
+
"path.dirname(process.execPath), 'notifier/terminal-notifier'",
|
|
13
|
+
],
|
|
14
|
+
'notifiers/toaster.js': [
|
|
15
|
+
"__dirname, '../vendor/snoreToast/snoretoast'",
|
|
16
|
+
"path.dirname(process.execPath), 'notifier/snoretoast'",
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
deployFiles: [
|
|
20
|
+
['vendor/notifu/notifu.exe', 'notifier/notifu.exe'],
|
|
21
|
+
['vendor/notifu/notifu64.exe', 'notifier/notifu64.exe'],
|
|
22
|
+
[
|
|
23
|
+
'vendor/terminal-notifier.app/Contents/MacOS/terminal-notifier',
|
|
24
|
+
'notifier/terminal-notifier',
|
|
25
|
+
],
|
|
26
|
+
['vendor/snoreToast/snoretoast-x64.exe', 'notifier/snoretoast-x64.exe'],
|
|
27
|
+
['vendor/snoreToast/snoretoast-x86.exe', 'notifier/snoretoast-x86.exe'],
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
};
|
package/dictionary/pg.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
pkg: {
|
|
5
|
+
patches: {
|
|
6
|
+
'lib/phantom.js': [
|
|
7
|
+
"__dirname + '/shim/index.js'",
|
|
8
|
+
"_path2.default.join(_path2.default.dirname(process.execPath), 'phantom/index.js')",
|
|
9
|
+
],
|
|
10
|
+
},
|
|
11
|
+
deployFiles: [
|
|
12
|
+
['lib/shim/index.js', 'phantom/index.js'],
|
|
13
|
+
[
|
|
14
|
+
'lib/shim/function_bind_polyfill.js',
|
|
15
|
+
'phantom/function_bind_polyfill.js',
|
|
16
|
+
],
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
pkg: {
|
|
5
|
+
patches: {
|
|
6
|
+
'lib/phantomjs.js': [
|
|
7
|
+
'__dirname, location.location',
|
|
8
|
+
"path.dirname(process.execPath), 'phantom', path.basename(location.location)",
|
|
9
|
+
],
|
|
10
|
+
},
|
|
11
|
+
deployFiles: [
|
|
12
|
+
['lib/phantom/bin/phantomjs', 'phantom/phantomjs'],
|
|
13
|
+
['lib/phantom/bin/phantomjs.exe', 'phantom/phantomjs.exe'],
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
dependencies: {
|
|
5
|
+
gulp: undefined,
|
|
6
|
+
'gulp-di': undefined,
|
|
7
|
+
'gulp-istanbul': undefined,
|
|
8
|
+
'gulp-jshint': undefined,
|
|
9
|
+
'gulp-mocha': undefined,
|
|
10
|
+
mocha: undefined,
|
|
11
|
+
},
|
|
12
|
+
pkg: {
|
|
13
|
+
assets: ['effective_tld_names.dat'],
|
|
14
|
+
},
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
pkg: {
|
|
5
|
+
patches: {
|
|
6
|
+
'utils/ChromiumDownloader.js': [
|
|
7
|
+
"path.join(__dirname, '..', '.local-chromium')",
|
|
8
|
+
"path.join(path.dirname(process.execPath), 'puppeteer')",
|
|
9
|
+
],
|
|
10
|
+
},
|
|
11
|
+
deployFiles: [['.local-chromium', 'puppeteer', 'directory']],
|
|
12
|
+
},
|
|
13
|
+
};
|
package/dictionary/q.js
ADDED
package/dictionary/rc.js
ADDED
package/dictionary/s3.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
pkg: {
|
|
5
|
+
scripts: ['lib/**/*.js'],
|
|
6
|
+
patches: {
|
|
7
|
+
'lib/hooks/moduleloader/index.js': [
|
|
8
|
+
"require('coffee-script/register')",
|
|
9
|
+
'',
|
|
10
|
+
],
|
|
11
|
+
'lib/app/configuration/index.js': [
|
|
12
|
+
'hook = require(hookBundled);',
|
|
13
|
+
'hook = require(hookBundled);' +
|
|
14
|
+
// force to take the whole package
|
|
15
|
+
"require('sails-hook-sockets');",
|
|
16
|
+
],
|
|
17
|
+
'lib/hooks/grunt/index.js': [
|
|
18
|
+
'var child = ChildProcess.fork(',
|
|
19
|
+
'\n' +
|
|
20
|
+
"sails.log.warn('*******************************************************************');\n" +
|
|
21
|
+
"sails.log.warn('** Pkg: Grunt hook is temporarily disabled in pkg-ed app **');\n" +
|
|
22
|
+
"sails.log.warn('** Instead it should be run before compilation to prepare files **');\n" +
|
|
23
|
+
"sails.log.warn('*******************************************************************');\n" +
|
|
24
|
+
"sails.emit('hook:grunt:done');\n" +
|
|
25
|
+
'return cb_afterTaskStarted();(',
|
|
26
|
+
],
|
|
27
|
+
'lib/hooks/orm/backwards-compatibility/upgrade-datastore.js': [
|
|
28
|
+
'if (!fs.existsSync(modulePath)) {',
|
|
29
|
+
'try { require(modulePath); } catch (e) {',
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
};
|