UNPKG

tripledoc

Version:

Library to read, create and update documents on a Solid Pod

1,168 lines 5.57 MB
{ "{\"sourceRoot\":\"/builds/Vinnl/tripledoc/website/node_modules/docusaurus/lib/server\",\"babelrc\":false,\"caller\":{\"name\":\"@babel/register\"},\"cwd\":\"/builds/Vinnl/tripledoc/website\",\"filename\":\"/builds/Vinnl/tripledoc/website/node_modules/docusaurus/lib/server/generate.js\",\"configFile\":false,\"passPerPreset\":false,\"envName\":\"development\",\"root\":\"/builds/Vinnl/tripledoc/website\",\"plugins\":[{\"key\":\"base$0\",\"visitor\":{\"JSXElement\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}},{\"key\":\"proposal-class-properties\",\"visitor\":{\"PrivateName\":{\"enter\":[null]},\"ExportDefaultDeclaration\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true,\"ClassDeclaration\":{\"enter\":[null]},\"ClassExpression\":{\"enter\":[null]}},\"options\":{}},{\"key\":\"proposal-object-rest-spread\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"VariableDeclarator\":{\"enter\":[null]},\"ExportNamedDeclaration\":{\"enter\":[null]},\"CatchClause\":{\"enter\":[null]},\"AssignmentExpression\":{\"enter\":[null]},\"ObjectExpression\":{\"enter\":[null]},\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]},\"ForInStatement\":{\"enter\":[null]},\"ForOfStatement\":{\"enter\":[null]}},\"options\":{}},{\"key\":\"transform-modules-commonjs\",\"visitor\":{\"CallExpression\":{\"enter\":[null]},\"Program\":{\"exit\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"loose\":false}},{\"key\":\"proposal-dynamic-import\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]}},\"options\":{\"loose\":false}},{\"key\":\"transform-template-literals\",\"visitor\":{\"TaggedTemplateExpression\":{\"enter\":[null]},\"TemplateLiteral\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-literals\",\"visitor\":{\"NumericLiteral\":{\"enter\":[null]},\"StringLiteral\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-function-name\",\"visitor\":{\"FunctionExpression\":{\"exit\":[null]},\"ObjectProperty\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-arrow-functions\",\"visitor\":{\"ArrowFunctionExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-block-scoped-functions\",\"visitor\":{\"BlockStatement\":{\"enter\":[null]},\"SwitchCase\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-classes\",\"visitor\":{\"ExportDefaultDeclaration\":{\"enter\":[null]},\"ClassDeclaration\":{\"enter\":[null]},\"ClassExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-object-super\",\"visitor\":{\"ObjectExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-shorthand-properties\",\"visitor\":{\"ObjectMethod\":{\"enter\":[null]},\"ObjectProperty\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-duplicate-keys\",\"visitor\":{\"ObjectExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-computed-properties\",\"visitor\":{\"ObjectExpression\":{\"exit\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-for-of\",\"visitor\":{\"ForOfStatement\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-sticky-regex\",\"visitor\":{\"RegExpLiteral\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-dotall-regex\",\"visitor\":{\"RegExpLiteral\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-unicode-regex\",\"visitor\":{\"RegExpLiteral\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-spread\",\"visitor\":{\"ArrayExpression\":{\"enter\":[null]},\"CallExpression\":{\"enter\":[null]},\"NewExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-parameters\",\"visitor\":{\"_exploded\":true,\"_verified\":true,\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-destructuring\",\"visitor\":{\"ExportNamedDeclaration\":{\"enter\":[null]},\"CatchClause\":{\"enter\":[null]},\"AssignmentExpression\":{\"enter\":[null]},\"VariableDeclaration\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true,\"ForInStatement\":{\"enter\":[null]},\"ForOfStatement\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-block-scoping\",\"visitor\":{\"VariableDeclaration\":{\"enter\":[null]},\"CatchClause\":{\"enter\":[null]},\"_exploded\":true,\"BlockStatement\":{\"enter\":[null]},\"SwitchStatement\":{\"enter\":[null]},\"Program\":{\"enter\":[null]},\"_verified\":true,\"DoWhileStatement\":{\"enter\":[null]},\"ForInStatement\":{\"enter\":[null]},\"ForStatement\":{\"enter\":[null]},\"WhileStatement\":{\"enter\":[null]},\"ForOfStatement\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-typeof-symbol\",\"visitor\":{\"UnaryExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true,\"BlockStatement\":{\"enter\":[null]},\"CatchClause\":{\"enter\":[null]},\"DoWhileStatement\":{\"enter\":[null]},\"ForInStatement\":{\"enter\":[null]},\"ForStatement\":{\"enter\":[null]},\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"Program\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"SwitchStatement\":{\"enter\":[null]},\"WhileStatement\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassDeclaration\":{\"enter\":[null]},\"ClassExpression\":{\"enter\":[null]},\"ForOfStatement\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]},\"TSModuleBlock\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-new-target\",\"visitor\":{\"MetaProperty\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"regenerator-transform\",\"visitor\":{\"_exploded\":true,\"_verified\":true,\"ObjectMethod\":{\"enter\":[null],\"exit\":[null]},\"ClassMethod\":{\"enter\":[null],\"exit\":[null]},\"ClassPrivateMethod\":{\"enter\":[null],\"exit\":[null]},\"FunctionDeclaration\":{\"exit\":[null]},\"FunctionExpression\":{\"exit\":[null]},\"ArrowFunctionExpression\":{\"exit\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-exponentiation-operator\",\"visitor\":{\"AssignmentExpression\":{\"enter\":[null]},\"BinaryExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-async-to-generator\",\"visitor\":{\"_exploded\":true,\"_verified\":true,\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-async-generator-functions\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"Program\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-object-rest-spread\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"VariableDeclarator\":{\"enter\":[null]},\"ExportNamedDeclaration\":{\"enter\":[null]},\"CatchClause\":{\"enter\":[null]},\"AssignmentExpression\":{\"enter\":[null]},\"ObjectExpression\":{\"enter\":[null]},\"FunctionDeclaration\":{\"enter\":[null]},\"FunctionExpression\":{\"enter\":[null]},\"ObjectMethod\":{\"enter\":[null]},\"ArrowFunctionExpression\":{\"enter\":[null]},\"ClassMethod\":{\"enter\":[null]},\"ClassPrivateMethod\":{\"enter\":[null]},\"ForInStatement\":{\"enter\":[null]},\"ForOfStatement\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-unicode-property-regex\",\"visitor\":{\"RegExpLiteral\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-json-strings\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"DirectiveLiteral\":{\"enter\":[null]},\"StringLiteral\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"proposal-optional-catch-binding\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"CatchClause\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-named-capturing-groups-regex\",\"visitor\":{\"RegExpLiteral\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-member-expression-literals\",\"visitor\":{\"MemberExpression\":{\"exit\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-property-literals\",\"visitor\":{\"ObjectProperty\":{\"exit\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-reserved-words\",\"visitor\":{\"_exploded\":true,\"_verified\":true,\"Identifier\":{\"enter\":[null,null]},\"JSXIdentifier\":{\"enter\":[null]}},\"options\":{\"spec\":false,\"loose\":false,\"useBuiltIns\":false}},{\"key\":\"transform-react-jsx\",\"visitor\":{\"_exploded\":{},\"_verified\":{},\"JSXNamespacedName\":{\"enter\":[null]},\"JSXSpreadChild\":{\"enter\":[null]},\"JSXElement\":{\"exit\":[null]},\"JSXFragment\":{\"exit\":[null]},\"Program\":{\"enter\":[null],\"exit\":[null]},\"JSXAttribute\":{\"enter\":[null]}},\"options\":{\"pragma\":\"React.createElement\",\"pragmaFrag\":\"React.Fragment\",\"throwIfNamespace\":true,\"useBuiltIns\":false}},{\"key\":\"transform-react-display-name\",\"visitor\":{\"ExportDefaultDeclaration\":{\"enter\":[null]},\"CallExpression\":{\"enter\":[null]},\"_exploded\":true,\"_verified\":true},\"options\":{}}],\"presets\":[]}:7.5.5": { "metadata": {}, "options": { "sourceRoot": "/builds/Vinnl/tripledoc/website/node_modules/docusaurus/lib/server", "babelrc": false, "caller": { "name": "@babel/register" }, "cwd": "/builds/Vinnl/tripledoc/website", "filename": "/builds/Vinnl/tripledoc/website/node_modules/docusaurus/lib/server/generate.js", "configFile": false, "envName": "development", "root": "/builds/Vinnl/tripledoc/website", "sourceMaps": "both", "ast": false, "passPerPreset": false, "plugins": [ { "key": "base$0", "visitor": { "JSXElement": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": {} }, { "key": "proposal-class-properties", "visitor": { "PrivateName": { "enter": [ null ] }, "ExportDefaultDeclaration": { "enter": [ null ] }, "_exploded": true, "_verified": true, "ClassDeclaration": { "enter": [ null ] }, "ClassExpression": { "enter": [ null ] } }, "options": {} }, { "key": "proposal-object-rest-spread", "visitor": { "_exploded": {}, "_verified": {}, "VariableDeclarator": { "enter": [ null ] }, "ExportNamedDeclaration": { "enter": [ null ] }, "CatchClause": { "enter": [ null ] }, "AssignmentExpression": { "enter": [ null ] }, "ObjectExpression": { "enter": [ null ] }, "FunctionDeclaration": { "enter": [ null ] }, "FunctionExpression": { "enter": [ null ] }, "ObjectMethod": { "enter": [ null ] }, "ArrowFunctionExpression": { "enter": [ null ] }, "ClassMethod": { "enter": [ null ] }, "ClassPrivateMethod": { "enter": [ null ] }, "ForInStatement": { "enter": [ null ] }, "ForOfStatement": { "enter": [ null ] } }, "options": {} }, { "key": "transform-modules-commonjs", "visitor": { "CallExpression": { "enter": [ null ] }, "Program": { "exit": [ null ] }, "_exploded": true, "_verified": true }, "options": { "loose": false } }, { "key": "proposal-dynamic-import", "visitor": { "_exploded": {}, "_verified": {}, "Program": { "enter": [ null ] } }, "options": { "loose": false } }, { "key": "transform-template-literals", "visitor": { "TaggedTemplateExpression": { "enter": [ null ] }, "TemplateLiteral": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-literals", "visitor": { "NumericLiteral": { "enter": [ null ] }, "StringLiteral": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-function-name", "visitor": { "FunctionExpression": { "exit": [ null ] }, "ObjectProperty": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-arrow-functions", "visitor": { "ArrowFunctionExpression": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-block-scoped-functions", "visitor": { "BlockStatement": { "enter": [ null ] }, "SwitchCase": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-classes", "visitor": { "ExportDefaultDeclaration": { "enter": [ null ] }, "ClassDeclaration": { "enter": [ null ] }, "ClassExpression": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-object-super", "visitor": { "ObjectExpression": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-shorthand-properties", "visitor": { "ObjectMethod": { "enter": [ null ] }, "ObjectProperty": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-duplicate-keys", "visitor": { "ObjectExpression": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-computed-properties", "visitor": { "ObjectExpression": { "exit": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-for-of", "visitor": { "ForOfStatement": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-sticky-regex", "visitor": { "RegExpLiteral": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-dotall-regex", "visitor": { "RegExpLiteral": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-unicode-regex", "visitor": { "RegExpLiteral": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-spread", "visitor": { "ArrayExpression": { "enter": [ null ] }, "CallExpression": { "enter": [ null ] }, "NewExpression": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-parameters", "visitor": { "_exploded": true, "_verified": true, "FunctionDeclaration": { "enter": [ null ] }, "FunctionExpression": { "enter": [ null ] }, "ObjectMethod": { "enter": [ null ] }, "ArrowFunctionExpression": { "enter": [ null ] }, "ClassMethod": { "enter": [ null ] }, "ClassPrivateMethod": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-destructuring", "visitor": { "ExportNamedDeclaration": { "enter": [ null ] }, "CatchClause": { "enter": [ null ] }, "AssignmentExpression": { "enter": [ null ] }, "VariableDeclaration": { "enter": [ null ] }, "_exploded": true, "_verified": true, "ForInStatement": { "enter": [ null ] }, "ForOfStatement": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-block-scoping", "visitor": { "VariableDeclaration": { "enter": [ null ] }, "CatchClause": { "enter": [ null ] }, "_exploded": true, "BlockStatement": { "enter": [ null ] }, "SwitchStatement": { "enter": [ null ] }, "Program": { "enter": [ null ] }, "_verified": true, "DoWhileStatement": { "enter": [ null ] }, "ForInStatement": { "enter": [ null ] }, "ForStatement": { "enter": [ null ] }, "WhileStatement": { "enter": [ null ] }, "ForOfStatement": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-typeof-symbol", "visitor": { "UnaryExpression": { "enter": [ null ] }, "_exploded": true, "_verified": true, "BlockStatement": { "enter": [ null ] }, "CatchClause": { "enter": [ null ] }, "DoWhileStatement": { "enter": [ null ] }, "ForInStatement": { "enter": [ null ] }, "ForStatement": { "enter": [ null ] }, "FunctionDeclaration": { "enter": [ null ] }, "FunctionExpression": { "enter": [ null ] }, "Program": { "enter": [ null ] }, "ObjectMethod": { "enter": [ null ] }, "SwitchStatement": { "enter": [ null ] }, "WhileStatement": { "enter": [ null ] }, "ArrowFunctionExpression": { "enter": [ null ] }, "ClassDeclaration": { "enter": [ null ] }, "ClassExpression": { "enter": [ null ] }, "ForOfStatement": { "enter": [ null ] }, "ClassMethod": { "enter": [ null ] }, "ClassPrivateMethod": { "enter": [ null ] }, "TSModuleBlock": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-new-target", "visitor": { "MetaProperty": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "regenerator-transform", "visitor": { "_exploded": true, "_verified": true, "ObjectMethod": { "enter": [ null ], "exit": [ null ] }, "ClassMethod": { "enter": [ null ], "exit": [ null ] }, "ClassPrivateMethod": { "enter": [ null ], "exit": [ null ] }, "FunctionDeclaration": { "exit": [ null ] }, "FunctionExpression": { "exit": [ null ] }, "ArrowFunctionExpression": { "exit": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-exponentiation-operator", "visitor": { "AssignmentExpression": { "enter": [ null ] }, "BinaryExpression": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-async-to-generator", "visitor": { "_exploded": true, "_verified": true, "FunctionDeclaration": { "enter": [ null ] }, "FunctionExpression": { "enter": [ null ] }, "ObjectMethod": { "enter": [ null ] }, "ArrowFunctionExpression": { "enter": [ null ] }, "ClassMethod": { "enter": [ null ] }, "ClassPrivateMethod": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "proposal-async-generator-functions", "visitor": { "_exploded": {}, "_verified": {}, "Program": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "proposal-object-rest-spread", "visitor": { "_exploded": {}, "_verified": {}, "VariableDeclarator": { "enter": [ null ] }, "ExportNamedDeclaration": { "enter": [ null ] }, "CatchClause": { "enter": [ null ] }, "AssignmentExpression": { "enter": [ null ] }, "ObjectExpression": { "enter": [ null ] }, "FunctionDeclaration": { "enter": [ null ] }, "FunctionExpression": { "enter": [ null ] }, "ObjectMethod": { "enter": [ null ] }, "ArrowFunctionExpression": { "enter": [ null ] }, "ClassMethod": { "enter": [ null ] }, "ClassPrivateMethod": { "enter": [ null ] }, "ForInStatement": { "enter": [ null ] }, "ForOfStatement": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "proposal-unicode-property-regex", "visitor": { "RegExpLiteral": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "proposal-json-strings", "visitor": { "_exploded": {}, "_verified": {}, "DirectiveLiteral": { "enter": [ null ] }, "StringLiteral": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "proposal-optional-catch-binding", "visitor": { "_exploded": {}, "_verified": {}, "CatchClause": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-named-capturing-groups-regex", "visitor": { "RegExpLiteral": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-member-expression-literals", "visitor": { "MemberExpression": { "exit": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-property-literals", "visitor": { "ObjectProperty": { "exit": [ null ] }, "_exploded": true, "_verified": true }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-reserved-words", "visitor": { "_exploded": true, "_verified": true, "Identifier": { "enter": [ null, null ] }, "JSXIdentifier": { "enter": [ null ] } }, "options": { "spec": false, "loose": false, "useBuiltIns": false } }, { "key": "transform-react-jsx", "visitor": { "_exploded": {}, "_verified": {}, "JSXNamespacedName": { "enter": [ null ] }, "JSXSpreadChild": { "enter": [ null ] }, "JSXElement": { "exit": [ null ] }, "JSXFragment": { "exit": [ null ] }, "Program": { "enter": [ null ], "exit": [ null ] }, "JSXAttribute": { "enter": [ null ] } }, "options": { "pragma": "React.createElement", "pragmaFrag": "React.Fragment", "throwIfNamespace": true, "useBuiltIns": false } }, { "key": "transform-react-display-name", "visitor": { "ExportDefaultDeclaration": { "enter": [ null ] }, "CallExpression": { "enter": [ null ] }, "_exploded": true, "_verified": true }, "options": {} } ], "presets": [], "parserOpts": { "sourceType": "module", "sourceFileName": "/builds/Vinnl/tripledoc/website/node_modules/docusaurus/lib/server/generate.js", "plugins": [ "classProperties", "classPrivateProperties", "objectRestSpread", "dynamicImport", "asyncGenerators", "objectRestSpread", "jsonStrings", "optionalCatchBinding", "jsx" ] }, "generatorOpts": { "filename": "/builds/Vinnl/tripledoc/website/node_modules/docusaurus/lib/server/generate.js", "comments": true, "compact": "auto", "sourceMaps": "both", "sourceRoot": "/builds/Vinnl/tripledoc/website/node_modules/docusaurus/lib/server", "sourceFileName": "generate.js" } }, "ast": null, "code": "\"use strict\";\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\n/**\n * Copyright (c) 2017-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nfunction execute() {\n return _execute.apply(this, arguments);\n}\n\nfunction _execute() {\n _execute = _asyncToGenerator(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee() {\n var commander, metadataUtils, blog, docs, CWD, fs, readMetadata, path, _require, minifyCss, isSeparateCss, autoPrefixCss, React, mkdirp, glob, chalk, Site, env, loadConfig, siteConfig, translate, feed, sitemap, join, sep, escapeStringRegexp, _require2, renderToStaticMarkupWithDoctype, imagemin, imageminJpegtran, imageminOptipng, imageminSvgo, imageminGifsicle, writeFileAndCreateFolder, Metadata, buildDir, mdToHtml, MetadataBlog, files, blogPages, targetFile, libStaticDir, userStaticDir, mainCss, cssContent, minifiedCSS, css, enabledLanguages, userPagesDir, _targetFile7;\n\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n writeFileAndCreateFolder = function _ref(file, content) {\n mkdirp.sync(path.dirname(file));\n fs.writeFileSync(file, content); // build extra file for extension-less url if \"cleanUrl\" siteConfig is true\n\n if (siteConfig.cleanUrl && file.indexOf('index.html') === -1) {\n var extraFile = file.replace(/\\.html$/, '/index.html');\n mkdirp.sync(path.dirname(extraFile));\n fs.writeFileSync(extraFile, content);\n }\n };\n\n commander = require('commander');\n commander.option('--skip-image-compression').option('--skip-next-release').parse(process.argv);\n\n require('../write-translations.js');\n\n metadataUtils = require('./metadataUtils');\n blog = require('./blog');\n docs = require('./docs');\n CWD = process.cwd();\n fs = require('fs-extra');\n readMetadata = require('./readMetadata.js');\n path = require('path');\n _require = require('./utils'), minifyCss = _require.minifyCss, isSeparateCss = _require.isSeparateCss, autoPrefixCss = _require.autoPrefixCss;\n React = require('react');\n mkdirp = require('mkdirp');\n glob = require('glob');\n chalk = require('chalk');\n Site = require('../core/Site.js');\n env = require('./env.js');\n loadConfig = require('./config.js');\n siteConfig = loadConfig(\"\".concat(CWD, \"/siteConfig.js\"));\n translate = require('./translate.js');\n feed = require('./feed.js');\n sitemap = require('./sitemap.js');\n join = path.join;\n sep = path.sep;\n escapeStringRegexp = require('escape-string-regexp');\n _require2 = require('./renderUtils'), renderToStaticMarkupWithDoctype = _require2.renderToStaticMarkupWithDoctype;\n imagemin = require('imagemin');\n imageminJpegtran = require('imagemin-jpegtran');\n imageminOptipng = require('imagemin-optipng');\n imageminSvgo = require('imagemin-svgo');\n imageminGifsicle = require('imagemin-gifsicle'); // create the folder path for a file if it does not exist, then write the file\n\n console.log('generate.js triggered...');\n readMetadata.generateMetadataDocs();\n Metadata = require('../core/metadata.js'); // TODO: what if the project is a github org page? We should not use\n // siteConfig.projectName in this case. Otherwise a GitHub org doc URL would\n // look weird: https://myorg.github.io/myorg/docs\n // TODO: siteConfig.projectName is a misnomer. The actual project name is\n // `title`. `projectName` is only used to generate a folder, which isn't\n // needed when the project's a GitHub org page\n\n buildDir = join(CWD, 'build', siteConfig.projectName);\n fs.removeSync(join(CWD, 'build')); // create html files for all docs by going through all doc ids\n\n mdToHtml = metadataUtils.mdToHtml(Metadata, siteConfig);\n Object.keys(Metadata).forEach(function (id) {\n var metadata = Metadata[id];\n var file = docs.getFile(metadata);\n\n if (!file) {\n return;\n }\n\n var rawContent = metadataUtils.extractMetadata(file).rawContent;\n var str = docs.getMarkup(rawContent, mdToHtml, metadata, siteConfig);\n var targetFile = join(buildDir, metadata.permalink);\n writeFileAndCreateFolder(targetFile, str); // generate english page redirects when languages are enabled\n\n var redirectMarkup = docs.getRedirectMarkup(metadata, siteConfig);\n\n if (!redirectMarkup) {\n return;\n }\n\n var docsPart = \"\".concat(siteConfig.docsUrl ? \"\".concat(siteConfig.docsUrl, \"/\") : '');\n var redirectFile = join(buildDir, metadata.permalink.replace(new RegExp(\"^\".concat(docsPart, \"en\")), siteConfig.docsUrl));\n writeFileAndCreateFolder(redirectFile, redirectMarkup);\n }); // copy docs assets if they exist\n\n if (fs.existsSync(join(CWD, '..', readMetadata.getDocsPath(), 'assets'))) {\n fs.copySync(join(CWD, '..', readMetadata.getDocsPath(), 'assets'), join(buildDir, siteConfig.docsUrl, 'assets'));\n } // create html files for all blog posts (each article)\n\n\n if (fs.existsSync(join(__dirname, '..', 'core', 'MetadataBlog.js'))) {\n fs.removeSync(join(__dirname, '..', 'core', 'MetadataBlog.js'));\n }\n\n readMetadata.generateMetadataBlog(siteConfig);\n MetadataBlog = require('../core/MetadataBlog.js');\n files = glob.sync(join(CWD, 'blog', '**', '*.*'));\n files.sort().reverse().forEach(function (file) {\n // Why normalize? In case we are on Windows.\n // Remember the nuance of glob: https://www.npmjs.com/package/glob#windows\n var normalizedFile = path.normalize(file);\n var extension = path.extname(normalizedFile);\n\n if (extension !== '.md' && extension !== '.markdown') {\n return;\n }\n\n var urlPath = blog.fileToUrl(normalizedFile);\n var blogPost = blog.getPostMarkup(normalizedFile, siteConfig);\n\n if (!blogPost) {\n return;\n }\n\n var targetFile = join(buildDir, 'blog', urlPath);\n writeFileAndCreateFolder(targetFile, blogPost);\n }); // create html files for all blog pages (collections of article previews)\n\n blogPages = blog.getPagesMarkup(MetadataBlog.length, siteConfig);\n Object.keys(blogPages).forEach(function (pagePath) {\n var targetFile = join(buildDir, 'blog', pagePath);\n writeFileAndCreateFolder(targetFile, blogPages[pagePath]);\n }); // create rss files for all blog pages, if there are any blog files\n\n if (MetadataBlog.length > 0) {\n targetFile = join(buildDir, 'blog', 'feed.xml');\n writeFileAndCreateFolder(targetFile, feed());\n targetFile = join(buildDir, 'blog', 'atom.xml');\n writeFileAndCreateFolder(targetFile, feed('atom'));\n } // create sitemap\n\n\n if (MetadataBlog.length > 0 || Object.keys(Metadata).length > 0) {\n sitemap(function (err, xml) {\n if (!err) {\n var _targetFile = join(buildDir, 'sitemap.xml');\n\n writeFileAndCreateFolder(_targetFile, xml);\n }\n });\n } // copy blog assets if they exist\n\n\n if (fs.existsSync(join(CWD, 'blog', 'assets'))) {\n fs.copySync(join(CWD, 'blog', 'assets'), join(buildDir, 'blog', 'assets'));\n } // copy all static files from docusaurus\n\n\n libStaticDir = join(__dirname, '..', 'static');\n files = glob.sync(join(libStaticDir, '**'));\n files.forEach(function (file) {\n // Why normalize? In case we are on Windows.\n // Remember the nuance of glob: https://www.npmjs.com/package/glob#windows\n var targetFile = path.normalize(file).replace(libStaticDir, buildDir); // parse css files to replace colors according to siteConfig\n\n if (file.match(/\\.css$/)) {\n var _cssContent = fs.readFileSync(file, 'utf8');\n\n if (!siteConfig.colors || !siteConfig.colors.primaryColor || !siteConfig.colors.secondaryColor) {\n console.error(\"\".concat(chalk.yellow('Missing color configuration.'), \" Make sure siteConfig.colors includes primaryColor and secondaryColor fields.\"));\n }\n\n Object.keys(siteConfig.colors).forEach(function (key) {\n var color = siteConfig.colors[key];\n _cssContent = _cssContent.replace(new RegExp(\"\\\\$\".concat(key), 'g'), color);\n });\n\n if (siteConfig.fonts) {\n Object.keys(siteConfig.fonts).forEach(function (key) {\n var fontString = siteConfig.fonts[key].map(function (font) {\n return \"\\\"\".concat(font, \"\\\"\");\n }).join(', ');\n _cssContent = _cssContent.replace(new RegExp(\"\\\\$\".concat(key), 'g'), fontString);\n });\n }\n\n mkdirp.sync(path.dirname(targetFile));\n fs.writeFileSync(targetFile, _cssContent);\n } else if (!fs.lstatSync(file).isDirectory()) {\n mkdirp.sync(path.dirname(targetFile));\n fs.copySync(file, targetFile);\n }\n }); // Copy all static files from user.\n\n userStaticDir = join(CWD, 'static');\n files = glob.sync(join(userStaticDir, '**'), {\n dot: true\n });\n files.forEach(function (file) {\n // Why normalize? In case we are on Windows.\n // Remember the nuance of glob: https://www.npmjs.com/package/glob#windows\n var normalizedFile = path.normalize(file); // parse css files to replace colors and fonts according to siteConfig\n\n if (normali