skypager-project
Version:
skypager project framework
1,582 lines (1,559 loc) • 30.3 kB
JavaScript
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // identity function for calling harmory imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/ // define getter function for harmory exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ };
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 170);
/******/ })
/************************************************************************/
/******/ ({
/***/ 170:
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(79);
/***/ },
/***/ 79:
/***/ function(module, exports) {
module.exports = {
"path": "/Users/jonathan/Skypager/packages/skypager-project/src/selectors/project-info.js",
"ast": {
"type": "File",
"start": 0,
"end": 195,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 195,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 195,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
},
"expression": {
"type": "AssignmentExpression",
"start": 0,
"end": 195,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 0,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
},
"identifierName": "module"
},
"name": "module"
},
"property": {
"type": "Identifier",
"start": 7,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 14
},
"identifierName": "exports"
},
"name": "exports"
},
"computed": false
},
"right": {
"type": "FunctionExpression",
"start": 17,
"end": 195,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 3,
"column": 1
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 27,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 32
},
"identifierName": "chain"
},
"name": "chain"
}
],
"body": {
"type": "BlockStatement",
"start": 34,
"end": 195,
"loc": {
"start": {
"line": 1,
"column": 34
},
"end": {
"line": 3,
"column": 1
}
},
"body": [
{
"type": "ReturnStatement",
"start": 38,
"end": 193,
"loc": {
"start": {
"line": 2,
"column": 2
},
"end": {
"line": 2,
"column": 157
}
},
"argument": {
"type": "CallExpression",
"start": 45,
"end": 193,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 157
}
},
"callee": {
"type": "MemberExpression",
"start": 45,
"end": 55,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 45,
"end": 50,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 14
},
"identifierName": "chain"
},
"name": "chain"
},
"property": {
"type": "Identifier",
"start": 51,
"end": 55,
"loc": {
"start": {
"line": 2,
"column": 15
},
"end": {
"line": 2,
"column": 19
},
"identifierName": "pick"
},
"name": "pick"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 56,
"end": 62,
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 26
}
},
"extra": {
"rawValue": "name",
"raw": "'name'"
},
"value": "name"
},
{
"type": "StringLiteral",
"start": 64,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 33
}
},
"extra": {
"rawValue": "cwd",
"raw": "'cwd'"
},
"value": "cwd"
},
{
"type": "StringLiteral",
"start": 71,
"end": 81,
"loc": {
"start": {
"line": 2,
"column": 35
},
"end": {
"line": 2,
"column": 45
}
},
"extra": {
"rawValue": "cacheKey",
"raw": "'cacheKey'"
},
"value": "cacheKey"
},
{
"type": "StringLiteral",
"start": 83,
"end": 101,
"loc": {
"start": {
"line": 2,
"column": 47
},
"end": {
"line": 2,
"column": 65
}
},
"extra": {
"rawValue": "childFolderNames",
"raw": "'childFolderNames'"
},
"value": "childFolderNames"
},
{
"type": "StringLiteral",
"start": 103,
"end": 116,
"loc": {
"start": {
"line": 2,
"column": 67
},
"end": {
"line": 2,
"column": 80
}
},
"extra": {
"rawValue": "sourcePaths",
"raw": "'sourcePaths'"
},
"value": "sourcePaths"
},
{
"type": "StringLiteral",
"start": 118,
"end": 134,
"loc": {
"start": {
"line": 2,
"column": 82
},
"end": {
"line": 2,
"column": 98
}
},
"extra": {
"rawValue": "subFolderNames",
"raw": "'subFolderNames'"
},
"value": "subFolderNames"
},
{
"type": "StringLiteral",
"start": 136,
"end": 145,
"loc": {
"start": {
"line": 2,
"column": 100
},
"end": {
"line": 2,
"column": 109
}
},
"extra": {
"rawValue": "gitInfo",
"raw": "'gitInfo'"
},
"value": "gitInfo"
},
{
"type": "StringLiteral",
"start": 147,
"end": 157,
"loc": {
"start": {
"line": 2,
"column": 111
},
"end": {
"line": 2,
"column": 121
}
},
"extra": {
"rawValue": "manifest",
"raw": "'manifest'"
},
"value": "manifest"
},
{
"type": "StringLiteral",
"start": 159,
"end": 164,
"loc": {
"start": {
"line": 2,
"column": 123
},
"end": {
"line": 2,
"column": 128
}
},
"extra": {
"rawValue": "env",
"raw": "'env'"
},
"value": "env"
},
{
"type": "StringLiteral",
"start": 166,
"end": 176,
"loc": {
"start": {
"line": 2,
"column": 130
},
"end": {
"line": 2,
"column": 140
}
},
"extra": {
"rawValue": "hostname",
"raw": "'hostname'"
},
"value": "hostname"
},
{
"type": "StringLiteral",
"start": 178,
"end": 192,
"loc": {
"start": {
"line": 2,
"column": 142
},
"end": {
"line": 2,
"column": 156
}
},
"extra": {
"rawValue": "dependencies",
"raw": "'dependencies'"
},
"value": "dependencies"
}
]
}
}
],
"directives": []
}
}
}
}
],
"directives": [
{
"type": "Directive",
"value": {
"type": "DirectiveLiteral",
"value": "use strict"
}
}
]
},
"comments": [],
"tokens": [
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "module",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "exports",
"start": 7,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 15,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 16
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 17,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 26,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chain",
"start": 27,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 32,
"end": 33,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 34,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 34
},
"end": {
"line": 1,
"column": 35
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 38,
"end": 44,
"loc": {
"start": {
"line": 2,
"column": 2
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chain",
"start": 45,
"end": 50,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 50,
"end": 51,
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pick",
"start": 51,
"end": 55,
"loc": {
"start": {
"line": 2,
"column": 15
},
"end": {
"line": 2,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 55,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "name",
"start": 56,
"end": 62,
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 62,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "cwd",
"start": 64,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 69,
"end": 70,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "cacheKey",
"start": 71,
"end": 81,
"loc": {
"start": {
"line": 2,
"column": 35
},
"end": {
"line": 2,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 81,
"end": 82,
"loc": {
"start": {
"line": 2,
"column": 45
},
"end": {
"line": 2,
"column": 46
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "childFolderNames",
"start": 83,
"end": 101,
"loc": {
"start": {
"line": 2,
"column": 47
},
"end": {
"line": 2,
"column": 65
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 101,
"end": 102,
"loc": {
"start": {
"line": 2,
"column": 65
},
"end": {
"line": 2,
"column": 66
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sourcePaths",
"start": 103,
"end": 116,
"loc": {
"start": {
"line": 2,
"column": 67
},
"end": {
"line": 2,
"column": 80
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 116,
"end": 117,
"loc": {
"start": {
"line": 2,
"column": 80
},
"end": {
"line": 2,
"column": 81
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "subFolderNames",
"start": 118,
"end": 134,
"loc": {
"start": {
"line": 2,
"column": 82
},
"end": {
"line": 2,
"column": 98
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 134,
"end": 135,
"loc": {
"start": {
"line": 2,
"column": 98
},
"end": {
"line": 2,
"column": 99
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "gitInfo",
"start": 136,
"end": 145,
"loc": {
"start": {
"line": 2,
"column": 100
},
"end": {
"line": 2,
"column": 109
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 2,
"column": 109
},
"end": {
"line": 2,
"column": 110
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "manifest",
"start": 147,
"end": 157,
"loc": {
"start": {
"line": 2,
"column": 111
},
"end": {
"line": 2,
"column": 121
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 157,
"end": 158,
"loc": {
"start": {
"line": 2,
"column": 121
},
"end": {
"line": 2,
"column": 122
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "env",
"start": 159,
"end": 164,
"loc": {
"start": {
"line": 2,
"column": 123
},
"end": {
"line": 2,
"column": 128
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 164,
"end": 165,
"loc": {
"start": {
"line": 2,
"column": 128
},
"end": {
"line": 2,
"column": 129
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hostname",
"start": 166,
"end": 176,
"loc": {
"start": {
"line": 2,
"column": 130
},
"end": {
"line": 2,
"column": 140
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 176,
"end": 177,
"loc": {
"start": {
"line": 2,
"column": 140
},
"end": {
"line": 2,
"column": 141
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "dependencies",
"start": 178,
"end": 192,
"loc": {
"start": {
"line": 2,
"column": 142
},
"end": {
"line": 2,
"column": 156
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 2,
"column": 156
},
"end": {
"line": 2,
"column": 157
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 194,
"end": 195,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 195,
"end": 195,
"loc": {
"start": {
"line": 3,
"column": 1
},
"end": {
"line": 3,
"column": 1
}
}
}
]
},
"meta": {
"usedHelpers": [],
"marked": [],
"modules": {
"imports": [],
"exports": {
"exported": [],
"specifiers": []
}
}
},
"query": {
"": true
}
};
/***/ }
/******/ });