From b7ff1fe5d352b4f59664198d9fe852cbe1015357 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Sun, 29 Jul 2018 23:34:49 +0200 Subject: Move type --- packages/monorepo-scripts/src/doc_generate_and_upload.ts | 9 +++++---- packages/monorepo-scripts/src/types.ts | 4 ++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/monorepo-scripts/src/doc_generate_and_upload.ts b/packages/monorepo-scripts/src/doc_generate_and_upload.ts index 592c36ae2..03910c460 100644 --- a/packages/monorepo-scripts/src/doc_generate_and_upload.ts +++ b/packages/monorepo-scripts/src/doc_generate_and_upload.ts @@ -6,12 +6,9 @@ import * as ts from 'typescript'; import * as yargs from 'yargs'; import { constants } from './constants'; +import { ExportPathToExportedItems } from './types'; import { utils } from './utils/utils'; -export interface ExportPathToExportedItems { - [pkgName: string]: string[]; -} - const args = yargs .option('package', { describe: 'Monorepo sub-package for which to generate DocJSON', @@ -26,8 +23,12 @@ const args = yargs .example("$0 --package '0x.js' --isStaging true", 'Full usage example').argv; (async () => { + console.log('I RAN! - generateAndUploadDocsAsync'); const packageName = args.package; const isStaging = args.isStaging; + if (_.isEmpty(packageName)) { + return; // We are not runninng in a command-line env. + } await generateAndUploadDocsAsync(packageName, isStaging); })(); diff --git a/packages/monorepo-scripts/src/types.ts b/packages/monorepo-scripts/src/types.ts index d9e1dfabb..4d4600abf 100644 --- a/packages/monorepo-scripts/src/types.ts +++ b/packages/monorepo-scripts/src/types.ts @@ -49,3 +49,7 @@ export interface Package { location: string; packageJson: PackageJSON; } + +export interface ExportPathToExportedItems { + [pkgName: string]: string[]; +} -- cgit dabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_mp3
Commit message (Expand)AuthorAgeFilesLines
* - Fix MASTER_SITESclement2005-05-221-3/+1
* - Fix WWWclement2005-01-161-1/+1
* - Assign maintainership to freshly created apache@ mailing listclement2004-08-191-1/+1
* Fix build on amd64 (shared library objects must be compiled with -fPIC)kris2004-03-141-0/+24
* SIZEify.trevor2004-01-301-0/+1
* Use the new Apache bits from bsd.port.mk.marcus2003-11-071-5/+1
* Upgrade to 0.40sumikawa2003-10-033-3/+4
* [orphaned ports]: use USE_MYSQL for various orphaned ports.edwin2003-08-281-1/+1
* bug fix: www/mod_mp3daichi2003-06-271-0/+20
* [PATCH] Addition of mysql-awareness to mod_mp3 port Makefileedwin2003-04-061-0/+5
* De-pkg-comment.knu2003-02-212-1/+1
* URL updates.naddy2003-02-101-1/+1
* o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1
* Use PORTCOMMENT in the Makefile, and whack the pkg-comment.adamw2002-11-072-1/+2
* Port needs perl to build -> USE_PERL5=yesedwin2002-11-041-0/+1
* Update mod_mp3 0.38 -> 0.39adamw2002-10-232-2/+2
* support appache13-modssl by defining APACHE_PORT in /etc/make.confdinoex2002-09-101-2/+3
* Update to version 0.38kevlo2002-08-302-2/+2
* Fix hostname for freenix.no master site.anders2002-03-182-2/+2
* Update to 0.35pat2002-01-222-3/+3
* Upgrade to 0.33, correct MASTER_SITES.vanilla2001-11-302-3/+3
* Update to 0.31dwcjr2001-11-243-12/+3
* Set maintainer to ports@FreeBSD.orgpetef2001-10-071-1/+1
* Update to 0.25dwcjr2001-08-132-2/+2
* Update to 0.23dwcjr2001-06-262-2/+2
* Update to latest versiondwcjr2001-06-192-3/+3
* upgrade to 0.19ijliao2001-05-262-2/+2
* Fix master site, typo and update to the latest version: 0.16.jeh2001-05-142-4/+4
* Update to 0.15alex2001-05-092-2/+2
* Upgrade to version 0.14kevlo2001-04-302-2/+2
* upgrade to 0.12ijliao2001-04-283-5/+14
* Update to 0.9.dannyboy2001-04-15