From b22f6770c8bd084d66950655203c61dd701b3d90 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 4 Jun 2022 08:51:19 +0200 Subject: Remove node_modules --- node_modules/nodemon/bin/nodemon.js | 16 --------------- node_modules/nodemon/bin/postinstall.js | 31 ------------------------------ node_modules/nodemon/bin/windows-kill.exe | Bin 80384 -> 0 bytes 3 files changed, 47 deletions(-) delete mode 100755 node_modules/nodemon/bin/nodemon.js delete mode 100755 node_modules/nodemon/bin/postinstall.js delete mode 100644 node_modules/nodemon/bin/windows-kill.exe (limited to 'node_modules/nodemon/bin') diff --git a/node_modules/nodemon/bin/nodemon.js b/node_modules/nodemon/bin/nodemon.js deleted file mode 100755 index 31aff34..0000000 --- a/node_modules/nodemon/bin/nodemon.js +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env node - -const cli = require('../lib/cli'); -const nodemon = require('../lib/'); -const options = cli.parse(process.argv); - -nodemon(options); - -const fs = require('fs'); - -// checks for available update and returns an instance -const pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json')); - -if (pkg.version.indexOf('0.0.0') !== 0 && options.noUpdateNotifier !== true) { - require('update-notifier')({ pkg }).notify(); -} diff --git a/node_modules/nodemon/bin/postinstall.js b/node_modules/nodemon/bin/postinstall.js deleted file mode 100755 index 34c8194..0000000 --- a/node_modules/nodemon/bin/postinstall.js +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env node - -function main() { - if (process.env.SUPPRESS_SUPPORT || process.env.OPENCOLLECTIVE_HIDE || process.env.CI) { - return; - } - - const message = '\u001b[32mLove nodemon? You can now support the project via the open collective:\u001b[22m\u001b[39m\n > \u001b[96m\u001b[1mhttps://opencollective.com/nodemon/donate\u001b[0m\n'; - - try { - const Configstore = require('configstore'); - const pkg = require(__dirname + '/../package.json'); - const now = Date.now(); - - var week = 1000 * 60 * 60 * 24 * 7; - - // create a Configstore instance with an unique ID e.g. - // Package name and optionally some default values - const conf = new Configstore(pkg.name); - const last = conf.get('lastCheck'); - - if (!last || now - week > last) { - console.log(message); - conf.set('lastCheck', now); - } - } catch (e) { - console.log(message); - } -} - -main(); diff --git a/node_modules/nodemon/bin/windows-kill.exe b/node_modules/nodemon/bin/windows-kill.exe deleted file mode 100644 index 98d7d7f..0000000 Binary files a/node_modules/nodemon/bin/windows-kill.exe and /dev/null differ -- cgit