-
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?
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files☔ View full report in Codecov by Sentry. |
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.
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?
1de0da1
to
d7b4c2a
Compare
392858a
to
e700452
Compare
e700452
to
d78b04b
Compare
d78b04b
to
84d3dfd
Compare
Co-authored-by: Florian PAUL <[email protected]>
@@ -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 comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this change, wrongly commited
@@ -297,7 +297,7 @@ export function setPackagerManagerConfig(options: PackageManagerConfig, execAppO | |||
execFileSync('yarn', ['config', 'set', 'enableGlobalCache', 'true'], execOptions); | |||
execFileSync('yarn', ['config', 'set', 'globalFolder', options.globalFolderPath], execOptions); | |||
} | |||
execFileSync('yarn', ['config', 'set', 'nodeLinker', 'pnp'], execOptions); | |||
execFileSync('yarn', ['config', 'set', 'nodeLinker', 'node-modules'], execOptions); |
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?
Proposed change
Align with application generation and reuse angular tsconfig.spec.json
Related issues