This commit is contained in:
Jason Gore 2021-01-22 12:59:42 -08:00
Родитель dab39f46b0
Коммит c82ce0bf62
3 изменённых файлов: 6 добавлений и 6 удалений

4
dist/package-inherit-cli.js поставляемый
Просмотреть файл

@ -36648,9 +36648,9 @@ function generateInheritedPackageJson(cwd) {
for (const [pkg, info] of Object.entries(allPackages)) {
// workspace-tools typings are not comprehensive about what is possible, so we force cast it
if (info.inherits) {
const inheritSpecifier = info.inherits;
const inheritSpecifiers = info.inherits;
let mergedInheritInfo = {};
for (const specifier of inheritSpecifier) {
for (const specifier of inheritSpecifiers) {
const file = resolveInRepo(pkg, specifier, allPackages);
if (!file) {
throw new Error(`${file} does not exist`);

4
dist/package-inherit.js поставляемый
Просмотреть файл

@ -35501,9 +35501,9 @@ function generateInheritedPackageJson(cwd) {
for (const [pkg, info] of Object.entries(allPackages)) {
// workspace-tools typings are not comprehensive about what is possible, so we force cast it
if (info.inherits) {
const inheritSpecifier = info.inherits;
const inheritSpecifiers = info.inherits;
let mergedInheritInfo = {};
for (const specifier of inheritSpecifier) {
for (const specifier of inheritSpecifiers) {
const file = resolveInRepo(pkg, specifier, allPackages);
if (!file) {
throw new Error(`${file} does not exist`);

Просмотреть файл

@ -13,9 +13,9 @@ export function generateInheritedPackageJson(cwd: string) {
for (const [pkg, info] of Object.entries(allPackages)) {
// workspace-tools typings are not comprehensive about what is possible, so we force cast it
if (info.inherits) {
const inheritSpecifier = (info.inherits as unknown) as InheritsInfo;
const inheritSpecifiers = (info.inherits as unknown) as InheritsInfo;
let mergedInheritInfo = {};
for (const specifier of inheritSpecifier) {
for (const specifier of inheritSpecifiers) {
const file = resolveInRepo(pkg, specifier, allPackages);
if (!file) {