fix: the tsconfig spec generated for library contains several issues #13646
Annotations
2 errors and 2 warnings
Test:
packages/@o3r/workspace/schematics/index.it.spec.ts#L123
expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: npm exec ng test -- --watch=false --browsers=ChromeHeadless
STDERR:
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
Error: error TS6304: Composite projects may not disable declaration emit.···
Error: libs/untouched-lib/src/lib/untouched-lib.component.spec.ts:3:39 - error TS6307: File 'D:/a/otter/it-tests/test-app-workspace3/libs/untouched-lib/src/lib/untouched-lib.component.ts' is not listed within the file list of project 'D:/a/otter/it-tests/test-app-workspace3/libs/untouched-lib/tsconfig.spec.json'. Projects must list all files or use an 'include' pattern.···
3 import { UntouchedLibComponent } from './untouched-lib.component';·
~~~~~~~~~~~~~~~~~~~~~~~~~~~···
Error: libs/untouched-lib/src/lib/untouched-lib.service.spec.ts:3:37 - error TS6307: File 'D:/a/otter/it-tests/test-app-workspace3/libs/untouched-lib/src/lib/untouched-lib.service.ts' is not listed within the file list of project 'D:/a/otter/it-tests/test-app-workspace3/libs/untouched-lib/tsconfig.spec.json'. Projects must list all files or use an 'include' pattern.···
3 import { UntouchedLibService } from './untouched-lib.service';·
~~~~~~~~~~~~~~~~~~~~~~~~~···
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
Error: error TS6304: Composite projects may not disable declaration emit.···
Error: libs/test-lib/src/lib/test-lib.component.spec.ts:3:34 - error TS6307: File 'D:/a/otter/it-tests/test-app-workspace3/libs/test-lib/src/lib/test-lib.component.ts' is not listed within the file list of project 'D:/a/otter/it-tests/test-app-workspace3/libs/test-lib/tsconfig.spec.json'. Projects must list all files or use an 'include' pattern.···
3 import { TestLibComponent } from './test-lib.component';·
~~~~~~~~~~~~~~~~~~~~~~···
Error: libs/test-lib/src/lib/test-lib.service.spec.ts:3:32 - error TS6307: File 'D:/a/otter/it-tests/test-app-workspace3/libs/test-lib/src/lib/test-lib.service.ts' is not listed within the file list of project 'D:/a/otter/it-tests/test-app-workspace3/libs/test-lib/tsconfig.spec.json'. Projects must list all files or use an 'include' pattern.···
3 import { TestLibService } from './test-lib.service';·
~~~~~~~~~~~~~~~~~~~~···
✔ Browser application bundle generation complete.
✔ Browser application bundle generation complete.
- Generating browser application bundles (phase: setup)...
✔ Browser application bundle generation complete.
Error: error TS6304: Composite projects may not disable declaration emit.···
Error: libs/test-library/src/lib/test-library.component.spec.ts:3:38 - error TS6307: File 'D:/a/otter/it-tests/test-app-workspace3/libs/test-library/src/lib/test-library.component.ts' is not listed within the file list of project 'D:/a/otter/it-tests/test-app-workspace3/libs/test-library/tsconfig.spec.json'. Projects must list all files or use an 'include' pattern.···
3 import { TestLibraryComponent } from './test-library.component';·
~~~~~~~~~~~~~~~~~~~~~~~~~~···
Error: libs/test-library/src/lib/test-library.service.spec.ts:3:36 - error TS6307: File 'D:/a/otter/it-tests/test-app-workspace3/libs/test-library/src/lib/test-library.service.ts' is not listed within the file list of project 'D:/a/otter/it-tests/test-app-workspace3/libs/test-library/tsconfig.spec
|
Test
Process completed with exit code 1.
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Loading