diff --git a/coffee/% b/coffee/% new file mode 100644 index 0000000..e69de29 diff --git a/coffee/.eslintrc.js b/coffee/.eslintrc.js new file mode 100644 index 0000000..4e5fe08 --- /dev/null +++ b/coffee/.eslintrc.js @@ -0,0 +1,27 @@ +module.exports = { + extends: [ + "eslint:recommended", + "plugin:react/recommended", + 'wind/node'], + globals: { + FileReader: false, + DOMException: false, + Headers: false, + fetch: false, + }, + rules: { + 'strict': [0], + 'vars-on-top': 0, + 'global-require': 0, + "indent": 0, + "no-tabs":0, + "prettier/prettier": 0, + "spaced-comment":0, + 'new-cap':0, + }, + parser: 'babel-eslint', + parserOptions: { + sourceType: 'module', + allowImportExportEverywhere: true, + } +}; diff --git a/coffee/.gitignore b/coffee/.gitignore new file mode 100644 index 0000000..367ca14 --- /dev/null +++ b/coffee/.gitignore @@ -0,0 +1,50 @@ +dist +output +tmp +mlib + + +# .开头的 +.* + +# ~结尾的 +*~ + +# nodejs的 +node_modules/ +package-lock.json + + + +# 自己做实验要用的 +log/ + + +# log文件 +*.log +log.* + + +# png文件夹也不能上传 +png/ + + +# 压缩文件一般情况也是不必版本控制的 + +*.zip +*.tar + +# 各种lock文件也不该被版本控制, 这些都是自动生成的. +*.lock + + +# 不能忽略的js文件 +!package.json +#不能忽略node的配置文件 +!.eslintrc.js + +#不能忽略gitingnore文件: +!.gitignore + +#不能忽略vscode的配置文件 +!.vscode diff --git a/coffee/.vscode/launch.json b/coffee/.vscode/launch.json new file mode 100644 index 0000000..fc6194a --- /dev/null +++ b/coffee/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Launch Program", + "skipFiles": [ + "/**" + ], + "program": "${file}", + "outFiles": [ + "${workspaceFolder}/dist/api/**/**.js" + ] + } + ] +} diff --git a/coffee/api/bin/bin.js b/coffee/api/bin/bin.js new file mode 100755 index 0000000..ff6fb2f --- /dev/null +++ b/coffee/api/bin/bin.js @@ -0,0 +1,1445 @@ +#!/usr/bin/env node +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define([], factory); + else if(typeof exports === 'object') + exports["mlib"] = factory(); + else + root["mlib"] = factory(); +})(global, function() { +return (() => { +var exports = {}; +exports.id = "bin"; +exports.ids = ["bin"]; +exports.modules = { + +/***/ "./src/lornpug.cs": +/*!************************!* + !*** ./src/lornpug.cs ***! + \************************/ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +var _chalk = _interopRequireDefault(__webpack_require__(/*! chalk */ "chalk")); + +var _lornpughelp = _interopRequireDefault(__webpack_require__(/*! ./lornpughelp.cs */ "./src/lornpughelp.cs")); + +var arg, cmds, dodir, dolp, files, i, iscmd, isdefault, isdir, isio, islp, j, k, len, len1, len2, x; +iscmd = _lornpughelp["default"].iscmd; +dolp = _lornpughelp["default"].dolp; +dodir = _lornpughelp["default"].dodir; +// ------------------init--------------------- +arg = process.argv.slice(2); +console.log('环境和参数信息:'); +console.table([{ + '键: ': 'process.cwd()', + '值: ': process.cwd() +}, { + '键: ': '__dirname', + '值: ': __dirname +}, { + '键: ': 'process.argv', + '值: ': process.argv +}, { + '键: ': '真参数', + '值: ': arg +}]); +cmds = []; // 传入的参数的命令数组 + +files = []; // 传入的文件数组 + +for (i = 0, len = arg.length; i < len; i++) { + x = arg[i]; + + if (iscmd(x)) { + cmds.push(x); + } else { + files.push(x); + } +} + +console.log(_chalk["default"].blueBright("\u547D\u4EE4: ".concat(cmds, " "))); +console.log(_chalk["default"].yellowBright("\u6587\u4EF6: ".concat(files, " "))); // 处理命令 + +isdefault = cmds.length === 0; + +for (j = 0, len1 = cmds.length; j < len1; j++) { + x = cmds[j]; + isdir = /^--dir$/.test(x); + isio = /^--io$/.test(x); + islp = /^--lp$/.test(x); +} // 根据命令, 处理文件, 忽略node_module, 未来根据.gitignore忽略 + + +if (isdefault) { + // 默认是跑测试文件 + console.log(_chalk["default"].cyanBright('默认行为:'), '测试结果: '); +} else if (islp) { + // 修改.zshrc文件, 增加快捷方式 + dolp(0); +} else if (isdir) { + // 建测试目录, 初始化测试文件 + if (files.length === 0) { + dodir('.'); //如果没有任何文件参数, 那么就是从本地搞深度遍历 + } else { + for (k = 0, len2 = files.length; k < len2; k++) { + x = files[k]; + dodir(x); + } + } + + console.log(_chalk["default"].cyanBright('初始化'), '初始化成功: '); +} else if (isio) { + // 增加测试文件 + console.log(_chalk["default"].cyanBright('初始化'), '初始化成功: '); +} else { + console.log(_chalk["default"].redBright('抱歉啊: 不知道你想干啥')); +} +/* +try { + new Function('var {a} = {a: 1}')(); +} catch(error) { + console.error('Your JavaScript runtime does not support some features used by the coffee command. Please use Node 6 or later.'); + process.exit(1); +} + +var path=require('path'); +var fs=require('fs'); + +var potentialPaths=[ + path.join(process.cwd(),), + path.join(process.cwd(),), + path.join(process.cwd(),), + path.join(__dirname,'../lib/c') +]; + +for(var i=0,len=potentialPaths.length;i') + .option('-u, --username ','The user to authenticate as') + .option('-p, --password ','The users password') + .action(function(file) { + console.log('user: %s pass: %s file: %s', + program.username,program.password,file); + }) + .parse(process.argv); +*/ + +/***/ }), + +/***/ "./src/lornpughelp.cs": +/*!****************************!* + !*** ./src/lornpughelp.cs ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.dodir = exports.dolp = exports.iscmd = void 0; + +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "@babel/runtime/regenerator")); + +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "@babel/runtime/helpers/asyncToGenerator")); + +var _chalk = _interopRequireDefault(__webpack_require__(/*! chalk */ "chalk")); + +var _mlib = __webpack_require__(/*! mlib */ "./src/mlib/src/index.cs"); + +var dir1file; + +// -----------------pure function----------------- +// 判断是否有命令参数(--开始的命令参数), 没有--的都是文件 +var iscmd = function iscmd(x) { + return /^--/.test(x); +}; // 处理lp命令 + + +exports.iscmd = iscmd; + +var dolp = /*#__PURE__*/function () { + var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() { + var ok, reg, str; + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + str = "# \u8214\u72D7\u9879\u76EE\nalias lp=\"lpg\""; + reg = /alias\s*lp="lpg"/; + _context.next = 4; + return _mlib.file.uniqueadd({ + reg: reg, + str: str, + path: '~/.zshrc' + }); + + case 4: + ok = _context.sent; + + if (!ok) { + _context.next = 13; + break; + } + + console.log('命令设置为lp', _chalk["default"].greenBright('成功: '), '需要刷新配置才会生效, 推荐使用快捷重启命令:'); + console.log(_chalk["default"].greenBright('exec zsh'), _chalk["default"].yellow('# 重启当前terminal')); + console.log('如果不能重启terminal: '); + console.log(_chalk["default"].greenBright('source ~/.zshrc'), _chalk["default"].yellow('# 导入配置文件方法一')); + return _context.abrupt("return", console.log(_chalk["default"].greenBright('. ~/.zshrc'), _chalk["default"].yellow('# 导入配置文件方法二'))); + + case 13: + return _context.abrupt("return", console.log(_chalk["default"].redBright('没有'), '进行设置, 可能是配置文件已经存在', _chalk["default"].yellow('请手工检查文件: '), '~/.zshrc')); + + case 14: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function dolp() { + return _ref.apply(this, arguments); + }; +}(); // 处理一个cs或者coffee的初始化 + + +exports.dolp = dolp; + +dir1file = /*#__PURE__*/function () { + var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(path) { + var p; + return _regenerator["default"].wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + p = path + '.lp'; // 判断对应目录是否存在. + + if (!_mlib.file.exist(p)) { + _context2.next = 3; + break; + } + + return _context2.abrupt("return"); + + case 3: + _context2.next = 5; + return _mlib.file.mkdir(p); + + case 5: + _context2.next = 7; + return _mlib.file.cover({ + path: p + '/aaa.0i.cson', + str: '' + }); + + case 7: + _context2.next = 9; + return _mlib.file.cover({ + path: p + '/aaa.0o.cson', + str: '' + }); + + case 9: + _context2.next = 11; + return _mlib.file.cover({ + path: p + '/cto.cson', + str: '' + }); + + case 11: + return _context2.abrupt("return", _context2.sent); + + case 12: + case "end": + return _context2.stop(); + } + } + }, _callee2); + })); + + return function dir1file(_x) { + return _ref2.apply(this, arguments); + }; +}(); // 处理初始化测试dir + + +var dodir = /*#__PURE__*/function () { + var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(path) { + var i, len, ref, stat, x; + return _regenerator["default"].wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return _mlib.file.filetype(path); + + case 2: + stat = _context3.sent; + + if (!stat.isfile) { + _context3.next = 7; + break; + } + + if (/\.coffee$|\.cs$/.test(path)) { + _context3.next = 6; + break; + } + + return _context3.abrupt("return"); + + case 6: + dir1file(path); + + case 7: + if (!stat.isdir) { + _context3.next = 14; + break; + } + + if (!/\./.test(path)) { + _context3.next = 10; + break; + } + + return _context3.abrupt("return"); + + case 10: + _context3.next = 12; + return _mlib.file.readir(path); + + case 12: + ref = _context3.sent; + + // 除了file和dir可能还有其他情况, 比如符号链接 + for (i = 0, len = ref.length; i < len; i++) { + x = ref[i]; // 读取目录, 逐项处理 + + dodir(x); + } + + case 14: + case "end": + return _context3.stop(); + } + } + }, _callee3); + })); + + return function dodir(_x2) { + return _ref3.apply(this, arguments); + }; +}(); + +exports.dodir = dodir; +var _default = { + iscmd: iscmd, + dolp: dolp, + dodir: dodir +}; +exports.default = _default; +dodir('.'); + +/***/ }), + +/***/ "./src/mlib/src/color.cs": +/*!*******************************!* + !*** ./src/mlib/src/color.cs ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.samergbstr = exports.getdark = exports.getlight = exports.lrgb = exports.lstr = exports.rgbok = void 0; + +var _colorname = _interopRequireDefault(__webpack_require__(/*! ./colorname.cson */ "./src/mlib/src/colorname.cson")); + +/* + * 关于颜色的库, 这个库会被重写, 因为hsl的亮度判断可以认为是错的. 所以可以保留hsl相关的函数, 但是, 实际应用函数需要重写. + * + */ + +/** + * 拿到视觉暗度 + * 用来判断颜色是否够暗 + * + */ + +/** + * 拿到视觉亮度 + * 用来判断颜色是否够亮 + * 未来用荧光体发光能量来计算数值. + */ + +/* + * 从16进制到rgb + * #fc2 #fc29 #fc292923 #fc2929, 3,4,6,8都有可能 + */ + +/** + * lightrgb核心亮度处理函数 + * * 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b + * * 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t + * 废弃return false并不合理 + */ + +/** + * 从str到调亮的颜色str + * 这里处理一个style string的亮度 + * 纯函数 + * str: 一个颜色字符串 + * isback: 是否为背景 + * 废弃 return false 并不合理 + */ + +/* +* 从rgb到str +* */ + +/** +* 3种情况 +* 1. rgb情况: 从"rgb(154, 154, 0)"转化为: {r:154,g:154,b:0,} +* "rgba(0, 0, 0, 0)" 还需兼容此种情况 +* 2. 16进制情况: #fc2 #fc29 #fc292923 #fc2929 +* 3. 颜色名: white, black, organge +* */ +var darkcolor, getrgbdark, getrgblight, hex2rgb, lightcolor, lightrgb, lightstr, mlight, rgb2str, str2rgb, test; +darkcolor = 'rgba(44,44,44,1)'; //dark的基础颜色 + +lightcolor = 'rgba(200,200,200,1)'; +/** +* ---------------------单独处理前景或者背景, 配合darkcss的思路--------------------------- +* 亮度判断逻辑 g>100, r>200, 或者g+r>300 +* 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b +* +* 暗度判断逻辑 g<60 r<100 b<150 +* 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t +* + */ + +/** +* rgbok +* 判断颜色是否需要处理 +* * 亮度判断逻辑 g>100, r>200, 或者g+r>300 +* * 暗度判断逻辑 g<60 r<100 b<150 +* 参数 +* rgb:{r,g,b} +* isback: 是否为背景图片 +* 返回值 +* true: 不需要处理 +* false: 需要处理 + */ + +var rgbok = function rgbok(_ref) { + var rgb = _ref.rgb, + _ref$isback = _ref.isback, + isback = _ref$isback === void 0 ? true : _ref$isback; + var b, g, r; + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + return g < 60 && r < 100 && b < 150; + } else { + return r + g > 300; + } +}; //暗度判断 +//光明模式, 如果亮度<0.7则需要处理, 否则就不需要处理 + +/** + * 从str到调亮的颜色str + * 这里处理一个style string的亮度 + * 纯函数 + * str: 一个颜色字符串 + * isback: 是否为背景 + * 废弃 return false 并不合理 + */ + + +exports.rgbok = rgbok; + +var lstr = function lstr(_ref2) { + var str = _ref2.str, + _ref2$isback = _ref2.isback, + isback = _ref2$isback === void 0 ? true : _ref2$isback; + var l; + + if (!str) { + return false; + } + + if (str === "initial") { + //如果是initial, 那么直接用我的值. + return isback ? darkcolor : lightcolor; + } + + if (/var\(--/.test(str)) { + //fixme 暂时在这里忽略css var #todo + return isback ? darkcolor : lightcolor; + } + + l = lrgb({ + rgb: str2rgb(str), + isback: isback + }); + return rgb2str(l); +}; +/** + * lightrgb核心亮度处理函数 + * * 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b + * * 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t + * 废弃return false并不合理 + */ + + +exports.lstr = lstr; + +var lrgb = function lrgb(_ref3) { + var rgb = _ref3.rgb, + _ref3$isback = _ref3.isback, + isback = _ref3$isback === void 0 ? true : _ref3$isback; + var b, g, r, t; + + if (rgbok({ + rgb: rgb, + isback: isback + })) { + return rgb; + } + + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + //处理暗黑背景 + t = Math.max(g - 60, r - 100, b - 150); + r -= t; + g -= t; + b -= t; //处理明亮前景 + } else { + t = Math.max(100 - g, 200 - r); + r += t; + g += t; + b += t; + } + + return { + r: r, + g: g, + b: b + }; +}; + +exports.lrgb = lrgb; + +lightstr = function lightstr(_ref4) { + var str = _ref4.str, + _ref4$isback = _ref4.isback, + isback = _ref4$isback === void 0 ? true : _ref4$isback; + var l; + + if (!str) { + return false; + } + + if (str === "initial") { + //如果是initial, 那么直接用我的值. + return isback ? darkcolor : lightcolor; + } + + if (/var\(--/.test(str)) { + //fixme 暂时在这里忽略css var #todo + return isback ? darkcolor : lightcolor; + } + + l = lightrgb({ + rgb: str2rgb(str), + isback: isback + }); + + if (l) { + return rgb2str(l); + } else { + return false; + } +}; + +lightrgb = function lightrgb(_ref5) { + var rgb = _ref5.rgb, + _ref5$isback = _ref5.isback, + isback = _ref5$isback === void 0 ? true : _ref5$isback; + var b, g, r, t; + + if (rgbok({ + rgb: rgb, + isback: isback + })) { + return false; + } + + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + //处理暗黑背景 + t = Math.max(g - 60, r - 100, b - 150); + r -= t; + g -= t; + b -= t; //处理明亮前景 + } else { + t = Math.max(100 - g, 200 - r); + r += t; + g += t; + b += t; + } + + return { + r: r, + g: g, + b: b + }; +}; +/** + * --------------对比度逻辑, 配合darkstyle----------------- + * 这里的计算未必合适. + */ + +/** +* 从str到亮度 + */ + + +var getlight = function getlight(str) { + return getrgblight(str2rgb(str)); +}; + +exports.getlight = getlight; + +var getdark = function getdark(str) { + return getrgbdark(str2rgb(str)); +}; + +exports.getdark = getdark; + +getrgblight = function getrgblight(_ref6) { + var r = _ref6.r, + g = _ref6.g, + b = _ref6.b; + r = r * 1.2; + g = g * 1.7; + return mlight({ + r: r, + g: g, + b: b + }).light; +}; + +getrgbdark = function getrgbdark(_ref7) { + var r = _ref7.r, + g = _ref7.g, + b = _ref7.b; + r = r * 1.3; + g = g * 1.2; + return mlight({ + r: r, + g: g, + b: b + }).light; +}; + +mlight = function mlight(_ref8) { + var r = _ref8.r, + g = _ref8.g, + b = _ref8.b; + var b1, b2, b3; + + if (r > g) { + b1 = r; + b2 = g; + } else { + b1 = g; + b2 = r; + } + + if (b < b2) { + b3 = b; + } else if (b < b1) { + b3 = b2; + b2 = b; + } else { + b3 = b2; + b2 = b1; + b1 = b; + } + + return { + // 这里很不严谨, 亮度的心理阈限测量或许能让这个计算更精确. + light: (b1 + b2 / 6) * 2 / 3, + max: [b1, b2, b3] + }; +}; +/* + * 基础工具函数------------------------------------------------------- + * 判断两个rgbstr实际相等 + */ + + +var samergbstr = function samergbstr(rgbstr1, rgbstr2) { + var b1, b2, g1, g2, r1, r2; + + var _str2rgb = str2rgb(rgbstr1); + + r1 = _str2rgb.r; + g1 = _str2rgb.g; + b1 = _str2rgb.b; + + var _str2rgb2 = str2rgb(rgbstr2); + + r2 = _str2rgb2.r; + g2 = _str2rgb2.g; + b2 = _str2rgb2.b; + return r1 === r2 && g1 === g2 && b1 === b2; +}; + +exports.samergbstr = samergbstr; + +str2rgb = function str2rgb(str) { + var a, c, reg; //"rgb(154, 154, 0)" + + reg = /rgba?\(([0-9]{1,3}), ?([0-9]{1,3}), ?([0-9]{1,3})(, ?([0-9.%]+))?\)/i; + c = reg.exec(str); //16进制颜色 + + if (c == null) { + c = hex2rgb(str); + } //再判断名字颜色: + + + if (c == null) { + c = _colorname["default"][str] && hex2rgb(hex); + } + + if (c == null) { + return false; + } //透明度 + + + a = c[5] != null ? c[5] : 1; + return { + r: +c[1], + g: +c[2], + b: +c[3], + a: a //这里用+是为了把字符串转为数字, 不然会发生很隐蔽的bug. + + }; +}; + +rgb2str = function rgb2str(_ref9) { + var r = _ref9.r, + g = _ref9.g, + b = _ref9.b, + _ref9$a = _ref9.a, + a = _ref9$a === void 0 ? 1 : _ref9$a; + + if (a > 0.99) { + return "rgb(" + r + "," + g + "," + b + ")"; + } else { + return "rgba(" + r + "," + g + "," + b + "," + a + ")"; + } +}; + +hex2rgb = function hex2rgb(str) { + var c, reg, x, y; + reg = /#([^#]*)/i; //判断#62fa89这种类似方式的颜色值 + + c = reg.exec(str); + + if ((c != null ? c[1] : void 0) == null) { + return false; + } + + x = c[1]; + y = []; + + switch (x.length) { + case 3: + y[1] = parseInt('' + x[0] + x[0], 16); + y[2] = parseInt('' + x[1] + x[1], 16); + y[3] = parseInt('' + x[2] + x[2], 16); + break; + + case 4: + //y[1]=parseInt(x[0],16); /20201028修正错误, 这个会把fff转化为 r15g15b15, 其实应该是r255g255b255 + y[1] = parseInt('' + x[0] + x[0], 16); + y[2] = parseInt('' + x[1] + x[1], 16); + y[3] = parseInt('' + x[2] + x[2], 16); + y[5] = parseInt(x[3], 16) / 255; + break; + + case 6: + y[1] = parseInt('' + x[0] + x[1], 16); + y[2] = parseInt('' + x[2] + x[3], 16); + y[3] = parseInt('' + x[4] + x[5], 16); + break; + + case 8: + y[1] = parseInt('' + x[0] + x[1], 16); + y[2] = parseInt('' + x[2] + x[3], 16); + y[3] = parseInt('' + x[4] + x[5], 16); + y[5] = parseInt('' + x[6] + x[7], 16) / 255; + break; + + default: + //不满足上面四个情况, 直接返回false + return false; + } + + return y; +}; //console.log(str2rgb('white')); #test + + +test = function test() { + var result; + result = window.luoclr.lightstr({ + str: 'white', + isback: true + }); + return console.log({ + result: result + }); +}; //lightstr +//lightrgb + + +var _default = { + lstr: lstr, + lrgb: lrgb, + getlight: getlight, + getdark: getdark, + samergbstr: samergbstr +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/file.cs": +/*!******************************!* + !*** ./src/mlib/src/file.cs ***! + \******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.allfile = exports.readfile = exports.readir = exports.newdir = exports.mkdir = exports.exist = exports.filetype = exports.uniqueadd = exports.cover = exports.realpath = exports.savefile = void 0; + +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "@babel/runtime/regenerator")); + +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "@babel/runtime/helpers/asyncToGenerator")); + +var _promises = _interopRequireDefault(__webpack_require__(/*! fs/promises */ "fs/promises")); + +var _fs = _interopRequireDefault(__webpack_require__(/*! fs */ "fs")); + +var _os = _interopRequireDefault(__webpack_require__(/*! os */ "os")); + +//import {log} from './log.js' +var home, log; +home = _os["default"].homedir(); +log = console.log; // todo 保存文件 + +var savefile = function savefile(_ref) { + var json = _ref.json, + _ref$filename = _ref.filename, + filename = _ref$filename === void 0 ? "temptest.txt" : _ref$filename; + return _promises["default"].writeFile(filename, JSON.stringify(json), function (err) { + log('文件写入', filename); + + if (err) { + return log(err); + } + }); +}; // 拿到真正的path + + +exports.savefile = savefile; + +var realpath = function realpath(path) { + // home文件夹~, node不认, 要调整为os.homedir + if (/^~/.test(path)) { + return path.replace(/^~/, home); + } else { + return path; + } +}; // 加文件内容, 覆盖式 + + +exports.realpath = realpath; + +var cover = /*#__PURE__*/function () { + var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(_ref2) { + var path, str, _ref2$options, options; + + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + path = _ref2.path, str = _ref2.str, _ref2$options = _ref2.options, options = _ref2$options === void 0 ? { + encoding: 'utf8' + } : _ref2$options; + _context.next = 3; + return _promises["default"].writeFile(realpath(path), str, options); + + case 3: + return _context.abrupt("return", true); + + case 4: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function cover(_x) { + return _ref3.apply(this, arguments); + }; +}(); // 追加文件内容, 保证追加内容不重复 + + +exports.cover = cover; + +var uniqueadd = /*#__PURE__*/function () { + var _ref5 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(_ref4) { + var path, reg, str, _ref4$options, options, fstr, rpath; + + return _regenerator["default"].wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + path = _ref4.path, reg = _ref4.reg, str = _ref4.str, _ref4$options = _ref4.options, options = _ref4$options === void 0 ? { + encoding: 'utf8' + } : _ref4$options; + // home文件夹~, node不认, 要调整为os.homedir + rpath = realpath(path); // 读取文件 + + _context2.next = 4; + return _promises["default"].readFile(rpath, options); + + case 4: + fstr = _context2.sent; + + if (!reg.test(fstr)) { + _context2.next = 7; + break; + } + + return _context2.abrupt("return", false); + + case 7: + _context2.next = 9; + return _promises["default"].appendFile(rpath, str != null ? str : reg.source, options); + + case 9: + return _context2.abrupt("return", true); + + case 10: + case "end": + return _context2.stop(); + } + } + }, _callee2); + })); + + return function uniqueadd(_x2) { + return _ref5.apply(this, arguments); + }; +}(); // 判断是文件/目录 + + +exports.uniqueadd = uniqueadd; + +var filetype = /*#__PURE__*/function () { + var _ref6 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(path) { + var stat; + return _regenerator["default"].wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return _promises["default"].lstat(realpath(path)); + + case 2: + stat = _context3.sent; + return _context3.abrupt("return", { + isfile: stat.isFile(), + isdir: stat.isDirectory() + }); + + case 4: + case "end": + return _context3.stop(); + } + } + }, _callee3); + })); + + return function filetype(_x3) { + return _ref6.apply(this, arguments); + }; +}(); // 判断文件/目录是否存在 + + +exports.filetype = filetype; + +var exist = function exist(path) { + return _fs["default"].existsSync(realpath(path)); +}; // 建一个目录 + + +exports.exist = exist; + +var mkdir = /*#__PURE__*/function () { + var _ref7 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(path) { + return _regenerator["default"].wrap(function _callee4$(_context4) { + while (1) { + switch (_context4.prev = _context4.next) { + case 0: + _context4.next = 2; + return _promises["default"].mkdir(realpath(path), { + recursive: true + }); + + case 2: + return _context4.abrupt("return", _context4.sent); + + case 3: + case "end": + return _context4.stop(); + } + } + }, _callee4); + })); + + return function mkdir(_x4) { + return _ref7.apply(this, arguments); + }; +}(); // 如果不存在就建一个目录 + + +exports.mkdir = mkdir; + +var newdir = /*#__PURE__*/function () { + var _ref8 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(path) { + return _regenerator["default"].wrap(function _callee5$(_context5) { + while (1) { + switch (_context5.prev = _context5.next) { + case 0: + if (!exist(path)) { + _context5.next = 2; + break; + } + + return _context5.abrupt("return", false); + + case 2: + _context5.next = 4; + return _promises["default"].mkdir(realpath(path)); + + case 4: + return _context5.abrupt("return", _context5.sent); + + case 5: + case "end": + return _context5.stop(); + } + } + }, _callee5); + })); + + return function newdir(_x5) { + return _ref8.apply(this, arguments); + }; +}(); // 读取目录 + + +exports.newdir = newdir; + +var readir = /*#__PURE__*/function () { + var _ref9 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(path) { + return _regenerator["default"].wrap(function _callee6$(_context6) { + while (1) { + switch (_context6.prev = _context6.next) { + case 0: + _context6.next = 2; + return _promises["default"].readdir(realpath(path)); + + case 2: + return _context6.abrupt("return", _context6.sent); + + case 3: + case "end": + return _context6.stop(); + } + } + }, _callee6); + })); + + return function readir(_x6) { + return _ref9.apply(this, arguments); + }; +}(); // 读取文件 + + +exports.readir = readir; + +var readfile = /*#__PURE__*/function () { + var _ref10 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7(path) { + var fstr; + return _regenerator["default"].wrap(function _callee7$(_context7) { + while (1) { + switch (_context7.prev = _context7.next) { + case 0: + _context7.next = 2; + return _promises["default"].readFile(realpath(path), { + encoding: 'utf8' + }); + + case 2: + return _context7.abrupt("return", fstr = _context7.sent); + + case 3: + case "end": + return _context7.stop(); + } + } + }, _callee7); + })); + + return function readfile(_x7) { + return _ref10.apply(this, arguments); + }; +}(); // todo 读取目录中所有问题, 深度遍历 + + +exports.readfile = readfile; + +var allfile = function allfile(_ref11) { + var path = _ref11.path, + _ref11$reg = _ref11.reg, + reg = _ref11$reg === void 0 ? false : _ref11$reg, + _ref11$options = _ref11.options, + options = _ref11$options === void 0 ? { + encoding: 'utf8' + } : _ref11$options; + // 如果没传reg, 那么就是要所有文件 + return readdir(path, options); +}; + +exports.allfile = allfile; +var _default = { + savefile: savefile, + cover: cover, + uniqueadd: uniqueadd, + filetype: filetype, + exist: exist, + mkdir: mkdir, + readir: readir, + readfile: readfile, + allfile: allfile +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/index.cs": +/*!*******************************!* + !*** ./src/mlib/src/index.cs ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "color", ({ + enumerable: true, + get: function get() { + return _color["default"]; + } +})); +Object.defineProperty(exports, "random", ({ + enumerable: true, + get: function get() { + return _random["default"]; + } +})); +Object.defineProperty(exports, "time", ({ + enumerable: true, + get: function get() { + return _time["default"]; + } +})); +Object.defineProperty(exports, "file", ({ + enumerable: true, + get: function get() { + return _file["default"]; + } +})); + +var _color = _interopRequireDefault(__webpack_require__(/*! ./color.cs */ "./src/mlib/src/color.cs")); + +var _random = _interopRequireDefault(__webpack_require__(/*! ./random.cs */ "./src/mlib/src/random.cs")); + +var _time = _interopRequireDefault(__webpack_require__(/*! ./time.cs */ "./src/mlib/src/time.cs")); + +var _file = _interopRequireDefault(__webpack_require__(/*! ./file.cs */ "./src/mlib/src/file.cs")); + +/***/ }), + +/***/ "./src/mlib/src/random.cs": +/*!********************************!* + !*** ./src/mlib/src/random.cs ***! + \********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.randomlight = exports.randomcolor = exports.randomember = exports.randomint = void 0; + +var _color = __webpack_require__(/*! ./color.cs */ "./src/mlib/src/color.cs"); + +/* +* 拿到整数版本的随机数 +* 因为random不包含1, 因此, 这个随机数也不包含max +* 因此传入数组的长度正好合适作为数组的索引 + */ +var randomint = function randomint(max) { + return Math.random() * max >> 0; +}; +/* +数组中取一个随机element +*/ + + +exports.randomint = randomint; + +var randomember = function randomember(p) { + return p[randomint(p.length)]; +}; // 随机一个颜色 + + +exports.randomember = randomember; + +var randomcolor = function randomcolor() { + return "rgb(" + randomint(256) + "," + randomint(256) + "," + randomint(256) + ")"; +}; // 随机一个明亮颜色 + + +exports.randomcolor = randomcolor; + +var randomlight = function randomlight() { + return (0, _color.lstr)({ + str: randomcolor(0), + isback: false + }); +}; + +exports.randomlight = randomlight; +var _default = { + randomint: randomint, + randomember: randomember, + randomcolor: randomcolor, + randomlight: randomlight +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/time.cs": +/*!******************************!* + !*** ./src/mlib/src/time.cs ***! + \******************************/ +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.gethhmmss = exports.gethhmm = exports.sleep = void 0; + +var sleep = function sleep(ms) { + return new Promise(function (resolve) { + return setTimeout(resolve, ms); + }); +}; + +exports.sleep = sleep; + +var gethhmm = function gethhmm() { + var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now(); + var t; + t = new Date(+timestamp); + return t.getHours() + ':' + t.getMinutes(); +}; + +exports.gethhmm = gethhmm; + +var gethhmmss = function gethhmmss() { + var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now(); + var t; + t = new Date(+timestamp); + return t.getHours() + ':' + t.getMinutes() + ':' + t.getSeconds(); +}; + +exports.gethhmmss = gethhmmss; +var _default = { + sleep: sleep, + gethhmm: gethhmm, + gethhmmss: gethhmmss +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/colorname.cson": +/*!*************************************!* + !*** ./src/mlib/src/colorname.cson ***! + \*************************************/ +/***/ ((module) => { + +module.exports = {"black":"#000","silver":"#c0c0c0","gray":"#808080","white":"#fff","maroon":"#800000","red":"#ff0000","purple":"#800080","fuchsia":"#ff00ff","green":"#008000","lime":"#00ff00","olive":"#808000","yellow":"#ffff00","navy":"#000080","blue":"#0000ff","teal":"#008080","aqua":"#00ffff","orange":"#ffa500","aliceblue":"#f0f8ff","antiquewhite":"#faebd7","aquamarine":"#7fffd4","azure":"#f0ffff","beige":"#f5f5dc","bisque":"#ffe4c4","blanchedalmond":"#ffebcd","blueviolet":"#8a2be2","brown":"#a52a2a","burlywood":"#deb887","cadetblue":"#5f9ea0","chartreuse":"#7fff00","chocolate":"#d2691e","coral":"#ff7f50","cornflowerblue":"#6495ed","cornsilk":"#fff8dc","crimson":"#dc143c","cyan":"#00ffff","darkblue":"#00008b","darkcyan":"#008b8b","darkgoldenrod":"#b8860b","darkgray":"#a9a9a9","darkgreen":"#006400","darkgrey":"#a9a9a9","darkkhaki":"#bdb76b","darkmagenta":"#8b008b","darkolivegreen":"#556b2f","darkorange":"#ff8c00","darkorchid":"#9932cc","darkred":"#8b0000","darksalmon":"#e9967a","darkseagreen":"#8fbc8f","darkslateblue":"#483d8b","darkslategray":"#2f4f4f","darkslategrey":"#2f4f4f","darkturquoise":"#00ced1","darkviolet":"#9400d3","deeppink":"#ff1493","deepskyblue":"#00bfff","dimgray":"#696969","dimgrey":"#696969","dodgerblue":"#1e90ff","firebrick":"#b22222","floralwhite":"#fffaf0","forestgreen":"#228b22","gainsboro":"#dcdcdc","ghostwhite":"#f8f8ff","gold":"#ffd700","goldenrod":"#daa520","greenyellow":"#adff2f","grey":"#808080","honeydew":"#f0fff0","hotpink":"#ff69b4","indianred":"#cd5c5c","indigo":"#4b0082","ivory":"#fffff0","khaki":"#f0e68c","lavender":"#e6e6fa","lavenderblush":"#fff0f5","lawngreen":"#7cfc00","lemonchiffon":"#fffacd","lightblue":"#add8e6","lightcoral":"#f08080","lightcyan":"#e0ffff","lightgoldenrodyellow":"#fafad2","lightgray":"#d3d3d3","lightgreen":"#90ee90","lightgrey":"#d3d3d3","lightpink":"#ffb6c1","lightsalmon":"#ffa07a","lightseagreen":"#20b2aa","lightskyblue":"#87cefa","lightslategray":"#778899","lightslategrey":"#778899","lightsteelblue":"#b0c4de","lightyellow":"#ffffe0","limegreen":"#32cd32","linen":"#faf0e6","magenta":"#ff00ff","mediumaquamarine":"#66cdaa","mediumblue":"#0000cd","mediumorchid":"#ba55d3","mediumpurple":"#9370db","mediumseagreen":"#3cb371","mediumslateblue":"#7b68ee","mediumspringgreen":"#00fa9a","mediumturquoise":"#48d1cc","mediumvioletred":"#c71585","midnightblue":"#191970","mintcream":"#f5fffa","mistyrose":"#ffe4e1","moccasin":"#ffe4b5","navajowhite":"#ffdead","oldlace":"#fdf5e6","olivedrab":"#6b8e23","orangered":"#ff4500","orchid":"#da70d6","palegoldenrod":"#eee8aa","palegreen":"#98fb98","paleturquoise":"#afeeee","palevioletred":"#db7093","papayawhip":"#ffefd5","peachpuff":"#ffdab9","peru":"#cd853f","pink":"#ffc0cb","plum":"#dda0dd","powderblue":"#b0e0e6","rosybrown":"#bc8f8f","royalblue":"#4169e1","saddlebrown":"#8b4513","salmon":"#fa8072","sandybrown":"#f4a460","seagreen":"#2e8b57","seashell":"#fff5ee","sienna":"#a0522d","skyblue":"#87ceeb","slateblue":"#6a5acd","slategray":"#708090","slategrey":"#708090","snow":"#fffafa","springgreen":"#00ff7f","steelblue":"#4682b4","tan":"#d2b48c","thistle":"#d8bfd8","tomato":"#ff6347","transparent":"#0000","turquoise":"#40e0d0","violet":"#ee82ee","wheat":"#f5deb3","whitesmoke":"#f5f5f5","yellowgreen":"#9acd32","rebeccapurple":"#663399"} + +/***/ }), + +/***/ "@babel/runtime/helpers/asyncToGenerator": +/*!**********************************************************!* + !*** external "@babel/runtime/helpers/asyncToGenerator" ***! + \**********************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/helpers/asyncToGenerator");; + +/***/ }), + +/***/ "@babel/runtime/helpers/interopRequireDefault": +/*!***************************************************************!* + !*** external "@babel/runtime/helpers/interopRequireDefault" ***! + \***************************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/helpers/interopRequireDefault");; + +/***/ }), + +/***/ "@babel/runtime/regenerator": +/*!*********************************************!* + !*** external "@babel/runtime/regenerator" ***! + \*********************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/regenerator");; + +/***/ }), + +/***/ "chalk": +/*!************************!* + !*** external "chalk" ***! + \************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("chalk");; + +/***/ }), + +/***/ "fs": +/*!*********************!* + !*** external "fs" ***! + \*********************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("fs");; + +/***/ }), + +/***/ "fs/promises": +/*!******************************!* + !*** external "fs/promises" ***! + \******************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("fs/promises");; + +/***/ }), + +/***/ "os": +/*!*********************!* + !*** external "os" ***! + \*********************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("os");; + +/***/ }) + +}; +; + +// load runtime +var __webpack_require__ = require("../runtime/runtime.js"); +__webpack_require__.C(exports); +return __webpack_require__.X([], "./src/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zcHJpbmdncmVlblwiOlwiIzAwZmY3ZlwiLFwic3RlZWxibHVlXCI6XCIjNDY4MmI0XCIsXCJ0YW5cIjpcIiNkMmI0OGNcIixcInRoaXN0bGVcIjpcIiNkOGJmZDhcIixcInRvbWF0b1wiOlwiI2ZmNjM0N1wiLFwidHJhbnNwYXJlbnRcIjpcIiMwMDAwXCIsXCJ0dXJxdW9pc2VcIjpcIiM0MGUwZDBcIixcInZpb2xldFwiOlwiI2VlODJlZVwiLFwid2hlYXRcIjpcIiNmNWRlYjNcIixcIndoaXRlc21va2VcIjpcIiNmNWY1ZjVcIixcInllbGxvd2dyZWVuXCI6XCIjOWFjZDMyXCIsXCJyZWJlY2NhcHVycGxlXCI6XCIjNjYzMzk5XCJ9IiwibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwiQGJhYmVsL3J1bnRpbWUvaGVscGVycy9hc3luY1RvR2VuZXJhdG9yXCIpOzsiLCJtb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoXCJAYmFiZWwvcnVudGltZS9oZWxwZXJzL2ludGVyb3BSZXF1aXJlRGVmYXVsdFwiKTs7IiwibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwiQGJhYmVsL3J1bnRpbWUvcmVnZW5lcmF0b3JcIik7OyIsIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZShcImNoYWxrXCIpOzsiLCJtb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoXCJmc1wiKTs7IiwibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwiZnMvcHJvbWlzZXNcIik7OyIsIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZShcIm9zXCIpOzsiXSwic291cmNlUm9vdCI6IiJ9 \ No newline at end of file diff --git a/coffee/api/lornpug/lornpug.js b/coffee/api/lornpug/lornpug.js new file mode 100644 index 0000000..e4e984b --- /dev/null +++ b/coffee/api/lornpug/lornpug.js @@ -0,0 +1,1445 @@ +#!/usr/bin/env node +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define([], factory); + else if(typeof exports === 'object') + exports["mlib"] = factory(); + else + root["mlib"] = factory(); +})(global, function() { +return (() => { +var exports = {}; +exports.id = "lornpug"; +exports.ids = ["lornpug"]; +exports.modules = { + +/***/ "./src/lornpug.cs": +/*!************************!* + !*** ./src/lornpug.cs ***! + \************************/ +/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +var _chalk = _interopRequireDefault(__webpack_require__(/*! chalk */ "chalk")); + +var _lornpughelp = _interopRequireDefault(__webpack_require__(/*! ./lornpughelp.cs */ "./src/lornpughelp.cs")); + +var arg, cmds, dodir, dolp, files, i, iscmd, isdefault, isdir, isio, islp, j, k, len, len1, len2, x; +iscmd = _lornpughelp["default"].iscmd; +dolp = _lornpughelp["default"].dolp; +dodir = _lornpughelp["default"].dodir; +// ------------------init--------------------- +arg = process.argv.slice(2); +console.log('环境和参数信息:'); +console.table([{ + '键: ': 'process.cwd()', + '值: ': process.cwd() +}, { + '键: ': '__dirname', + '值: ': __dirname +}, { + '键: ': 'process.argv', + '值: ': process.argv +}, { + '键: ': '真参数', + '值: ': arg +}]); +cmds = []; // 传入的参数的命令数组 + +files = []; // 传入的文件数组 + +for (i = 0, len = arg.length; i < len; i++) { + x = arg[i]; + + if (iscmd(x)) { + cmds.push(x); + } else { + files.push(x); + } +} + +console.log(_chalk["default"].blueBright("\u547D\u4EE4: ".concat(cmds, " "))); +console.log(_chalk["default"].yellowBright("\u6587\u4EF6: ".concat(files, " "))); // 处理命令 + +isdefault = cmds.length === 0; + +for (j = 0, len1 = cmds.length; j < len1; j++) { + x = cmds[j]; + isdir = /^--dir$/.test(x); + isio = /^--io$/.test(x); + islp = /^--lp$/.test(x); +} // 根据命令, 处理文件, 忽略node_module, 未来根据.gitignore忽略 + + +if (isdefault) { + // 默认是跑测试文件 + console.log(_chalk["default"].cyanBright('默认行为:'), '测试结果: '); +} else if (islp) { + // 修改.zshrc文件, 增加快捷方式 + dolp(0); +} else if (isdir) { + // 建测试目录, 初始化测试文件 + if (files.length === 0) { + dodir('.'); //如果没有任何文件参数, 那么就是从本地搞深度遍历 + } else { + for (k = 0, len2 = files.length; k < len2; k++) { + x = files[k]; + dodir(x); + } + } + + console.log(_chalk["default"].cyanBright('初始化'), '初始化成功: '); +} else if (isio) { + // 增加测试文件 + console.log(_chalk["default"].cyanBright('初始化'), '初始化成功: '); +} else { + console.log(_chalk["default"].redBright('抱歉啊: 不知道你想干啥')); +} +/* +try { + new Function('var {a} = {a: 1}')(); +} catch(error) { + console.error('Your JavaScript runtime does not support some features used by the coffee command. Please use Node 6 or later.'); + process.exit(1); +} + +var path=require('path'); +var fs=require('fs'); + +var potentialPaths=[ + path.join(process.cwd(),), + path.join(process.cwd(),), + path.join(process.cwd(),), + path.join(__dirname,'../lib/c') +]; + +for(var i=0,len=potentialPaths.length;i') + .option('-u, --username ','The user to authenticate as') + .option('-p, --password ','The users password') + .action(function(file) { + console.log('user: %s pass: %s file: %s', + program.username,program.password,file); + }) + .parse(process.argv); +*/ + +/***/ }), + +/***/ "./src/lornpughelp.cs": +/*!****************************!* + !*** ./src/lornpughelp.cs ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.dodir = exports.dolp = exports.iscmd = void 0; + +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "@babel/runtime/regenerator")); + +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "@babel/runtime/helpers/asyncToGenerator")); + +var _chalk = _interopRequireDefault(__webpack_require__(/*! chalk */ "chalk")); + +var _mlib = __webpack_require__(/*! mlib */ "./src/mlib/src/index.cs"); + +var dir1file; + +// -----------------pure function----------------- +// 判断是否有命令参数(--开始的命令参数), 没有--的都是文件 +var iscmd = function iscmd(x) { + return /^--/.test(x); +}; // 处理lp命令 + + +exports.iscmd = iscmd; + +var dolp = /*#__PURE__*/function () { + var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() { + var ok, reg, str; + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + str = "# \u8214\u72D7\u9879\u76EE\nalias lp=\"lpg\""; + reg = /alias\s*lp="lpg"/; + _context.next = 4; + return _mlib.file.uniqueadd({ + reg: reg, + str: str, + path: '~/.zshrc' + }); + + case 4: + ok = _context.sent; + + if (!ok) { + _context.next = 13; + break; + } + + console.log('命令设置为lp', _chalk["default"].greenBright('成功: '), '需要刷新配置才会生效, 推荐使用快捷重启命令:'); + console.log(_chalk["default"].greenBright('exec zsh'), _chalk["default"].yellow('# 重启当前terminal')); + console.log('如果不能重启terminal: '); + console.log(_chalk["default"].greenBright('source ~/.zshrc'), _chalk["default"].yellow('# 导入配置文件方法一')); + return _context.abrupt("return", console.log(_chalk["default"].greenBright('. ~/.zshrc'), _chalk["default"].yellow('# 导入配置文件方法二'))); + + case 13: + return _context.abrupt("return", console.log(_chalk["default"].redBright('没有'), '进行设置, 可能是配置文件已经存在', _chalk["default"].yellow('请手工检查文件: '), '~/.zshrc')); + + case 14: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function dolp() { + return _ref.apply(this, arguments); + }; +}(); // 处理一个cs或者coffee的初始化 + + +exports.dolp = dolp; + +dir1file = /*#__PURE__*/function () { + var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(path) { + var p; + return _regenerator["default"].wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + p = path + '.lp'; // 判断对应目录是否存在. + + if (!_mlib.file.exist(p)) { + _context2.next = 3; + break; + } + + return _context2.abrupt("return"); + + case 3: + _context2.next = 5; + return _mlib.file.mkdir(p); + + case 5: + _context2.next = 7; + return _mlib.file.cover({ + path: p + '/aaa.0i.cson', + str: '' + }); + + case 7: + _context2.next = 9; + return _mlib.file.cover({ + path: p + '/aaa.0o.cson', + str: '' + }); + + case 9: + _context2.next = 11; + return _mlib.file.cover({ + path: p + '/cto.cson', + str: '' + }); + + case 11: + return _context2.abrupt("return", _context2.sent); + + case 12: + case "end": + return _context2.stop(); + } + } + }, _callee2); + })); + + return function dir1file(_x) { + return _ref2.apply(this, arguments); + }; +}(); // 处理初始化测试dir + + +var dodir = /*#__PURE__*/function () { + var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(path) { + var i, len, ref, stat, x; + return _regenerator["default"].wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return _mlib.file.filetype(path); + + case 2: + stat = _context3.sent; + + if (!stat.isfile) { + _context3.next = 7; + break; + } + + if (/\.coffee$|\.cs$/.test(path)) { + _context3.next = 6; + break; + } + + return _context3.abrupt("return"); + + case 6: + dir1file(path); + + case 7: + if (!stat.isdir) { + _context3.next = 14; + break; + } + + if (!/\./.test(path)) { + _context3.next = 10; + break; + } + + return _context3.abrupt("return"); + + case 10: + _context3.next = 12; + return _mlib.file.readir(path); + + case 12: + ref = _context3.sent; + + // 除了file和dir可能还有其他情况, 比如符号链接 + for (i = 0, len = ref.length; i < len; i++) { + x = ref[i]; // 读取目录, 逐项处理 + + dodir(x); + } + + case 14: + case "end": + return _context3.stop(); + } + } + }, _callee3); + })); + + return function dodir(_x2) { + return _ref3.apply(this, arguments); + }; +}(); + +exports.dodir = dodir; +var _default = { + iscmd: iscmd, + dolp: dolp, + dodir: dodir +}; +exports.default = _default; +dodir('.'); + +/***/ }), + +/***/ "./src/mlib/src/color.cs": +/*!*******************************!* + !*** ./src/mlib/src/color.cs ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.samergbstr = exports.getdark = exports.getlight = exports.lrgb = exports.lstr = exports.rgbok = void 0; + +var _colorname = _interopRequireDefault(__webpack_require__(/*! ./colorname.cson */ "./src/mlib/src/colorname.cson")); + +/* + * 关于颜色的库, 这个库会被重写, 因为hsl的亮度判断可以认为是错的. 所以可以保留hsl相关的函数, 但是, 实际应用函数需要重写. + * + */ + +/** + * 拿到视觉暗度 + * 用来判断颜色是否够暗 + * + */ + +/** + * 拿到视觉亮度 + * 用来判断颜色是否够亮 + * 未来用荧光体发光能量来计算数值. + */ + +/* + * 从16进制到rgb + * #fc2 #fc29 #fc292923 #fc2929, 3,4,6,8都有可能 + */ + +/** + * lightrgb核心亮度处理函数 + * * 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b + * * 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t + * 废弃return false并不合理 + */ + +/** + * 从str到调亮的颜色str + * 这里处理一个style string的亮度 + * 纯函数 + * str: 一个颜色字符串 + * isback: 是否为背景 + * 废弃 return false 并不合理 + */ + +/* +* 从rgb到str +* */ + +/** +* 3种情况 +* 1. rgb情况: 从"rgb(154, 154, 0)"转化为: {r:154,g:154,b:0,} +* "rgba(0, 0, 0, 0)" 还需兼容此种情况 +* 2. 16进制情况: #fc2 #fc29 #fc292923 #fc2929 +* 3. 颜色名: white, black, organge +* */ +var darkcolor, getrgbdark, getrgblight, hex2rgb, lightcolor, lightrgb, lightstr, mlight, rgb2str, str2rgb, test; +darkcolor = 'rgba(44,44,44,1)'; //dark的基础颜色 + +lightcolor = 'rgba(200,200,200,1)'; +/** +* ---------------------单独处理前景或者背景, 配合darkcss的思路--------------------------- +* 亮度判断逻辑 g>100, r>200, 或者g+r>300 +* 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b +* +* 暗度判断逻辑 g<60 r<100 b<150 +* 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t +* + */ + +/** +* rgbok +* 判断颜色是否需要处理 +* * 亮度判断逻辑 g>100, r>200, 或者g+r>300 +* * 暗度判断逻辑 g<60 r<100 b<150 +* 参数 +* rgb:{r,g,b} +* isback: 是否为背景图片 +* 返回值 +* true: 不需要处理 +* false: 需要处理 + */ + +var rgbok = function rgbok(_ref) { + var rgb = _ref.rgb, + _ref$isback = _ref.isback, + isback = _ref$isback === void 0 ? true : _ref$isback; + var b, g, r; + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + return g < 60 && r < 100 && b < 150; + } else { + return r + g > 300; + } +}; //暗度判断 +//光明模式, 如果亮度<0.7则需要处理, 否则就不需要处理 + +/** + * 从str到调亮的颜色str + * 这里处理一个style string的亮度 + * 纯函数 + * str: 一个颜色字符串 + * isback: 是否为背景 + * 废弃 return false 并不合理 + */ + + +exports.rgbok = rgbok; + +var lstr = function lstr(_ref2) { + var str = _ref2.str, + _ref2$isback = _ref2.isback, + isback = _ref2$isback === void 0 ? true : _ref2$isback; + var l; + + if (!str) { + return false; + } + + if (str === "initial") { + //如果是initial, 那么直接用我的值. + return isback ? darkcolor : lightcolor; + } + + if (/var\(--/.test(str)) { + //fixme 暂时在这里忽略css var #todo + return isback ? darkcolor : lightcolor; + } + + l = lrgb({ + rgb: str2rgb(str), + isback: isback + }); + return rgb2str(l); +}; +/** + * lightrgb核心亮度处理函数 + * * 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b + * * 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t + * 废弃return false并不合理 + */ + + +exports.lstr = lstr; + +var lrgb = function lrgb(_ref3) { + var rgb = _ref3.rgb, + _ref3$isback = _ref3.isback, + isback = _ref3$isback === void 0 ? true : _ref3$isback; + var b, g, r, t; + + if (rgbok({ + rgb: rgb, + isback: isback + })) { + return rgb; + } + + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + //处理暗黑背景 + t = Math.max(g - 60, r - 100, b - 150); + r -= t; + g -= t; + b -= t; //处理明亮前景 + } else { + t = Math.max(100 - g, 200 - r); + r += t; + g += t; + b += t; + } + + return { + r: r, + g: g, + b: b + }; +}; + +exports.lrgb = lrgb; + +lightstr = function lightstr(_ref4) { + var str = _ref4.str, + _ref4$isback = _ref4.isback, + isback = _ref4$isback === void 0 ? true : _ref4$isback; + var l; + + if (!str) { + return false; + } + + if (str === "initial") { + //如果是initial, 那么直接用我的值. + return isback ? darkcolor : lightcolor; + } + + if (/var\(--/.test(str)) { + //fixme 暂时在这里忽略css var #todo + return isback ? darkcolor : lightcolor; + } + + l = lightrgb({ + rgb: str2rgb(str), + isback: isback + }); + + if (l) { + return rgb2str(l); + } else { + return false; + } +}; + +lightrgb = function lightrgb(_ref5) { + var rgb = _ref5.rgb, + _ref5$isback = _ref5.isback, + isback = _ref5$isback === void 0 ? true : _ref5$isback; + var b, g, r, t; + + if (rgbok({ + rgb: rgb, + isback: isback + })) { + return false; + } + + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + //处理暗黑背景 + t = Math.max(g - 60, r - 100, b - 150); + r -= t; + g -= t; + b -= t; //处理明亮前景 + } else { + t = Math.max(100 - g, 200 - r); + r += t; + g += t; + b += t; + } + + return { + r: r, + g: g, + b: b + }; +}; +/** + * --------------对比度逻辑, 配合darkstyle----------------- + * 这里的计算未必合适. + */ + +/** +* 从str到亮度 + */ + + +var getlight = function getlight(str) { + return getrgblight(str2rgb(str)); +}; + +exports.getlight = getlight; + +var getdark = function getdark(str) { + return getrgbdark(str2rgb(str)); +}; + +exports.getdark = getdark; + +getrgblight = function getrgblight(_ref6) { + var r = _ref6.r, + g = _ref6.g, + b = _ref6.b; + r = r * 1.2; + g = g * 1.7; + return mlight({ + r: r, + g: g, + b: b + }).light; +}; + +getrgbdark = function getrgbdark(_ref7) { + var r = _ref7.r, + g = _ref7.g, + b = _ref7.b; + r = r * 1.3; + g = g * 1.2; + return mlight({ + r: r, + g: g, + b: b + }).light; +}; + +mlight = function mlight(_ref8) { + var r = _ref8.r, + g = _ref8.g, + b = _ref8.b; + var b1, b2, b3; + + if (r > g) { + b1 = r; + b2 = g; + } else { + b1 = g; + b2 = r; + } + + if (b < b2) { + b3 = b; + } else if (b < b1) { + b3 = b2; + b2 = b; + } else { + b3 = b2; + b2 = b1; + b1 = b; + } + + return { + // 这里很不严谨, 亮度的心理阈限测量或许能让这个计算更精确. + light: (b1 + b2 / 6) * 2 / 3, + max: [b1, b2, b3] + }; +}; +/* + * 基础工具函数------------------------------------------------------- + * 判断两个rgbstr实际相等 + */ + + +var samergbstr = function samergbstr(rgbstr1, rgbstr2) { + var b1, b2, g1, g2, r1, r2; + + var _str2rgb = str2rgb(rgbstr1); + + r1 = _str2rgb.r; + g1 = _str2rgb.g; + b1 = _str2rgb.b; + + var _str2rgb2 = str2rgb(rgbstr2); + + r2 = _str2rgb2.r; + g2 = _str2rgb2.g; + b2 = _str2rgb2.b; + return r1 === r2 && g1 === g2 && b1 === b2; +}; + +exports.samergbstr = samergbstr; + +str2rgb = function str2rgb(str) { + var a, c, reg; //"rgb(154, 154, 0)" + + reg = /rgba?\(([0-9]{1,3}), ?([0-9]{1,3}), ?([0-9]{1,3})(, ?([0-9.%]+))?\)/i; + c = reg.exec(str); //16进制颜色 + + if (c == null) { + c = hex2rgb(str); + } //再判断名字颜色: + + + if (c == null) { + c = _colorname["default"][str] && hex2rgb(hex); + } + + if (c == null) { + return false; + } //透明度 + + + a = c[5] != null ? c[5] : 1; + return { + r: +c[1], + g: +c[2], + b: +c[3], + a: a //这里用+是为了把字符串转为数字, 不然会发生很隐蔽的bug. + + }; +}; + +rgb2str = function rgb2str(_ref9) { + var r = _ref9.r, + g = _ref9.g, + b = _ref9.b, + _ref9$a = _ref9.a, + a = _ref9$a === void 0 ? 1 : _ref9$a; + + if (a > 0.99) { + return "rgb(" + r + "," + g + "," + b + ")"; + } else { + return "rgba(" + r + "," + g + "," + b + "," + a + ")"; + } +}; + +hex2rgb = function hex2rgb(str) { + var c, reg, x, y; + reg = /#([^#]*)/i; //判断#62fa89这种类似方式的颜色值 + + c = reg.exec(str); + + if ((c != null ? c[1] : void 0) == null) { + return false; + } + + x = c[1]; + y = []; + + switch (x.length) { + case 3: + y[1] = parseInt('' + x[0] + x[0], 16); + y[2] = parseInt('' + x[1] + x[1], 16); + y[3] = parseInt('' + x[2] + x[2], 16); + break; + + case 4: + //y[1]=parseInt(x[0],16); /20201028修正错误, 这个会把fff转化为 r15g15b15, 其实应该是r255g255b255 + y[1] = parseInt('' + x[0] + x[0], 16); + y[2] = parseInt('' + x[1] + x[1], 16); + y[3] = parseInt('' + x[2] + x[2], 16); + y[5] = parseInt(x[3], 16) / 255; + break; + + case 6: + y[1] = parseInt('' + x[0] + x[1], 16); + y[2] = parseInt('' + x[2] + x[3], 16); + y[3] = parseInt('' + x[4] + x[5], 16); + break; + + case 8: + y[1] = parseInt('' + x[0] + x[1], 16); + y[2] = parseInt('' + x[2] + x[3], 16); + y[3] = parseInt('' + x[4] + x[5], 16); + y[5] = parseInt('' + x[6] + x[7], 16) / 255; + break; + + default: + //不满足上面四个情况, 直接返回false + return false; + } + + return y; +}; //console.log(str2rgb('white')); #test + + +test = function test() { + var result; + result = window.luoclr.lightstr({ + str: 'white', + isback: true + }); + return console.log({ + result: result + }); +}; //lightstr +//lightrgb + + +var _default = { + lstr: lstr, + lrgb: lrgb, + getlight: getlight, + getdark: getdark, + samergbstr: samergbstr +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/file.cs": +/*!******************************!* + !*** ./src/mlib/src/file.cs ***! + \******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.allfile = exports.readfile = exports.readir = exports.newdir = exports.mkdir = exports.exist = exports.filetype = exports.uniqueadd = exports.cover = exports.realpath = exports.savefile = void 0; + +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "@babel/runtime/regenerator")); + +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "@babel/runtime/helpers/asyncToGenerator")); + +var _promises = _interopRequireDefault(__webpack_require__(/*! fs/promises */ "fs/promises")); + +var _fs = _interopRequireDefault(__webpack_require__(/*! fs */ "fs")); + +var _os = _interopRequireDefault(__webpack_require__(/*! os */ "os")); + +//import {log} from './log.js' +var home, log; +home = _os["default"].homedir(); +log = console.log; // todo 保存文件 + +var savefile = function savefile(_ref) { + var json = _ref.json, + _ref$filename = _ref.filename, + filename = _ref$filename === void 0 ? "temptest.txt" : _ref$filename; + return _promises["default"].writeFile(filename, JSON.stringify(json), function (err) { + log('文件写入', filename); + + if (err) { + return log(err); + } + }); +}; // 拿到真正的path + + +exports.savefile = savefile; + +var realpath = function realpath(path) { + // home文件夹~, node不认, 要调整为os.homedir + if (/^~/.test(path)) { + return path.replace(/^~/, home); + } else { + return path; + } +}; // 加文件内容, 覆盖式 + + +exports.realpath = realpath; + +var cover = /*#__PURE__*/function () { + var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(_ref2) { + var path, str, _ref2$options, options; + + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + path = _ref2.path, str = _ref2.str, _ref2$options = _ref2.options, options = _ref2$options === void 0 ? { + encoding: 'utf8' + } : _ref2$options; + _context.next = 3; + return _promises["default"].writeFile(realpath(path), str, options); + + case 3: + return _context.abrupt("return", true); + + case 4: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function cover(_x) { + return _ref3.apply(this, arguments); + }; +}(); // 追加文件内容, 保证追加内容不重复 + + +exports.cover = cover; + +var uniqueadd = /*#__PURE__*/function () { + var _ref5 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(_ref4) { + var path, reg, str, _ref4$options, options, fstr, rpath; + + return _regenerator["default"].wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + path = _ref4.path, reg = _ref4.reg, str = _ref4.str, _ref4$options = _ref4.options, options = _ref4$options === void 0 ? { + encoding: 'utf8' + } : _ref4$options; + // home文件夹~, node不认, 要调整为os.homedir + rpath = realpath(path); // 读取文件 + + _context2.next = 4; + return _promises["default"].readFile(rpath, options); + + case 4: + fstr = _context2.sent; + + if (!reg.test(fstr)) { + _context2.next = 7; + break; + } + + return _context2.abrupt("return", false); + + case 7: + _context2.next = 9; + return _promises["default"].appendFile(rpath, str != null ? str : reg.source, options); + + case 9: + return _context2.abrupt("return", true); + + case 10: + case "end": + return _context2.stop(); + } + } + }, _callee2); + })); + + return function uniqueadd(_x2) { + return _ref5.apply(this, arguments); + }; +}(); // 判断是文件/目录 + + +exports.uniqueadd = uniqueadd; + +var filetype = /*#__PURE__*/function () { + var _ref6 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(path) { + var stat; + return _regenerator["default"].wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return _promises["default"].lstat(realpath(path)); + + case 2: + stat = _context3.sent; + return _context3.abrupt("return", { + isfile: stat.isFile(), + isdir: stat.isDirectory() + }); + + case 4: + case "end": + return _context3.stop(); + } + } + }, _callee3); + })); + + return function filetype(_x3) { + return _ref6.apply(this, arguments); + }; +}(); // 判断文件/目录是否存在 + + +exports.filetype = filetype; + +var exist = function exist(path) { + return _fs["default"].existsSync(realpath(path)); +}; // 建一个目录 + + +exports.exist = exist; + +var mkdir = /*#__PURE__*/function () { + var _ref7 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(path) { + return _regenerator["default"].wrap(function _callee4$(_context4) { + while (1) { + switch (_context4.prev = _context4.next) { + case 0: + _context4.next = 2; + return _promises["default"].mkdir(realpath(path), { + recursive: true + }); + + case 2: + return _context4.abrupt("return", _context4.sent); + + case 3: + case "end": + return _context4.stop(); + } + } + }, _callee4); + })); + + return function mkdir(_x4) { + return _ref7.apply(this, arguments); + }; +}(); // 如果不存在就建一个目录 + + +exports.mkdir = mkdir; + +var newdir = /*#__PURE__*/function () { + var _ref8 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(path) { + return _regenerator["default"].wrap(function _callee5$(_context5) { + while (1) { + switch (_context5.prev = _context5.next) { + case 0: + if (!exist(path)) { + _context5.next = 2; + break; + } + + return _context5.abrupt("return", false); + + case 2: + _context5.next = 4; + return _promises["default"].mkdir(realpath(path)); + + case 4: + return _context5.abrupt("return", _context5.sent); + + case 5: + case "end": + return _context5.stop(); + } + } + }, _callee5); + })); + + return function newdir(_x5) { + return _ref8.apply(this, arguments); + }; +}(); // 读取目录 + + +exports.newdir = newdir; + +var readir = /*#__PURE__*/function () { + var _ref9 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(path) { + return _regenerator["default"].wrap(function _callee6$(_context6) { + while (1) { + switch (_context6.prev = _context6.next) { + case 0: + _context6.next = 2; + return _promises["default"].readdir(realpath(path)); + + case 2: + return _context6.abrupt("return", _context6.sent); + + case 3: + case "end": + return _context6.stop(); + } + } + }, _callee6); + })); + + return function readir(_x6) { + return _ref9.apply(this, arguments); + }; +}(); // 读取文件 + + +exports.readir = readir; + +var readfile = /*#__PURE__*/function () { + var _ref10 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7(path) { + var fstr; + return _regenerator["default"].wrap(function _callee7$(_context7) { + while (1) { + switch (_context7.prev = _context7.next) { + case 0: + _context7.next = 2; + return _promises["default"].readFile(realpath(path), { + encoding: 'utf8' + }); + + case 2: + return _context7.abrupt("return", fstr = _context7.sent); + + case 3: + case "end": + return _context7.stop(); + } + } + }, _callee7); + })); + + return function readfile(_x7) { + return _ref10.apply(this, arguments); + }; +}(); // todo 读取目录中所有问题, 深度遍历 + + +exports.readfile = readfile; + +var allfile = function allfile(_ref11) { + var path = _ref11.path, + _ref11$reg = _ref11.reg, + reg = _ref11$reg === void 0 ? false : _ref11$reg, + _ref11$options = _ref11.options, + options = _ref11$options === void 0 ? { + encoding: 'utf8' + } : _ref11$options; + // 如果没传reg, 那么就是要所有文件 + return readdir(path, options); +}; + +exports.allfile = allfile; +var _default = { + savefile: savefile, + cover: cover, + uniqueadd: uniqueadd, + filetype: filetype, + exist: exist, + mkdir: mkdir, + readir: readir, + readfile: readfile, + allfile: allfile +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/index.cs": +/*!*******************************!* + !*** ./src/mlib/src/index.cs ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "color", ({ + enumerable: true, + get: function get() { + return _color["default"]; + } +})); +Object.defineProperty(exports, "random", ({ + enumerable: true, + get: function get() { + return _random["default"]; + } +})); +Object.defineProperty(exports, "time", ({ + enumerable: true, + get: function get() { + return _time["default"]; + } +})); +Object.defineProperty(exports, "file", ({ + enumerable: true, + get: function get() { + return _file["default"]; + } +})); + +var _color = _interopRequireDefault(__webpack_require__(/*! ./color.cs */ "./src/mlib/src/color.cs")); + +var _random = _interopRequireDefault(__webpack_require__(/*! ./random.cs */ "./src/mlib/src/random.cs")); + +var _time = _interopRequireDefault(__webpack_require__(/*! ./time.cs */ "./src/mlib/src/time.cs")); + +var _file = _interopRequireDefault(__webpack_require__(/*! ./file.cs */ "./src/mlib/src/file.cs")); + +/***/ }), + +/***/ "./src/mlib/src/random.cs": +/*!********************************!* + !*** ./src/mlib/src/random.cs ***! + \********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.randomlight = exports.randomcolor = exports.randomember = exports.randomint = void 0; + +var _color = __webpack_require__(/*! ./color.cs */ "./src/mlib/src/color.cs"); + +/* +* 拿到整数版本的随机数 +* 因为random不包含1, 因此, 这个随机数也不包含max +* 因此传入数组的长度正好合适作为数组的索引 + */ +var randomint = function randomint(max) { + return Math.random() * max >> 0; +}; +/* +数组中取一个随机element +*/ + + +exports.randomint = randomint; + +var randomember = function randomember(p) { + return p[randomint(p.length)]; +}; // 随机一个颜色 + + +exports.randomember = randomember; + +var randomcolor = function randomcolor() { + return "rgb(" + randomint(256) + "," + randomint(256) + "," + randomint(256) + ")"; +}; // 随机一个明亮颜色 + + +exports.randomcolor = randomcolor; + +var randomlight = function randomlight() { + return (0, _color.lstr)({ + str: randomcolor(0), + isback: false + }); +}; + +exports.randomlight = randomlight; +var _default = { + randomint: randomint, + randomember: randomember, + randomcolor: randomcolor, + randomlight: randomlight +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/time.cs": +/*!******************************!* + !*** ./src/mlib/src/time.cs ***! + \******************************/ +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.gethhmmss = exports.gethhmm = exports.sleep = void 0; + +var sleep = function sleep(ms) { + return new Promise(function (resolve) { + return setTimeout(resolve, ms); + }); +}; + +exports.sleep = sleep; + +var gethhmm = function gethhmm() { + var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now(); + var t; + t = new Date(+timestamp); + return t.getHours() + ':' + t.getMinutes(); +}; + +exports.gethhmm = gethhmm; + +var gethhmmss = function gethhmmss() { + var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now(); + var t; + t = new Date(+timestamp); + return t.getHours() + ':' + t.getMinutes() + ':' + t.getSeconds(); +}; + +exports.gethhmmss = gethhmmss; +var _default = { + sleep: sleep, + gethhmm: gethhmm, + gethhmmss: gethhmmss +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/colorname.cson": +/*!*************************************!* + !*** ./src/mlib/src/colorname.cson ***! + \*************************************/ +/***/ ((module) => { + +module.exports = {"black":"#000","silver":"#c0c0c0","gray":"#808080","white":"#fff","maroon":"#800000","red":"#ff0000","purple":"#800080","fuchsia":"#ff00ff","green":"#008000","lime":"#00ff00","olive":"#808000","yellow":"#ffff00","navy":"#000080","blue":"#0000ff","teal":"#008080","aqua":"#00ffff","orange":"#ffa500","aliceblue":"#f0f8ff","antiquewhite":"#faebd7","aquamarine":"#7fffd4","azure":"#f0ffff","beige":"#f5f5dc","bisque":"#ffe4c4","blanchedalmond":"#ffebcd","blueviolet":"#8a2be2","brown":"#a52a2a","burlywood":"#deb887","cadetblue":"#5f9ea0","chartreuse":"#7fff00","chocolate":"#d2691e","coral":"#ff7f50","cornflowerblue":"#6495ed","cornsilk":"#fff8dc","crimson":"#dc143c","cyan":"#00ffff","darkblue":"#00008b","darkcyan":"#008b8b","darkgoldenrod":"#b8860b","darkgray":"#a9a9a9","darkgreen":"#006400","darkgrey":"#a9a9a9","darkkhaki":"#bdb76b","darkmagenta":"#8b008b","darkolivegreen":"#556b2f","darkorange":"#ff8c00","darkorchid":"#9932cc","darkred":"#8b0000","darksalmon":"#e9967a","darkseagreen":"#8fbc8f","darkslateblue":"#483d8b","darkslategray":"#2f4f4f","darkslategrey":"#2f4f4f","darkturquoise":"#00ced1","darkviolet":"#9400d3","deeppink":"#ff1493","deepskyblue":"#00bfff","dimgray":"#696969","dimgrey":"#696969","dodgerblue":"#1e90ff","firebrick":"#b22222","floralwhite":"#fffaf0","forestgreen":"#228b22","gainsboro":"#dcdcdc","ghostwhite":"#f8f8ff","gold":"#ffd700","goldenrod":"#daa520","greenyellow":"#adff2f","grey":"#808080","honeydew":"#f0fff0","hotpink":"#ff69b4","indianred":"#cd5c5c","indigo":"#4b0082","ivory":"#fffff0","khaki":"#f0e68c","lavender":"#e6e6fa","lavenderblush":"#fff0f5","lawngreen":"#7cfc00","lemonchiffon":"#fffacd","lightblue":"#add8e6","lightcoral":"#f08080","lightcyan":"#e0ffff","lightgoldenrodyellow":"#fafad2","lightgray":"#d3d3d3","lightgreen":"#90ee90","lightgrey":"#d3d3d3","lightpink":"#ffb6c1","lightsalmon":"#ffa07a","lightseagreen":"#20b2aa","lightskyblue":"#87cefa","lightslategray":"#778899","lightslategrey":"#778899","lightsteelblue":"#b0c4de","lightyellow":"#ffffe0","limegreen":"#32cd32","linen":"#faf0e6","magenta":"#ff00ff","mediumaquamarine":"#66cdaa","mediumblue":"#0000cd","mediumorchid":"#ba55d3","mediumpurple":"#9370db","mediumseagreen":"#3cb371","mediumslateblue":"#7b68ee","mediumspringgreen":"#00fa9a","mediumturquoise":"#48d1cc","mediumvioletred":"#c71585","midnightblue":"#191970","mintcream":"#f5fffa","mistyrose":"#ffe4e1","moccasin":"#ffe4b5","navajowhite":"#ffdead","oldlace":"#fdf5e6","olivedrab":"#6b8e23","orangered":"#ff4500","orchid":"#da70d6","palegoldenrod":"#eee8aa","palegreen":"#98fb98","paleturquoise":"#afeeee","palevioletred":"#db7093","papayawhip":"#ffefd5","peachpuff":"#ffdab9","peru":"#cd853f","pink":"#ffc0cb","plum":"#dda0dd","powderblue":"#b0e0e6","rosybrown":"#bc8f8f","royalblue":"#4169e1","saddlebrown":"#8b4513","salmon":"#fa8072","sandybrown":"#f4a460","seagreen":"#2e8b57","seashell":"#fff5ee","sienna":"#a0522d","skyblue":"#87ceeb","slateblue":"#6a5acd","slategray":"#708090","slategrey":"#708090","snow":"#fffafa","springgreen":"#00ff7f","steelblue":"#4682b4","tan":"#d2b48c","thistle":"#d8bfd8","tomato":"#ff6347","transparent":"#0000","turquoise":"#40e0d0","violet":"#ee82ee","wheat":"#f5deb3","whitesmoke":"#f5f5f5","yellowgreen":"#9acd32","rebeccapurple":"#663399"} + +/***/ }), + +/***/ "@babel/runtime/helpers/asyncToGenerator": +/*!**********************************************************!* + !*** external "@babel/runtime/helpers/asyncToGenerator" ***! + \**********************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/helpers/asyncToGenerator");; + +/***/ }), + +/***/ "@babel/runtime/helpers/interopRequireDefault": +/*!***************************************************************!* + !*** external "@babel/runtime/helpers/interopRequireDefault" ***! + \***************************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/helpers/interopRequireDefault");; + +/***/ }), + +/***/ "@babel/runtime/regenerator": +/*!*********************************************!* + !*** external "@babel/runtime/regenerator" ***! + \*********************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/regenerator");; + +/***/ }), + +/***/ "chalk": +/*!************************!* + !*** external "chalk" ***! + \************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("chalk");; + +/***/ }), + +/***/ "fs": +/*!*********************!* + !*** external "fs" ***! + \*********************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("fs");; + +/***/ }), + +/***/ "fs/promises": +/*!******************************!* + !*** external "fs/promises" ***! + \******************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("fs/promises");; + +/***/ }), + +/***/ "os": +/*!*********************!* + !*** external "os" ***! + \*********************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("os");; + +/***/ }) + +}; +; + +// load runtime +var __webpack_require__ = require("../runtime/runtime.js"); +__webpack_require__.C(exports); +return __webpack_require__.X([], "./src/lornpug.cs"); +})(); +}); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2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mZkOFwiLFwidG9tYXRvXCI6XCIjZmY2MzQ3XCIsXCJ0cmFuc3BhcmVudFwiOlwiIzAwMDBcIixcInR1cnF1b2lzZVwiOlwiIzQwZTBkMFwiLFwidmlvbGV0XCI6XCIjZWU4MmVlXCIsXCJ3aGVhdFwiOlwiI2Y1ZGViM1wiLFwid2hpdGVzbW9rZVwiOlwiI2Y1ZjVmNVwiLFwieWVsbG93Z3JlZW5cIjpcIiM5YWNkMzJcIixcInJlYmVjY2FwdXJwbGVcIjpcIiM2NjMzOTlcIn0iLCJtb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoXCJAYmFiZWwvcnVudGltZS9oZWxwZXJzL2FzeW5jVG9HZW5lcmF0b3JcIik7OyIsIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZShcIkBiYWJlbC9ydW50aW1lL2hlbHBlcnMvaW50ZXJvcFJlcXVpcmVEZWZhdWx0XCIpOzsiLCJtb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoXCJAYmFiZWwvcnVudGltZS9yZWdlbmVyYXRvclwiKTs7IiwibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwiY2hhbGtcIik7OyIsIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZShcImZzXCIpOzsiLCJtb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoXCJmcy9wcm9taXNlc1wiKTs7IiwibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwib3NcIik7OyJdLCJzb3VyY2VSb290IjoiIn0= \ No newline at end of file diff --git a/coffee/api/lornpughelp/lornpughelp.js b/coffee/api/lornpughelp/lornpughelp.js new file mode 100644 index 0000000..6797756 --- /dev/null +++ b/coffee/api/lornpughelp/lornpughelp.js @@ -0,0 +1,1318 @@ +#!/usr/bin/env node +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define([], factory); + else if(typeof exports === 'object') + exports["mlib"] = factory(); + else + root["mlib"] = factory(); +})(global, function() { +return (() => { +var exports = {}; +exports.id = "lornpughelp"; +exports.ids = ["lornpughelp"]; +exports.modules = { + +/***/ "./src/lornpughelp.cs": +/*!****************************!* + !*** ./src/lornpughelp.cs ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.dodir = exports.dolp = exports.iscmd = void 0; + +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "@babel/runtime/regenerator")); + +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "@babel/runtime/helpers/asyncToGenerator")); + +var _chalk = _interopRequireDefault(__webpack_require__(/*! chalk */ "chalk")); + +var _mlib = __webpack_require__(/*! mlib */ "./src/mlib/src/index.cs"); + +var dir1file; + +// -----------------pure function----------------- +// 判断是否有命令参数(--开始的命令参数), 没有--的都是文件 +var iscmd = function iscmd(x) { + return /^--/.test(x); +}; // 处理lp命令 + + +exports.iscmd = iscmd; + +var dolp = /*#__PURE__*/function () { + var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() { + var ok, reg, str; + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + str = "# \u8214\u72D7\u9879\u76EE\nalias lp=\"lpg\""; + reg = /alias\s*lp="lpg"/; + _context.next = 4; + return _mlib.file.uniqueadd({ + reg: reg, + str: str, + path: '~/.zshrc' + }); + + case 4: + ok = _context.sent; + + if (!ok) { + _context.next = 13; + break; + } + + console.log('命令设置为lp', _chalk["default"].greenBright('成功: '), '需要刷新配置才会生效, 推荐使用快捷重启命令:'); + console.log(_chalk["default"].greenBright('exec zsh'), _chalk["default"].yellow('# 重启当前terminal')); + console.log('如果不能重启terminal: '); + console.log(_chalk["default"].greenBright('source ~/.zshrc'), _chalk["default"].yellow('# 导入配置文件方法一')); + return _context.abrupt("return", console.log(_chalk["default"].greenBright('. ~/.zshrc'), _chalk["default"].yellow('# 导入配置文件方法二'))); + + case 13: + return _context.abrupt("return", console.log(_chalk["default"].redBright('没有'), '进行设置, 可能是配置文件已经存在', _chalk["default"].yellow('请手工检查文件: '), '~/.zshrc')); + + case 14: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function dolp() { + return _ref.apply(this, arguments); + }; +}(); // 处理一个cs或者coffee的初始化 + + +exports.dolp = dolp; + +dir1file = /*#__PURE__*/function () { + var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(path) { + var p; + return _regenerator["default"].wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + p = path + '.lp'; // 判断对应目录是否存在. + + if (!_mlib.file.exist(p)) { + _context2.next = 3; + break; + } + + return _context2.abrupt("return"); + + case 3: + _context2.next = 5; + return _mlib.file.mkdir(p); + + case 5: + _context2.next = 7; + return _mlib.file.cover({ + path: p + '/aaa.0i.cson', + str: '' + }); + + case 7: + _context2.next = 9; + return _mlib.file.cover({ + path: p + '/aaa.0o.cson', + str: '' + }); + + case 9: + _context2.next = 11; + return _mlib.file.cover({ + path: p + '/cto.cson', + str: '' + }); + + case 11: + return _context2.abrupt("return", _context2.sent); + + case 12: + case "end": + return _context2.stop(); + } + } + }, _callee2); + })); + + return function dir1file(_x) { + return _ref2.apply(this, arguments); + }; +}(); // 处理初始化测试dir + + +var dodir = /*#__PURE__*/function () { + var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(path) { + var i, len, ref, stat, x; + return _regenerator["default"].wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return _mlib.file.filetype(path); + + case 2: + stat = _context3.sent; + + if (!stat.isfile) { + _context3.next = 7; + break; + } + + if (/\.coffee$|\.cs$/.test(path)) { + _context3.next = 6; + break; + } + + return _context3.abrupt("return"); + + case 6: + dir1file(path); + + case 7: + if (!stat.isdir) { + _context3.next = 14; + break; + } + + if (!/\./.test(path)) { + _context3.next = 10; + break; + } + + return _context3.abrupt("return"); + + case 10: + _context3.next = 12; + return _mlib.file.readir(path); + + case 12: + ref = _context3.sent; + + // 除了file和dir可能还有其他情况, 比如符号链接 + for (i = 0, len = ref.length; i < len; i++) { + x = ref[i]; // 读取目录, 逐项处理 + + dodir(x); + } + + case 14: + case "end": + return _context3.stop(); + } + } + }, _callee3); + })); + + return function dodir(_x2) { + return _ref3.apply(this, arguments); + }; +}(); + +exports.dodir = dodir; +var _default = { + iscmd: iscmd, + dolp: dolp, + dodir: dodir +}; +exports.default = _default; +dodir('.'); + +/***/ }), + +/***/ "./src/mlib/src/color.cs": +/*!*******************************!* + !*** ./src/mlib/src/color.cs ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.samergbstr = exports.getdark = exports.getlight = exports.lrgb = exports.lstr = exports.rgbok = void 0; + +var _colorname = _interopRequireDefault(__webpack_require__(/*! ./colorname.cson */ "./src/mlib/src/colorname.cson")); + +/* + * 关于颜色的库, 这个库会被重写, 因为hsl的亮度判断可以认为是错的. 所以可以保留hsl相关的函数, 但是, 实际应用函数需要重写. + * + */ + +/** + * 拿到视觉暗度 + * 用来判断颜色是否够暗 + * + */ + +/** + * 拿到视觉亮度 + * 用来判断颜色是否够亮 + * 未来用荧光体发光能量来计算数值. + */ + +/* + * 从16进制到rgb + * #fc2 #fc29 #fc292923 #fc2929, 3,4,6,8都有可能 + */ + +/** + * lightrgb核心亮度处理函数 + * * 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b + * * 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t + * 废弃return false并不合理 + */ + +/** + * 从str到调亮的颜色str + * 这里处理一个style string的亮度 + * 纯函数 + * str: 一个颜色字符串 + * isback: 是否为背景 + * 废弃 return false 并不合理 + */ + +/* +* 从rgb到str +* */ + +/** +* 3种情况 +* 1. rgb情况: 从"rgb(154, 154, 0)"转化为: {r:154,g:154,b:0,} +* "rgba(0, 0, 0, 0)" 还需兼容此种情况 +* 2. 16进制情况: #fc2 #fc29 #fc292923 #fc2929 +* 3. 颜色名: white, black, organge +* */ +var darkcolor, getrgbdark, getrgblight, hex2rgb, lightcolor, lightrgb, lightstr, mlight, rgb2str, str2rgb, test; +darkcolor = 'rgba(44,44,44,1)'; //dark的基础颜色 + +lightcolor = 'rgba(200,200,200,1)'; +/** +* ---------------------单独处理前景或者背景, 配合darkcss的思路--------------------------- +* 亮度判断逻辑 g>100, r>200, 或者g+r>300 +* 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b +* +* 暗度判断逻辑 g<60 r<100 b<150 +* 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t +* + */ + +/** +* rgbok +* 判断颜色是否需要处理 +* * 亮度判断逻辑 g>100, r>200, 或者g+r>300 +* * 暗度判断逻辑 g<60 r<100 b<150 +* 参数 +* rgb:{r,g,b} +* isback: 是否为背景图片 +* 返回值 +* true: 不需要处理 +* false: 需要处理 + */ + +var rgbok = function rgbok(_ref) { + var rgb = _ref.rgb, + _ref$isback = _ref.isback, + isback = _ref$isback === void 0 ? true : _ref$isback; + var b, g, r; + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + return g < 60 && r < 100 && b < 150; + } else { + return r + g > 300; + } +}; //暗度判断 +//光明模式, 如果亮度<0.7则需要处理, 否则就不需要处理 + +/** + * 从str到调亮的颜色str + * 这里处理一个style string的亮度 + * 纯函数 + * str: 一个颜色字符串 + * isback: 是否为背景 + * 废弃 return false 并不合理 + */ + + +exports.rgbok = rgbok; + +var lstr = function lstr(_ref2) { + var str = _ref2.str, + _ref2$isback = _ref2.isback, + isback = _ref2$isback === void 0 ? true : _ref2$isback; + var l; + + if (!str) { + return false; + } + + if (str === "initial") { + //如果是initial, 那么直接用我的值. + return isback ? darkcolor : lightcolor; + } + + if (/var\(--/.test(str)) { + //fixme 暂时在这里忽略css var #todo + return isback ? darkcolor : lightcolor; + } + + l = lrgb({ + rgb: str2rgb(str), + isback: isback + }); + return rgb2str(l); +}; +/** + * lightrgb核心亮度处理函数 + * * 亮度处理逻辑 t=max(100-g, 200-r), t+r, t+g, t+b + * * 暗度处理逻辑 t=max(g-60, r-100, b-150), r-t, g-t, b-t + * 废弃return false并不合理 + */ + + +exports.lstr = lstr; + +var lrgb = function lrgb(_ref3) { + var rgb = _ref3.rgb, + _ref3$isback = _ref3.isback, + isback = _ref3$isback === void 0 ? true : _ref3$isback; + var b, g, r, t; + + if (rgbok({ + rgb: rgb, + isback: isback + })) { + return rgb; + } + + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + //处理暗黑背景 + t = Math.max(g - 60, r - 100, b - 150); + r -= t; + g -= t; + b -= t; //处理明亮前景 + } else { + t = Math.max(100 - g, 200 - r); + r += t; + g += t; + b += t; + } + + return { + r: r, + g: g, + b: b + }; +}; + +exports.lrgb = lrgb; + +lightstr = function lightstr(_ref4) { + var str = _ref4.str, + _ref4$isback = _ref4.isback, + isback = _ref4$isback === void 0 ? true : _ref4$isback; + var l; + + if (!str) { + return false; + } + + if (str === "initial") { + //如果是initial, 那么直接用我的值. + return isback ? darkcolor : lightcolor; + } + + if (/var\(--/.test(str)) { + //fixme 暂时在这里忽略css var #todo + return isback ? darkcolor : lightcolor; + } + + l = lightrgb({ + rgb: str2rgb(str), + isback: isback + }); + + if (l) { + return rgb2str(l); + } else { + return false; + } +}; + +lightrgb = function lightrgb(_ref5) { + var rgb = _ref5.rgb, + _ref5$isback = _ref5.isback, + isback = _ref5$isback === void 0 ? true : _ref5$isback; + var b, g, r, t; + + if (rgbok({ + rgb: rgb, + isback: isback + })) { + return false; + } + + r = rgb.r; + g = rgb.g; + b = rgb.b; + + if (isback) { + //处理暗黑背景 + t = Math.max(g - 60, r - 100, b - 150); + r -= t; + g -= t; + b -= t; //处理明亮前景 + } else { + t = Math.max(100 - g, 200 - r); + r += t; + g += t; + b += t; + } + + return { + r: r, + g: g, + b: b + }; +}; +/** + * --------------对比度逻辑, 配合darkstyle----------------- + * 这里的计算未必合适. + */ + +/** +* 从str到亮度 + */ + + +var getlight = function getlight(str) { + return getrgblight(str2rgb(str)); +}; + +exports.getlight = getlight; + +var getdark = function getdark(str) { + return getrgbdark(str2rgb(str)); +}; + +exports.getdark = getdark; + +getrgblight = function getrgblight(_ref6) { + var r = _ref6.r, + g = _ref6.g, + b = _ref6.b; + r = r * 1.2; + g = g * 1.7; + return mlight({ + r: r, + g: g, + b: b + }).light; +}; + +getrgbdark = function getrgbdark(_ref7) { + var r = _ref7.r, + g = _ref7.g, + b = _ref7.b; + r = r * 1.3; + g = g * 1.2; + return mlight({ + r: r, + g: g, + b: b + }).light; +}; + +mlight = function mlight(_ref8) { + var r = _ref8.r, + g = _ref8.g, + b = _ref8.b; + var b1, b2, b3; + + if (r > g) { + b1 = r; + b2 = g; + } else { + b1 = g; + b2 = r; + } + + if (b < b2) { + b3 = b; + } else if (b < b1) { + b3 = b2; + b2 = b; + } else { + b3 = b2; + b2 = b1; + b1 = b; + } + + return { + // 这里很不严谨, 亮度的心理阈限测量或许能让这个计算更精确. + light: (b1 + b2 / 6) * 2 / 3, + max: [b1, b2, b3] + }; +}; +/* + * 基础工具函数------------------------------------------------------- + * 判断两个rgbstr实际相等 + */ + + +var samergbstr = function samergbstr(rgbstr1, rgbstr2) { + var b1, b2, g1, g2, r1, r2; + + var _str2rgb = str2rgb(rgbstr1); + + r1 = _str2rgb.r; + g1 = _str2rgb.g; + b1 = _str2rgb.b; + + var _str2rgb2 = str2rgb(rgbstr2); + + r2 = _str2rgb2.r; + g2 = _str2rgb2.g; + b2 = _str2rgb2.b; + return r1 === r2 && g1 === g2 && b1 === b2; +}; + +exports.samergbstr = samergbstr; + +str2rgb = function str2rgb(str) { + var a, c, reg; //"rgb(154, 154, 0)" + + reg = /rgba?\(([0-9]{1,3}), ?([0-9]{1,3}), ?([0-9]{1,3})(, ?([0-9.%]+))?\)/i; + c = reg.exec(str); //16进制颜色 + + if (c == null) { + c = hex2rgb(str); + } //再判断名字颜色: + + + if (c == null) { + c = _colorname["default"][str] && hex2rgb(hex); + } + + if (c == null) { + return false; + } //透明度 + + + a = c[5] != null ? c[5] : 1; + return { + r: +c[1], + g: +c[2], + b: +c[3], + a: a //这里用+是为了把字符串转为数字, 不然会发生很隐蔽的bug. + + }; +}; + +rgb2str = function rgb2str(_ref9) { + var r = _ref9.r, + g = _ref9.g, + b = _ref9.b, + _ref9$a = _ref9.a, + a = _ref9$a === void 0 ? 1 : _ref9$a; + + if (a > 0.99) { + return "rgb(" + r + "," + g + "," + b + ")"; + } else { + return "rgba(" + r + "," + g + "," + b + "," + a + ")"; + } +}; + +hex2rgb = function hex2rgb(str) { + var c, reg, x, y; + reg = /#([^#]*)/i; //判断#62fa89这种类似方式的颜色值 + + c = reg.exec(str); + + if ((c != null ? c[1] : void 0) == null) { + return false; + } + + x = c[1]; + y = []; + + switch (x.length) { + case 3: + y[1] = parseInt('' + x[0] + x[0], 16); + y[2] = parseInt('' + x[1] + x[1], 16); + y[3] = parseInt('' + x[2] + x[2], 16); + break; + + case 4: + //y[1]=parseInt(x[0],16); /20201028修正错误, 这个会把fff转化为 r15g15b15, 其实应该是r255g255b255 + y[1] = parseInt('' + x[0] + x[0], 16); + y[2] = parseInt('' + x[1] + x[1], 16); + y[3] = parseInt('' + x[2] + x[2], 16); + y[5] = parseInt(x[3], 16) / 255; + break; + + case 6: + y[1] = parseInt('' + x[0] + x[1], 16); + y[2] = parseInt('' + x[2] + x[3], 16); + y[3] = parseInt('' + x[4] + x[5], 16); + break; + + case 8: + y[1] = parseInt('' + x[0] + x[1], 16); + y[2] = parseInt('' + x[2] + x[3], 16); + y[3] = parseInt('' + x[4] + x[5], 16); + y[5] = parseInt('' + x[6] + x[7], 16) / 255; + break; + + default: + //不满足上面四个情况, 直接返回false + return false; + } + + return y; +}; //console.log(str2rgb('white')); #test + + +test = function test() { + var result; + result = window.luoclr.lightstr({ + str: 'white', + isback: true + }); + return console.log({ + result: result + }); +}; //lightstr +//lightrgb + + +var _default = { + lstr: lstr, + lrgb: lrgb, + getlight: getlight, + getdark: getdark, + samergbstr: samergbstr +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/file.cs": +/*!******************************!* + !*** ./src/mlib/src/file.cs ***! + \******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.allfile = exports.readfile = exports.readir = exports.newdir = exports.mkdir = exports.exist = exports.filetype = exports.uniqueadd = exports.cover = exports.realpath = exports.savefile = void 0; + +var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "@babel/runtime/regenerator")); + +var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "@babel/runtime/helpers/asyncToGenerator")); + +var _promises = _interopRequireDefault(__webpack_require__(/*! fs/promises */ "fs/promises")); + +var _fs = _interopRequireDefault(__webpack_require__(/*! fs */ "fs")); + +var _os = _interopRequireDefault(__webpack_require__(/*! os */ "os")); + +//import {log} from './log.js' +var home, log; +home = _os["default"].homedir(); +log = console.log; // todo 保存文件 + +var savefile = function savefile(_ref) { + var json = _ref.json, + _ref$filename = _ref.filename, + filename = _ref$filename === void 0 ? "temptest.txt" : _ref$filename; + return _promises["default"].writeFile(filename, JSON.stringify(json), function (err) { + log('文件写入', filename); + + if (err) { + return log(err); + } + }); +}; // 拿到真正的path + + +exports.savefile = savefile; + +var realpath = function realpath(path) { + // home文件夹~, node不认, 要调整为os.homedir + if (/^~/.test(path)) { + return path.replace(/^~/, home); + } else { + return path; + } +}; // 加文件内容, 覆盖式 + + +exports.realpath = realpath; + +var cover = /*#__PURE__*/function () { + var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(_ref2) { + var path, str, _ref2$options, options; + + return _regenerator["default"].wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + path = _ref2.path, str = _ref2.str, _ref2$options = _ref2.options, options = _ref2$options === void 0 ? { + encoding: 'utf8' + } : _ref2$options; + _context.next = 3; + return _promises["default"].writeFile(realpath(path), str, options); + + case 3: + return _context.abrupt("return", true); + + case 4: + case "end": + return _context.stop(); + } + } + }, _callee); + })); + + return function cover(_x) { + return _ref3.apply(this, arguments); + }; +}(); // 追加文件内容, 保证追加内容不重复 + + +exports.cover = cover; + +var uniqueadd = /*#__PURE__*/function () { + var _ref5 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(_ref4) { + var path, reg, str, _ref4$options, options, fstr, rpath; + + return _regenerator["default"].wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + path = _ref4.path, reg = _ref4.reg, str = _ref4.str, _ref4$options = _ref4.options, options = _ref4$options === void 0 ? { + encoding: 'utf8' + } : _ref4$options; + // home文件夹~, node不认, 要调整为os.homedir + rpath = realpath(path); // 读取文件 + + _context2.next = 4; + return _promises["default"].readFile(rpath, options); + + case 4: + fstr = _context2.sent; + + if (!reg.test(fstr)) { + _context2.next = 7; + break; + } + + return _context2.abrupt("return", false); + + case 7: + _context2.next = 9; + return _promises["default"].appendFile(rpath, str != null ? str : reg.source, options); + + case 9: + return _context2.abrupt("return", true); + + case 10: + case "end": + return _context2.stop(); + } + } + }, _callee2); + })); + + return function uniqueadd(_x2) { + return _ref5.apply(this, arguments); + }; +}(); // 判断是文件/目录 + + +exports.uniqueadd = uniqueadd; + +var filetype = /*#__PURE__*/function () { + var _ref6 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(path) { + var stat; + return _regenerator["default"].wrap(function _callee3$(_context3) { + while (1) { + switch (_context3.prev = _context3.next) { + case 0: + _context3.next = 2; + return _promises["default"].lstat(realpath(path)); + + case 2: + stat = _context3.sent; + return _context3.abrupt("return", { + isfile: stat.isFile(), + isdir: stat.isDirectory() + }); + + case 4: + case "end": + return _context3.stop(); + } + } + }, _callee3); + })); + + return function filetype(_x3) { + return _ref6.apply(this, arguments); + }; +}(); // 判断文件/目录是否存在 + + +exports.filetype = filetype; + +var exist = function exist(path) { + return _fs["default"].existsSync(realpath(path)); +}; // 建一个目录 + + +exports.exist = exist; + +var mkdir = /*#__PURE__*/function () { + var _ref7 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(path) { + return _regenerator["default"].wrap(function _callee4$(_context4) { + while (1) { + switch (_context4.prev = _context4.next) { + case 0: + _context4.next = 2; + return _promises["default"].mkdir(realpath(path), { + recursive: true + }); + + case 2: + return _context4.abrupt("return", _context4.sent); + + case 3: + case "end": + return _context4.stop(); + } + } + }, _callee4); + })); + + return function mkdir(_x4) { + return _ref7.apply(this, arguments); + }; +}(); // 如果不存在就建一个目录 + + +exports.mkdir = mkdir; + +var newdir = /*#__PURE__*/function () { + var _ref8 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(path) { + return _regenerator["default"].wrap(function _callee5$(_context5) { + while (1) { + switch (_context5.prev = _context5.next) { + case 0: + if (!exist(path)) { + _context5.next = 2; + break; + } + + return _context5.abrupt("return", false); + + case 2: + _context5.next = 4; + return _promises["default"].mkdir(realpath(path)); + + case 4: + return _context5.abrupt("return", _context5.sent); + + case 5: + case "end": + return _context5.stop(); + } + } + }, _callee5); + })); + + return function newdir(_x5) { + return _ref8.apply(this, arguments); + }; +}(); // 读取目录 + + +exports.newdir = newdir; + +var readir = /*#__PURE__*/function () { + var _ref9 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(path) { + return _regenerator["default"].wrap(function _callee6$(_context6) { + while (1) { + switch (_context6.prev = _context6.next) { + case 0: + _context6.next = 2; + return _promises["default"].readdir(realpath(path)); + + case 2: + return _context6.abrupt("return", _context6.sent); + + case 3: + case "end": + return _context6.stop(); + } + } + }, _callee6); + })); + + return function readir(_x6) { + return _ref9.apply(this, arguments); + }; +}(); // 读取文件 + + +exports.readir = readir; + +var readfile = /*#__PURE__*/function () { + var _ref10 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7(path) { + var fstr; + return _regenerator["default"].wrap(function _callee7$(_context7) { + while (1) { + switch (_context7.prev = _context7.next) { + case 0: + _context7.next = 2; + return _promises["default"].readFile(realpath(path), { + encoding: 'utf8' + }); + + case 2: + return _context7.abrupt("return", fstr = _context7.sent); + + case 3: + case "end": + return _context7.stop(); + } + } + }, _callee7); + })); + + return function readfile(_x7) { + return _ref10.apply(this, arguments); + }; +}(); // todo 读取目录中所有问题, 深度遍历 + + +exports.readfile = readfile; + +var allfile = function allfile(_ref11) { + var path = _ref11.path, + _ref11$reg = _ref11.reg, + reg = _ref11$reg === void 0 ? false : _ref11$reg, + _ref11$options = _ref11.options, + options = _ref11$options === void 0 ? { + encoding: 'utf8' + } : _ref11$options; + // 如果没传reg, 那么就是要所有文件 + return readdir(path, options); +}; + +exports.allfile = allfile; +var _default = { + savefile: savefile, + cover: cover, + uniqueadd: uniqueadd, + filetype: filetype, + exist: exist, + mkdir: mkdir, + readir: readir, + readfile: readfile, + allfile: allfile +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/index.cs": +/*!*******************************!* + !*** ./src/mlib/src/index.cs ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "color", ({ + enumerable: true, + get: function get() { + return _color["default"]; + } +})); +Object.defineProperty(exports, "random", ({ + enumerable: true, + get: function get() { + return _random["default"]; + } +})); +Object.defineProperty(exports, "time", ({ + enumerable: true, + get: function get() { + return _time["default"]; + } +})); +Object.defineProperty(exports, "file", ({ + enumerable: true, + get: function get() { + return _file["default"]; + } +})); + +var _color = _interopRequireDefault(__webpack_require__(/*! ./color.cs */ "./src/mlib/src/color.cs")); + +var _random = _interopRequireDefault(__webpack_require__(/*! ./random.cs */ "./src/mlib/src/random.cs")); + +var _time = _interopRequireDefault(__webpack_require__(/*! ./time.cs */ "./src/mlib/src/time.cs")); + +var _file = _interopRequireDefault(__webpack_require__(/*! ./file.cs */ "./src/mlib/src/file.cs")); + +/***/ }), + +/***/ "./src/mlib/src/random.cs": +/*!********************************!* + !*** ./src/mlib/src/random.cs ***! + \********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.randomlight = exports.randomcolor = exports.randomember = exports.randomint = void 0; + +var _color = __webpack_require__(/*! ./color.cs */ "./src/mlib/src/color.cs"); + +/* +* 拿到整数版本的随机数 +* 因为random不包含1, 因此, 这个随机数也不包含max +* 因此传入数组的长度正好合适作为数组的索引 + */ +var randomint = function randomint(max) { + return Math.random() * max >> 0; +}; +/* +数组中取一个随机element +*/ + + +exports.randomint = randomint; + +var randomember = function randomember(p) { + return p[randomint(p.length)]; +}; // 随机一个颜色 + + +exports.randomember = randomember; + +var randomcolor = function randomcolor() { + return "rgb(" + randomint(256) + "," + randomint(256) + "," + randomint(256) + ")"; +}; // 随机一个明亮颜色 + + +exports.randomcolor = randomcolor; + +var randomlight = function randomlight() { + return (0, _color.lstr)({ + str: randomcolor(0), + isback: false + }); +}; + +exports.randomlight = randomlight; +var _default = { + randomint: randomint, + randomember: randomember, + randomcolor: randomcolor, + randomlight: randomlight +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/time.cs": +/*!******************************!* + !*** ./src/mlib/src/time.cs ***! + \******************************/ +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = exports.gethhmmss = exports.gethhmm = exports.sleep = void 0; + +var sleep = function sleep(ms) { + return new Promise(function (resolve) { + return setTimeout(resolve, ms); + }); +}; + +exports.sleep = sleep; + +var gethhmm = function gethhmm() { + var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now(); + var t; + t = new Date(+timestamp); + return t.getHours() + ':' + t.getMinutes(); +}; + +exports.gethhmm = gethhmm; + +var gethhmmss = function gethhmmss() { + var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now(); + var t; + t = new Date(+timestamp); + return t.getHours() + ':' + t.getMinutes() + ':' + t.getSeconds(); +}; + +exports.gethhmmss = gethhmmss; +var _default = { + sleep: sleep, + gethhmm: gethhmm, + gethhmmss: gethhmmss +}; +exports.default = _default; + +/***/ }), + +/***/ "./src/mlib/src/colorname.cson": +/*!*************************************!* + !*** ./src/mlib/src/colorname.cson ***! + \*************************************/ +/***/ ((module) => { + +module.exports = {"black":"#000","silver":"#c0c0c0","gray":"#808080","white":"#fff","maroon":"#800000","red":"#ff0000","purple":"#800080","fuchsia":"#ff00ff","green":"#008000","lime":"#00ff00","olive":"#808000","yellow":"#ffff00","navy":"#000080","blue":"#0000ff","teal":"#008080","aqua":"#00ffff","orange":"#ffa500","aliceblue":"#f0f8ff","antiquewhite":"#faebd7","aquamarine":"#7fffd4","azure":"#f0ffff","beige":"#f5f5dc","bisque":"#ffe4c4","blanchedalmond":"#ffebcd","blueviolet":"#8a2be2","brown":"#a52a2a","burlywood":"#deb887","cadetblue":"#5f9ea0","chartreuse":"#7fff00","chocolate":"#d2691e","coral":"#ff7f50","cornflowerblue":"#6495ed","cornsilk":"#fff8dc","crimson":"#dc143c","cyan":"#00ffff","darkblue":"#00008b","darkcyan":"#008b8b","darkgoldenrod":"#b8860b","darkgray":"#a9a9a9","darkgreen":"#006400","darkgrey":"#a9a9a9","darkkhaki":"#bdb76b","darkmagenta":"#8b008b","darkolivegreen":"#556b2f","darkorange":"#ff8c00","darkorchid":"#9932cc","darkred":"#8b0000","darksalmon":"#e9967a","darkseagreen":"#8fbc8f","darkslateblue":"#483d8b","darkslategray":"#2f4f4f","darkslategrey":"#2f4f4f","darkturquoise":"#00ced1","darkviolet":"#9400d3","deeppink":"#ff1493","deepskyblue":"#00bfff","dimgray":"#696969","dimgrey":"#696969","dodgerblue":"#1e90ff","firebrick":"#b22222","floralwhite":"#fffaf0","forestgreen":"#228b22","gainsboro":"#dcdcdc","ghostwhite":"#f8f8ff","gold":"#ffd700","goldenrod":"#daa520","greenyellow":"#adff2f","grey":"#808080","honeydew":"#f0fff0","hotpink":"#ff69b4","indianred":"#cd5c5c","indigo":"#4b0082","ivory":"#fffff0","khaki":"#f0e68c","lavender":"#e6e6fa","lavenderblush":"#fff0f5","lawngreen":"#7cfc00","lemonchiffon":"#fffacd","lightblue":"#add8e6","lightcoral":"#f08080","lightcyan":"#e0ffff","lightgoldenrodyellow":"#fafad2","lightgray":"#d3d3d3","lightgreen":"#90ee90","lightgrey":"#d3d3d3","lightpink":"#ffb6c1","lightsalmon":"#ffa07a","lightseagreen":"#20b2aa","lightskyblue":"#87cefa","lightslategray":"#778899","lightslategrey":"#778899","lightsteelblue":"#b0c4de","lightyellow":"#ffffe0","limegreen":"#32cd32","linen":"#faf0e6","magenta":"#ff00ff","mediumaquamarine":"#66cdaa","mediumblue":"#0000cd","mediumorchid":"#ba55d3","mediumpurple":"#9370db","mediumseagreen":"#3cb371","mediumslateblue":"#7b68ee","mediumspringgreen":"#00fa9a","mediumturquoise":"#48d1cc","mediumvioletred":"#c71585","midnightblue":"#191970","mintcream":"#f5fffa","mistyrose":"#ffe4e1","moccasin":"#ffe4b5","navajowhite":"#ffdead","oldlace":"#fdf5e6","olivedrab":"#6b8e23","orangered":"#ff4500","orchid":"#da70d6","palegoldenrod":"#eee8aa","palegreen":"#98fb98","paleturquoise":"#afeeee","palevioletred":"#db7093","papayawhip":"#ffefd5","peachpuff":"#ffdab9","peru":"#cd853f","pink":"#ffc0cb","plum":"#dda0dd","powderblue":"#b0e0e6","rosybrown":"#bc8f8f","royalblue":"#4169e1","saddlebrown":"#8b4513","salmon":"#fa8072","sandybrown":"#f4a460","seagreen":"#2e8b57","seashell":"#fff5ee","sienna":"#a0522d","skyblue":"#87ceeb","slateblue":"#6a5acd","slategray":"#708090","slategrey":"#708090","snow":"#fffafa","springgreen":"#00ff7f","steelblue":"#4682b4","tan":"#d2b48c","thistle":"#d8bfd8","tomato":"#ff6347","transparent":"#0000","turquoise":"#40e0d0","violet":"#ee82ee","wheat":"#f5deb3","whitesmoke":"#f5f5f5","yellowgreen":"#9acd32","rebeccapurple":"#663399"} + +/***/ }), + +/***/ "@babel/runtime/helpers/asyncToGenerator": +/*!**********************************************************!* + !*** external "@babel/runtime/helpers/asyncToGenerator" ***! + \**********************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/helpers/asyncToGenerator");; + +/***/ }), + +/***/ "@babel/runtime/helpers/interopRequireDefault": +/*!***************************************************************!* + !*** external "@babel/runtime/helpers/interopRequireDefault" ***! + \***************************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/helpers/interopRequireDefault");; + +/***/ }), + +/***/ "@babel/runtime/regenerator": +/*!*********************************************!* + !*** external "@babel/runtime/regenerator" ***! + \*********************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/regenerator");; + +/***/ }), + +/***/ "chalk": +/*!************************!* + !*** external "chalk" ***! + \************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("chalk");; + +/***/ }), + +/***/ "fs": +/*!*********************!* + !*** external "fs" ***! + \*********************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("fs");; + +/***/ }), + +/***/ "fs/promises": +/*!******************************!* + !*** external "fs/promises" ***! + \******************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("fs/promises");; + +/***/ }), + +/***/ "os": +/*!*********************!* + !*** external "os" ***! + \*********************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("os");; + +/***/ }) + +}; +; + +// load runtime +var __webpack_require__ = require("../runtime/runtime.js"); +__webpack_require__.C(exports); +return __webpack_require__.X([], "./src/lornpughelp.cs"); +})(); +}); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9tbGliL3dlYnBhY2svdW5pdmVyc2FsTW9kdWxlRGVmaW5pdGlvbiIsIndlYnBhY2s6Ly9tbGliLy4vc3JjL2xvcm5wdWdoZWxwLmNzIiwid2VicGFjazovL21saWIvLi9zcmMvbWxpYi9zcmMvY29sb3IuY3MiLCJ3ZWJwYWNrOi8vbWxpYi8uL3NyYy9tbGliL3NyYy9maWxlLmNzIiwid2VicGFjazovL21saWIvLi9zcmMvbWxpYi9zcmMvaW5kZXguY3MiLCJ3ZWJwYWNrOi8vbWxpYi8uL3NyYy9tbGliL3NyYy9yYW5kb20uY3MiLCJ3ZWJwYWNrOi8vbWxpYi8uL3NyYy9tbGliL3NyYy90aW1lLmNzIiwid2VicGFjazovL21saWIvLi9zcmMvbWxpYi9zcmMvY29sb3JuYW1lLmNzb24iLCJ3ZWJwYWNrOi8vbWxpYi9leHRlcm5hbCBcIkBiYWJlbC9ydW50aW1lL2hlbHBlcnMvYXN5bmNUb0dlbmVyYXRvclwiIiwid2VicGFjazovL21saWIvZXh0ZXJuYWwgXCJAYmFiZWwvcnVudGltZS9oZWxwZXJzL2ludGVyb3BSZXF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BlMGQwXCIsXCJ2aW9sZXRcIjpcIiNlZTgyZWVcIixcIndoZWF0XCI6XCIjZjVkZWIzXCIsXCJ3aGl0ZXNtb2tlXCI6XCIjZjVmNWY1XCIsXCJ5ZWxsb3dncmVlblwiOlwiIzlhY2QzMlwiLFwicmViZWNjYXB1cnBsZVwiOlwiIzY2MzM5OVwifSIsIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZShcIkBiYWJlbC9ydW50aW1lL2hlbHBlcnMvYXN5bmNUb0dlbmVyYXRvclwiKTs7IiwibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwiQGJhYmVsL3J1bnRpbWUvaGVscGVycy9pbnRlcm9wUmVxdWlyZURlZmF1bHRcIik7OyIsIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZShcIkBiYWJlbC9ydW50aW1lL3JlZ2VuZXJhdG9yXCIpOzsiLCJtb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoXCJjaGFsa1wiKTs7IiwibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwiZnNcIik7OyIsIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZShcImZzL3Byb21pc2VzXCIpOzsiLCJtb2R1bGUuZXhwb3J0cyA9IHJlcXVpcmUoXCJvc1wiKTs7Il0sInNvdXJjZVJvb3QiOiIifQ== \ No newline at end of file diff --git a/coffee/api/runtime/runtime.js b/coffee/api/runtime/runtime.js new file mode 100644 index 0000000..1d581b6 --- /dev/null +++ b/coffee/api/runtime/runtime.js @@ -0,0 +1,107 @@ +#!/usr/bin/env node +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({}); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ if(__webpack_module_cache__[moduleId]) { +/******/ return __webpack_module_cache__[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/ensure chunk */ +/******/ (() => { +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/get javascript chunk filename */ +/******/ (() => { +/******/ // This function allow to reference async chunks and sibling chunks for the entrypoint +/******/ __webpack_require__.u = (chunkId) => { +/******/ // return url for filenames based on template +/******/ return undefined; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop) +/******/ })(); +/******/ +/******/ /* webpack/runtime/startup entrypoint */ +/******/ (() => { +/******/ __webpack_require__.X = (chunkIds, moduleId) => { +/******/ chunkIds.map(__webpack_require__.e, __webpack_require__) +/******/ return __webpack_require__(moduleId) +/******/ } +/******/ })(); +/******/ +/******/ /* webpack/runtime/require chunk loading */ +/******/ (() => { +/******/ // no baseURI +/******/ +/******/ // object to store loaded chunks +/******/ // "1" means "loaded", otherwise not loaded yet +/******/ var installedChunks = { +/******/ "runtime": 1 +/******/ }; +/******/ +/******/ var installChunk = (chunk) => { +/******/ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime; +/******/ for(var moduleId in moreModules) { +/******/ if(__webpack_require__.o(moreModules, moduleId)) { +/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(runtime) runtime(__webpack_require__); +/******/ for(var i = 0; i < chunkIds.length; i++) +/******/ installedChunks[chunkIds[i]] = 1; +/******/ }; +/******/ +/******/ // require() chunk loading for javascript +/******/ __webpack_require__.f.require = function(chunkId, promises) { +/******/ installedChunks[chunkId] = 1; +/******/ }; +/******/ +/******/ module.exports = __webpack_require__; +/******/ __webpack_require__.C = installChunk; +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ })(); +/******/ +/************************************************************************/ +/******/ // module exports must be returned from runtime so entry inlining is disabled +/******/ })() +; +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9tbGliL3dlYnBhY2svYm9vdHN0cmFwIiwid2VicGFjazovL21saWIvd2VicGFjay9ydW50aW1lL2Vuc3VyZSBjaHVuayIsIndlYnBhY2s6Ly9tbGliL3dlYnBhY2svcnVudGltZS9nZXQgamF2YXNjcmlwdCBjaHVuayBmaWxlbmFtZSIsIndlYnBhY2s6Ly9tbGliL3dlYnBhY2svcnVudGltZS9oYXNPd25Qcm9wZXJ0eSBzaG9ydGhhbmQiLCJ3ZWJwYWNrOi8vbWxpYi93ZWJwYWNrL3J1bnRpbWUvc3RhcnR1cCBlbnRyeXBvaW50Iiwid2VicGFjazovL21saWIvd2VicGFjay9ydW50aW1lL3JlcXVpcmUgY2h1bmsgbG9hZGluZyIsIndlYnBhY2s6Ly9tbGliL3dlYnBhY2svc3RhcnR1cCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztVQUFBO1VBQ0E7O1VBRUE7VUFDQTtVQUNBO1VBQ0E7VUFDQTtVQUNBO1VBQ0E7VUFDQTtVQUNBO1VBQ0E7VUFDQTtVQUNBOztVQUVBO1VBQ0E7O1VBRUE7VUFDQTtVQUNBOztVQUVBO1VBQ0E7Ozs7O1dD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zW2NodW5rSWRzW2ldXSA9IDE7XG59O1xuXG4vLyByZXF1aXJlKCkgY2h1bmsgbG9hZGluZyBmb3IgamF2YXNjcmlwdFxuX193ZWJwYWNrX3JlcXVpcmVfXy5mLnJlcXVpcmUgPSBmdW5jdGlvbihjaHVua0lkLCBwcm9taXNlcykge1xuaW5zdGFsbGVkQ2h1bmtzW2NodW5rSWRdID0gMTtcbn07XG5cbm1vZHVsZS5leHBvcnRzID0gX193ZWJwYWNrX3JlcXVpcmVfXztcbl9fd2VicGFja19yZXF1aXJlX18uQyA9IGluc3RhbGxDaHVuaztcblxuLy8gbm8gSE1SXG5cbi8vIG5vIEhNUiBtYW5pZmVzdCIsIi8vIG1vZHVsZSBleHBvcnRzIG11c3QgYmUgcmV0dXJuZWQgZnJvbSBydW50aW1lIHNvIGVudHJ5IGlubGluaW5nIGlzIGRpc2FibGVkXG4iXSwic291cmNlUm9vdCI6IiJ9 \ No newline at end of file diff --git a/coffee/api/top/top.js b/coffee/api/top/top.js new file mode 100644 index 0000000..c06d28c --- /dev/null +++ b/coffee/api/top/top.js @@ -0,0 +1,130 @@ +#!/usr/bin/env node +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define([], factory); + else if(typeof exports === 'object') + exports["mlib"] = factory(); + else + root["mlib"] = factory(); +})(global, function() { +return (() => { +var exports = {}; +exports.id = "top"; +exports.ids = ["top"]; +exports.modules = { + +/***/ "./src/top.cs": +/*!********************!* + !*** ./src/top.cs ***! + \********************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; + + +var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "@babel/runtime/helpers/interopRequireDefault"); + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.top1 = void 0; + +var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ "@babel/runtime/helpers/toConsumableArray")); + +/* + * 这里是寻找某个位置的点的函数, 比如中位数, 1/4位数等等 + * @param {输入的用来寻找的数组} arra + * @param {每个元素拿值的方法} valu + * @param {要找到顶部的第几个元素} top + * 这个算法类似于快速排序. 每次只排一边, 知道找到需要的值. + * 最终返回的是满足条件的值. + * 目标是统计数据的提取, 比如中位数, 3/4位数等等. + +export function top(arra, valu, top) { + if (arra.length === 0) return []; + const lesser = []; + const greater = []; + const p = arra[0]; + for (let i = 1; i < arra.length; i++) { + if (valu(arra[i]) > valu(p)) { + greater.push(arra[i]); + } else { + lesser.push(arra[i]); + } + } + + // 终结条件很重要, p是第top个, 或者less==top个, 其实都可以返回了.这样就是正好top个或者多一个. + if (top - 2 < lesser.length && lesser.length < top + 1) return p; + if (lesser.length > top) { + return top(lesser, valu, top); + } + return top(greater, valu, top - lesser.length - 1); // 这里要把p的位置减掉, 不然就bug了. +} + */ +var big; + +big = function big(a, b) { + return a > b; //默认这个是找最大的数字. +}; + +var top1 = function top1(_ref) { + var arr = _ref.arr, + _ref$xwiny = _ref.xwiny, + xwiny = _ref$xwiny === void 0 ? big : _ref$xwiny; + var a, e, i, j, len; + a = (0, _toConsumableArray2["default"])(arr); // 不改变输入的纯函数 + + e = a.shift(0); + + for (i = 0, len = a.length; i < len; i++) { + j = a[i]; + + if (xwiny(j, e)) { + e = j; + } + } + + return e; +}; // 另一个纯函数, 但是重复判断了第一个元素, 不过很可能效率更好 +//e=arr[0] +// e =j for j in arr when xwiny j,e + + +exports.top1 = top1; + +/***/ }), + +/***/ "@babel/runtime/helpers/interopRequireDefault": +/*!***************************************************************!* + !*** external "@babel/runtime/helpers/interopRequireDefault" ***! + \***************************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/helpers/interopRequireDefault");; + +/***/ }), + +/***/ "@babel/runtime/helpers/toConsumableArray": +/*!***********************************************************!* + !*** external "@babel/runtime/helpers/toConsumableArray" ***! + \***********************************************************/ +/***/ ((module) => { + +"use strict"; +module.exports = require("@babel/runtime/helpers/toConsumableArray");; + +/***/ }) + +}; +; + +// load runtime +var __webpack_require__ = require("../runtime/runtime.js"); +__webpack_require__.C(exports); +return __webpack_require__.X([], "./src/top.cs"); +})(); +}); +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9tbGliL3dlYnBhY2svdW5pdmVyc2FsTW9kdWxlRGVmaW5pdGlvbiIsIndlYnBhY2s6Ly9tbGliLy4vc3JjL3RvcC5jcyIsIndlYnBhY2s6Ly9tbGliL2V4dGVybmFsIFwiQGJhYmVsL3J1bnRpbWUvaGVscGVycy9pbnRlcm9wUmVxdWlyZURlZmF1bHRcIiIsIndlYnBhY2s6Ly9tbGliL2V4dGVybmFsIFwiQGJhYmVsL3J1bnRpbWUvaGVscGVycy90b0NvbnN1bWFibGVBcnJheVwiIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxDQUFDO0FBQ0QsTzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FDc0JHOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFFSCxNQUFLO1NBQVUsSUFBVixDLENBQUE7QUFBQSxDQUFMOztBQUNBLElBQU8sT0FBTyxTQUFQLElBQU87QUFBQSxNQUFDLEdBQUQsUUFBQyxHQUFEO0FBQUEsd0JBQU0sS0FBTjtBQUFBLE1BQU0sS0FBTjtBQUNkO0FBQUMsMENBQUQsR0FBQyxFQURhLENBQ2Q7O0FBQ0MsTUFBRSxDQUFDLENBQUQsUUFBRjs7QUFDQTs7O1FBQXNCLFcsRUFBQTtBQUF0QixVQUFJLENBQUo7O0FBQUE7O1NBQ0EsQztBQUphLENBQWQsQyxDQUhHOzs7Ozs7Ozs7Ozs7Oz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ib7mnIDlpKfnmoTmlbDlrZcuXG5leHBvcnQgdG9wMSA9ICh7YXJyLHh3aW55PWJpZ30pLT5cblx0YT1bYXJyLi4uXSAjIOS4jeaUueWPmOi+k+WFpeeahOe6r+WHveaVsFxuXHRlPWEuc2hpZnQgMFxuXHRlID0gaiBmb3IgaiBpbiBhIHdoZW4geHdpbnkgaixlXG5cdGVcblx0IyDlj6bkuIDkuKrnuq/lh73mlbAsIOS9huaYr+mHjeWkjeWIpOaWreS6huesrOS4gOS4quWFg+e0oCwg5LiN6L+H5b6I5Y+v6IO95pWI546H5pu05aW9XG5cdCNlPWFyclswXVxuXHQjXHRlID1qIGZvciBqIGluIGFyciB3aGVuIHh3aW55IGosZVxuIiwibW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwiQGJhYmVsL3J1bnRpbWUvaGVscGVycy9pbnRlcm9wUmVxdWlyZURlZmF1bHRcIik7OyIsIm1vZHVsZS5leHBvcnRzID0gcmVxdWlyZShcIkBiYWJlbC9ydW50aW1lL2hlbHBlcnMvdG9Db25zdW1hYmxlQXJyYXlcIik7OyJdLCJzb3VyY2VSb290IjoiIn0= \ No newline at end of file diff --git a/coffee/babel.config.json b/coffee/babel.config.json new file mode 100644 index 0000000..6f5a96f --- /dev/null +++ b/coffee/babel.config.json @@ -0,0 +1,17 @@ + +//这个文件是json5 +{ + "presets": [ + "@babel/react", + ["@babel/env", { + "targets": { + //"browsers": "chrome >= 86", + "chrome": "86", + "node": "15" + }, + //告诉babel不要解析模块. 因为webpack会解析 + "modules": false + }] + ], + "plugins": ["@babel/plugin-transform-runtime", "@babel/plugin-proposal-object-rest-spread"] +} diff --git a/coffee/coffeelint.json b/coffee/coffeelint.json new file mode 100644 index 0000000..b8f0d56 --- /dev/null +++ b/coffee/coffeelint.json @@ -0,0 +1,135 @@ +{ + "arrow_spacing": { + "level": "ignore" + }, + "braces_spacing": { + "level": "ignore", + "spaces": 0, + "empty_object_spaces": 0 + }, + "camel_case_classes": { + "level": "error" + }, + "coffeescript_error": { + "level": "error" + }, + "colon_assignment_spacing": { + "level": "ignore", + "spacing": { + "left": 0, + "right": 0 + } + }, + "cyclomatic_complexity": { + "level": "ignore", + "value": 10 + }, + "duplicate_key": { + "level": "error" + }, + "empty_constructor_needs_parens": { + "level": "ignore" + }, + "ensure_comprehensions": { + "level": "ignore" + }, + "eol_last": { + "level": "ignore" + }, + "indentation": { + "value": 1, + "level": "warn" + }, + "line_endings": { + "level": "ignore", + "value": "unix" + }, + "max_line_length": { + "value": 80, + "level": "ignore", + "limitComments": false + }, + "missing_fat_arrows": { + "level": "ignore", + "is_strict": false + }, + "newlines_after_classes": { + "value": 3, + "level": "ignore" + }, + "no_backticks": { + "level": "error" + }, + "no_debugger": { + "level": "warn", + "console": false + }, + "no_empty_functions": { + "level": "ignore" + }, + "no_empty_param_list": { + "level": "ignore" + }, + "no_implicit_braces": { + "level": "ignore", + "strict": true + }, + "no_implicit_parens": { + "level": "ignore", + "strict": true + }, + "no_interpolation_in_single_quotes": { + "level": "ignore" + }, + "no_nested_string_interpolation": { + "level": "ignore" + }, + "no_plusplus": { + "level": "ignore" + }, + "no_private_function_fat_arrows": { + "level": "warn" + }, + "no_stand_alone_at": { + "level": "ignore" + }, + "no_tabs": { + "level": "ignore" + }, + "no_this": { + "level": "error" + }, + "no_throwing_strings": { + "level": "error" + }, + "no_trailing_semicolons": { + "level": "error" + }, + "no_trailing_whitespace": { + "level": "error", + "allowed_in_comments": false, + "allowed_in_empty_lines": true + }, + "no_unnecessary_double_quotes": { + "level": "ignore" + }, + "no_unnecessary_fat_arrows": { + "level": "warn" + }, + "non_empty_constructor_needs_parens": { + "level": "ignore" + }, + "prefer_english_operator": { + "level": "ignore", + "doubleNotLevel": "ignore" + }, + "space_operators": { + "level": "ignore" + }, + "spacing_after_comma": { + "level": "ignore" + }, + "transform_messes_up_line_numbers": { + "level": "warn" + } +} diff --git a/coffee/package.json b/coffee/package.json new file mode 100644 index 0000000..a8bf1d7 --- /dev/null +++ b/coffee/package.json @@ -0,0 +1,48 @@ +{ + "name": "backdir", + "version": "1.0.0", + "description": "js测试框架: 单身狗", + "private": true, + "keywords": [], + "author": "", + "license": "ISC", + "bin": { + "backdir": "./dist/api/bin.js", + "dir": "./dist/api/bin.js", + "bd": "./dist/api/bin.js" + }, + "scripts": { + "test": "node ./dist/api/main.js", + "build": "webpack && chmod u+x ./dist/api/bin.js", + "dev": "webpack serve ", + "watch": "webpack --watch ", + "debug": "暂时麽咏nade ./dist" + }, + "devDependencies": { + "@babel/core": "^7.12.3", + "@babel/plugin-transform-runtime": "^7.12.1", + "@babel/preset-env": "^7.12.1", + "@babel/preset-react": "^7.12.5", + "babel-loader": "^8.2.1", + "clean-webpack-plugin": "^3.0.0", + "coffee-loader": "^1.0.1", + "coffeescript": "^2.5.1", + "cson": "^7.20.0", + "cson-loader": "^0.1.0", + "eslint-plugin-coffee": "^0.1.13", + "eslint-plugin-react": "^7.21.5", + "webpack": "^5.4.0", + "webpack-cli": "^4.2.0", + "webpack-dev-middleware": "^4.0.2", + "webpack-dev-server": "^3.11.0", + "webpack-glob": "^2.0.2", + "webpack-manifest-plugin": "^2.2.0", + "webpack-merge": "^5.4.0", + "webpack-nano": "^1.1.0", + "webpack-node-externals": "^2.5.2" + }, + "dependencies": { + "chalk": "^4.1.0", + "mcktools": "^1.1.0" + } +} diff --git a/coffee/src/backdir.cs b/coffee/src/backdir.cs new file mode 100755 index 0000000..c9544b1 --- /dev/null +++ b/coffee/src/backdir.cs @@ -0,0 +1,40 @@ +import chalk from 'chalk' +#chalk = require('chalk') +import {cmd} from 'mcktools/cmd' +import bdh from './backdirhelp.cs' + + +{disklist, afs,info,list,back, bd}=bdh +# ------------------init--------------------- +do -> + + {cmds, files}=cmd.initcmd 0 + + # 处理默认的备份目录命令 + #bd --back disk4 /地图 /Volumes/wd4black/back + #bd --back disk4 "/地图" "/Volumes/wd4black/back" + if cmds.length ==0 # 默认是跑测试文件 + console.log chalk.cyanBright '进行目录备份' + if files.length!=3 + console.log chalk.redBright '参数数量错误', files.length, files + return + bd disk:files[0], frompath:files[1],topath:files[2] + return 0 + + # 处理命令 + for x in cmds + switch x + when '--disklist' # 列出系统挂载的disk: bd --disklist + disklist 0 + when '--afs' # 列出某个disk的afs信息: bd --afs disk4 + afs files[0] + when '--info' # 列出某个disk的详细afs信息: bd --info disk4 + info files[0] + when '--list' # 列出某个disk的某个dir的详细信息: bd --list disk4 / + list disk:files[0], dir:files[1] + when '--back' + # 备份某个单独的文件, 需要参数: disk, 要被备份的文件路径, 备份copy的目标路径. 命令行的引号不重要 + #bd --back disk4 /地图/元素周期表-timg-3.jpeg /Volumes/wd4black/back/bbb.jpeg + #bd --back disk4 "/地图/元素周期表-timg-3.jpeg" "/Volumes/wd4black/back/aaa.jpeg" + back disk:files[0], frompath:files[1],topath:files[2] + else console.log chalk.redBright '抱歉啊, 不知道你想干啥:', x diff --git a/coffee/src/backdirhelp.cs b/coffee/src/backdirhelp.cs new file mode 100644 index 0000000..0465305 --- /dev/null +++ b/coffee/src/backdirhelp.cs @@ -0,0 +1,135 @@ +import chalk from 'chalk' +#chalk = require('chalk') +import {file} from 'mcktools/cmd' +import { spawn,exec } from 'child_process' +import util from 'util' +import pa from 'path' + +px = util.promisify exec + +cmdpath= pa.resolve(__dirname, '../../../bin') + +# -----------------pure function----------------- +# 输出 +log= ({ stdout, stderr })-> + console.log 'stdout:', chalk.greenBright stdout + console.error 'stderr:', chalk.redBright stderr +# -----------------export function----------------- + + +# 处理disklist命令: bd --disklist +export disklist = -> + { stdout, stderr } = await px 'diskutil list' + console.log chalk.yellowBright "处理命令: disklist" + log { stdout, stderr } + + +# 处理afs命令: bd --afs +export afs = (disk)-> + { stdout, stderr } = await px "sudo fsck_apfs /dev/#{disk}" + console.log chalk.yellowBright "处理命令: afs" + log { stdout, stderr } + + +# 处理info命令: bd --info +export info = (disk)-> + { stdout, stderr } = await px "sudo #{cmdpath}/apfs-inspect /dev/#{disk}" + console.log chalk.yellowBright "处理命令: info" + log { stdout, stderr } + +# 解析字符串, 拿到{filelist, dirlist} +str2list= (s) -> + filelist=[] + dirlist=[] + reg= /^- INODE$([\s\S]*)^END: All done\.$/gm + arr = [(s.matchAll reg)...] + if arr.length!=1 + console.log chalk.redBright "出错了, list匹配结果数量不对#{arr.length} \n 匹配数组: #{arr}" + console.log chalk.yellowBright "出错的原始输入: #{s}" + return {filelist:[], dirlist:[]} + ss= arr[0][1] + # 解析单行 + #- DIR REC || Dirctry || target ID = 0x19 || name = .fseventsd + #- DIR REC || Dirctry || target ID = 0x27d743 || name = .DocumentRevisions-V100 + #- DIR REC || RegFile || target ID = 0x234dac || name = tmbootpicker.efi + #- DIR REC || Dirctry || target ID = 0x20000003f || name = 音乐 + # 需要排除的文件, 目录 + #- DIR REC || RegFile || target ID = 0x8b || name = .DS_Store + #- DIR REC || Dirctry || target ID = 0x879d0b || name = $RECYCLE.BIN + + # 文件 + #- DIR REC || RegFile || target ID = 0xa4 || name = 地图-National Map.jp2 + regf= /^- DIR REC \|\| RegFile \|\| target ID =[ x0-9a-f]+\|\| name = ([^.$][^\n\r]*)$/gm + f= [(ss.matchAll regf)...] + filelist.push x[1] for x in f + + # 目录 + #- DIR REC || Dirctry || target ID = 0x8c || name = ghost in the shell + regr= /^- DIR REC \|\| Dirctry \|\| target ID =[ x0-9a-f]+\|\| name = ([^.$][^\n\r]*)$/gm + r= [(ss.matchAll regr)...] + dirlist.push x[1] for x in r + + {filelist, dirlist} + +# 得到文件和目录列表 +getlist = ({disk, dir})-> + try + { stdout, stderr } = await px "sudo #{cmdpath}/apfs-list /dev/#{disk} 0 \"#{dir}\"" + {filelist, dirlist} = str2list stdout+stderr + console.log chalk.yellowBright "扫描目录 : #{chalk.cyanBright dir} >>>>>>> 文件备份中: #{chalk.cyanBright filelist} " + return {filelist, dirlist} + catch err + console.log chalk.redBright "list error:#{dir}" + return {filelist:[], dirlist:[]} + +# 处理列表命令, 列出目录下所有内容, 包含文件和文件夹: bd --list +export list = ({disk, dir})-> + console.log chalk.yellowBright "处理命令: list" + {filelist, dirlist} = await getlist {disk, dir} + log { stdout:filelist, stderr:dirlist} +# 备份单独一个文件的命令, bd --back +export back = ({disk, frompath, topath})-> + # 判断目录是否存在, 如果不存在就新建目录 + await file.newdir topath + # 组装命令 + cmd="sudo #{cmdpath}/apfs-recover /dev/#{disk} 0 \"#{frompath}\" > \"#{topath}\"" + #console.log chalk.yellowBright "--------命令行-------",cmd + try + { stdout, stderr } = await px cmd + catch err + console.log chalk.redBright "copy error:#{frompath}" + + #console.log chalk.yellowBright "copy file : #{chalk.cyanBright frompath} >>>>>>> #{chalk.cyanBright topath}" + #log { stdout, stderr } + + + +# 处理目录 +bdir = ({disk, frompath, topath})-> + {filelist, dirlist} = await getlist {disk, dir:frompath} + # todo 如果path=/ 那么下面的语句会导致 //xxx这种, 如果用if判断又比较丑陋, 没想好咋搞. + await back {disk, frompath:"#{frompath}/#{x}", topath:"#{topath}/#{x}"} for x in filelist + await bdir {disk, frompath:"#{frompath}/#{x}", topath:"#{topath}/#{x}"} for x in dirlist + + + +# 默认的处理目录备份的接口 +export bd = ({disk, frompath, topath})-> + # 判断目录是否存在, 如果不存在就新建目录 + await file.newdir topath + await bdir {disk, frompath, topath} + + console.log chalk.yellowBright "backfinish, you can check error, that write in red word" + + + #log { stdout, stderr } +export default { + + disklist + afs + info + list + back + bd +} + diff --git "a/coffee/src/\346\212\200\346\234\257\346\226\271\346\241\210.coffee" "b/coffee/src/\346\212\200\346\234\257\346\226\271\346\241\210.coffee" new file mode 100755 index 0000000..7060fdf --- /dev/null +++ "b/coffee/src/\346\212\200\346\234\257\346\226\271\346\241\210.coffee" @@ -0,0 +1,135 @@ +import chalk from 'chalk' +#chalk = require('chalk') +#import {file} from 'mlib' +import lph from './lornpughelp.cs' +import { spawn,exec } from 'child_process' +import util from 'util' + +{iscmd, dolp, dodir}=lph + + +# ------------------init--------------------- +arg=process.argv[2..] +console.log '环境和参数信息:' +console.table [ + {'键: ':'process.cwd()', '值: ': process.cwd()} + {'键: ':'__dirname', '值: ':__dirname} + {'键: ':'process.argv', '值: ':process.argv} + {'键: ':'真参数', '值: ':arg} +] + +cmds=[] # 传入的参数的命令数组 +files=[] # 传入的文件数组 + +for x in arg + if iscmd x then cmds.push x else files.push x + + +console.log chalk.blueBright "命令: #{cmds} " +console.log chalk.yellowBright "文件: #{files} " + + +# 处理命令 +isdefault = cmds.length ==0 +for x in cmds + isdir=/^--dir$/.test x + isio=/^--io$/.test x + islp=/^--lp$/.test x + + + + +# 根据命令, 处理文件, 忽略node_module, 未来根据.gitignore忽略 +if isdefault # 默认是跑测试文件 + console.log (chalk.cyanBright '默认行为:'), '测试结果: ' + +else if islp # 修改.zshrc文件, 增加快捷方式 + dolp 0 +else if isdir # 建测试目录, 初始化测试文件 + if files.length==0 + dodir '.' #如果没有任何文件参数, 那么就是从本地搞深度遍历 + else + dodir x for x in files + + console.log (chalk.cyanBright '初始化'), '初始化成功: ' + +else if isio # 增加测试文件 + console.log (chalk.cyanBright '初始化'), '初始化成功: ' + +else + console.log chalk.redBright '抱歉啊: 不知道你想干啥' + + + + + +# 调用外部命令 +ls = spawn('ls', ['-lh', '/usr']) +ls.stdout.on 'data', (data) -> + console.log chalk.yellowBright "spawn" + console.log chalk.greenBright "stdout: #{data}" +ls.stderr.on 'data', (data) -> + console.log chalk.yellowBright "spawn" + console.error chalk.redBright "stderr: #{data}" +ls.on 'close', (code) -> + console.log chalk.yellowBright "spawn" + console.log chalk.yellowBright "child process exited with code #{code}" +# exec方式 +exec 'cat *.js missing_file | wc -l', (error, stdout, stderr) -> + if error + console.log chalk.yellowBright "exec" + console.error chalk.redBright "exec error: #{error}" + return + console.log chalk.yellowBright "exec" + console.log chalk.greenBright "stdout: #{stdout}" + console.error chalk.redBright "stderr: #{stderr}" + +# promise的exec +px = util.promisify exec +do -> + { stdout, stderr } = await px 'ls -a .*' + console.log chalk.yellowBright "execpromise" + console.log 'stdout:', chalk.greenBright stdout + console.error 'stderr:', chalk.redBright stderr + + + +### +try { + new Function('var {a} = {a: 1}')(); +} catch(error) { + console.error('Your JavaScript runtime does not support some features used by the coffee command. Please use Node 6 or later.'); + process.exit(1); +} + +var path=require('path'); +var fs=require('fs'); + +var potentialPaths=[ + path.join(process.cwd(),), + path.join(process.cwd(),), + path.join(process.cwd(),), + path.join(__dirname,'../lib/c') +]; + +for(var i=0,len=potentialPaths.length;i') + .option('-u, --username ','The user to authenticate as') + .option('-p, --password ','The users password') + .action(function(file) { + console.log('user: %s pass: %s file: %s', + program.username,program.password,file); + }) + .parse(process.argv); +### diff --git a/coffee/webpack.config.coffee b/coffee/webpack.config.coffee new file mode 100644 index 0000000..7a1c047 --- /dev/null +++ b/coffee/webpack.config.coffee @@ -0,0 +1,64 @@ +{ CleanWebpackPlugin } = require 'clean-webpack-plugin' +nodeExternals = require 'webpack-node-externals' +glob = require "glob" +path = require 'path' +webpack = require 'webpack' + +#先按照测试环境配置, 生产环境是不一样的. +module.exports = + mode: 'development' + devtool: 'inline-source-map' + target: 'node' + + output: + path: path.resolve(__dirname, 'dist/api') + #filename: '[name].[contenthash].js' # 这个会导致vscode的调试不生效. 好神奇. + filename: '[name].js' + library: 'backdir' # 指定library的name + libraryTarget: 'umd' # 指定library编译的兼容性, common, es6, amd, umd, link... + #publicPath: '.' + externals:[ + nodeExternals() #这个很有用, 排除所有node_modules + /^library\/.+$/ + ] + entry: {# 生成多个entry, 对象格式 + bin: './src/backdir.cs' + (glob.sync('./src/**.cs').reduce (obj, el)-> + obj[path.parse(el).name] = el + obj + ,{})... + } + plugins: [ + new CleanWebpackPlugin cleanStaleWebpackAssets: false + new webpack.BannerPlugin + banner: '#!/usr/bin/env node' + raw: true + ], + module:rules:[ + { + test: /\.m?js$/ + exclude: /(node_modules|bower_components)/ + use: loader: 'babel-loader' + } + { + test: /\.coffee$|\.cs$/, + exclude: /(node_modules|bower_components)/ + loader: 'coffee-loader' + options: transpile: presets: ['@babel/env',"@babel/react"] + } + { + test: /\.cson$/ + use: loader: 'cson-loader' + } + ] + + optimization: + runtimeChunk: 'single', + splitChunks: cacheGroups: vendor: + test: /[\\/]node_modules[\\/]/ + name: 'vendors' + chunks: 'all' + + #resolve: # 解决自动查找index.cs而不是index.js的问题 #lib的配置 + # alias: mlib: path.resolve __dirname, '/Users/bergman/git/_X/code/lib/mcktools/src/' + # extensions: ['.cs', '.coffee', '.mjs', '.js'] diff --git a/coffee/webpack.config.js b/coffee/webpack.config.js new file mode 100644 index 0000000..1d5d01d --- /dev/null +++ b/coffee/webpack.config.js @@ -0,0 +1,94 @@ +(function() { + var CleanWebpackPlugin, glob, nodeExternals, path, webpack; + + ({CleanWebpackPlugin} = require('clean-webpack-plugin')); + + nodeExternals = require('webpack-node-externals'); + + glob = require("glob"); + + path = require('path'); + + webpack = require('webpack'); + + //先按照测试环境配置, 生产环境是不一样的. + module.exports = { + mode: 'development', + devtool: 'inline-source-map', + target: 'node', + output: { + path: path.resolve(__dirname, 'dist/api'), + //filename: '[name].[contenthash].js' # 这个会导致vscode的调试不生效. 好神奇. + filename: '[name].js', + library: 'backdir', // 指定library的name + libraryTarget: 'umd' // 指定library编译的兼容性, common, es6, amd, umd, link... + }, + //publicPath: '.' + externals: [nodeExternals(), /^library\/.+$/], //这个很有用, 排除所有node_modules + entry: { + bin: './src/backdir.cs', + ...(glob.sync('./src/**.cs').reduce(function(obj, el) { + obj[path.parse(el).name] = el; + return obj; + }, {})) + }, + plugins: [ + new CleanWebpackPlugin({ + cleanStaleWebpackAssets: false + }), + new webpack.BannerPlugin({ + banner: '#!/usr/bin/env node', + raw: true + }) + ], + module: { + rules: [ + { + test: /\.m?js$/, + exclude: /(node_modules|bower_components)/, + use: { + loader: 'babel-loader' + } + }, + { + test: /\.coffee$|\.cs$/, + exclude: /(node_modules|bower_components)/, + loader: 'coffee-loader', + options: { + transpile: { + presets: ['@babel/env', + "@babel/react"] + } + } + }, + { + test: /\.cson$/, + use: { + loader: 'cson-loader' + } + } + ] + }, + optimization: { + runtimeChunk: 'single', + splitChunks: { + cacheGroups: { + vendor: { + test: /[\\\/]node_modules[\\\/]/, + name: 'vendors', + chunks: 'all' + } + } + } + } + }; + + //resolve: # 解决自动查找index.cs而不是index.js的问题 #lib的配置 +// alias: mlib: path.resolve __dirname, '/Users/bergman/git/_X/code/lib/mcktools/src/' +// extensions: ['.cs', '.coffee', '.mjs', '.js'] + +}).call(this); + + +//# sourceMappingURL=webpack.config.js.map +//# sourceURL=coffeescript \ No newline at end of file diff --git a/coffee/webpack.config.js.map b/coffee/webpack.config.js.map new file mode 100644 index 0000000..21d36df --- /dev/null +++ b/coffee/webpack.config.js.map @@ -0,0 +1 @@ +{"version":3,"file":"webpack.config.js","sourceRoot":"","sources":["webpack.config.coffee"],"names":[],"mappings":"AAAA;AAAA,MAAA,kBAAA,EAAA,IAAA,EAAA,aAAA,EAAA,IAAA,EAAA;;EAAA,CAAA,CAAE,kBAAF,CAAA,GAAyB,OAAA,CAAQ,sBAAR,CAAzB;;EACA,aAAA,GAAgB,OAAA,CAAQ,wBAAR;;EAChB,IAAA,GAAO,OAAA,CAAQ,MAAR;;EACP,IAAA,GAAO,OAAA,CAAQ,MAAR;;EACP,OAAA,GAAU,OAAA,CAAQ,SAAR,EAJV;;;EAOA,MAAM,CAAC,OAAP,GACC;IAAA,IAAA,EAAM,aAAN;IACA,OAAA,EAAS,mBADT;IAEA,MAAA,EAAQ,MAFR;IAIA,MAAA,EACC;MAAA,IAAA,EAAM,IAAI,CAAC,OAAL,CAAa,SAAb,EAAwB,UAAxB,CAAN;;MAEA,QAAA,EAAU,WAFV;MAGA,OAAA,EAAS,SAHT;MAIA,aAAA,EAAe,KAJf;IAAA,CALD;;IAWA,SAAA,EAAU,CACT,aAAA,CAAA,CADS,EAET,eAFS,CAXV;IAeA,KAAA,EAAO;MACN,GAAA,EAAK,kBADC;MAEN,GAAA,CAAC,IAAI,CAAC,IAAL,CAAU,aAAV,CAAwB,CAAC,MAAzB,CAAgC,QAAA,CAAC,GAAD,EAAM,EAAN,CAAA;QAChC,GAAI,CAAA,IAAI,CAAC,KAAL,CAAW,EAAX,CAAc,CAAC,IAAf,CAAJ,GAA2B;eAC3B;MAFgC,CAAhC,EAGA,CAAA,CAHA,CAAD;IAFM,CAfP;IAsBA,OAAA,EAAS;MACR,IAAI,kBAAJ,CAAuB;QAAA,uBAAA,EAAyB;MAAzB,CAAvB,CADQ;MAER,IAAI,OAAO,CAAC,YAAZ,CACC;QAAA,MAAA,EAAQ,qBAAR;QACA,GAAA,EAAK;MADL,CADD,CAFQ;KAtBT;IA4BA,MAAA,EAAO;MAAA,KAAA,EAAM;QACZ;UACC,IAAA,EAAM,SADP;UAEC,OAAA,EAAS,iCAFV;UAGC,GAAA,EAAK;YAAA,MAAA,EAAQ;UAAR;QAHN,CADY;QAMZ;UACC,IAAA,EAAM,iBADP;UAEC,OAAA,EAAS,iCAFV;UAGC,MAAA,EAAQ,eAHT;UAIC,OAAA,EAAS;YAAA,SAAA,EAAW;cAAA,OAAA,EAAS,CAAC,YAAD;QAAc,cAAd;YAAT;UAAX;QAJV,CANY;QAYZ;UACC,IAAA,EAAM,SADP;UAEC,GAAA,EAAK;YAAA,MAAA,EAAQ;UAAR;QAFN,CAZY;;IAAN,CA5BP;IA8CA,YAAA,EACC;MAAA,YAAA,EAAc,QAAd;MACA,WAAA,EAAa;QAAA,WAAA,EAAa;UAAA,MAAA,EACzB;YAAA,IAAA,EAAM,0BAAN;YACA,IAAA,EAAM,SADN;YAEA,MAAA,EAAQ;UAFR;QADyB;MAAb;IADb;EA/CD;;EARD;;;AAAA"} \ No newline at end of file diff --git "a/coffee/\350\204\232\346\234\254\346\223\215\344\275\234\347\233\256\345\275\225.md" "b/coffee/\350\204\232\346\234\254\346\223\215\344\275\234\347\233\256\345\275\225.md" new file mode 100644 index 0000000..e6ec91c --- /dev/null +++ "b/coffee/\350\204\232\346\234\254\346\223\215\344\275\234\347\233\256\345\275\225.md" @@ -0,0 +1,254 @@ +> 原本的项目没有提供可以操作目录的脚本, 另外一个同学提供的python脚本因为几个月没有更新也无法正常运转. 因此, 弄一个coffee的脚本copy文件. + +### 编译 + +```sh +yarn # 安装依赖库 +yarn build # 编译 +yarn link # 命令行链接 +``` + +### 基础用法 + +```sh +# 正常使用 +bd disk4 /地图 /Volumes/wd4black/back + +# 文件或者目录名有空格的时候, 需要双引号 +bd disk4 "/地图" "/Volumes/wd4black/back" + +# 备份disk4的所有内容, 强烈不建议使用 +bd disk4 / /Volumes/wd4black/back +``` + +### 更多命令 + +```sh +# 列出系统挂载的disk: +bd --disklist +# 列出某个disk的afs信息: +bd --afs disk4 +# 列出某个disk的详细afs信息: +bd --info disk4 +# 列出某个disk的某个dir的详细信息: +bd --list disk4 / +# 备份某个单独的文件, 需要参数: disk, 要被备份的文件路径, 备份copy的目标路径. 命令行的引号不重要 +bd --back disk4 /地图/元素周期表-timg-3.jpeg /Volumes/wd4black/back/bbb.jpeg +bd --back disk4 "/地图/元素周期表-timg-3.jpeg" "/Volumes/wd4black/back/ooo/xxx/xox/aaa.jpeg" +``` + +###### 程序发生错误时, 需要用到的工具 + +```sh +# 查看多少apfs-tools死在进程中 +ps aux | grep apfs-tools +# 根据死在进程中的具体内容, 决定杀掉哪些, 可能这么做就万事大吉了 +killall apfs-recover + +# 如果遇到node报错: node:events:353 throw er; +# 原因是node的child_process新建子进程stack overflow了, 需要用下面的命令清理 +rm -rf node_modules +rm package-lock.json yarn.lock +npm cache clear --force +npm install # 或者yarn + +# kill nodejs相关进程 +killall node +ps aux | grep node +kill -9 PID +``` + + + +### log + +###### 20201230 + +- 开工 + +``` +yarn # 安装依赖包 +yarn build # 编译项目 +yarn link # 给脚本快捷运行命令 +``` + +###### 20201231 + +- coffee操作系统命令 +- 被master/main坑了, 合并分支. + +###### 20210105 + +```js +//child_process.exec实际调用了下面这个 +module.exports.execFile //实际还是调用了spawn +//另一个child_process.spawn()调用了internalBinding +``` + +- https://medium.com/front-end-weekly/internals-of-node-advance-node-%EF%B8%8F-8612f6a957d7 +- https://nodejs.org/dist/latest-v15.x/docs/api/child_process.html + +```js +const { spawn } = require('child_process'); +const ls = spawn('ls', ['-lh', '/usr']); + +ls.stdout.on('data', (data) => { + console.log(`stdout: ${data}`); +}); + +ls.stderr.on('data', (data) => { + console.error(`stderr: ${data}`); +}); + +ls.on('close', (code) => { + console.log(`child process exited with code ${code}`); +}); +``` + +###### 20210107 + +- 继续操作命令行 +- 有四个函数对spawn进行了包装. + - child_process.spawn(), + - child_process.fork()执行并且建立一个IPC channel, 可以传消息 + - child_process.exec()包装spawn, 并且使用新的shell + - child_process.execFile()包装spawn, 但是不使用新的shell +- 这四个函数都返回childprocess实例 + - 这个对象实现了eventEmitter + - 因此可以注册listener + - exec和execfile还可以传入一个回调函数, 在完成命令后回调 +- 命令行调用部分形成blog. + +###### 20210108 + +- 包装我的常用函数 + +```sh +diskutil list +sudo fsck_apfs /dev/disk4 +sudo ./bin/apfs-inspect /dev/disk4 +sudo ./bin/apfs-list /dev/disk3s2 0 / + +sudo ../bin/apfs-recover /dev/disk4 0 "/地图/元素周期表-timg-3.jpeg" > "/Volumes/wd4black/back/地图/元素周期表-timg-3.jpeg" +mkdir /Volumes/wd4black/back/地图 # 新建目录, 如果目录不存在会报错 + +#不论是否有引号都可以正常执行. +bd --back disk4 "/地图/元素周期表-timg-3.jpeg" "/Volumes/wd4black/back/aaa.jpeg" +bd --back disk4 /地图/元素周期表-timg-3.jpeg /Volumes/wd4black/back/bbb.jpeg +``` + +- iscmd需要抽取出来 done +- 单独备份初步完成, 下一步是根据目录情况进行备份. + +###### 0110 + +- 继续处理目录备份 + +```sh +# 目录拿到的是这个: +Records for file-system object 0x2 -- `/` -- +- INODE +- DIR REC || Dirctry || target ID = 0x10 || name = .Spotlight-V100 +- DIR REC || RegFile || target ID = 0x88 || name = .DS_Store +- DIR REC || Dirctry || target ID = 0x8a || name = 地图 +- DIR REC || Dirctry || target ID = 0x13 || name = .fseventsd + +END: All done. + +# 文件拿到的是这个: +Records for file-system object 0x99 -- `/地图/元素周期表-timg-3.jpeg` -- +- INODE +- XATTR +- XATTR +- XATTR +- DSTREAM ID || file ID = 0x99 || ref. count = 1 +- FILE EXTENT || file ID = 0x99 || log. addr. = 0 || length = 237568 B = 0x3a000 B = 58 blocks = 0x3a blocks || phys. block = 0x405d3 + +END: All done. + +# 以地图目录距离 +Records for file-system object 0x8a -- `/地图` -- +- INODE +- DIR REC || RegFile || target ID = 0x99 || name = 元素周期表-timg-3.jpeg +- DIR REC || RegFile || target ID = 0xa0 || name = 地图-National Geographic Mars Reference Map.jp2 +- DIR REC || RegFile || target ID = 0x8b || name = .DS_Store +- DIR REC || RegFile || target ID = 0x97 || name = 元素周期表-0173b05b768daca801218d32832f21.jpg@3000w_1l_0o_100sh.jpg +- DIR REC || RegFile || target ID = 0x9c || name = 地图-hst207_01b_pic.jpg +- DIR REC || RegFile || target ID = 0x98 || name = 元素周期表-timg-2.jpeg +- DIR REC || RegFile || target ID = 0xa4 || name = 地图-National Geographic World Satellite Map.jp2 +- DIR REC || Dirctry || target ID = 0x8c || name = ghost in the shell +- DIR REC || RegFile || target ID = 0x9e || name = 地图-National Geographic Earth at Night Map.jp2 +- DIR REC || RegFile || target ID = 0xa2 || name = 地图-National Geographic Universe Reference Map.jp2 +- DIR REC || RegFile || target ID = 0x9d || name = 地图-National Geographic Antarctica Satellite Map.jpg +- DIR REC || RegFile || target ID = 0xa1 || name = 地图-National Geographic Milky Way Reference Map.jp2 +- DIR REC || RegFile || target ID = 0x9b || name = 地图-5db71113h68962619fda1.jpeg +- DIR REC || RegFile || target ID = 0x9f || name = 地图-National Geographic Earth's Fractured Surface Map.jp2 +- DIR REC || RegFile || target ID = 0x9a || name = 元素周期表-timg.jpeg +- DIR REC || RegFile || target ID = 0xa5 || name = 地图-v2-5a05688930961118ce12e8801ccfb6a2_r.jpg +- DIR REC || RegFile || target ID = 0xa3 || name = 地图-National Geographic World Physical Ocean Floor.jp2 + +END: All done. + + +# 神啊, 还有这种情况: +- INODE +- XATTR +- DIR REC || Dirctry || target ID = 0x943e61 || name = 电影电视剧 +- DIR REC || Dirctry || target ID = 0x13 || name = .HFS+ Private Directory Data +- DIR REC || Dirctry || target ID = 0x15 || name = .Spotlight-V100 +- DIR REC || RegFile || target ID = 0xb9 || name = .DS_Store +- DIR REC || RegFile || target ID = 0x234dae || name = .disk_label_2x +- DIR REC || Dirctry || target ID = 0x879d0b || name = $RECYCLE.BIN +- DIR REC || Dirctry || target ID = 0x14 || name = .Trashes +- DIR REC || Dirctry || target ID = 0x5e9a || name = 百度云同步盘3 +- DIR REC || RegFile || target ID = 0x234daf || name = .VolumeIcon.icns +- DIR REC || Dirctry || target ID = 0x19 || name = .fseventsd +- DIR REC || Dirctry || target ID = 0x27d743 || name = .DocumentRevisions-V100 +- DIR REC || RegFile || target ID = 0x234dac || name = tmbootpicker.efi +- DIR REC || RegFile || target ID = 0x234dad || name = .disk_label +- DIR REC || Dirctry || target ID = 0x8a6105 || name = 备份 +- DIR REC || Dirctry || target ID = 0x20000003f || name = 音乐 +- DIR REC || Dirctry || target ID = 0x27d746 || name = .TemporaryItems +- DIR REC || RegFile || target ID = 0x893ac9 || name = .apdisk + +END: All done. +``` + +###### 0111 + +```sh +碰到问题: +node:events:353 + throw er; // Unhandled 'error' event + ^ + +Error: read ENOTCONN +``` + +```sh +rm -rf node_modules +rm package-lock.json yarn.lock +npm cache clear --force +npm install + +# kill nodejs相关进程 +killall node +ps aux | grep node +kill -9 PID +``` + +- 然后重启试图解决这个问题 + +- todo, 记录另一个如果用/作为目录会引起的bug, 没有想好怎么修复 + +```sh +# todo 如果path=/ 那么下面的语句会导致 //xxx这种, 如果用if判断又比较丑陋, 没想好咋搞. +await back {disk, frompath:"#{frompath}/#{x}", topath:"#{topath}/#{x}"} for x in filelist +bdir {disk, frompath:"#{frompath}/#{x}", topath:"#{topath}/#{x}"} for x in dirlist +``` + +- 仔细检查, 发现了一个异步引起的问题, 因为异步调用了child_process, 所以会导致资源占用过多, stack_overflow, 由此导致node报错. + +###### 0112 + +- 打印每一个copy的file, 导致了这个备份过于缓慢. 改为仅仅打印目录. done \ No newline at end of file diff --git a/recover.py b/recover.py new file mode 100755 index 0000000..0ac3d67 --- /dev/null +++ b/recover.py @@ -0,0 +1,112 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- + +import os +import sys +import subprocess +import io +import time +from pathlib import Path + +dev = "/dev/disk3s2" +idx = "0" +folder = "/备份/ctripwiki" +out = "/Volumes/wd4black/backfrombroken" +exclude = [] +# ["/Users/matthew/Library/Developer/Xcode/DerivedData", +# "/Users/matthew/Library/Application Support/Google/Chrome"] +paths = [] + +# stats +last_ts = 0.0 +list_errors = 0 +list_count = 0 +list_total = 125267 +# list_total = 8891 +recover_errors = 0 + +def ls(path): + global list_errors, list_count + dirs = [] + files = [] + args = ["./bin/apfs-list", dev, idx, path] + p = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + list_count = list_count + 1 + if p.returncode == 0: + lines = p.stderr.decode("utf-8") + for ln in lines.split("\n"): + if ln.find("- DIR REC") >= 0: + parts = ln.split("||") + if len(parts) >= 4: + name = parts[-1].strip().split("=")[-1].strip() + if parts[1].strip() == "Dirctry": + dirs.append(name) + else: + files.append(name) + else: + list_errors = list_errors+1 + print("\n" + " ".join(args)) + return [dirs, files] + +def scan(path): + + global total, last_ts, paths, list_errors, list_count + for e in exclude: + if e == path: + return 0 + + dirs,files = ls(path) + for f in files: + paths.append(path + "/" + f) + if time.time() - last_ts > 2.0: + print("Scanning", len(paths), "files...", "%.1f%%" % (len(paths)*100.0/list_total), "(%i errors %.1f%%)" % (list_errors, list_errors*100.0/list_count)) + last_ts = time.time() + + # and then scan the subfolders... + for d in dirs: + s = path + "/" + d + scan(s) + +scan(folder) + +if 1: + start_ts = time.time() + created = dict() + + for progress, i in enumerate(paths): + fld,leaf = os.path.split(i) + part = fld[len(folder):] + + # check if we need to create output folder? + outdir = out + leaf + if outdir not in created and not os.path.isdir(outdir): + os.makedirs(outdir) + created[outdir] = True + + if not leaf == ".DS_Store": + o = out + part + "/" + leaf + # print(i, "->", o) + # if not os.path.exists(o) or Path(o).stat().st_size == 0: + if 1: + args = ["./bin/apfs-recover", dev, idx, i] + outfile = open(o, "wb") + p = subprocess.run(args, stdout=outfile, stderr=subprocess.PIPE) + if not p.returncode == 0: + recover_errors = recover_errors + 1 + print(" ".join(args)) + outfile.close() + if time.time() - last_ts > 2.0: + last_ts = time.time() + elapsed = last_ts - start_ts + if elapsed > 0.0: + rate = progress / elapsed + if rate > 0: + remaining_files = len(paths) - progress + remaining_time = remaining_files / rate + hrs = int(remaining_time / 3600) + remaining_mins = remaining_time - (hrs * 3600) + min = int(remaining_mins / 60) + sec = int(remaining_mins) % 60 + # print(remaining_files, remaining_time, rate, hrs, min, sec) + print("Exporting", progress, "of", len(paths), "(%.2f%%)" % (progress * 100.0 / len(paths)), "files...", "("+str(recover_errors), "errors)", "%ih%im%is @ %.1f" % (hrs, min, sec, rate)) +