Add product variants API, deployment scripts, and documentation

- Add Node.js variant-api server with PostgreSQL integration
- Add new utility scripts for system verification and website status
- Update CI/CD workflow configuration
- Add color variant solution documentation
- Add product variants JavaScript support
- Update gitignore for new build artifacts
This commit is contained in:
2025-12-12 22:40:46 -06:00
parent c16d9743a2
commit 4a8efe17bb
152 changed files with 13767 additions and 0 deletions

23
variant-api/node_modules/pgpass/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
'use strict';
var path = require('path')
, fs = require('fs')
, helper = require('./helper.js')
;
module.exports = function(connInfo, cb) {
var file = helper.getFileName();
fs.stat(file, function(err, stat){
if (err || !helper.usePgPass(stat, file)) {
return cb(undefined);
}
var st = fs.createReadStream(file);
helper.getPassword(connInfo, st, cb);
});
};
module.exports.warnTo = helper.warnTo;