Files
templates/package.json
Jainil Prajapati 🪐 8142693922 The meta.json glow-up nobody saw coming (#281)
* removed

n8n (appears 2 times)
Authelia (appears 2 times)
SupaBase (appears 2 times)
Livekit (appears 2 times)
WG-Easy (appears 2 times)
Open Notebook (appears 2 times)
Booklore (appears 2 times)
Scrypted (appears 2 times)
Wallos (appears 2 times)
Statping-NG (appears 2 times)

* Replace application catalog entries with new software entries

* Test 1

* Updated Scripts

* Final Test

* Fix

* Remove redundant dependency installation steps from GitHub Actions workflow

* Test 2

* Update meta sorting logic to ASCII order and add --backup option for deduplication

* Fix meta.json: Remove duplicates and apply correct ASCII sorting

- Remove duplicate entries: scrypted, searxng (243 → 241 entries)
- Fix sorting algorithm to use ASCII order for CI/CD compatibility
- Update both dedupe-and-sort-meta.js and build-scripts/process-meta.js
- Add missing --backup CLI argument to build script
- Ensure consistent sorting across all processing interfaces

* Fix CI/CD pipeline: Count JSON entries instead of lines

- Update validate-meta.yml to count JSON entries using Node.js instead of wc -l
- Add custom JSON formatting functions to both processing scripts
- Ensure consistent output formatting across all processing interfaces
- Fix false positive where line count increased due to expanded JSON formatting

The CI/CD failure was caused by counting file lines (4124) instead of actual
JSON entries (241). Both files now produce identical results with proper
entry counting in the validation workflow.

* Fix meta.json formatting to match processing script output

- Apply consistent JSON formatting to meta.json using processing script
- Ensure file formatting matches expected CI/CD workflow output
- Files now pass diff comparison in validation workflow

This resolves the CI/CD pipeline failure where files had identical content
but different formatting, causing diff validation to fail.

* Test 3

* Removed duplicate and action worked :)

* Remove pull_request_template.md

* Remove duplicate meta entries to prevent processing conflicts

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
2025-08-16 00:20:14 -06:00

32 lines
919 B
JSON

{
"name": "template-meta-processor",
"version": "1.0.0",
"description": "Production scripts for processing meta.json - remove duplicates and sort alphabetically",
"main": "build-scripts/process-meta.js",
"scripts": {
"process-meta": "node dedupe-and-sort-meta.js",
"process-meta-verbose": "node build-scripts/process-meta.js --verbose",
"process-meta-with-backup": "node build-scripts/process-meta.js --backup",
"validate-meta": "node build-scripts/process-meta.js --no-backup --verbose",
"build": "npm run process-meta",
"prebuild": "echo 'Processing meta.json for production build...'",
"postbuild": "echo 'Meta.json processing completed!'"
},
"keywords": [
"meta",
"json",
"dedupe",
"sort",
"build",
"production"
],
"author": "",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"nodemon": "^3.0.0"
}
}