Browse Source

Group imports by kind

master
Leo Lamprecht 8 years ago
parent
commit
076817309c
No known key found for this signature in database GPG Key ID: EF804E3FF4BBA8AB
  1. 9
      bin/now
  2. 5
      bin/now-alias
  3. 15
      bin/now-certs
  4. 21
      bin/now-deploy
  5. 3
      bin/now-domains
  6. 7
      bin/now-list
  7. 5
      bin/now-remove
  8. 9
      bin/now-secrets

9
bin/now

@ -1,8 +1,13 @@
#!/usr/bin/env node
// Native
import {resolve} from 'path';
// Packages
import minimist from 'minimist';
import { resolve } from 'path';
import { spawn } from 'cross-spawn';
import {spawn} from 'cross-spawn';
// Ours
import checkUpdate from '../lib/check-update';
const argv = minimist(process.argv.slice(2));

5
bin/now-alias

@ -1,10 +1,13 @@
#!/usr/bin/env node
// Packages
import chalk from 'chalk';
import minimist from 'minimist';
import table from 'text-table';
import strlen from '../lib/strlen';
import ms from 'ms';
// Ours
import strlen from '../lib/strlen';
import NowAlias from '../lib/alias';
import login from '../lib/login';
import * as cfg from '../lib/cfg';

15
bin/now-certs

@ -1,16 +1,21 @@
#!/usr/bin/env node
// Native
import path from 'path';
// Packages
import chalk from 'chalk';
import table from 'text-table';
import strlen from '../lib/strlen';
import minimist from 'minimist';
import * as cfg from '../lib/cfg';
import { handleError, error } from '../lib/error';
import NowCerts from '../lib/certs';
import path from 'path';
import fs from 'fs-promise';
import ms from 'ms';
// Ours
import strlen from '../lib/strlen';
import * as cfg from '../lib/cfg';
import {handleError, error} from '../lib/error';
import NowCerts from '../lib/certs';
const argv = minimist(process.argv.slice(2), {
string: ['config', 'token', 'crt', 'key', 'ca'],
boolean: ['help', 'debug'],

21
bin/now-deploy

@ -1,21 +1,26 @@
#!/usr/bin/env node
// Native
import {resolve} from 'path';
// Packages
import Progress from 'progress';
import {stat} from 'fs-promise';
import bytes from 'bytes';
import chalk from 'chalk';
import minimist from 'minimist';
import ms from 'ms';
// Ours
import copy from '../lib/copy';
import { resolve } from 'path';
import login from '../lib/login';
import { stat } from 'fs-promise';
import * as cfg from '../lib/cfg';
import { version } from '../../package';
import {version} from '../../package';
import Logger from '../lib/build-logger';
import bytes from 'bytes';
import chalk from 'chalk';
import minimist from 'minimist';
import Now from '../lib';
import toHumanPath from '../lib/utils/to-human-path';
import promptOptions from '../lib/utils/prompt-options';
import ms from 'ms';
import { handleError, error } from '../lib/error';
import {handleError, error} from '../lib/error';
const argv = minimist(process.argv.slice(2), {
string: [

3
bin/now-domains

@ -1,9 +1,12 @@
#!/usr/bin/env node
// Packages
import chalk from 'chalk';
import minimist from 'minimist';
import table from 'text-table';
import ms from 'ms';
// Ours
import login from '../lib/login';
import * as cfg from '../lib/cfg';
import { error } from '../lib/error';

7
bin/now-list

@ -1,15 +1,18 @@
#!/usr/bin/env node
// Packages
import fs from 'fs-promise';
import minimist from 'minimist';
import chalk from 'chalk';
import table from 'text-table';
import strlen from '../lib/strlen';
import ms from 'ms';
// Ours
import strlen from '../lib/strlen';
import Now from '../lib';
import login from '../lib/login';
import * as cfg from '../lib/cfg';
import { handleError, error } from '../lib/error';
import {handleError, error} from '../lib/error';
const argv = minimist(process.argv.slice(2), {
string: ['config', 'token'],

5
bin/now-remove

@ -1,13 +1,16 @@
#!/usr/bin/env node
// Packages
import minimist from 'minimist';
import chalk from 'chalk';
import ms from 'ms';
import table from 'text-table';
// Ours
import Now from '../lib';
import login from '../lib/login';
import * as cfg from '../lib/cfg';
import { handleError, error } from '../lib/error';
import {handleError, error} from '../lib/error';
const argv = minimist(process.argv.slice(2), {
string: ['config', 'token'],

9
bin/now-secrets

@ -1,13 +1,16 @@
#!/usr/bin/env node
// Packages
import chalk from 'chalk';
import table from 'text-table';
import strlen from '../lib/strlen';
import minimist from 'minimist';
import ms from 'ms';
// Ours
import strlen from '../lib/strlen';
import * as cfg from '../lib/cfg';
import { handleError, error } from '../lib/error';
import {handleError, error} from '../lib/error';
import NowSecrets from '../lib/secrets';
import ms from 'ms';
import login from '../lib/login';
const argv = minimist(process.argv.slice(2), {

Loading…
Cancel
Save