set basic layout. adding status bar

This commit is contained in:
Rohit
2019-06-04 13:11:32 -04:00
parent cd7f6c8648
commit dbd8de27cc
7977 changed files with 757176 additions and 310 deletions

13
node_modules/bower/lib/templates/helpers/colors.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
var chalk = require('chalk');
var templateColors = ['yellow', 'green', 'cyan', 'red', 'white', 'magenta'];
function colors(Handlebars) {
templateColors.forEach(function(color) {
Handlebars.registerHelper(color, function(context) {
return chalk[color](context.fn(this));
});
});
}
module.exports = colors;

22
node_modules/bower/lib/templates/helpers/condense.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
var mout = require('mout');
var leadLinesRegExp = /^\r?\n/;
var multipleLinesRegExp = /\r?\n(\r?\n)+/gm;
function condense(Handlebars) {
Handlebars.registerHelper('condense', function(context) {
var str = context.fn(this);
// Remove multiple lines
str = str.replace(multipleLinesRegExp, '$1');
// Remove leading new lines (while keeping indentation)
str = str.replace(leadLinesRegExp, '');
// Remove trailing whitespaces (including new lines);
str = mout.string.rtrim(str);
return str;
});
}
module.exports = condense;

12
node_modules/bower/lib/templates/helpers/indent.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
var mout = require('mout');
function indent(Handlebars) {
Handlebars.registerHelper('indent', function(context) {
var hash = context.hash;
var indentStr = mout.string.repeat(' ', parseInt(hash.level, 10));
return context.fn(this).replace(/\n/g, '\n' + indentStr);
});
}
module.exports = indent;

7
node_modules/bower/lib/templates/helpers/index.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
module.exports = {
colors: require('./colors'),
condense: require('./condense'),
indent: require('./indent'),
rpad: require('./rpad'),
sum: require('./sum')
};

12
node_modules/bower/lib/templates/helpers/rpad.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
var mout = require('mout');
function rpad(Handlebars) {
Handlebars.registerHelper('rpad', function(context) {
var hash = context.hash;
var minLength = parseInt(hash.minLength, 10);
var chr = hash.char;
return mout.string.rpad(context.fn(this), minLength, chr);
});
}
module.exports = rpad;

7
node_modules/bower/lib/templates/helpers/sum.js generated vendored Normal file
View File

@@ -0,0 +1,7 @@
function sum(Handlebars) {
Handlebars.registerHelper('sum', function(val1, val2) {
return val1 + val2;
});
}
module.exports = sum;

11
node_modules/bower/lib/templates/json/help-cache.json generated vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"command": "cache",
"usage": [
"cache <command> [<args>] [<options>]"
],
"commands": {
"clean": "Clean cached packages",
"list": "List cached packages"
},
"options": []
}

View File

