feat: add sqlstring and supports-color modules

- Introduced sqlstring module for SQL escape and formatting.
- Added supports-color module to detect terminal color support.
- Created dashboard and login views with Bootstrap styling.
- Implemented user schema in SQL with mock data for testing.
This commit is contained in:
2025-06-20 22:57:32 +02:00
parent b6f72d059d
commit 63d120cc4e
479 changed files with 75965 additions and 11 deletions

30
backend/node_modules/jake/lib/task/directory_task.js generated vendored Normal file
View File

@@ -0,0 +1,30 @@
let fs = require('fs');
let FileTask = require('./file_task').FileTask;
/**
@name jake
@namespace jake
*/
/**
@name jake.DirectoryTask
@constructor
@augments EventEmitter
@augments jake.Task
@augments jake.FileTask
@description A Jake DirectoryTask
@param {String} name The name of the directory to create.
*/
class DirectoryTask extends FileTask {
constructor(...args) {
super(...args);
if (fs.existsSync(this.name)) {
this.updateModTime();
}
else {
this.modTime = null;
}
}
}
exports.DirectoryTask = DirectoryTask;