@makano/rew 1.2.79 → 1.2.80

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,7 @@ const { CONFIG_PATH } = require("../const/config_path");
2
2
  const path = require('path');
3
3
  const fs = require('fs');
4
4
  const conf = require("../pkgs/conf");
5
+ const { log } = require("./log");
5
6
 
6
7
  const binpath = path.join(conf({}).create('').root, '.bin');
7
8
  const logspath = path.join(conf({}).create('').root, '.logs');
@@ -21,6 +21,7 @@ module.exports.prepareContext = function (
21
21
  runPath = () => {},
22
22
  ) {
23
23
  if (mainFile == "") mainFile = filepath;
24
+ /** @type {Record<string, any>} */
24
25
  let context = {
25
26
  module: {
26
27
  exports: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.2.79",
3
+ "version": "1.2.80",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "main.js",
6
6
  "directories": {