-
Notifications
You must be signed in to change notification settings - Fork 2
Feature/tippi 795 repo maintainance #324
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
Conversation
…d replaced npm with yarn
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.
Pull request overview
This PR modernizes the repository's technical foundation by upgrading to Node.js 24, introducing TypeScript support, and establishing comprehensive linting with ESLint and SonarCloud integration. The changes also migrate from npm to yarn and add the secure flag to test cookie settings.
Key Changes:
- Upgraded Node.js to version 24 and migrated package manager from npm to yarn
- Introduced TypeScript configuration with ts-jest and comprehensive type definitions
- Replaced legacy ESLint configuration with modern flat config including TypeScript and stylistic rules
Reviewed changes
Copilot reviewed 12 out of 15 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated Node.js to v24, migrated to yarn, added TypeScript and updated dependencies |
| eslint.config.js | New flat ESLint configuration with TypeScript, import, and stylistic plugins |
| .eslintrc.js | Removed legacy ESLint configuration file |
| tests/cmp/cmp_custom_vendor_mapping.test.js | Added secure flag to test cookie assignments |
| tests/brandstory/brsndstory_scrolldepth.test.js | Added secure flag to test cookie assignments |
| backup/doPlugins/bild.js | Added secure flag to cookie setting in backup file |
| backup/doPlugins/bild-bild.js | Added secure flag to cookie setting in backup file |
| backup/cmp_custom_vendor_mapping/welt.js | Added secure flag to cookie deletion in backup file |
| README.md | Updated documentation to use yarn instead of npm |
| .sonarcloud.properties | Added SonarCloud configuration for code analysis |
| .github/workflows/feature.yml | Updated CI workflow to use Node 24, yarn, and newer action versions |
| .github/pull_request_template.md | Added standardized PR template |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
What does this change?
Setup NodeJs 24
Setup TypeScript
Setup EsLint and SonarCloud
Why?
We want to maintain this repository and therefor we want to improve the technical foundation
Link to supporting ticket or Screenshots (if applicable)
https://axelspringer.atlassian.net/browse/TIPPI-795