fix(dependencies): Update dependency references and bump version numbers; adjust workflow and template commands

This commit is contained in:
2025-04-15 21:52:08 +00:00
parent 27ef8f28a0
commit 99e2d08a83
9 changed files with 8990 additions and 3473 deletions

View File

@@ -36,7 +36,7 @@ export class ScafTemplate {
/**
* the files of the template as array of Smartfiles
*/
public templateSmartfileArray: plugins.smartfile.Smartfile[];
public templateSmartfileArray: plugins.smartfile.SmartFile[];
public requiredVariables: string[];
public defaultVariables: any;
public suppliedVariables: any = {};
@@ -118,7 +118,7 @@ export class ScafTemplate {
const answerBucket = await localSmartInteract.runQueue();
const answers = answerBucket.getAllAnswers();
for (const answer of answers) {
await plugins.smartparam.smartAdd(this.suppliedVariables, answer.name, answer.value);
await plugins.smartobject.smartAdd(this.suppliedVariables, answer.name, answer.value);
}
}
@@ -128,7 +128,7 @@ export class ScafTemplate {
*/
public async writeToDisk(destinationDirArg) {
this.destinationPath = destinationDirArg;
const smartfileArrayToWrite: plugins.smartfile.Smartfile[] = [];
const smartfileArrayToWrite: plugins.smartfile.SmartFile[] = [];
for (const smartfile of this.templateSmartfileArray) {
// lets filter out template files
if (smartfile.path === '.smartscaf.yml') {