@sanity/pkg-utils 1.0.0 → 1.0.1
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 +2 -2
- package/dist/{_build-3336bcb3.cjs → _build-98ad789a.cjs} +2 -1
- package/dist/_build-98ad789a.cjs.map +1 -0
- package/dist/cli.cjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/build/tasks/dts/_buildTypes.ts +1 -0
- package/dist/_build-3336bcb3.cjs.map +0 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# pkg-utils
|
|
1
|
+
# @sanity/pkg-utils
|
|
2
2
|
|
|
3
3
|
Simple utilities for modern [npm](https://www.npmjs.com/) packages.
|
|
4
4
|
|
|
@@ -14,6 +14,6 @@ npm install @sanity/pkg-utils -D
|
|
|
14
14
|
pkg-utils build --tsconfig tsconfig.dist.json
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
##
|
|
17
|
+
## License
|
|
18
18
|
|
|
19
19
|
MIT
|
|
@@ -5049,6 +5049,7 @@ async function _buildTypes(options) {
|
|
|
5049
5049
|
const config = await _loadTSConfig({ cwd, tsconfigPath });
|
|
5050
5050
|
const compilerOptions = {
|
|
5051
5051
|
...config.options,
|
|
5052
|
+
declaration: true,
|
|
5052
5053
|
emitDeclarationOnly: true,
|
|
5053
5054
|
outDir
|
|
5054
5055
|
};
|
|
@@ -5429,4 +5430,4 @@ exports._loadPkg = _loadPkg;
|
|
|
5429
5430
|
exports._parseExports = _parseExports;
|
|
5430
5431
|
exports._resolveConfigProperty = _resolveConfigProperty;
|
|
5431
5432
|
exports.build = build;
|
|
5432
|
-
//# sourceMappingURL=_build-
|
|
5433
|
+
//# sourceMappingURL=_build-98ad789a.cjs.map
|