0a5ab058a6
- Angular 12 application with PrimeNG components - 5 existing Cypress e2e test suites - SCSS styling with BEM naming convention - i18n support (10 languages) - Leaflet map integration - Complete component hierarchy and routing structure This baseline will be used for Angular → React migration.
11 lines
358 B
JavaScript
11 lines
358 B
JavaScript
var releaseRegex = /release (..)/
|
|
var codenameRegex = /\((.*)\)/
|
|
|
|
module.exports = function fedoraCustomLogic (os, file, cb) {
|
|
var release = file.match(releaseRegex)
|
|
if (release && release.length === 2) os.release = release[1]
|
|
var codename = file.match(codenameRegex)
|
|
if (codename && codename.length === 2) os.codename = codename[1]
|
|
cb(null, os)
|
|
}
|