Skip to content
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

Migrate to eslint 9 and flat config #2192

Merged
merged 131 commits into from
Nov 28, 2024

fix: test-int eslint-config and eslint-config-otter

cd54143
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Migrate to eslint 9 and flat config #2192

fix: test-int eslint-config and eslint-config-otter
cd54143
Select commit
Loading
Failed to load commit list.
GitHub Actions / IT Tests report-ubuntu-latest-npm failed Nov 22, 2024 in 0s

63 passed, 2 failed and 2 skipped

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 7✅ 511s
@ama-sdk/schematics/dist-test/it-report.xml 14ms
@o3r/analytics/dist-test/it-report.xml 2✅ 126s
@o3r/apis-manager/dist-test/it-report.xml 1✅ 64s
@o3r/application/dist-test/it-report.xml 1✅ 67s
@o3r/components/dist-test/it-report.xml 8✅ 436s
@o3r/configuration/dist-test/it-report.xml 2✅ 131s
@o3r/core/dist-test/it-report.xml 1✅ 439s
@o3r/create/dist-test/it-report.xml 3✅ 239s
@o3r/design/dist-test/it-report.xml 1✅ 66s
@o3r/eslint-config-otter/dist-test/it-report.xml 2❌ 59s
@o3r/eslint-config/dist-test/it-report.xml 3✅ 374s
@o3r/extractors/dist-test/it-report.xml 3✅ 260s
@o3r/localization/dist-test/it-report.xml 8✅ 505s
@o3r/new-version/dist-test/it-report.xml 1✅ 47s
@o3r/pipeline/dist-test/it-report.xml 2✅ 76s
@o3r/rules-engine/dist-test/it-report.xml 2✅ 124s
@o3r/stylelint-plugin/dist-test/it-report.xml 2✅ 104s
@o3r/styling/dist-test/it-report.xml 8✅ 477s
@o3r/testing/dist-test/it-report.xml 2✅ 2⚪ 195s
@o3r/third-party/dist-test/it-report.xml 1✅ 74s
@o3r/workspace/dist-test/it-report.xml 5✅ 428s

✅ @ama-sdk/create/dist-test/it-report.xml

7 tests were completed in 511s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new sdk command 7✅ 501s

✅ Create new sdk command

Create new sdk command should generate a light SDK when the specification is provided
  ✅ Create new sdk command should generate a light SDK when the specification is provided
Create new sdk command should generate a full SDK when the specification is provided
  ✅ Create new sdk command should generate a full SDK when the specification is provided
Create new sdk command should generate a full SDK when the specification is provided as npm dependency
  ✅ Create new sdk command should generate a full SDK when the specification is provided as npm dependency
Create new sdk command should generate an SDK with no package scope
  ✅ Create new sdk command should generate an SDK with no package scope
Create new sdk command should generate an empty SDK ready to be used
  ✅ Create new sdk command should generate an empty SDK ready to be used
Create new sdk command should fail when there is an error
  ✅ Create new sdk command should fail when there is an error
Create new sdk command should use pinned versions when --exact-o3r-version is used
  ✅ Create new sdk command should use pinned versions when --exact-o3r-version is used

✅ @ama-sdk/schematics/dist-test/it-report.xml

No tests found

✅ @o3r/analytics/dist-test/it-report.xml

2 tests were completed in 126s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ng add analytics 2✅ 112s

✅ ng add analytics

ng add analytics should add analytics to an application
  ✅ ng add analytics should add analytics to an application
ng add analytics should add analytics to a library
  ✅ ng add analytics should add analytics to a library

✅ @o3r/apis-manager/dist-test/it-report.xml

1 tests were completed in 64s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with apis-manager 1✅ 54s

✅ new otter application with apis-manager

new otter application with apis-manager should add apis-manager to existing application
  ✅ new otter application with apis-manager should add apis-manager to existing application

✅ @o3r/application/dist-test/it-report.xml

1 tests were completed in 67s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new Angular application 1✅ 53s

✅ new Angular application

new Angular application should add Otter Application to existing Angular app
  ✅ new Angular application should add Otter Application to existing Angular app

✅ @o3r/components/dist-test/it-report.xml

8 tests were completed in 436s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 418s
ng add components 2✅ 141s

✅ check metadata migration

check metadata migration should not throw
  ✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
  ✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
  ✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
  ✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
  ✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
  ✅ check metadata migration should throw because of unused migration data

✅ ng add components

ng add components should add components to an application
  ✅ ng add components should add components to an application
