-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: the tsconfig spec generated for library contains several issues #2584
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we add an it-test https://github.com/AmadeusITGroup/otter/blob/main/packages/%40o3r/workspace/schematics/index.it.spec.ts#L117 to make sure the test are working on the generated lib? |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,9 +115,10 @@ export function addMonorepoManager(o3rWorkspacePackageJson: PackageJson & { gene | |
lint: 'lerna run lint' | ||
}; | ||
|
||
const lernaJson: { $schema: string; version: string; npmClient?: string } = { | ||
const lernaJson: { $schema: string; version: string; npmClient?: string; useNx?: boolean } = { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove this change, wrongly commited |
||
$schema: 'https://github.com/lerna/lerna/blob/main/packages/lerna/schemas/lerna-schema.json', | ||
version: rootPackageJsonObject.version || '0.0.0-placeholder' | ||
version: rootPackageJsonObject.version || '0.0.0-placeholder', | ||
useNx: false | ||
}; | ||
if (getPackageManager() === 'yarn') { | ||
lernaJson.npmClient = 'yarn'; | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The purpose of the e2e with yarn is to test the default config of yarn which is PNP.
Not sure we should change it :S.
Why did you need to?