pkgbld 1.15.5 → 1.15.6
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -531,7 +531,7 @@ async function writeJson(path, json) {
|
|
|
531
531
|
await fs.writeFile(path, JSON.stringify(json, null, 2) + '\n');
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
var version = "1.15.
|
|
534
|
+
var version = "1.15.6";
|
|
535
535
|
var license = "MIT";
|
|
536
536
|
var name = "pkgbld";
|
|
537
537
|
var author = {
|
|
@@ -702,7 +702,7 @@ async function updatePackageJson(pkg) {
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
function getPackageName(key) {
|
|
705
|
-
return key.split('/').slice(0, key.startsWith('@') ? 2 :
|
|
705
|
+
return key.split('/').slice(0, key.startsWith('@') ? 2 : 1).join('/');
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
const defaultTsConfig = {
|
package/package.json
CHANGED