ng add components should add components to a library
  ✅ ng add components should add components to a library

✅ @o3r/configuration/dist-test/it-report.xml

2 tests were completed in 131s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with configuration 2✅ 116s

✅ new otter application with configuration

new otter application with configuration should add configuration to an application
  ✅ new otter application with configuration should add configuration to an application
new otter application with configuration should add configuration to a library
  ✅ new otter application with configuration should add configuration to a library

✅ @o3r/core/dist-test/it-report.xml

1 tests were completed in 439s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application 1✅ 420s

✅ new otter application

new otter application should build empty app
  ✅ new otter application should build empty app

✅ @o3r/create/dist-test/it-report.xml

3 tests were completed in 239s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new otter project command 3✅ 230s

✅ Create new otter project command

Create new otter project command should generate a project with an application
  ✅ Create new otter project command should generate a project with an application
Create new otter project command should generate a project with a library
  ✅ Create new otter project command should generate a project with a library
Create new otter project command should generate a project with an application with --exact-o3r-version
  ✅ Create new otter project command should generate a project with an application with --exact-o3r-version

✅ @o3r/design/dist-test/it-report.xml

1 tests were completed in 66s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with Design 1✅ 52s

✅ new otter application with Design

new otter application with Design should add design to existing application
  ✅ new otter application with Design should add design to existing application

❌ @o3r/eslint-config-otter/dist-test/it-report.xml

2 tests were completed in 59s with 0 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ng add eslint-config 2❌ 49s

❌ ng add eslint-config

ng add eslint-config should add eslint-config to an application
  ❌ ng add eslint-config should add eslint-config to an application
	Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-app
ng add eslint-config should add eslint-config to a library
  ❌ ng add eslint-config should add eslint-config to a library
	Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-lib

✅ @o3r/eslint-config/dist-test/it-report.xml

3 tests were completed in 374s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with eslint config 3✅ 358s

✅ new otter application with eslint config

new otter application with eslint config should add eslint config to existing application
  ✅ new otter application with eslint config should add eslint config to existing application
new otter application with eslint config should add eslint config to existing library
  ✅ new otter application with eslint config should add eslint config to existing library
new otter application with eslint config should add eslint config to existing repository
  ✅ new otter application with eslint config should add eslint config to existing repository

✅ @o3r/extractors/dist-test/it-report.xml

3 tests were completed in 260s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aggregate migration scripts 1✅ 194s
ng add extractors 2✅ 242s

✅ aggregate migration scripts

aggregate migration scripts should create migration scripts including lib content
  ✅ aggregate migration scripts should create migration scripts including lib content

✅ ng add extractors

ng add extractors should add extractors to an application
  ✅ ng add extractors should add extractors to an application
ng add extractors should add extractors to a library
  ✅ ng add extractors should add extractors to a library

✅ @o3r/localization/dist-test/it-report.xml

8 tests were completed in 505s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 488s
ng add otter localization 2✅ 161s

✅ check metadata migration

check metadata migration should not throw
  ✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
  ✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
  ✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
  ✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
  ✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
  ✅ check metadata migration should throw because of unused migration data

✅ ng add otter localization

ng add otter localization should add localization to an application
  ✅ ng add otter localization should add localization to an application
ng add otter localization should add localization to a library
  ✅ ng add otter localization should add localization to a library

✅ @o3r/new-version/dist-test/it-report.xml

1 tests were completed in 47s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
undefined 1✅ 37s

✅ undefined

 should add Otter Application to existing Angular app
  ✅ should add Otter Application to existing Angular app

✅ @o3r/pipeline/dist-test/it-report.xml

2 tests were completed in 76s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter project 2✅ 65s

✅ new otter project

new otter project should add a GitHub pipeline to existing project
  ✅ new otter project should add a GitHub pipeline to existing project
new otter project should add a GitHub pipeline to existing project with custom runner and registry
  ✅ new otter project should add a GitHub pipeline to existing project with custom runner and registry

✅ @o3r/rules-engine/dist-test/it-report.xml

2 tests were completed in 124s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ng add rules-engine 2✅ 113s

✅ ng add rules-engine

ng add rules-engine should add rules engine to an application
  ✅ ng add rules-engine should add rules engine to an application
ng add rules-engine should add rules engine to a library
  ✅ ng add rules-engine should add rules engine to a library

✅ @o3r/stylelint-plugin/dist-test/it-report.xml

2 tests were completed in 104s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ng add stylelint-plugin 2✅ 94s

✅ ng add stylelint-plugin

ng add stylelint-plugin should add stylelint-plugin to an application
  ✅ ng add stylelint-plugin should add stylelint-plugin to an application
ng add stylelint-plugin should add stylelint-plugin to a library
  ✅ ng add stylelint-plugin should add stylelint-plugin to a library

✅ @o3r/styling/dist-test/it-report.xml

8 tests were completed in 477s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 457s
ng add styling 2✅ 162s

✅ check metadata migration

check metadata migration should not throw
  ✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
  ✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
  ✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
  ✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
  ✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
  ✅ check metadata migration should throw because of unused migration data

✅ ng add styling

ng add styling should add styling to an application
  ✅ ng add styling should add styling to an application
ng add styling should add styling to a library
  ✅ ng add styling should add styling to a library

✅ @o3r/testing/dist-test/it-report.xml

4 tests were completed in 195s with 2 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
ng add testing 2✅ 2⚪ 181s

✅ ng add testing

ng add testing should add testing to an application
  ✅ ng add testing should add testing to an application
ng add testing should add testing to an application and fixture to component
  ✅ ng add testing should add testing to an application and fixture to component
ng add testing should add testing to a library
  ⚪ ng add testing should add testing to a library
ng add testing should add testing to a library and fixture to component
  ⚪ ng add testing should add testing to a library and fixture to component

✅ @o3r/third-party/dist-test/it-report.xml

1 tests were completed in 74s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new Angular application 1✅ 62s

✅ new Angular application

new Angular application should add Otter Third Party to existing Angular app
  ✅ new Angular application should add Otter Third Party to existing Angular app

✅ @o3r/workspace/dist-test/it-report.xml

5 tests were completed in 428s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter workspace 5✅ 413s

✅ new otter workspace

new otter workspace should add sdk to an existing workspace
  ✅ new otter workspace should add sdk to an existing workspace
new otter workspace should add sdk to an existing workspace with local spec
  ✅ new otter workspace should add sdk to an existing workspace with local spec
new otter workspace should add sdk to an existing workspace with spec package name
  ✅ new otter workspace should add sdk to an existing workspace with spec package name
new otter workspace should add a library to an existing workspace
  ✅ new otter workspace should add a library to an existing workspace
new otter workspace should generate a monorepo setup
  ✅ new otter workspace should generate a monorepo setup

Annotations

Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-ubuntu-latest-npm

ng add eslint-config ► ng add eslint-config should add eslint-config to an application ► ng add eslint-config should add eslint-config to an application

Failed test found in:
  @o3r/eslint-config-otter/dist-test/it-report.xml
Error:
  Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-app
Raw output
Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-app
STDERR:
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/eslint
npm error   peer eslint@">=8.57.0 <9.15.0" from @o3r/[email protected]
npm error   node_modules/@o3r/eslint-config-otter
npm error     @o3r/eslint-config-otter@"~999" from the root project
npm error   peer eslint@"^8.57.0 || ^9.0.0" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/builder
npm error     peerOptional @angular-eslint/builder@"~18.4.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   9 more (@angular-eslint/eslint-plugin, ...)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^8.56.0" from @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/parser
npm error   peer @typescript-eslint/parser@"^7.14.1 || ^8.0.0" from @o3r/[email protected]
npm error   node_modules/@o3r/eslint-config-otter
npm error     @o3r/eslint-config-otter@"~999" from the root project
npm error   peerOptional @typescript-eslint/parser@"^7.11.0 || ^8.0.0" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/test-utils
npm error     peer @angular-eslint/test-utils@"~18.4.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-plugin
npm error       peer @o3r/eslint-plugin@"^999.0.1732302337797" from @o3r/[email protected]
npm error       node_modules/@o3r/eslint-config-otter
npm error   1 more (@typescript-eslint/eslint-plugin)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-11-22T19_28_39_819Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-11-22T19_28_39_819Z-debug-0.log
✖ Installing package [FAILED: Unable to install package]

