Update web manifest and robots.txt for project rebranding

Signed-off-by: Snider <snider@lt.hn>
This commit is contained in:
Snider 2025-11-04 13:13:51 +00:00
parent e0cf77c64a
commit 09aa39c42c
3 changed files with 3 additions and 52 deletions

View file

@ -1,6 +1,6 @@
{
"name": "angular-starter",
"short_name": "angular-starter",
"name": "Core Framework",
"short_name": "Core",
"display": "standalone",
"scope": "./",
"start_url": "./",

View file

@ -1,3 +1,3 @@
User-agent: *
Disallow:
Sitemap: https://angular.ganatan.com/sitemap.xml
Sitemap: /sitemap.xml

View file

@ -1,49 +0,0 @@
'use strict';
const fs = require('fs');
const path = require('path');
function getDirectoryStructure(dirPath, level = 0) {
const files = fs.readdirSync(dirPath);
let structure = '';
files.forEach(file => {
const fullPath = path.join(dirPath, file);
const isDirectory = fs.lstatSync(fullPath).isDirectory();
structure += `${' '.repeat(level)}|-- ${file}\n`;
if (isDirectory) {
structure += getDirectoryStructure(fullPath, level + 1);
}
});
return structure;
}
function generateStructureForFolders(folders) {
let fullStructure = '';
folders.forEach(folder => {
const folderPath = path.join(__dirname, '..', '..', folder);
if (fs.existsSync(folderPath)) {
fullStructure += `\nStructure of ${folder}:\n`;
fullStructure += getDirectoryStructure(folderPath);
} else {
fullStructure += `\n${folder} directory does not exist.\n`;
}
});
return fullStructure;
}
const foldersToInspect = ['src', 'tools'];
const projectStructure = generateStructureForFolders(foldersToInspect);
console.log(projectStructure);
module.exports = {
getDirectoryStructure,
generateStructureForFolders,
};