@visulima/tsconfig 1.0.1 → 1.0.2
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/CHANGELOG.md +12 -0
- package/README.md +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## @visulima/tsconfig [1.0.2](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.0.1...@visulima/tsconfig@1.0.2) (2024-07-01)
|
|
2
|
+
|
|
3
|
+
### Styles
|
|
4
|
+
|
|
5
|
+
* cs fixes ([cf19938](https://github.com/visulima/visulima/commit/cf199384f25cd6e97d4041317b35b6a3cc586f88))
|
|
6
|
+
* cs fixes found by eslint and prettier ([69ef744](https://github.com/visulima/visulima/commit/69ef7444c0bfbf1c94763623332e06b7fffc0039))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Dependencies
|
|
10
|
+
|
|
11
|
+
* **@visulima/fs:** upgraded to 2.1.8
|
|
12
|
+
|
|
1
13
|
## @visulima/tsconfig [1.0.1](https://github.com/visulima/visulima/compare/@visulima/tsconfig@1.0.0...@visulima/tsconfig@1.0.1) (2024-06-19)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
[@visulima/path](https://github.com/visulima/visulima/tree/main/packages/path),
|
|
8
8
|
[jsonc-parser](https://github.com/microsoft/node-jsonc-parser) and
|
|
9
9
|
[resolve-pkg-maps](https://github.com/privatenumber/resolve-pkg-maps)
|
|
10
|
+
|
|
10
11
|
</p>
|
|
11
12
|
</div>
|
|
12
13
|
|
|
@@ -71,9 +72,9 @@ writeTsConfig({ compilerOptions: { ... } }/* ,{ cwd: "./" }*/);
|
|
|
71
72
|
Reads the TypeScript configuration from a tsconfig.json file.
|
|
72
73
|
|
|
73
74
|
```ts
|
|
74
|
-
import { readTsConfig } from
|
|
75
|
+
import { readTsConfig } from "@visulima/package";
|
|
75
76
|
|
|
76
|
-
const tsconfig = await readTsConfig("/Users/../Projects/visulima/packages/tsconfig.json"
|
|
77
|
+
const tsconfig = await readTsConfig("/Users/../Projects/visulima/packages/tsconfig.json" /* { tscCompatible: false } */);
|
|
77
78
|
```
|
|
78
79
|
|
|
79
80
|
> tscCompatible: If true, the configuration will be parsed in a way that is compatible with the TypeScript compiler.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/tsconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Find and/or parse the tsconfig.json file from a directory path.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"CHANGELOG.md"
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@visulima/fs": "2.1.
|
|
63
|
+
"@visulima/fs": "2.1.8",
|
|
64
64
|
"@visulima/path": "1.0.2",
|
|
65
65
|
"jsonc-parser": "^3.2.1",
|
|
66
66
|
"resolve-pkg-maps": "^1.0.0"
|