@lvce-editor/typescript-compile-process 2.3.0 → 3.1.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +15 -15
package/dist/index.js CHANGED
@@ -119,7 +119,7 @@ const transpileTypeScript = async code => {
119
119
 
120
120
  const transpileTypeScriptAtPath = async (inPath, outPath) => {
121
121
  try {
122
- const content = await readFile(inPath, 'utf-8');
122
+ const content = await readFile(inPath, 'utf8');
123
123
  const newContent = await transpileTypeScript(content);
124
124
  await writeFile(outPath, newContent);
125
125
  } catch (error) {
package/package.json CHANGED
@@ -1,28 +1,19 @@
1
1
  {
2
2
  "name": "@lvce-editor/typescript-compile-process",
3
- "version": "2.3.0",
3
+ "version": "3.1.0",
4
4
  "description": "TypeScript Compile Process",
5
- "main": "dist/index.js",
6
- "bin": "bin/typescriptCompileProcess.js",
7
- "type": "module",
8
5
  "keywords": [
9
6
  "Lvce Editor"
10
7
  ],
11
- "author": "Lvce Editor",
12
- "license": "MIT",
13
8
  "repository": {
14
9
  "type": "git",
15
10
  "url": "https://github.com/lvce-editor/typescript-compile-process.git"
16
11
  },
17
- "engines": {
18
- "node": ">=18"
19
- },
20
- "dependencies": {
21
- "@lvce-editor/assert": "^1.3.0",
22
- "@lvce-editor/command": "^1.2.0",
23
- "@lvce-editor/rpc": "^1.21.0",
24
- "@lvce-editor/verror": "^1.6.0"
25
- },
12
+ "license": "MIT",
13
+ "author": "Lvce Editor",
14
+ "type": "module",
15
+ "main": "dist/index.js",
16
+ "bin": "bin/typescriptCompileProcess.js",
26
17
  "xo": {
27
18
  "rules": {
28
19
  "unicorn/filename-case": "off",
@@ -67,5 +58,14 @@
67
58
  "ignores": [
68
59
  "distmin"
69
60
  ]
61
+ },
62
+ "dependencies": {
63
+ "@lvce-editor/assert": "^1.4.0",
64
+ "@lvce-editor/command": "^1.2.0",
65
+ "@lvce-editor/rpc": "^4.7.0",
66
+ "@lvce-editor/verror": "^1.7.0"
67
+ },
68
+ "engines": {
69
+ "node": ">=18"
70
70
  }
71
71
  }