OUTPUT:
,❯ Determining Package Manager
› Using package manager: npm
✔ Determining Package Manager
❯ Loading package information from registry
✔ Loading package information from registry
,npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/eslint
npm error   peer eslint@">=8.57.0 <9.15.0" from @o3r/[email protected]
npm error   node_modules/@o3r/eslint-config-otter
npm error     @o3r/eslint-config-otter@"~999" from the root project
npm error   peer eslint@"^8.57.0 || ^9.0.0" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/builder
npm error     peerOptional @angular-eslint/builder@"~18.4.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   9 more (@angular-eslint/eslint-plugin, ...)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^8.56.0" from @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/parser
npm error   peer @typescript-eslint/parser@"^7.14.1 || ^8.0.0" from @o3r/[email protected]
npm error   node_modules/@o3r/eslint-config-otter
npm error     @o3r/eslint-config-otter@"~999" from the root project
npm error   peerOptional @typescript-eslint/parser@"^7.11.0 || ^8.0.0" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/test-utils
npm error     peer @angular-eslint/test-utils@"~18.4.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-plugin
npm error       peer @o3r/eslint-plugin@"^999.0.1732302337797" from @o3r/[email protected]
npm error       node_modules/@o3r/eslint-config-otter
npm error   1 more (@typescript-eslint/eslint-plugin)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-11-22T19_28_39_819Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-11-22T19_28_39_819Z-debug-0.log
✖ Installing package [FAILED: Unable to install package]

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:178:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/eslint-config-otter/schematics/index.it.spec.ts:21:23)
    at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)

Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-ubuntu-latest-npm

ng add eslint-config ► ng add eslint-config should add eslint-config to a library ► ng add eslint-config should add eslint-config to a library

Failed test found in:
  @o3r/eslint-config-otter/dist-test/it-report.xml
Error:
  Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-lib
Raw output
Error: Command failed: npm exec ng add @o3r/eslint-config-otter@~999 -- --skip-confirmation --project-name test-lib
STDERR:
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/eslint
npm error   peer eslint@">=8.57.0 <9.15.0" from @o3r/[email protected]
npm error   node_modules/@o3r/eslint-config-otter
npm error     @o3r/eslint-config-otter@"~999" from the root project
npm error   peer eslint@"^8.57.0 || ^9.0.0" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/builder
npm error     peerOptional @angular-eslint/builder@"~18.4.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   9 more (@angular-eslint/eslint-plugin, ...)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^8.56.0" from @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/parser
npm error   peer @typescript-eslint/parser@"^7.14.1 || ^8.0.0" from @o3r/[email protected]
npm error   node_modules/@o3r/eslint-config-otter
npm error     @o3r/eslint-config-otter@"~999" from the root project
npm error   peerOptional @typescript-eslint/parser@"^7.11.0 || ^8.0.0" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/test-utils
npm error     peer @angular-eslint/test-utils@"~18.4.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-plugin
npm error       peer @o3r/eslint-plugin@"^999.0.1732302337797" from @o3r/[email protected]
npm error       node_modules/@o3r/eslint-config-otter
npm error   1 more (@typescript-eslint/eslint-plugin)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-11-22T19_29_03_433Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-11-22T19_29_03_433Z-debug-0.log
✖ Installing package [FAILED: Unable to install package]

OUTPUT:
,❯ Determining Package Manager
› Using package manager: npm
✔ Determining Package Manager
❯ Loading package information from registry
✔ Loading package information from registry
,npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/eslint
npm error   peer eslint@">=8.57.0 <9.15.0" from @o3r/[email protected]
npm error   node_modules/@o3r/eslint-config-otter
npm error     @o3r/eslint-config-otter@"~999" from the root project
npm error   peer eslint@"^8.57.0 || ^9.0.0" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/builder
npm error     peerOptional @angular-eslint/builder@"~18.4.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       @o3r/eslint-config-otter@"~999" from the root project
npm error   9 more (@angular-eslint/eslint-plugin, ...)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^8.56.0" from @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/parser
npm error   peer @typescript-eslint/parser@"^7.14.1 || ^8.0.0" from @o3r/[email protected]
npm error   node_modules/@o3r/eslint-config-otter
npm error     @o3r/eslint-config-otter@"~999" from the root project
npm error   peerOptional @typescript-eslint/parser@"^7.11.0 || ^8.0.0" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/test-utils
npm error     peer @angular-eslint/test-utils@"~18.4.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-plugin
npm error       peer @o3r/eslint-plugin@"^999.0.1732302337797" from @o3r/[email protected]
npm error       node_modules/@o3r/eslint-config-otter
npm error   1 more (@typescript-eslint/eslint-plugin)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-11-22T19_29_03_433Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-11-22T19_29_03_433Z-debug-0.log
✖ Installing package [FAILED: Unable to install package]

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:178:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/eslint-config-otter/schematics/index.it.spec.ts:50:23)
    at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)