Skip to content

Conversation

@botlin
Copy link
Contributor

@botlin botlin commented Nov 27, 2025

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

@botlin botlin requested a review from LyubovSugak November 27, 2025 13:10
@LyubovSugak LyubovSugak requested a review from Copilot November 27, 2025 13:14
Copy link
Contributor

Copilot AI left a 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.

@botlin botlin merged commit 82c7c67 into master Dec 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants