@tsonic/tsbindgen 0.7.50 → 0.7.51
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 +9 -3
- package/lib/tsbindgen.dll +0 -0
- package/lib/tsbindgen.pdb +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -115,17 +115,23 @@ Machine-readable dependency resolution for one or more seed assemblies. Useful f
|
|
|
115
115
|
- Tooling integrations (e.g. build systems) that need deterministic closure resolution
|
|
116
116
|
|
|
117
117
|
```bash
|
|
118
|
+
# Standard SDK/runtime installs usually work with no extra ref dirs
|
|
119
|
+
npx tsbindgen resolve-closure -a ./MyLibrary.dll
|
|
120
|
+
|
|
121
|
+
# Add extra directories only when dependencies live outside the runtime closure
|
|
118
122
|
npx tsbindgen resolve-closure \
|
|
119
123
|
-a ./MyLibrary.dll \
|
|
120
|
-
--ref-dir $DOTNET_RUNTIME \
|
|
121
124
|
--ref-dir ./libs
|
|
122
125
|
```
|
|
123
126
|
|
|
124
127
|
### Examples
|
|
125
128
|
|
|
126
129
|
```bash
|
|
127
|
-
# Generate a custom assembly
|
|
128
|
-
npx tsbindgen generate -a ./MyLibrary.dll -
|
|
130
|
+
# Generate a custom assembly
|
|
131
|
+
npx tsbindgen generate -a ./MyLibrary.dll -o ./out
|
|
132
|
+
|
|
133
|
+
# Add extra directories when dependencies live outside the runtime closure
|
|
134
|
+
npx tsbindgen generate -a ./MyLibrary.dll -o ./out \
|
|
129
135
|
--ref-dir ./libs
|
|
130
136
|
|
|
131
137
|
# Verbose output with specific log categories
|
package/lib/tsbindgen.dll
CHANGED
|
Binary file
|
package/lib/tsbindgen.pdb
CHANGED
|
Binary file
|