@@ -0,0 +1,16 @@
{
"command": "cache clean",
"description": "Cleans cached packages.",
"usage": [
"cache clean [<options>]",
"cache clean <name> [<name> ...] [<options>]",
"cache clean <name>#<version> [<name>#<version> ..] [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

View File

@@ -0,0 +1,15 @@
{
"command": "cache list",
"description": "Lists cached packages.",
"usage": [
"cache list [<options>]",
"cache list <name> [<name> ...] [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

16
node_modules/bower/lib/templates/json/help-home.json generated vendored Normal file
View File

@@ -0,0 +1,16 @@
{
"command": "home",
"description": "Opens a package homepage into your favorite browser.\n\nIf no <package> is passed, opens the homepage of the local package.",
"usage": [
"home [<options>]",
"home <package> [<options>]",
"home <package>#<version> [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

16
node_modules/bower/lib/templates/json/help-info.json generated vendored Normal file
View File

@@ -0,0 +1,16 @@
{
"command": "info",
"description": "Displays overall information of a package or of a particular version.",
"usage": [
"info <package> [<options>]",
"info <package> [<property>] [<options>]",
"info <package>#<version> [<property>] [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

14
node_modules/bower/lib/templates/json/help-init.json generated vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"command": "init",
"description": "Creates a bower.json file based on answers to questions.",
"usage": [
"init [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

View File

@@ -0,0 +1,45 @@
{
"command": "install",
"description": "Installs the project dependencies or a specific set of endpoints.\nEndpoints can have multiple forms:\n- <source>\n- <source>#<target>\n- <name>=<source>#<target>\n\nWhere:\n- <source> is a package URL, physical location or registry name\n- <target> is a valid range, commit, branch, etc.\n- <name> is the name it should have locally.",
"usage": [
"install [<options>]",
"install <endpoint> [<endpoint> ..] [<options>]"
],
"options": [
{
"shorthand": "-F",
"flag": "--force-latest",
"description": "Force latest version on conflict"
},
{
"shorthand": "-f",
"flag": "--force",
"description": "If dependencies are installed, it reinstalls all installed components. It also forces installation even when there are non-bower directories with the same name in the components directory. Also bypasses the cache and overwrites to the cache anyway."
},
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
},
{
"shorthand": "-p",
"flag": "--production",
"description": "Do not install project devDependencies"
},
{
"shorthand": "-S",
"flag": "--save",
"description": "Save installed packages into the project's bower.json dependencies"
},
{
"shorthand": "-D",
"flag": "--save-dev",
"description": "Save installed packages into the project's bower.json devDependencies"
},
{
"shorthand": "-E",
"flag": "--save-exact",
"description": "Configure installed packages with an exact version rather than semver"
}
]
}

15
node_modules/bower/lib/templates/json/help-link.json generated vendored Normal file
View File

@@ -0,0 +1,15 @@
{
"command": "link",
"description": "The link functionality allows developers to easily test their packages.\nLinking is a two-step process.\n\nUsing 'bower link' in a project folder will create a global link.\nThen, in some other package, 'bower link <name>' will create a link in the components folder pointing to the previously created link.\n\nThis allows to easily test a package because changes will be reflected immediately.\nWhen the link is no longer necessary, simply remove it with 'bower uninstall <name>'.",
"usage": [
"link [<options>]",
"link <name> [<local name>] [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

24
node_modules/bower/lib/templates/json/help-list.json generated vendored Normal file
View File

@@ -0,0 +1,24 @@
{
"command": "list",
"description": "List local packages - and possible updates.",
"usage": [
"list [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
},
{
"shorthand": "-p",
"flag": "--paths",
"description": "Generates a simple JSON source mapping"
},
{
"shorthand": "-r",
"flag": "--relative",
"description": "Make paths relative to the directory config property, which defaults to bower_components"
}
]
}

19
node_modules/bower/lib/templates/json/help-login.json generated vendored Normal file
View File

@@ -0,0 +1,19 @@
{
"command": "login",
"description": "Authenticate with GitHub and store credentials to be used later.",
"usage": [
"login [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
},
{
"shorthand": "-t",
"flag": "--token",
"description": "Pass an existing GitHub auth token rather than prompting for username and password."
}
]
}

14
node_modules/bower/lib/templates/json/help-lookup.json generated vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"command": "lookup",
"description": "Look up a single package URL by name.",
"usage": [
"lookup <name> [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

14
node_modules/bower/lib/templates/json/help-prune.json generated vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"command": "prune",
"description": "Uninstalls local extraneous packages.",
"usage": [
"prune [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

View File

@@ -0,0 +1,19 @@
{
"command": "register",
"description": "Registers a package.",
"usage": [
"register <name> <url> [<options>]"
],
"options": [
{
"shorthand": "-f",
"flag": "--force",
"description": "Bypasses confirmation. Bower login is still needed."
},
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

14
node_modules/bower/lib/templates/json/help-search.json generated vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"command": "search",
"description": "Search for packages by name.",
"usage": [
"search <name> [<options>]"
],
"options": [
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

View File

@@ -0,0 +1,29 @@
{
"command": "uninstall",
"description": "Uninstalls a package locally from your bower_components directory",
"usage": [
"uninstall <name> [<name> ..] [<options>]"
],
"options": [
{
"shorthand": "-f",
"flag": "--force",
"description": "Continues uninstallation even after a dependency conflict"
},
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
},
{
"shorthand": "-S",
"flag": "--save",
"description": "Remove uninstalled packages from the project's bower.json dependencies"
},
{
"shorthand": "-D",
"flag": "--save-dev",
"description": "Remove uninstalled packages from the project's bower.json devDependencies"
}
]
}

View File

@@ -0,0 +1,19 @@
{
"command": "unregister",
"description": "Unregisters a package.",
"usage": [
"unregister <name> [<options>]"
],
"options": [
{
"shorthand": "-f",
"flag": "--force",
"description": "Bypasses confirmation. Bower login is still needed."
},
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
}
]
}

34
node_modules/bower/lib/templates/json/help-update.json generated vendored Normal file
View File

@@ -0,0 +1,34 @@
{
"command": "update",
"description": "Updates installed packages to their newest version according to bower.json.",
"usage": [
"update <name> [<name> ..] [<options>]"
],
"options": [
{
"shorthand": "-F",
"flag": "--force-latest",
"description": "Force latest version on conflict"
},
{
"shorthand": "-h",
"flag": "--help",
"description": "Show this help message"
},
{
"shorthand": "-p",
"flag": "--production",
"description": "Do not install project devDependencies"
},
{
"shorthand": "-S",
"flag": "--save",
"description": "Update dependencies in bower.json"
},
{
"shorthand": "-D",
"flag": "--save-dev",
"description": "Update devDependencies in bower.json"
}
]
}

View File

@@ -0,0 +1,14 @@
{
"command": "version",
"description": "Creates an empty version commit and tag, and fail if the repo is not clean.\n\nThe <version> argument should be a valid semver string, or one of following:\nbuild, patch, minor, major.\n\nIf supplied with --message (shorthand: -m) config option, bower will use it\nas a commit message when creating a version commit. If the message config\ncontains %s then that will be replaced with the resulting version number.\n\nFor example:\n\n bower version patch -m \"Upgrade to %s for reasons\"",
"usage": [
"version [<version> | major | minor | patch]"
],
"options": [
{
"shorthand": "-m",
"flag": "--message",
"description": "Custom git commit and tag message"
}
]
}

78
node_modules/bower/lib/templates/json/help.json generated vendored Normal file
View File

@@ -0,0 +1,78 @@
{
"usage": [
"<command> [<args>] [<options>]"
],
"commands": {
"cache": "Manage bower cache",
"help": "Display help information about Bower",
"home": "Opens a package homepage into your favorite browser",
"info": "Info of a particular package",
"init": "Interactively create a bower.json file",
"install": "Install a package locally",
"link": "Symlink a package folder",
"list": "List local packages - and possible updates",
"login": "Authenticate with GitHub and store credentials",
"lookup": "Look up a single package URL by name",
"prune": "Removes local extraneous packages",
"register": "Register a package",
"search": "Search for packages by name",
"update": "Update a local package",
"uninstall": "Remove a local package",
"unregister": "Remove a package from the registry",
"version": "Bump a package version"
},
"options": [
{
"shorthand": "-f",
"flag": "--force",
"description": "Makes various commands more forceful"
},
{
"shorthand": "-j",
"flag": "--json",
"description": "Output consumable JSON"
},
{
"shorthand": "-l",
"flag": "--loglevel",
"description": "What level of logs to report"
},
{
"shorthand": "-o",
"flag": "--offline",
"description": "Do not hit the network"
},
{
"shorthand": "-q",
"flag": "--quiet",
"description": "Only output important information"
},
{
"shorthand": "-s",
"flag": "--silent",
"description": "Do not output anything, besides errors"
},
{
"shorthand": "-V",
"flag": "--verbose",
"description": "Makes output more verbose"
},
{
"flag": "--allow-root",
"description": "Allows running commands as root"
},
{
"shorthand": "-v",
"flag": "--version",
"description": "Output Bower version"
},
{
"flag": "--no-color",
"description": "Disable colors"
},
{
"flag": "--config.interactive=false",
"description": "Disable prompts"
}
]
}

View File

@@ -0,0 +1,9 @@
{{#yellow}}Please note that,{{/yellow}}
{{#condense}}
{{#each picks}}
{{#if dependants}}{{#green}}{{dependants}}{{/green}}{{else}}none{{/if}} depends on {{#cyan}}{{endpoint.name}}#{{endpoint.target}}{{/cyan}}{{#if pkgMeta._release}} which resolved to {{#green}}{{endpoint.name}}#{{pkgMeta._release}}{{/green}}{{/if}}
{{/each}}
{{/condense}}
Resort to using {{#cyan}}{{suitable.endpoint.name}}#{{resolution}}{{/cyan}} which resolved to {{#green}}{{suitable.endpoint.name}}#{{suitable.pkgMeta._release}}{{/green}}
Code incompatibilities may occur.

11
node_modules/bower/lib/templates/std/conflict.std generated vendored Normal file
View File

@@ -0,0 +1,11 @@
{{#yellow}}Unable to find a suitable version for {{name}}, please choose one by typing one of the numbers below:{{/yellow}}
{{#condense}}
{{#each picks}}
{{#magenta}}{{sum @index 1}}){{/magenta}} {{#cyan}}{{endpoint.name}}#{{endpoint.target}}{{/cyan}}{{#if pkgMeta._release}} which resolved to {{#green}}{{pkgMeta._release}}{{/green}}{{/if}}{{#if dependants}} and is required by {{#green}}{{dependants}}{{/green}}{{/if}}
{{/each}}
{{/condense}}
{{#unless saveResolutions}}
Prefix the choice with ! to persist it to bower.json
{{/unless}}

17
node_modules/bower/lib/templates/std/help-cache.std generated vendored Normal file
View File

@@ -0,0 +1,17 @@
Usage:
{{#condense}}
{{#each usage}}
{{#cyan}}bower{{/cyan}} {{.}}
{{/each}}
{{/condense}}
Commands:
{{#condense}}
{{#each commands}}
{{#rpad minLength="23"}}{{@key}}{{/rpad}} {{.}}
{{/each}}
{{/condense}}
{{#rpad minLength="23"}}{{/rpad}}

23
node_modules/bower/lib/templates/std/help-generic.std generated vendored Normal file
View File

@@ -0,0 +1,23 @@
Usage:
{{#condense}}
{{#each usage}}
{{#cyan}}bower{{/cyan}} {{.}}
{{/each}}
{{/condense}}
Options:
{{#condense}}
{{#each options}}
{{#yellow}}{{#rpad minLength="23"}}{{#if shorthand}}{{shorthand}}, {{/if}}{{flag}}{{/rpad}}{{/yellow}} {{description}}
{{/each}}
{{/condense}}
Additionally all global options listed in 'bower help' are available
Description:
{{#indent level="4"}}{{description}}{{/indent}}

26
node_modules/bower/lib/templates/std/help.std generated vendored Normal file
View File

@@ -0,0 +1,26 @@
Usage:
{{#condense}}
{{#each usage}}
{{#cyan}}bower{{/cyan}} {{.}}
{{/each}}
{{/condense}}
Commands:
{{#condense}}
{{#each commands}}
{{#rpad minLength="23"}}{{@key}}{{/rpad}} {{.}}
{{/each}}
{{/condense}}
Options:
{{#condense}}
{{#each options}}
{{#yellow}}{{#rpad minLength="23"}}{{#if shorthand}}{{shorthand}}, {{/if}}{{flag}}{{/rpad}}{{/yellow}} {{description}}
{{/each}}
{{/condense}}
See 'bower help <command>' for more information on a specific command.

14
node_modules/bower/lib/templates/std/info.std generated vendored Normal file
View File

@@ -0,0 +1,14 @@
{{#if versions}}{{#cyan}}Available versions:{{/cyan}}
{{#condense}}
{{#versions}}
- {{.}}
{{/versions}}
{{/condense}}
{{#if hidePreReleases}}
Show {{numPreReleases}} additional prereleases with bower info {{name}} --verbose
{{/if}}
You can request info for a specific version with 'bower info {{name}}#<version>'
{{else}}No versions available.
{{/if}}

8
node_modules/bower/lib/templates/std/lookup.std generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{{#condense}}
{{#if url}}
{{#cyan}}{{name}}{{/cyan}} {{url}}
{{else}}
Package not found.
{{/if}}
{{/condense}}

5
node_modules/bower/lib/templates/std/register.std generated vendored Normal file
View File

@@ -0,0 +1,5 @@
Package {{#cyan}}{{name}}{{/cyan}} registered successfully!
All valid semver tags on {{#cyan}}{{url}}{{/cyan}} will be available as versions.
To publish a new version, just release a valid semver tag.
Run {{#cyan}}bower info {{name}}{{/cyan}} to list the available versions.

View File

@@ -0,0 +1,10 @@
{{#if .}}Search results:
{{#condense}}
{{#.}}
{{#cyan}}{{{name}}}{{/cyan}} {{{url}}}
{{/.}}
{{/condense}}
{{else}}No results.
{{/if}}