@visulima/tsconfig 1.0.0 → 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 +22 -0
- package/README.md +3 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
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
|
+
|
|
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)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **tsconfig:** added missing TsConfigJson export ([246bf13](https://github.com/visulima/visulima/commit/246bf130cafb6522dbabff6d9170c4fa501e6148))
|
|
18
|
+
|
|
19
|
+
### Miscellaneous Chores
|
|
20
|
+
|
|
21
|
+
* updated dev dependencies ([de0f8a6](https://github.com/visulima/visulima/commit/de0f8a6b9030acbc044e5bc0f78091fb1ec89a28))
|
|
22
|
+
|
|
1
23
|
## @visulima/tsconfig 1.0.0 (2024-06-17)
|
|
2
24
|
|
|
3
25
|
### Features
|
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/dist/index.d.cts
CHANGED
|
@@ -1340,4 +1340,4 @@ declare const writeTsConfigSync: (tsConfig: TsConfigJson, options?: WriteJsonOpt
|
|
|
1340
1340
|
cwd?: URL | string;
|
|
1341
1341
|
}) => void;
|
|
1342
1342
|
|
|
1343
|
-
export { type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
|
1343
|
+
export { TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
package/dist/index.d.mts
CHANGED
|
@@ -1340,4 +1340,4 @@ declare const writeTsConfigSync: (tsConfig: TsConfigJson, options?: WriteJsonOpt
|
|
|
1340
1340
|
cwd?: URL | string;
|
|
1341
1341
|
}) => void;
|
|
1342
1342
|
|
|
1343
|
-
export { type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
|
1343
|
+
export { TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
package/dist/index.d.ts
CHANGED
|
@@ -1340,4 +1340,4 @@ declare const writeTsConfigSync: (tsConfig: TsConfigJson, options?: WriteJsonOpt
|
|
|
1340
1340
|
cwd?: URL | string;
|
|
1341
1341
|
}) => void;
|
|
1342
1342
|
|
|
1343
|
-
export { type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
|
1343
|
+
export { TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, findTsConfig, findTsConfigSync, implicitBaseUrlSymbol, readTsConfig, writeTsConfig, writeTsConfigSync };
|
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"
|
|
@@ -68,36 +68,36 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@anolilab/eslint-config": "^15.0.3",
|
|
70
70
|
"@anolilab/prettier-config": "^5.0.14",
|
|
71
|
-
"@anolilab/semantic-release-pnpm": "1.1.
|
|
72
|
-
"@anolilab/semantic-release-preset": "^
|
|
73
|
-
"@babel/core": "^7.24.
|
|
71
|
+
"@anolilab/semantic-release-pnpm": "1.1.3",
|
|
72
|
+
"@anolilab/semantic-release-preset": "^9.0.0",
|
|
73
|
+
"@babel/core": "^7.24.7",
|
|
74
74
|
"@rushstack/eslint-plugin-security": "^0.8.1",
|
|
75
|
-
"@secretlint/secretlint-rule-preset-recommend": "^8.
|
|
75
|
+
"@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
|
|
76
76
|
"@total-typescript/ts-reset": "^0.5.1",
|
|
77
77
|
"@types/node": "18.18.14",
|
|
78
78
|
"@visulima/packem": "^1.0.0-alpha.41",
|
|
79
|
-
"@vitest/coverage-v8": "^1.
|
|
80
|
-
"@vitest/ui": "^1.
|
|
79
|
+
"@vitest/coverage-v8": "^1.6.0",
|
|
80
|
+
"@vitest/ui": "^1.6.0",
|
|
81
81
|
"conventional-changelog-conventionalcommits": "8.0.0",
|
|
82
82
|
"cross-env": "^7.0.3",
|
|
83
|
-
"esbuild": "^0.21.
|
|
83
|
+
"esbuild": "^0.21.5",
|
|
84
84
|
"eslint": "^8.57.0",
|
|
85
|
-
"
|
|
86
|
-
"eslint-plugin-deprecation": "^2.0.0",
|
|
85
|
+
"eslint-plugin-deprecation": "^3.0.0",
|
|
87
86
|
"eslint-plugin-etc": "^2.0.3",
|
|
88
87
|
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
|
|
89
88
|
"eslint-plugin-mdx": "^3.1.5",
|
|
90
89
|
"eslint-plugin-vitest": "^0.4.1",
|
|
91
90
|
"eslint-plugin-vitest-globals": "^1.5.0",
|
|
92
91
|
"execa": "^9.2.0",
|
|
93
|
-
"prettier": "^3.2
|
|
94
|
-
"rimraf": "^5.0.
|
|
95
|
-
"secretlint": "8.
|
|
96
|
-
"semantic-release": "^
|
|
92
|
+
"prettier": "^3.3.2",
|
|
93
|
+
"rimraf": "^5.0.7",
|
|
94
|
+
"secretlint": "8.2.4",
|
|
95
|
+
"semantic-release": "^24.0.0",
|
|
96
|
+
"strip-ansi": "^7.1.0",
|
|
97
97
|
"tempy": "^3.1.0",
|
|
98
98
|
"type-fest": "^4.20.1",
|
|
99
|
-
"typescript": "^5.4.
|
|
100
|
-
"vitest": "^1.
|
|
99
|
+
"typescript": "^5.4.5",
|
|
100
|
+
"vitest": "^1.6.0"
|
|
101
101
|
},
|
|
102
102
|
"engines": {
|
|
103
103
|
"node": ">=18.* <=22.*"
|