@crossbind/typescript-config 2.0.0-beta.60 → 2.0.0-beta.63
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/README.md +1 -1
- package/package.json +1 -1
- package/tsconfig.json +2 -2
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Install it as a direct devDependency (package-name `extends` resolves through
|
|
|
19
19
|
Node resolution, so a transitive copy is not enough under strict pnpm):
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
|
-
npm install -D @crossbind/typescript-config
|
|
22
|
+
npm install -D @crossbind/typescript-config@beta
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## What it wires
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossbind/typescript-config",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.63",
|
|
4
4
|
"description": "Shared TypeScript configuration wiring the editor types crossbind generates under .crossbind/ (C++ .h and Rust .rs imports, cargo: crates) - extend it once and never manage the wiring by hand.",
|
|
5
5
|
"homepage": "https://github.com/crossbind/crossbind/tree/main/tooling/typescript-config#readme",
|
|
6
6
|
"repository": {
|
package/tsconfig.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
// Extend from your tsconfig (TS 5.5+; array form when you already extend another config):
|
|
3
3
|
// { "extends": "@crossbind/typescript-config" }
|
|
4
4
|
// ${configDir} resolves against YOUR config's directory, not this package.
|
|
5
|
-
// Note: a project-defined "include" overrides the one below - keep the
|
|
5
|
+
// Note: a project-defined "include" overrides the one below - keep the globs in yours then.
|
|
6
6
|
{
|
|
7
7
|
"compilerOptions": {
|
|
8
8
|
"rootDirs": ["${configDir}", "${configDir}/.crossbind/types"]
|
|
9
9
|
},
|
|
10
|
-
"include": ["${configDir}/.crossbind/rust-crates/types/**/*.d.ts"]
|
|
10
|
+
"include": ["${configDir}/.crossbind/rust-crates/types/**/*.d.ts", "${configDir}/.crossbind/conan/types/**/*.d.ts"]
|
|
11
11
|
}
|