uni-run 1.0.8 → 1.0.9

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.
@@ -115,6 +115,8 @@ class Execution {
115
115
  clearBeforeStart() {
116
116
  if (this.options.clearOnReload) {
117
117
  process.stdout.write('\x1Bc');
118
+ process.stdout.cursorTo(0, 0);
119
+ process.stdout.clearScreenDown();
118
120
  console.clear();
119
121
  }
120
122
  }
@@ -87,6 +87,8 @@ export default class Execution {
87
87
  clearBeforeStart() {
88
88
  if (this.options.clearOnReload) {
89
89
  process.stdout.write('\x1Bc');
90
+ process.stdout.cursorTo(0, 0);
91
+ process.stdout.clearScreenDown();
90
92
  console.clear();
91
93
  }
92
94
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "uni-run",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Universal Runner for many language",
5
5
  "scripts": {
6
6
  "dev": "npmize dev",
7
7
  "build": "npmize build",
8
8
  "tsc": "tsc --watch --noEmit",
9
- "lab": "run ./src/__lab__/index.ts",
10
9
  "cjs": "node ./dist/__lab__/index.cjs",
11
- "mjs": "node ./dist/__lab__/index.mjs"
10
+ "mjs": "node ./dist/__lab__/index.mjs",
11
+ "lab": "run ./src/__lab__/index.ts --focus ./src"
12
12
  },
13
13
  "main": "./dist/index.cjs",
14
14
  "module": "./dist/index.mjs",
@@ -21,12 +21,12 @@
21
21
  "chokidar": "^4.0.1",
22
22
  "cross-spawn": "^7.0.3",
23
23
  "ignore": "^6.0.2",
24
- "noarg": "^3.1.2"
24
+ "noarg": "^3.1.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/cross-spawn": "^6.0.6",
28
28
  "@types/node": "^22.7.3",
29
- "npmize": "^1.1.6",
29
+ "npmize": "^1.1.9",
30
30
  "typescript": "^5.6.2"
31
31
  },
32
32
  "repository": {