@mojir/lits 2.1.29 → 2.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli/cli.js +3 -2
  2. package/package.json +3 -2
package/dist/cli/cli.js CHANGED
@@ -92,7 +92,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
92
92
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
93
93
  };
94
94
 
95
- var version = "2.1.29";
95
+ var version = "2.1.30";
96
96
 
97
97
  function getCodeMarker(sourceCodeInfo) {
98
98
  if (!sourceCodeInfo.position || !sourceCodeInfo.code)
@@ -33543,7 +33543,8 @@ function createReadlineInterface(options) {
33543
33543
  /* eslint-disable node/prefer-global/process */
33544
33544
  /* eslint-disable no-console */
33545
33545
  var _a;
33546
- var fmt = createColorizer();
33546
+ var useColor = !process.env.NO_COLOR;
33547
+ var fmt = createColorizer(useColor);
33547
33548
  var HIST_SIZE = 1000;
33548
33549
  var PROMPT = fmt.bright.gray('> ');
33549
33550
  var historyResults = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojir/lits",
3
- "version": "2.1.29",
3
+ "version": "2.1.30",
4
4
  "description": "Lits is a Lisp dialect implemented in TypeScript",
5
5
  "author": "Albert Mojir",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "build-playground": "npm run clean-playground && rollup -c rollup.config.playground-builder.js && rollup -c rollup.config.playground-www.js && node ./playground-builder/build/buildPlaygroundSite.js",
47
47
  "build-cli": "rollup -c rollup.config.cli.js",
48
48
  "lits": "node ./dist/cli/cli.js",
49
- "playground": "open-cli ./docs/index.html",
49
+ "dev": "npx serve docs -p 9901",
50
50
  "lcov": "open-cli ./coverage/index.html"
51
51
  },
52
52
  "dependencies": {
@@ -61,6 +61,7 @@
61
61
  "@vitest/coverage-v8": "1.6.0",
62
62
  "open-cli": "8.0.0",
63
63
  "rollup": "4.18.0",
64
+ "serve": "^14.2.4",
64
65
  "tslib": "2.6.3",
65
66
  "typescript": "5.5.2",
66
67
  "vitest": "1.6.0"