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

[Bug]: generated otter library contains otter testing and jest #1765

Open
vscaiceanu-1a opened this issue May 7, 2024 · 0 comments
Open
Labels
bug Something isn't working triage

Comments

@vscaiceanu-1a
Copy link
Member

Package name

workspace

Package version

10.2.1

Reproduction steps

npm create @o3r my-workspace
cd my workspace
ng g library my-lib

Current result

CREATE libs/my-lib/README.md (978 bytes)
CREATE libs/my-lib/ng-package.json (181 bytes)
CREATE libs/my-lib/package.json (1100 bytes)
CREATE libs/my-lib/tsconfig.lib.json (329 bytes)
CREATE libs/my-lib/tsconfig.lib.prod.json (240 bytes)
CREATE libs/my-lib/tsconfig.spec.json (277 bytes)
CREATE libs/my-lib/src/public-api.ts (118 bytes)
CREATE libs/my-lib/src/lib/my-lib.component.spec.ts (590 bytes)
CREATE libs/my-lib/src/lib/my-lib.component.ts (223 bytes)
CREATE libs/my-lib/src/lib/my-lib.service.spec.ts (353 bytes)
CREATE libs/my-lib/src/lib/my-lib.service.ts (134 bytes)
CREATE libs/my-lib/.gitignore (13 bytes)
CREATE libs/my-lib/.npmignore (0 bytes)
CREATE libs/my-lib/jest.config.js (1095 bytes)
CREATE libs/my-lib/tsconfig.builders.json (463 bytes)
CREATE libs/my-lib/tsconfig.json (185 bytes)
CREATE libs/my-lib/testing/setup-jest.ts (42 bytes)
UPDATE angular.json (1341 bytes)
UPDATE package.json (1424 bytes)
UPDATE tsconfig.json (912 bytes)
✔ Packages installed successfully.

Expected result

Nothing linked to jest.
Only ng add @o3r/testing should add jest.

Additional comments

No response

@vscaiceanu-1a vscaiceanu-1a added bug Something isn't working triage labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant