@pronto-tools-and-more/pronto 7.6.0 → 7.8.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/pronto",
3
- "version": "7.6.0",
3
+ "version": "7.8.0",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -17,14 +17,14 @@
17
17
  "@lvce-editor/ipc": "^11.0.1",
18
18
  "@lvce-editor/json-rpc": "^4.2.0",
19
19
  "@lvce-editor/verror": "^1.4.0",
20
- "@pronto-tools-and-more/file-watcher": "7.6.0",
21
- "@pronto-tools-and-more/files": "7.6.0",
22
- "@pronto-tools-and-more/network-process": "7.6.0",
23
- "@pronto-tools-and-more/sass-compiler": "7.6.0",
24
- "@pronto-tools-and-more/components-renderer": "7.6.0",
25
- "@pronto-tools-and-more/components": "7.6.0",
26
- "@pronto-tools-and-more/schema-process": "7.6.0",
27
- "@pronto-tools-and-more/type-checker": "7.6.0",
20
+ "@pronto-tools-and-more/file-watcher": "7.8.0",
21
+ "@pronto-tools-and-more/files": "7.8.0",
22
+ "@pronto-tools-and-more/network-process": "7.8.0",
23
+ "@pronto-tools-and-more/sass-compiler": "7.8.0",
24
+ "@pronto-tools-and-more/components-renderer": "7.8.0",
25
+ "@pronto-tools-and-more/components": "7.8.0",
26
+ "@pronto-tools-and-more/schema-process": "7.8.0",
27
+ "@pronto-tools-and-more/type-checker": "7.8.0",
28
28
  "execa": "^9.4.1",
29
29
  "express": "^4.21.1"
30
30
  },
@@ -1,5 +1,5 @@
1
1
  import * as Version from "../Version/Version.js";
2
2
 
3
3
  export const printVersion = () => {
4
- console.info(`[pronto] ${Version.version}`);
4
+ console.info(`[pronto] version ${Version.version}`);
5
5
  };
@@ -3,6 +3,7 @@ import { join } from "path";
3
3
  import * as Cwd from "../Cwd/Cwd.js";
4
4
  import * as TypeCheckerProcess from "../TypeCheckerProcess/TypeCheckerProcess.js";
5
5
  import * as ExitCode from "../ExitCode/ExitCode.js";
6
+ import { readFile } from "fs/promises";
6
7
 
7
8
  export const typeCheck = async () => {
8
9
  const customServerPath = join(
@@ -17,8 +18,10 @@ export const typeCheck = async () => {
17
18
  if (!existsSync(customServerPath)) {
18
19
  return;
19
20
  }
21
+ const content = await readFile(customServerPath, "utf8");
20
22
  const errors = await TypeCheckerProcess.invoke(
21
23
  "CheckTypes.checkTypes",
24
+ content,
22
25
  customServerPath
23
26
  );
24
27
  const errorCount = errors.length;
@@ -1 +1 @@
1
- export const version = '7.6.0'
1
+ export const version = '7.8.0'