Open azu opened 3 years ago
https://github.com/azu/monorepo-utils/blob/e81ccef54a436d0df5f322ffc405356a865febfa/packages/%40monorepo-utils/workspaces-to-typescript-project-references/src/index.ts#L89
currently, assert references without sorting. This behavior may cause false positives. We need to sort and assert.
Another option:
Write the sorted result to tsconfig.json. It will be breaking change.
https://github.com/eBayClassifiedsGroup/update-ts-references/blob/0bd3d5ed586d748677f6d9a9ad3f133ae3dcd6c2/src/update-ts-references.js#L99
https://github.com/azu/monorepo-utils/blob/e81ccef54a436d0df5f322ffc405356a865febfa/packages/%40monorepo-utils/workspaces-to-typescript-project-references/src/index.ts#L89
currently, assert references without sorting. This behavior may cause false positives. We need to sort and assert.
Another option:
Write the sorted result to tsconfig.json. It will be breaking change.
https://github.com/eBayClassifiedsGroup/update-ts-references/blob/0bd3d5ed586d748677f6d9a9ad3f133ae3dcd6c2/src/update-ts-references.js#L99