Compare commits
	
		
			6 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 973c55e147 | |||
| a3523ad7c4 | |||
| 216c28d76e | |||
| b22b2fa802 | |||
| e81592ae38 | |||
| b3572d512d | 
							
								
								
									
										9
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/npmci.command.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								dist/npmci.command.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| import "typings-global"; | ||||
| export declare let command: () => any; | ||||
							
								
								
									
										11
									
								
								dist/npmci.command.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								dist/npmci.command.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| "use strict"; | ||||
| require("typings-global"); | ||||
| var plugins = require("./npmci.plugins"); | ||||
| exports.command = function () { | ||||
|     var done = plugins.q.defer(); | ||||
|     console.log(process.argv); | ||||
|     done.resolve(); | ||||
|     return done.promise; | ||||
| }; | ||||
|  | ||||
| //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5wbWNpLmNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLFFBQU8sZ0JBQWdCLENBQUMsQ0FBQTtBQUN4QixJQUFZLE9BQU8sV0FBTSxpQkFBaUIsQ0FBQyxDQUFBO0FBR2hDLGVBQU8sR0FBRztJQUNqQixJQUFJLElBQUksR0FBRyxPQUFPLENBQUMsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFBO0lBQzVCLE9BQU8sQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzFCLElBQUksQ0FBQyxPQUFPLEVBQUUsQ0FBQztJQUNmLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFBO0FBQ3ZCLENBQUMsQ0FBQSIsImZpbGUiOiJucG1jaS5jb21tYW5kLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFwidHlwaW5ncy1nbG9iYWxcIjtcbmltcG9ydCAqIGFzIHBsdWdpbnMgZnJvbSBcIi4vbnBtY2kucGx1Z2luc1wiO1xuaW1wb3J0IHtiYXNofSBmcm9tIFwiLi9ucG1jaS5iYXNoXCI7XG5cbmV4cG9ydCBsZXQgY29tbWFuZCA9ICgpID0+IHtcbiAgICBsZXQgZG9uZSA9IHBsdWdpbnMucS5kZWZlcigpXG4gICAgY29uc29sZS5sb2cocHJvY2Vzcy5hcmd2KTtcbiAgICBkb25lLnJlc29sdmUoKTtcbiAgICByZXR1cm4gZG9uZS5wcm9taXNlXG59Il19 | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "npmci", | ||||
|   "version": "2.1.51", | ||||
|   "version": "2.1.54", | ||||
|   "description": "", | ||||
|   "main": "dist/index.js", | ||||
|   "bin": { | ||||
| @@ -20,7 +20,7 @@ | ||||
|   }, | ||||
|   "homepage": "https://gitlab.com/pushrocks/npmci#README", | ||||
|   "devDependencies": { | ||||
|     "npmts": "^5.3.0", | ||||
|     "npmts-g": "^5.2.6", | ||||
|     "should": "^9.0.1", | ||||
|     "typings-test": "^1.0.1" | ||||
|   }, | ||||
|   | ||||
| @@ -6,6 +6,7 @@ let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot); | ||||
| plugins.beautylog.log("npmci version: " + npmciInfo.version); | ||||
|  | ||||
| import {build} from "./npmci.build" | ||||
| import {command as command2} from "./npmci.command"; | ||||
| import {install} from "./npmci.install"; | ||||
| import {publish} from "./npmci.publish"; | ||||
| import {prepare} from "./npmci.prepare"; | ||||
| @@ -19,7 +20,7 @@ export {install} from "./npmci.install"; | ||||
| export {publish} from "./npmci.publish"; | ||||
|  | ||||
| let command; | ||||
| let commandOption; | ||||
| let commandOption:string; | ||||
|  | ||||
| plugins.commander | ||||
|     .arguments('<commandarg> [commandoptionarg]') | ||||
| @@ -40,6 +41,10 @@ switch (command){ | ||||
|         build(commandOption) | ||||
|             .then(NpmciEnv.configStore); | ||||
|         break; | ||||
|     case "command": | ||||
|         command2() | ||||
|             .then(NpmciEnv.configStore); | ||||
|         break; | ||||
|     case "install": | ||||
|         install(commandOption) | ||||
|             .then(NpmciEnv.configStore);; | ||||
| @@ -60,6 +65,8 @@ switch (command){ | ||||
|         trigger(); | ||||
|         break; | ||||
|     default: | ||||
|         plugins.beautylog.error("command " + commandOption.blue + " not recognised"); | ||||
|         process.exit(1); | ||||
|         break; | ||||
| } | ||||
|  | ||||
|   | ||||
							
								
								
									
										10
									
								
								ts/npmci.command.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								ts/npmci.command.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| import "typings-global"; | ||||
| import * as plugins from "./npmci.plugins"; | ||||
| import {bash} from "./npmci.bash"; | ||||
|  | ||||
| export let command = () => { | ||||
|     let done = plugins.q.defer() | ||||
|     console.log(process.argv); | ||||
|     done.resolve(); | ||||
|     return done.promise | ||||
| } | ||||
		Reference in New Issue
	
	Block a user