update structure
This commit is contained in:
parent
930f351626
commit
6a1fb1ec50
@ -1,2 +1,11 @@
|
||||
# smartstring
|
||||
handle strings in smart ways.
|
||||
|
||||
## Status
|
||||
[![Build Status](https://travis-ci.org/pushrocks/smartstring.svg?branch=master)](https://travis-ci.org/pushrocks/smartstring)
|
||||
[![Dependency Status](https://david-dm.org/pushrocks/smartstring.svg)](https://david-dm.org/pushrocks/smartstring)
|
||||
[![bitHound Dependencies](https://www.bithound.io/github/pushrocks/smartstring/badges/dependencies.svg)](https://www.bithound.io/github/pushrocks/smartstring/master/dependencies/npm)
|
||||
[![bitHound Code](https://www.bithound.io/github/pushrocks/smartstring/badges/code.svg)](https://www.bithound.io/github/pushrocks/smartstring)
|
||||
|
||||
## Usage
|
||||
### Git
|
||||
|
9
dist/index.d.ts
vendored
9
dist/index.d.ts
vendored
@ -1,9 +1,6 @@
|
||||
import SmartstringGit = require("./smartstring.git");
|
||||
import SmartstringDocker = require("./smartstring.docker");
|
||||
import SmartstringTypescript = require("./smartstring.typescript");
|
||||
declare let smartstring: {
|
||||
git: (stringArg: string, tokenArg?: string) => SmartstringGit.gitRepo;
|
||||
docker: typeof SmartstringDocker;
|
||||
typescript: typeof SmartstringTypescript;
|
||||
};
|
||||
export = smartstring;
|
||||
export declare let git: (stringArg: string, tokenArg?: string) => SmartstringGit.gitRepo;
|
||||
export declare let docker: typeof SmartstringDocker;
|
||||
export declare let typescript: typeof SmartstringTypescript;
|
||||
|
11
dist/index.js
vendored
11
dist/index.js
vendored
@ -3,11 +3,8 @@
|
||||
var SmartstringGit = require("./smartstring.git");
|
||||
var SmartstringDocker = require("./smartstring.docker");
|
||||
var SmartstringTypescript = require("./smartstring.typescript");
|
||||
var smartstring = {
|
||||
git: SmartstringGit.git,
|
||||
docker: SmartstringDocker,
|
||||
typescript: SmartstringTypescript
|
||||
};
|
||||
module.exports = smartstring;
|
||||
exports.git = SmartstringGit.git;
|
||||
exports.docker = SmartstringDocker;
|
||||
exports.typescript = SmartstringTyp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
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSw0Q0FBNEM7QUFDNUMsSUFBTyxjQUFjLFdBQVcsbUJBQW1CLENBQUMsQ0FBQztBQUNyRCxJQUFPLGlCQUFpQixXQUFXLHNCQUFzQixDQUFDLENBQUM7QUFDM0QsSUFBTyxxQkFBcUIsV0FBVywwQkFBMEIsQ0FBQyxDQUFDO0FBRXhELFdBQUcsR0FBRyxjQUFjLENBQUMsR0FBRyxDQUFDO0FBQ3pCLGNBQU0sR0FBRyxpQkFBaUIsQ0FBQztBQUMzQixrQkFBVSxHQUFHLHFCQUFxQixDQUFDIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8vIDxyZWZlcmVuY2UgcGF0aD1cIi4vdHlwaW5ncy9tYWluLmQudHNcIiAvPlxyXG5pbXBvcnQgU21hcnRzdHJpbmdHaXQgPSByZXF1aXJlKFwiLi9zbWFydHN0cmluZy5naXRcIik7XHJcbmltcG9ydCBTbWFydHN0cmluZ0RvY2tlciA9IHJlcXVpcmUoXCIuL3NtYXJ0c3RyaW5nLmRvY2tlclwiKTtcclxuaW1wb3J0IFNtYXJ0c3RyaW5nVHlwZXNjcmlwdCA9IHJlcXVpcmUoXCIuL3NtYXJ0c3RyaW5nLnR5cGVzY3JpcHRcIik7XHJcblxyXG5leHBvcnQgbGV0IGdpdCA9IFNtYXJ0c3RyaW5nR2l0LmdpdDtcclxuZXhwb3J0IGxldCBkb2NrZXIgPSBTbWFydHN0cmluZ0RvY2tlcjtcclxuZXhwb3J0IGxldCB0eXBlc2NyaXB0ID0gU21hcnRzdHJpbmdUeXBlc2NyaXB0OyJdfQ==
|
||||
|
2
dist/smartstring.docker.js
vendored
2
dist/smartstring.docker.js
vendored
@ -15,4 +15,4 @@ exports.makeEnvObject = function (envArrayArg) {
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xyZWZlcmVuY2UgcGF0aD1cIi4vdHlwaW5ncy9tYWluLmQudHNcIiAvPlxyXG5pbXBvcnQgcGx1Z2lucyA9IHJlcXVpcmUoXCIuL3NtYXJ0c3RyaW5nLnBsdWdpbnNcIik7XHJcblxyXG4vKipcclxuICogY29udmVydHMgYW4gZXJyYXkgb2YgZW52IHN0cmluZ3MgZnJvbSBkb2NrZXIgcmVtb3RlIGFwaSB0byBhbiB1c2FibGUgb2JqZWN0LlxyXG4gKiBAcGFyYW0gZW52QXJyYXlBcmdcclxuICogQHJldHVybnMge31cclxuICovXHJcbmV4cG9ydCBsZXQgbWFrZUVudk9iamVjdCA9IGZ1bmN0aW9uKGVudkFycmF5QXJnOnN0cmluZ1tdKXtcclxuICAgIGxldCByZXR1cm5PYmplY3QgPSB7fTtcclxuICAgIGxldCByZWdleFN0cmluZyA9IC8oLiopPSguKikvO1xyXG4gICAgZm9yKGxldCBlbnZLZXkgaW4gZW52QXJyYXlBcmcpe1xyXG4gICAgICAgIGxldCByZWdleE1hdGNoZXMgPSByZWdleFN0cmluZy5leGVjKGVudkFycmF5QXJnW2VudktleV0pO1xyXG4gICAgICAgIHJldHVybk9iamVjdFtyZWdleE1hdGNoZXNbMV1dID0gcmVnZXhNYXRjaGVzWzJdO1xyXG4gICAgfTtcclxuICAgIHJldHVybiByZXR1cm5PYmplY3Q7XHJcbn07Il19
|
||||
|
2
dist/smartstring.git.js
vendored
2
dist/smartstring.git.js
vendored
File diff suppressed because one or more lines are too long
2
dist/smartstring.plugins.js
vendored
2
dist/smartstring.plugins.js
vendored
@ -5,4 +5,4 @@ var plugins = {
|
||||
};
|
||||
module.exports = plugins;
|
||||
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0c3RyaW5nLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDRDQUE0QztBQUM1QyxJQUFJLE9BQU8sR0FBRztJQUNWLFNBQVMsRUFBRSxPQUFPLENBQUMsV0FBVyxDQUFDO0NBQ2xDLENBQUM7QUFFRixpQkFBUyxPQUFPLENBQUMiLCJmaWxlIjoic21hcnRzdHJpbmcucGx1Z2lucy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vLyA8cmVmZXJlbmNlIHBhdGg9XCIuL3R5cGluZ3MvbWFpbi5kLnRzXCIgLz5cbmxldCBwbHVnaW5zID0ge1xuICAgIGJlYXV0eWxvZzogcmVxdWlyZShcImJlYXV0eWxvZ1wiKVxufTtcblxuZXhwb3J0ID0gcGx1Z2luczsiXX0=
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0c3RyaW5nLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDRDQUE0QztBQUM1QyxJQUFJLE9BQU8sR0FBRztJQUNWLFNBQVMsRUFBRSxPQUFPLENBQUMsV0FBVyxDQUFDO0NBQ2xDLENBQUM7QUFFRixpQkFBUyxPQUFPLENBQUMiLCJmaWxlIjoic21hcnRzdHJpbmcucGx1Z2lucy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vLyA8cmVmZXJlbmNlIHBhdGg9XCIuL3R5cGluZ3MvbWFpbi5kLnRzXCIgLz5cclxubGV0IHBsdWdpbnMgPSB7XHJcbiAgICBiZWF1dHlsb2c6IHJlcXVpcmUoXCJiZWF1dHlsb2dcIilcclxufTtcclxuXHJcbmV4cG9ydCA9IHBsdWdpbnM7Il19
|
||||
|
2
dist/smartstring.typescript.js
vendored
2
dist/smartstring.typescript.js
vendored
@ -1,4 +1,4 @@
|
||||
"use strict";
|
||||
exports.regexReferencePath = /\/\/\/\s*<reference\s+path\s*=\s*["|'].*["|']\s*\/>\s*[\\n]?/;
|
||||
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0c3RyaW5nLnR5cGVzY3JpcHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUVXLDBCQUFrQixHQUFHLDhEQUE4RCxDQUFBIiwiZmlsZSI6InNtYXJ0c3RyaW5nLnR5cGVzY3JpcHQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgcGx1Z2lucyA9IHJlcXVpcmUoXCIuL3NtYXJ0c3RyaW5nLnBsdWdpbnNcIik7XG5cbmV4cG9ydCBsZXQgcmVnZXhSZWZlcmVuY2VQYXRoID0gL1xcL1xcL1xcL1xccyo8cmVmZXJlbmNlXFxzK3BhdGhcXHMqPVxccypbXCJ8J10uKltcInwnXVxccypcXC8+XFxzKltcXFxcbl0/LyJdfQ==
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0c3RyaW5nLnR5cGVzY3JpcHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUVXLDBCQUFrQixHQUFHLDhEQUE4RCxDQUFBIiwiZmlsZSI6InNtYXJ0c3RyaW5nLnR5cGVzY3JpcHQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgcGx1Z2lucyA9IHJlcXVpcmUoXCIuL3NtYXJ0c3RyaW5nLnBsdWdpbnNcIik7XHJcblxyXG5leHBvcnQgbGV0IHJlZ2V4UmVmZXJlbmNlUGF0aCA9IC9cXC9cXC9cXC9cXHMqPHJlZmVyZW5jZVxccytwYXRoXFxzKj1cXHMqW1wifCddLipbXCJ8J11cXHMqXFwvPlxccypbXFxcXG5dPy8iXX0=
|
||||
|
@ -22,10 +22,10 @@
|
||||
},
|
||||
"homepage": "https://github.com/pushrocks/smartstring#readme",
|
||||
"devDependencies": {
|
||||
"npmts": "^5.1.4",
|
||||
"npmts": "^5.1.5",
|
||||
"should": "^8.3.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"beautylog": "^4.1.2"
|
||||
"beautylog": "^5.0.0"
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
10
ts/index.ts
10
ts/index.ts
@ -3,10 +3,6 @@ import SmartstringGit = require("./smartstring.git");
|
||||
import SmartstringDocker = require("./smartstring.docker");
|
||||
import SmartstringTypescript = require("./smartstring.typescript");
|
||||
|
||||
let smartstring = {
|
||||
git : SmartstringGit.git,
|
||||
docker: SmartstringDocker,
|
||||
typescript: SmartstringTypescript
|
||||
};
|
||||
|
||||
export = smartstring;
|
||||
export let git = SmartstringGit.git;
|
||||
export let docker = SmartstringDocker;
|
||||
export let typescript = SmartstringTypescript;
|
@ -1,6 +1,3 @@
|
||||
/// <reference path="./typings/main.d.ts" />
|
||||
let plugins = {
|
||||
beautylog: require("beautylog")
|
||||
};
|
||||
|
||||
export = plugins;
|
||||
export import beautylog = require("beautylog");
|
Loading…
Reference in New Issue
Block a user