From 71bbbcabba472ce48fbb764b7f86166bf7ac5a9a Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:12:27 -0400 Subject: [PATCH 01/18] adding new ./src/generators/jetstream/generateConfigJetstream.ts --- .../jetstream/generateConfigJetstream.ts | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/generators/jetstream/generateConfigJetstream.ts diff --git a/src/generators/jetstream/generateConfigJetstream.ts b/src/generators/jetstream/generateConfigJetstream.ts new file mode 100644 index 00000000..34d1046c --- /dev/null +++ b/src/generators/jetstream/generateConfigJetstream.ts @@ -0,0 +1,35 @@ +// ./src/generators/jetstream/generateConfigJetstream.ts + +import fs from 'fs-extra' + +import cwd from '../../helpers/cwd.js' +import projectFileDoesExist from '../../helpers/projectFileDoesExist.js' + +export default function (jetstreamGitignoreText:string): string { + + const filename = 'jetstream.php' + const filepath = '/config/' + filename + + if ( projectFileDoesExist(filepath) ) { + + fs.readFile(cwd + filepath, 'utf8', function(err, data) { + + // error check + if (err) { throw err } + + let modifiedData = String(data).replace( + /\/\/Features::termsAndPrivacyPolicy(),/g, 'Features::termsAndPrivacyPolicy(),' + ).replace( + /\/\/Features::api(),/g, 'Features::api(),' + ) + + // If no error, then overwrite the current gitignore file content wrapped in VILT DS gitignore code + // fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(String(data)), { flag: 'w+' }) + + }) + + } + + return '' + +} \ No newline at end of file From fe3e2ab46c02d646c91c9a19bf4b32da5ab71392 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:12:37 -0400 Subject: [PATCH 02/18] adding new ./cli/helpers/consoleLogMsgSuccess.ts --- src/helpers/consoleLogMsgSuccess.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/helpers/consoleLogMsgSuccess.ts diff --git a/src/helpers/consoleLogMsgSuccess.ts b/src/helpers/consoleLogMsgSuccess.ts new file mode 100644 index 00000000..b8aaa9ac --- /dev/null +++ b/src/helpers/consoleLogMsgSuccess.ts @@ -0,0 +1,17 @@ +// ./cli/helpers/consoleLogMsgSuccess.ts + +import gradientText from './gradientText.js' + +export default function (string:string, prefixLineBreak:boolean = false, suffixLineBreak:boolean = false): void { + + if (prefixLineBreak) { + console.log(' ') + } + + console.log(gradientText(string)) + + if (suffixLineBreak) { + console.log(' ') + } + +} From bfee98165c3b0c10f423fca52446773bee95d4c0 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:12:59 -0400 Subject: [PATCH 03/18] adding new ./src/helpers/projectFileDoesExist.ts --- src/helpers/projectFileDoesExist.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/helpers/projectFileDoesExist.ts diff --git a/src/helpers/projectFileDoesExist.ts b/src/helpers/projectFileDoesExist.ts new file mode 100644 index 00000000..6cf446ac --- /dev/null +++ b/src/helpers/projectFileDoesExist.ts @@ -0,0 +1,20 @@ +// ./src/helpers/projectFileDoesExist.ts + +import fs from 'fs-extra' + +import cwd from './cwd.js' + +export default function (filepath:string): boolean { + + const currentFilepath = cwd + filepath + + try { + if (fs.existsSync(currentFilepath)) { + return true + } + } catch(err) { + console.error(err) + return false + } + +} From e917131834a055d07c52383725f5780b538540b4 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:13:13 -0400 Subject: [PATCH 04/18] adding new ./src/updaters/jetstream/updateConfigJetstream.ts --- .../jetstream/updateConfigJetstream.ts | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/updaters/jetstream/updateConfigJetstream.ts diff --git a/src/updaters/jetstream/updateConfigJetstream.ts b/src/updaters/jetstream/updateConfigJetstream.ts new file mode 100644 index 00000000..7d1bb001 --- /dev/null +++ b/src/updaters/jetstream/updateConfigJetstream.ts @@ -0,0 +1,33 @@ +// ./src/updaters/jetstream/updateConfigJetstream.ts + +import fs from 'fs-extra' + +import cwd from '../../helpers/cwd.js' +import projectFileDoesExist from '../../helpers/projectFileDoesExist.js' + +export default function (): void { + + const filename = 'jetstream.php' + const filepath = '/config/' + filename + + if ( projectFileDoesExist(filepath) ) { + + fs.readFile(cwd + filepath, 'utf8', function(err, data) { + + // error check + if (err) { throw err } + + let modifiedData = String(data).replace( + /\/\/Features::termsAndPrivacyPolicy(),/g, 'Features::termsAndPrivacyPolicy(),' + ).replace( + /\/\/Features::api(),/g, 'Features::api(),' + ) + + // If no error, then overwrite the current config/jetstream.php file content with the modifications + fs.outputFileSync(cwd + filepath, modifiedData, { flag: 'w+' }) + + }) + + } + +} \ No newline at end of file From fbf1e3dd247841e1e6c3d0c0ff5cb3fa918b706c Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:13:25 -0400 Subject: [PATCH 05/18] adding new ./src/updaters/jetstream/updateJetstreamGitignore.ts --- .../jetstream/updateJetstreamGitignore.ts | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/updaters/jetstream/updateJetstreamGitignore.ts diff --git a/src/updaters/jetstream/updateJetstreamGitignore.ts b/src/updaters/jetstream/updateJetstreamGitignore.ts new file mode 100644 index 00000000..a159c8dc --- /dev/null +++ b/src/updaters/jetstream/updateJetstreamGitignore.ts @@ -0,0 +1,30 @@ +// ./src/updaters/jetstream/updateJetstreamGitignore.ts + +import fs from 'fs-extra' + +import generateJetstreamGitignore from '../../generators/jetstream/generateJetstreamGitignore.js' + +import cwd from '../../helpers/cwd.js' +import ifProjectFileExists from '../../helpers/ifProjectFileExists.js' + +export default function (): void { + + const filepath = '/.gitignore' + + // check if user's current repo root directory has a Laravel/Jetstream .gitignore file + if (ifProjectFileExists(filepath)) { + + // extract the contents of the Laravel/Jetstream .gitignore file + fs.readFile(cwd + filepath, 'utf8', function(err, data) { + + // error check + if (err) { throw err } + + // If no error, then overwrite the current gitignore file content wrapped in VILT DS gitignore code + fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(String(data)), { flag: 'w+' }) + + }) + + } + +} From fa6654d5b07436d18cd2ca06529bc12a5b7b3c9e Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:13:50 -0400 Subject: [PATCH 06/18] removing extra trailing line break from generators/jetstream/generateJetstreamGitignore.ts --- src/generators/jetstream/generateJetstreamGitignore.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/generators/jetstream/generateJetstreamGitignore.ts b/src/generators/jetstream/generateJetstreamGitignore.ts index 335ca61a..93705a66 100644 --- a/src/generators/jetstream/generateJetstreamGitignore.ts +++ b/src/generators/jetstream/generateJetstreamGitignore.ts @@ -15,7 +15,6 @@ ${developer} ${mac} ${windows} - `; } From ffa0c50983420a5ed6562fd8c7a97dcdedaf13a2 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:14:25 -0400 Subject: [PATCH 07/18] replacing installJetstreamGitignore() with new updateJetstreamGitignore and adding new updateConfigJetstream() --- src/installers/installViltDsJetstream.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/installers/installViltDsJetstream.ts b/src/installers/installViltDsJetstream.ts index 74dea8b3..ec04bc8b 100644 --- a/src/installers/installViltDsJetstream.ts +++ b/src/installers/installViltDsJetstream.ts @@ -1,9 +1,12 @@ // ./src/installers/installViltDsJetstream.ts -import installJetstreamGitignore from '../installers/jetstream/installJetstreamGitignore.js' +import updateConfigJetstream from '../updaters/jetstream/updateConfigJetstream.js' +import updateJetstreamGitignore from '../updaters/jetstream/updateJetstreamGitignore.js' export default function (): void { - installJetstreamGitignore() + updateJetstreamGitignore() + + updateConfigJetstream() } From 38fbdb4d612593449a264e0da8b647ef2f987148 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:15:01 -0400 Subject: [PATCH 08/18] moving rimraf to proceed all build commands in npm scripts --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 87e498fa..b6812e75 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,12 @@ "main": "src/index.js", "type": "module", "scripts": { - "build": "tsc", + "build": "npx rimraf dist && tsc", "pkg:org": "npm config set scope obewds", "tag": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags", - "bump:patch": "npm version patch && npx rimraf dist && npm run build", - "bump:minor": "npm version minor && npx rimraf dist && npm run build", - "bump:major": "npm version major && npx rimraf dist && npm run build" + "bump:patch": "npm version patch && npm run build", + "bump:minor": "npm version minor && npm run build", + "bump:major": "npm version major && npm run build" }, "files": [ "dist" From 426a282645eb7286a1267e2e2e7a3f91f2b5c5ff Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:15:48 -0400 Subject: [PATCH 09/18] generated fresh build files via tsc --- .../jetstream/generateConfigJetstream.d.ts | 1 + .../jetstream/generateConfigJetstream.js | 21 +++++++++++++++++++ .../jetstream/generateConfigJetstream.js.map | 1 + .../jetstream/generateJetstreamGitignore.js | 1 - .../generateJetstreamGitignore.js.map | 2 +- dist/helpers/consoleLogMsgSuccess.d.ts | 1 + dist/helpers/consoleLogMsgSuccess.js | 12 +++++++++++ dist/helpers/consoleLogMsgSuccess.js.map | 1 + dist/helpers/projectFileDoesExist.d.ts | 1 + dist/helpers/projectFileDoesExist.js | 16 ++++++++++++++ dist/helpers/projectFileDoesExist.js.map | 1 + dist/installers/installViltDsJetstream.js | 6 ++++-- dist/installers/installViltDsJetstream.js.map | 2 +- .../jetstream/updateConfigJetstream.d.ts | 1 + .../jetstream/updateConfigJetstream.js | 20 ++++++++++++++++++ .../jetstream/updateConfigJetstream.js.map | 1 + .../jetstream/updateJetstreamGitignore.d.ts | 1 + .../jetstream/updateJetstreamGitignore.js | 21 +++++++++++++++++++ .../jetstream/updateJetstreamGitignore.js.map | 1 + 19 files changed, 106 insertions(+), 5 deletions(-) create mode 100644 dist/generators/jetstream/generateConfigJetstream.d.ts create mode 100644 dist/generators/jetstream/generateConfigJetstream.js create mode 100644 dist/generators/jetstream/generateConfigJetstream.js.map create mode 100644 dist/helpers/consoleLogMsgSuccess.d.ts create mode 100644 dist/helpers/consoleLogMsgSuccess.js create mode 100644 dist/helpers/consoleLogMsgSuccess.js.map create mode 100644 dist/helpers/projectFileDoesExist.d.ts create mode 100644 dist/helpers/projectFileDoesExist.js create mode 100644 dist/helpers/projectFileDoesExist.js.map create mode 100644 dist/updaters/jetstream/updateConfigJetstream.d.ts create mode 100644 dist/updaters/jetstream/updateConfigJetstream.js create mode 100644 dist/updaters/jetstream/updateConfigJetstream.js.map create mode 100644 dist/updaters/jetstream/updateJetstreamGitignore.d.ts create mode 100644 dist/updaters/jetstream/updateJetstreamGitignore.js create mode 100644 dist/updaters/jetstream/updateJetstreamGitignore.js.map diff --git a/dist/generators/jetstream/generateConfigJetstream.d.ts b/dist/generators/jetstream/generateConfigJetstream.d.ts new file mode 100644 index 00000000..c2427656 --- /dev/null +++ b/dist/generators/jetstream/generateConfigJetstream.d.ts @@ -0,0 +1 @@ +export default function (jetstreamGitignoreText: string): string; diff --git a/dist/generators/jetstream/generateConfigJetstream.js b/dist/generators/jetstream/generateConfigJetstream.js new file mode 100644 index 00000000..aa6a130c --- /dev/null +++ b/dist/generators/jetstream/generateConfigJetstream.js @@ -0,0 +1,21 @@ +// ./src/generators/jetstream/generateConfigJetstream.ts +import fs from 'fs-extra'; +import cwd from '../../helpers/cwd.js'; +import projectFileDoesExist from '../../helpers/projectFileDoesExist.js'; +export default function (jetstreamGitignoreText) { + const filename = 'jetstream.php'; + const filepath = '/config/' + filename; + if (projectFileDoesExist(filepath)) { + fs.readFile(cwd + filepath, 'utf8', function (err, data) { + // error check + if (err) { + throw err; + } + let modifiedData = String(data).replace(/\/\/Features::termsAndPrivacyPolicy(),/g, 'Features::termsAndPrivacyPolicy(),').replace(/\/\/Features::api(),/g, 'Features::api(),'); + // If no error, then overwrite the current gitignore file content wrapped in VILT DS gitignore code + // fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(String(data)), { flag: 'w+' }) + }); + } + return ''; +} +//# sourceMappingURL=generateConfigJetstream.js.map \ No newline at end of file diff --git a/dist/generators/jetstream/generateConfigJetstream.js.map b/dist/generators/jetstream/generateConfigJetstream.js.map new file mode 100644 index 00000000..193559dc --- /dev/null +++ b/dist/generators/jetstream/generateConfigJetstream.js.map @@ -0,0 +1 @@ +{"version":3,"file":"generateConfigJetstream.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generateConfigJetstream.ts"],"names":[],"mappings":"AAAA,wDAAwD;AAExD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AAExE,MAAM,CAAC,OAAO,WAAW,sBAA6B;IAElD,MAAM,QAAQ,GAAG,eAAe,CAAA;IAChC,MAAM,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAA;IAEtC,IAAK,oBAAoB,CAAC,QAAQ,CAAC,EAAG;QAElC,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,IAAI,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CACnC,yCAAyC,EAAE,oCAAoC,CAClF,CAAC,OAAO,CACL,uBAAuB,EAAE,kBAAkB,CAC9C,CAAA;YAED,mGAAmG;YACnG,8FAA8F;QAElG,CAAC,CAAC,CAAA;KAEL;IAED,OAAO,EAAE,CAAA;AAEb,CAAC"} \ No newline at end of file diff --git a/dist/generators/jetstream/generateJetstreamGitignore.js b/dist/generators/jetstream/generateJetstreamGitignore.js index 6c513556..3df87a75 100644 --- a/dist/generators/jetstream/generateJetstreamGitignore.js +++ b/dist/generators/jetstream/generateJetstreamGitignore.js @@ -12,7 +12,6 @@ ${developer} ${mac} ${windows} - `; } //# sourceMappingURL=generateJetstreamGitignore.js.map \ No newline at end of file diff --git a/dist/generators/jetstream/generateJetstreamGitignore.js.map b/dist/generators/jetstream/generateJetstreamGitignore.js.map index b88aa8bb..4dbc9c5b 100644 --- a/dist/generators/jetstream/generateJetstreamGitignore.js.map +++ b/dist/generators/jetstream/generateJetstreamGitignore.js.map @@ -1 +1 @@ -{"version":3,"file":"generateJetstreamGitignore.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generateJetstreamGitignore.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAE3D,OAAO,SAAS,MAAM,mCAAmC,CAAA;AACzD,OAAO,GAAG,MAAM,6BAA6B,CAAA;AAC7C,OAAO,OAAO,MAAM,iCAAiC,CAAA;AAErD,MAAM,CAAC,OAAO,WAAW,sBAA6B;IAEtD,OAAO;;EAEL,sBAAsB;;EAEtB,SAAS;;EAET,GAAG;;EAEH,OAAO;;CAER,CAAC;AAEF,CAAC"} \ No newline at end of file +{"version":3,"file":"generateJetstreamGitignore.js","sourceRoot":"","sources":["../../../src/generators/jetstream/generateJetstreamGitignore.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAE3D,OAAO,SAAS,MAAM,mCAAmC,CAAA;AACzD,OAAO,GAAG,MAAM,6BAA6B,CAAA;AAC7C,OAAO,OAAO,MAAM,iCAAiC,CAAA;AAErD,MAAM,CAAC,OAAO,WAAW,sBAA6B;IAEtD,OAAO;;EAEL,sBAAsB;;EAEtB,SAAS;;EAET,GAAG;;EAEH,OAAO;CACR,CAAC;AAEF,CAAC"} \ No newline at end of file diff --git a/dist/helpers/consoleLogMsgSuccess.d.ts b/dist/helpers/consoleLogMsgSuccess.d.ts new file mode 100644 index 00000000..32247d04 --- /dev/null +++ b/dist/helpers/consoleLogMsgSuccess.d.ts @@ -0,0 +1 @@ +export default function (string: string, prefixLineBreak?: boolean, suffixLineBreak?: boolean): void; diff --git a/dist/helpers/consoleLogMsgSuccess.js b/dist/helpers/consoleLogMsgSuccess.js new file mode 100644 index 00000000..49f3a940 --- /dev/null +++ b/dist/helpers/consoleLogMsgSuccess.js @@ -0,0 +1,12 @@ +// ./cli/helpers/consoleLogMsgSuccess.ts +import gradientText from './gradientText.js'; +export default function (string, prefixLineBreak = false, suffixLineBreak = false) { + if (prefixLineBreak) { + console.log(' '); + } + console.log(gradientText(string)); + if (suffixLineBreak) { + console.log(' '); + } +} +//# sourceMappingURL=consoleLogMsgSuccess.js.map \ No newline at end of file diff --git a/dist/helpers/consoleLogMsgSuccess.js.map b/dist/helpers/consoleLogMsgSuccess.js.map new file mode 100644 index 00000000..cace8ae1 --- /dev/null +++ b/dist/helpers/consoleLogMsgSuccess.js.map @@ -0,0 +1 @@ +{"version":3,"file":"consoleLogMsgSuccess.js","sourceRoot":"","sources":["../../src/helpers/consoleLogMsgSuccess.ts"],"names":[],"mappings":"AAAA,wCAAwC;AAExC,OAAO,YAAY,MAAM,mBAAmB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAa,EAAE,kBAA0B,KAAK,EAAE,kBAA0B,KAAK;IAEpG,IAAI,eAAe,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KACnB;IAED,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAA;IAEjC,IAAI,eAAe,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KACnB;AAEL,CAAC"} \ No newline at end of file diff --git a/dist/helpers/projectFileDoesExist.d.ts b/dist/helpers/projectFileDoesExist.d.ts new file mode 100644 index 00000000..3ee33f92 --- /dev/null +++ b/dist/helpers/projectFileDoesExist.d.ts @@ -0,0 +1 @@ +export default function (filepath: string): boolean; diff --git a/dist/helpers/projectFileDoesExist.js b/dist/helpers/projectFileDoesExist.js new file mode 100644 index 00000000..47afdc5c --- /dev/null +++ b/dist/helpers/projectFileDoesExist.js @@ -0,0 +1,16 @@ +// ./src/helpers/projectFileDoesExist.ts +import fs from 'fs-extra'; +import cwd from './cwd.js'; +export default function (filepath) { + const currentFilepath = cwd + filepath; + try { + if (fs.existsSync(currentFilepath)) { + return true; + } + } + catch (err) { + console.error(err); + return false; + } +} +//# sourceMappingURL=projectFileDoesExist.js.map \ No newline at end of file diff --git a/dist/helpers/projectFileDoesExist.js.map b/dist/helpers/projectFileDoesExist.js.map new file mode 100644 index 00000000..3c01a622 --- /dev/null +++ b/dist/helpers/projectFileDoesExist.js.map @@ -0,0 +1 @@ +{"version":3,"file":"projectFileDoesExist.js","sourceRoot":"","sources":["../../src/helpers/projectFileDoesExist.ts"],"names":[],"mappings":"AAAA,wCAAwC;AAExC,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,GAAG,MAAM,UAAU,CAAA;AAE1B,MAAM,CAAC,OAAO,WAAW,QAAe;IAEpC,MAAM,eAAe,GAAG,GAAG,GAAG,QAAQ,CAAA;IAEtC,IAAI;QACA,IAAI,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE;YAChC,OAAO,IAAI,CAAA;SACd;KACJ;IAAC,OAAM,GAAG,EAAE;QACT,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;QAClB,OAAO,KAAK,CAAA;KACf;AAEL,CAAC"} \ No newline at end of file diff --git a/dist/installers/installViltDsJetstream.js b/dist/installers/installViltDsJetstream.js index 439c3f12..a9027a65 100644 --- a/dist/installers/installViltDsJetstream.js +++ b/dist/installers/installViltDsJetstream.js @@ -1,6 +1,8 @@ // ./src/installers/installViltDsJetstream.ts -import installJetstreamGitignore from '../installers/jetstream/installJetstreamGitignore.js'; +import updateConfigJetstream from '../updaters/jetstream/updateConfigJetstream.js'; +import updateJetstreamGitignore from '../updaters/jetstream/updateJetstreamGitignore.js'; export default function () { - installJetstreamGitignore(); + updateJetstreamGitignore(); + updateConfigJetstream(); } //# sourceMappingURL=installViltDsJetstream.js.map \ No newline at end of file diff --git a/dist/installers/installViltDsJetstream.js.map b/dist/installers/installViltDsJetstream.js.map index 57309d6f..ddb28e63 100644 --- a/dist/installers/installViltDsJetstream.js.map +++ b/dist/installers/installViltDsJetstream.js.map @@ -1 +1 @@ -{"version":3,"file":"installViltDsJetstream.js","sourceRoot":"","sources":["../../src/installers/installViltDsJetstream.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAE7C,OAAO,yBAAyB,MAAM,sDAAsD,CAAA;AAE5F,MAAM,CAAC,OAAO;IAEV,yBAAyB,EAAE,CAAA;AAE/B,CAAC"} \ No newline at end of file +{"version":3,"file":"installViltDsJetstream.js","sourceRoot":"","sources":["../../src/installers/installViltDsJetstream.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAE7C,OAAO,qBAAqB,MAAM,gDAAgD,CAAA;AAClF,OAAO,wBAAwB,MAAM,mDAAmD,CAAA;AAExF,MAAM,CAAC,OAAO;IAEV,wBAAwB,EAAE,CAAA;IAE1B,qBAAqB,EAAE,CAAA;AAE3B,CAAC"} \ No newline at end of file diff --git a/dist/updaters/jetstream/updateConfigJetstream.d.ts b/dist/updaters/jetstream/updateConfigJetstream.d.ts new file mode 100644 index 00000000..399a90f2 --- /dev/null +++ b/dist/updaters/jetstream/updateConfigJetstream.d.ts @@ -0,0 +1 @@ +export default function (): void; diff --git a/dist/updaters/jetstream/updateConfigJetstream.js b/dist/updaters/jetstream/updateConfigJetstream.js new file mode 100644 index 00000000..4d585ec3 --- /dev/null +++ b/dist/updaters/jetstream/updateConfigJetstream.js @@ -0,0 +1,20 @@ +// ./src/updaters/jetstream/updateConfigJetstream.ts +import fs from 'fs-extra'; +import cwd from '../../helpers/cwd.js'; +import projectFileDoesExist from '../../helpers/projectFileDoesExist.js'; +export default function () { + const filename = 'jetstream.php'; + const filepath = '/config/' + filename; + if (projectFileDoesExist(filepath)) { + fs.readFile(cwd + filepath, 'utf8', function (err, data) { + // error check + if (err) { + throw err; + } + let modifiedData = String(data).replace(/\/\/Features::termsAndPrivacyPolicy(),/g, 'Features::termsAndPrivacyPolicy(),').replace(/\/\/Features::api(),/g, 'Features::api(),'); + // If no error, then overwrite the current config/jetstream.php file content with the modifications + fs.outputFileSync(cwd + filepath, modifiedData, { flag: 'w+' }); + }); + } +} +//# sourceMappingURL=updateConfigJetstream.js.map \ No newline at end of file diff --git a/dist/updaters/jetstream/updateConfigJetstream.js.map b/dist/updaters/jetstream/updateConfigJetstream.js.map new file mode 100644 index 00000000..55297a25 --- /dev/null +++ b/dist/updaters/jetstream/updateConfigJetstream.js.map @@ -0,0 +1 @@ +{"version":3,"file":"updateConfigJetstream.js","sourceRoot":"","sources":["../../../src/updaters/jetstream/updateConfigJetstream.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AAExE,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,eAAe,CAAA;IAChC,MAAM,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAA;IAEtC,IAAK,oBAAoB,CAAC,QAAQ,CAAC,EAAG;QAElC,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,IAAI,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CACnC,yCAAyC,EAAE,oCAAoC,CAClF,CAAC,OAAO,CACL,uBAAuB,EAAE,kBAAkB,CAC9C,CAAA;YAED,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;QAEnE,CAAC,CAAC,CAAA;KAEL;AAEL,CAAC"} \ No newline at end of file diff --git a/dist/updaters/jetstream/updateJetstreamGitignore.d.ts b/dist/updaters/jetstream/updateJetstreamGitignore.d.ts new file mode 100644 index 00000000..399a90f2 --- /dev/null +++ b/dist/updaters/jetstream/updateJetstreamGitignore.d.ts @@ -0,0 +1 @@ +export default function (): void; diff --git a/dist/updaters/jetstream/updateJetstreamGitignore.js b/dist/updaters/jetstream/updateJetstreamGitignore.js new file mode 100644 index 00000000..f42ec2ec --- /dev/null +++ b/dist/updaters/jetstream/updateJetstreamGitignore.js @@ -0,0 +1,21 @@ +// ./src/updaters/jetstream/updateJetstreamGitignore.ts +import fs from 'fs-extra'; +import generateJetstreamGitignore from '../../generators/jetstream/generateJetstreamGitignore.js'; +import cwd from '../../helpers/cwd.js'; +import ifProjectFileExists from '../../helpers/ifProjectFileExists.js'; +export default function () { + const filepath = '/.gitignore'; + // check if user's current repo root directory has a Laravel/Jetstream .gitignore file + if (ifProjectFileExists(filepath)) { + // extract the contents of the Laravel/Jetstream .gitignore file + fs.readFile(cwd + filepath, 'utf8', function (err, data) { + // error check + if (err) { + throw err; + } + // If no error, then overwrite the current gitignore file content wrapped in VILT DS gitignore code + fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(String(data)), { flag: 'w+' }); + }); + } +} +//# sourceMappingURL=updateJetstreamGitignore.js.map \ No newline at end of file diff --git a/dist/updaters/jetstream/updateJetstreamGitignore.js.map b/dist/updaters/jetstream/updateJetstreamGitignore.js.map new file mode 100644 index 00000000..d7ea431c --- /dev/null +++ b/dist/updaters/jetstream/updateJetstreamGitignore.js.map @@ -0,0 +1 @@ +{"version":3,"file":"updateJetstreamGitignore.js","sourceRoot":"","sources":["../../../src/updaters/jetstream/updateJetstreamGitignore.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,0BAA0B,MAAM,0DAA0D,CAAA;AAEjG,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,mBAAmB,MAAM,sCAAsC,CAAA;AAEtE,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,aAAa,CAAA;IAE9B,sFAAsF;IACtF,IAAI,mBAAmB,CAAC,QAAQ,CAAC,EAAE;QAE/B,gEAAgE;QAChE,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,0BAA0B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;QAE/F,CAAC,CAAC,CAAA;KAEL;AAEL,CAAC"} \ No newline at end of file From 09daf9bb66feec71b088efa6f02b213626e15500 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:19:22 -0400 Subject: [PATCH 10/18] adding new ./cli/helpers/cliSuccessMessage.ts --- src/helpers/cliSuccessMessage.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/helpers/cliSuccessMessage.ts diff --git a/src/helpers/cliSuccessMessage.ts b/src/helpers/cliSuccessMessage.ts new file mode 100644 index 00000000..e3213f28 --- /dev/null +++ b/src/helpers/cliSuccessMessage.ts @@ -0,0 +1,17 @@ +// ./cli/helpers/cliSuccessMessage.ts + +import gradientText from './gradientText.js' + +export default function (string:string, prefixLineBreak:boolean = false, suffixLineBreak:boolean = false): void { + + if (prefixLineBreak) { + console.log(' ') + } + + console.log(gradientText(string)) + + if (suffixLineBreak) { + console.log(' ') + } + +} From 5fb71115449e268bd276f3867f07deac8abaa4a3 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:19:30 -0400 Subject: [PATCH 11/18] removing ./cli/helpers/consoleLogMsgSuccess.ts --- src/helpers/consoleLogMsgSuccess.ts | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/helpers/consoleLogMsgSuccess.ts diff --git a/src/helpers/consoleLogMsgSuccess.ts b/src/helpers/consoleLogMsgSuccess.ts deleted file mode 100644 index b8aaa9ac..00000000 --- a/src/helpers/consoleLogMsgSuccess.ts +++ /dev/null @@ -1,17 +0,0 @@ -// ./cli/helpers/consoleLogMsgSuccess.ts - -import gradientText from './gradientText.js' - -export default function (string:string, prefixLineBreak:boolean = false, suffixLineBreak:boolean = false): void { - - if (prefixLineBreak) { - console.log(' ') - } - - console.log(gradientText(string)) - - if (suffixLineBreak) { - console.log(' ') - } - -} From 9f900657b0189bbf23ad253100f3e968ae64831a Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:19:39 -0400 Subject: [PATCH 12/18] removing ./src/installers/jetstream/installJetstreamGitignore.ts --- .../jetstream/installJetstreamGitignore.ts | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/installers/jetstream/installJetstreamGitignore.ts diff --git a/src/installers/jetstream/installJetstreamGitignore.ts b/src/installers/jetstream/installJetstreamGitignore.ts deleted file mode 100644 index 03a35224..00000000 --- a/src/installers/jetstream/installJetstreamGitignore.ts +++ /dev/null @@ -1,35 +0,0 @@ -// ./src/installers/jetstream/installJetstreamGitignore.ts - -import fs from 'fs-extra' - -import generateJetstreamGitignore from '../../generators/jetstream/generateJetstreamGitignore.js' - -import cwd from '../../helpers/cwd.js' -import ifProjectFileExists from '../../helpers/ifProjectFileExists.js' - -export default function (): void { - - const filepath = '/.gitignore' - - // check if user's current repo root directory has a Laravel/Jetstream .gitignore file - if (ifProjectFileExists(filepath)) { - - // extract the contents of the Laravel/Jetstream .gitignore file - fs.readFile(cwd + filepath, 'utf8', function(err, data) { - - // error check - if (err) { throw err } - - // If no error, then overwrite the current gitignore file content wrapped in VILT DS gitignore code - fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(String(data)), { flag: 'w+' }) - - }) - - } else { - - // otherwise just output a fresh gitignore file - fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(''), { flag: 'w+' }) - - } - -} From 62461ac1297c2fd3f6877dc4ca57a1ed1cb85791 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:20:10 -0400 Subject: [PATCH 13/18] refreshing dist files with a tsc build --- ...MsgSuccess.d.ts => cliSuccessMessage.d.ts} | 0 ...eLogMsgSuccess.js => cliSuccessMessage.js} | 4 +-- dist/helpers/cliSuccessMessage.js.map | 1 + dist/helpers/consoleLogMsgSuccess.js.map | 1 - .../jetstream/installJetstreamGitignore.d.ts | 1 - .../jetstream/installJetstreamGitignore.js | 25 ------------------- .../installJetstreamGitignore.js.map | 1 - 7 files changed, 3 insertions(+), 30 deletions(-) rename dist/helpers/{consoleLogMsgSuccess.d.ts => cliSuccessMessage.d.ts} (100%) rename dist/helpers/{consoleLogMsgSuccess.js => cliSuccessMessage.js} (76%) create mode 100644 dist/helpers/cliSuccessMessage.js.map delete mode 100644 dist/helpers/consoleLogMsgSuccess.js.map delete mode 100644 dist/installers/jetstream/installJetstreamGitignore.d.ts delete mode 100644 dist/installers/jetstream/installJetstreamGitignore.js delete mode 100644 dist/installers/jetstream/installJetstreamGitignore.js.map diff --git a/dist/helpers/consoleLogMsgSuccess.d.ts b/dist/helpers/cliSuccessMessage.d.ts similarity index 100% rename from dist/helpers/consoleLogMsgSuccess.d.ts rename to dist/helpers/cliSuccessMessage.d.ts diff --git a/dist/helpers/consoleLogMsgSuccess.js b/dist/helpers/cliSuccessMessage.js similarity index 76% rename from dist/helpers/consoleLogMsgSuccess.js rename to dist/helpers/cliSuccessMessage.js index 49f3a940..4b9afb7b 100644 --- a/dist/helpers/consoleLogMsgSuccess.js +++ b/dist/helpers/cliSuccessMessage.js @@ -1,4 +1,4 @@ -// ./cli/helpers/consoleLogMsgSuccess.ts +// ./cli/helpers/cliSuccessMessage.ts import gradientText from './gradientText.js'; export default function (string, prefixLineBreak = false, suffixLineBreak = false) { if (prefixLineBreak) { @@ -9,4 +9,4 @@ export default function (string, prefixLineBreak = false, suffixLineBreak = fals console.log(' '); } } -//# sourceMappingURL=consoleLogMsgSuccess.js.map \ No newline at end of file +//# sourceMappingURL=cliSuccessMessage.js.map \ No newline at end of file diff --git a/dist/helpers/cliSuccessMessage.js.map b/dist/helpers/cliSuccessMessage.js.map new file mode 100644 index 00000000..7a7e530b --- /dev/null +++ b/dist/helpers/cliSuccessMessage.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cliSuccessMessage.js","sourceRoot":"","sources":["../../src/helpers/cliSuccessMessage.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,YAAY,MAAM,mBAAmB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAa,EAAE,kBAA0B,KAAK,EAAE,kBAA0B,KAAK;IAEpG,IAAI,eAAe,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KACnB;IAED,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAA;IAEjC,IAAI,eAAe,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KACnB;AAEL,CAAC"} \ No newline at end of file diff --git a/dist/helpers/consoleLogMsgSuccess.js.map b/dist/helpers/consoleLogMsgSuccess.js.map deleted file mode 100644 index cace8ae1..00000000 --- a/dist/helpers/consoleLogMsgSuccess.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"consoleLogMsgSuccess.js","sourceRoot":"","sources":["../../src/helpers/consoleLogMsgSuccess.ts"],"names":[],"mappings":"AAAA,wCAAwC;AAExC,OAAO,YAAY,MAAM,mBAAmB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAa,EAAE,kBAA0B,KAAK,EAAE,kBAA0B,KAAK;IAEpG,IAAI,eAAe,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KACnB;IAED,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAA;IAEjC,IAAI,eAAe,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KACnB;AAEL,CAAC"} \ No newline at end of file diff --git a/dist/installers/jetstream/installJetstreamGitignore.d.ts b/dist/installers/jetstream/installJetstreamGitignore.d.ts deleted file mode 100644 index 399a90f2..00000000 --- a/dist/installers/jetstream/installJetstreamGitignore.d.ts +++ /dev/null @@ -1 +0,0 @@ -export default function (): void; diff --git a/dist/installers/jetstream/installJetstreamGitignore.js b/dist/installers/jetstream/installJetstreamGitignore.js deleted file mode 100644 index e22f1a94..00000000 --- a/dist/installers/jetstream/installJetstreamGitignore.js +++ /dev/null @@ -1,25 +0,0 @@ -// ./src/installers/jetstream/installJetstreamGitignore.ts -import fs from 'fs-extra'; -import generateJetstreamGitignore from '../../generators/jetstream/generateJetstreamGitignore.js'; -import cwd from '../../helpers/cwd.js'; -import ifProjectFileExists from '../../helpers/ifProjectFileExists.js'; -export default function () { - const filepath = '/.gitignore'; - // check if user's current repo root directory has a Laravel/Jetstream .gitignore file - if (ifProjectFileExists(filepath)) { - // extract the contents of the Laravel/Jetstream .gitignore file - fs.readFile(cwd + filepath, 'utf8', function (err, data) { - // error check - if (err) { - throw err; - } - // If no error, then overwrite the current gitignore file content wrapped in VILT DS gitignore code - fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(String(data)), { flag: 'w+' }); - }); - } - else { - // otherwise just output a fresh gitignore file - fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(''), { flag: 'w+' }); - } -} -//# sourceMappingURL=installJetstreamGitignore.js.map \ No newline at end of file diff --git a/dist/installers/jetstream/installJetstreamGitignore.js.map b/dist/installers/jetstream/installJetstreamGitignore.js.map deleted file mode 100644 index 8fb2f105..00000000 --- a/dist/installers/jetstream/installJetstreamGitignore.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"installJetstreamGitignore.js","sourceRoot":"","sources":["../../../src/installers/jetstream/installJetstreamGitignore.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAE1D,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,0BAA0B,MAAM,0DAA0D,CAAA;AAEjG,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,mBAAmB,MAAM,sCAAsC,CAAA;AAEtE,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,aAAa,CAAA;IAE9B,sFAAsF;IACtF,IAAI,mBAAmB,CAAC,QAAQ,CAAC,EAAE;QAE/B,gEAAgE;QAChE,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,0BAA0B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;QAE/F,CAAC,CAAC,CAAA;KAEL;SAAM;QAEH,+CAA+C;QAC/C,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,0BAA0B,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;KAEpF;AAEL,CAAC"} \ No newline at end of file From c387d0f0de455bb2e22fdd8950bb81ec4b5c404f Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:50:27 -0400 Subject: [PATCH 14/18] adding new ./cli/helpers/cliWarningMessage.ts --- src/helpers/cliWarningMessage.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/helpers/cliWarningMessage.ts diff --git a/src/helpers/cliWarningMessage.ts b/src/helpers/cliWarningMessage.ts new file mode 100644 index 00000000..7f05aa02 --- /dev/null +++ b/src/helpers/cliWarningMessage.ts @@ -0,0 +1,13 @@ +// ./cli/helpers/cliWarningMessage.ts + +import gradient from 'gradient-string' + +export default function (string:string, prefixLineBreak:boolean = false, suffixLineBreak:boolean = false): void { + + if (prefixLineBreak) { console.log(' ') } + + console.log(gradient.morning(string)) + + if (suffixLineBreak) { console.log(' ') } + +} From 806d6891c0a40e4b5c4a4301606a458a36350b65 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:51:00 -0400 Subject: [PATCH 15/18] cleanup and adding comments --- src/helpers/cliSuccessMessage.ts | 8 ++------ src/index.ts | 7 ++++--- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/helpers/cliSuccessMessage.ts b/src/helpers/cliSuccessMessage.ts index e3213f28..066e353e 100644 --- a/src/helpers/cliSuccessMessage.ts +++ b/src/helpers/cliSuccessMessage.ts @@ -4,14 +4,10 @@ import gradientText from './gradientText.js' export default function (string:string, prefixLineBreak:boolean = false, suffixLineBreak:boolean = false): void { - if (prefixLineBreak) { - console.log(' ') - } + if (prefixLineBreak) { console.log(' ') } console.log(gradientText(string)) - if (suffixLineBreak) { - console.log(' ') - } + if (suffixLineBreak) { console.log(' ') } } diff --git a/src/index.ts b/src/index.ts index 54031fd1..0c8b8fbf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,14 +11,15 @@ import installViltDsJetstream from './installers/installViltDsJetstream.js' let userInstallation: ViltDsInstallationChoice = null +// Show a starting CLI greeting message cliStartMessage() +// Inquire the type of installation type from the cli user userInstallation = await selectInstallation() - console.log(' ') +// For a standard installation with an existing +// Laravel + Jetstream install in a current working (root) directory if (userInstallation === 'Install VILT DS Into A Laravel Jetstream Starter App') { - installViltDsJetstream() - } From 01c0eb9e631e49ed2d5a1b7dd5c1998f3be619dc Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:51:34 -0400 Subject: [PATCH 16/18] integrating new cliSuccessMessage() & cliWarningMessage() methods --- src/updaters/jetstream/updateConfigJetstream.ts | 8 ++++++++ src/updaters/jetstream/updateJetstreamGitignore.ts | 12 ++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/updaters/jetstream/updateConfigJetstream.ts b/src/updaters/jetstream/updateConfigJetstream.ts index 7d1bb001..c88f3e25 100644 --- a/src/updaters/jetstream/updateConfigJetstream.ts +++ b/src/updaters/jetstream/updateConfigJetstream.ts @@ -2,6 +2,8 @@ import fs from 'fs-extra' +import cliSuccessMessage from '../../helpers/cliSuccessMessage.js' +import cliWarningMessage from '../../helpers/cliWarningMessage.js' import cwd from '../../helpers/cwd.js' import projectFileDoesExist from '../../helpers/projectFileDoesExist.js' @@ -26,8 +28,14 @@ export default function (): void { // If no error, then overwrite the current config/jetstream.php file content with the modifications fs.outputFileSync(cwd + filepath, modifiedData, { flag: 'w+' }) + cliSuccessMessage(filepath + ' file updated successfully!', true, true) + }) + } else { + + cliWarningMessage(filepath + ' not found, so no updates were made!', true, true) + } } \ No newline at end of file diff --git a/src/updaters/jetstream/updateJetstreamGitignore.ts b/src/updaters/jetstream/updateJetstreamGitignore.ts index a159c8dc..950f900f 100644 --- a/src/updaters/jetstream/updateJetstreamGitignore.ts +++ b/src/updaters/jetstream/updateJetstreamGitignore.ts @@ -4,15 +4,17 @@ import fs from 'fs-extra' import generateJetstreamGitignore from '../../generators/jetstream/generateJetstreamGitignore.js' +import cliSuccessMessage from '../../helpers/cliSuccessMessage.js' +import cliWarningMessage from '../../helpers/cliWarningMessage.js' import cwd from '../../helpers/cwd.js' -import ifProjectFileExists from '../../helpers/ifProjectFileExists.js' +import projectFileDoesExist from '../../helpers/projectFileDoesExist.js' export default function (): void { const filepath = '/.gitignore' // check if user's current repo root directory has a Laravel/Jetstream .gitignore file - if (ifProjectFileExists(filepath)) { + if ( projectFileDoesExist(filepath) ) { // extract the contents of the Laravel/Jetstream .gitignore file fs.readFile(cwd + filepath, 'utf8', function(err, data) { @@ -23,8 +25,14 @@ export default function (): void { // If no error, then overwrite the current gitignore file content wrapped in VILT DS gitignore code fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(String(data)), { flag: 'w+' }) + cliSuccessMessage(filepath + ' file updated successfully!', true, true) + }) + } else { + + cliWarningMessage(filepath + ' not found, so no updates were made!', true, true) + } } From c4d9d0ccaa272486100aeb57165824d06afb0a96 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:52:00 -0400 Subject: [PATCH 17/18] updating build files --- dist/helpers/cliSuccessMessage.js.map | 2 +- dist/helpers/cliWarningMessage.d.ts | 1 + dist/helpers/cliWarningMessage.js | 12 ++++++++++++ dist/helpers/cliWarningMessage.js.map | 1 + dist/index.js | 4 ++++ dist/index.js.map | 2 +- dist/updaters/jetstream/updateConfigJetstream.js | 6 ++++++ dist/updaters/jetstream/updateConfigJetstream.js.map | 2 +- dist/updaters/jetstream/updateJetstreamGitignore.js | 10 ++++++++-- .../jetstream/updateJetstreamGitignore.js.map | 2 +- 10 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 dist/helpers/cliWarningMessage.d.ts create mode 100644 dist/helpers/cliWarningMessage.js create mode 100644 dist/helpers/cliWarningMessage.js.map diff --git a/dist/helpers/cliSuccessMessage.js.map b/dist/helpers/cliSuccessMessage.js.map index 7a7e530b..e69cbdde 100644 --- a/dist/helpers/cliSuccessMessage.js.map +++ b/dist/helpers/cliSuccessMessage.js.map @@ -1 +1 @@ -{"version":3,"file":"cliSuccessMessage.js","sourceRoot":"","sources":["../../src/helpers/cliSuccessMessage.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,YAAY,MAAM,mBAAmB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAa,EAAE,kBAA0B,KAAK,EAAE,kBAA0B,KAAK;IAEpG,IAAI,eAAe,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KACnB;IAED,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAA;IAEjC,IAAI,eAAe,EAAE;QACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KACnB;AAEL,CAAC"} \ No newline at end of file +{"version":3,"file":"cliSuccessMessage.js","sourceRoot":"","sources":["../../src/helpers/cliSuccessMessage.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,YAAY,MAAM,mBAAmB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAa,EAAE,kBAA0B,KAAK,EAAE,kBAA0B,KAAK;IAEpG,IAAI,eAAe,EAAE;QAAE,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KAAE;IAEzC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAA;IAEjC,IAAI,eAAe,EAAE;QAAE,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KAAE;AAE7C,CAAC"} \ No newline at end of file diff --git a/dist/helpers/cliWarningMessage.d.ts b/dist/helpers/cliWarningMessage.d.ts new file mode 100644 index 00000000..32247d04 --- /dev/null +++ b/dist/helpers/cliWarningMessage.d.ts @@ -0,0 +1 @@ +export default function (string: string, prefixLineBreak?: boolean, suffixLineBreak?: boolean): void; diff --git a/dist/helpers/cliWarningMessage.js b/dist/helpers/cliWarningMessage.js new file mode 100644 index 00000000..6ec16f8b --- /dev/null +++ b/dist/helpers/cliWarningMessage.js @@ -0,0 +1,12 @@ +// ./cli/helpers/cliWarningMessage.ts +import gradient from 'gradient-string'; +export default function (string, prefixLineBreak = false, suffixLineBreak = false) { + if (prefixLineBreak) { + console.log(' '); + } + console.log(gradient.morning(string)); + if (suffixLineBreak) { + console.log(' '); + } +} +//# sourceMappingURL=cliWarningMessage.js.map \ No newline at end of file diff --git a/dist/helpers/cliWarningMessage.js.map b/dist/helpers/cliWarningMessage.js.map new file mode 100644 index 00000000..c815445f --- /dev/null +++ b/dist/helpers/cliWarningMessage.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cliWarningMessage.js","sourceRoot":"","sources":["../../src/helpers/cliWarningMessage.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,QAAQ,MAAM,iBAAiB,CAAA;AAEtC,MAAM,CAAC,OAAO,WAAW,MAAa,EAAE,kBAA0B,KAAK,EAAE,kBAA0B,KAAK;IAEpG,IAAI,eAAe,EAAE;QAAE,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KAAE;IAEzC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;IAErC,IAAI,eAAe,EAAE;QAAE,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;KAAE;AAE7C,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 8708d814..0accda0c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4,9 +4,13 @@ import cliStartMessage from './helpers/cliStartMessage.js'; import selectInstallation from './helpers/selectInstallation.js'; import installViltDsJetstream from './installers/installViltDsJetstream.js'; let userInstallation = null; +// Show a starting CLI greeting message cliStartMessage(); +// Inquire the type of installation type from the cli user userInstallation = await selectInstallation(); console.log(' '); +// For a standard installation with an existing +// Laravel + Jetstream install in a current working (root) directory if (userInstallation === 'Install VILT DS Into A Laravel Jetstream Starter App') { installViltDsJetstream(); } diff --git a/dist/index.js.map b/dist/index.js.map index 8a1abe5d..f03a1734 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,iBAAiB;AAIjB,OAAO,eAAe,MAAM,8BAA8B,CAAA;AAC1D,OAAO,kBAAkB,MAAM,iCAAiC,CAAA;AAEhE,OAAO,sBAAsB,MAAM,wCAAwC,CAAA;AAG3E,IAAI,gBAAgB,GAA6B,IAAI,CAAA;AAErD,eAAe,EAAE,CAAA;AAEjB,gBAAgB,GAAG,MAAM,kBAAkB,EAAE,CAAA;AAE7C,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAEhB,IAAI,gBAAgB,KAAK,sDAAsD,EAAE;IAE7E,sBAAsB,EAAE,CAAA;CAE3B"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,iBAAiB;AAIjB,OAAO,eAAe,MAAM,8BAA8B,CAAA;AAC1D,OAAO,kBAAkB,MAAM,iCAAiC,CAAA;AAEhE,OAAO,sBAAsB,MAAM,wCAAwC,CAAA;AAG3E,IAAI,gBAAgB,GAA6B,IAAI,CAAA;AAErD,uCAAuC;AACvC,eAAe,EAAE,CAAA;AAEjB,0DAA0D;AAC1D,gBAAgB,GAAG,MAAM,kBAAkB,EAAE,CAAA;AAC7C,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAEhB,+CAA+C;AAC/C,oEAAoE;AACpE,IAAI,gBAAgB,KAAK,sDAAsD,EAAE;IAC7E,sBAAsB,EAAE,CAAA;CAC3B"} \ No newline at end of file diff --git a/dist/updaters/jetstream/updateConfigJetstream.js b/dist/updaters/jetstream/updateConfigJetstream.js index 4d585ec3..c6fb8166 100644 --- a/dist/updaters/jetstream/updateConfigJetstream.js +++ b/dist/updaters/jetstream/updateConfigJetstream.js @@ -1,5 +1,7 @@ // ./src/updaters/jetstream/updateConfigJetstream.ts import fs from 'fs-extra'; +import cliSuccessMessage from '../../helpers/cliSuccessMessage.js'; +import cliWarningMessage from '../../helpers/cliWarningMessage.js'; import cwd from '../../helpers/cwd.js'; import projectFileDoesExist from '../../helpers/projectFileDoesExist.js'; export default function () { @@ -14,7 +16,11 @@ export default function () { let modifiedData = String(data).replace(/\/\/Features::termsAndPrivacyPolicy(),/g, 'Features::termsAndPrivacyPolicy(),').replace(/\/\/Features::api(),/g, 'Features::api(),'); // If no error, then overwrite the current config/jetstream.php file content with the modifications fs.outputFileSync(cwd + filepath, modifiedData, { flag: 'w+' }); + cliSuccessMessage(filepath + ' file updated successfully!', true, true); }); } + else { + cliWarningMessage(filepath + ' not found, so no updates were made!', true, true); + } } //# sourceMappingURL=updateConfigJetstream.js.map \ No newline at end of file diff --git a/dist/updaters/jetstream/updateConfigJetstream.js.map b/dist/updaters/jetstream/updateConfigJetstream.js.map index 55297a25..311e682b 100644 --- a/dist/updaters/jetstream/updateConfigJetstream.js.map +++ b/dist/updaters/jetstream/updateConfigJetstream.js.map @@ -1 +1 @@ -{"version":3,"file":"updateConfigJetstream.js","sourceRoot":"","sources":["../../../src/updaters/jetstream/updateConfigJetstream.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AAExE,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,eAAe,CAAA;IAChC,MAAM,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAA;IAEtC,IAAK,oBAAoB,CAAC,QAAQ,CAAC,EAAG;QAElC,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,IAAI,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CACnC,yCAAyC,EAAE,oCAAoC,CAClF,CAAC,OAAO,CACL,uBAAuB,EAAE,kBAAkB,CAC9C,CAAA;YAED,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;QAEnE,CAAC,CAAC,CAAA;KAEL;AAEL,CAAC"} \ No newline at end of file +{"version":3,"file":"updateConfigJetstream.js","sourceRoot":"","sources":["../../../src/updaters/jetstream/updateConfigJetstream.ts"],"names":[],"mappings":"AAAA,oDAAoD;AAEpD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,iBAAiB,MAAM,oCAAoC,CAAA;AAClE,OAAO,iBAAiB,MAAM,oCAAoC,CAAA;AAClE,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AAExE,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,eAAe,CAAA;IAChC,MAAM,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAA;IAEtC,IAAK,oBAAoB,CAAC,QAAQ,CAAC,EAAG;QAElC,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,IAAI,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CACnC,yCAAyC,EAAE,oCAAoC,CAClF,CAAC,OAAO,CACL,uBAAuB,EAAE,kBAAkB,CAC9C,CAAA;YAED,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;YAE/D,iBAAiB,CAAC,QAAQ,GAAG,6BAA6B,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;QAE3E,CAAC,CAAC,CAAA;KAEL;SAAM;QAEH,iBAAiB,CAAC,QAAQ,GAAG,sCAAsC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;KAEnF;AAEL,CAAC"} \ No newline at end of file diff --git a/dist/updaters/jetstream/updateJetstreamGitignore.js b/dist/updaters/jetstream/updateJetstreamGitignore.js index f42ec2ec..4e38fab3 100644 --- a/dist/updaters/jetstream/updateJetstreamGitignore.js +++ b/dist/updaters/jetstream/updateJetstreamGitignore.js @@ -1,12 +1,14 @@ // ./src/updaters/jetstream/updateJetstreamGitignore.ts import fs from 'fs-extra'; import generateJetstreamGitignore from '../../generators/jetstream/generateJetstreamGitignore.js'; +import cliSuccessMessage from '../../helpers/cliSuccessMessage.js'; +import cliWarningMessage from '../../helpers/cliWarningMessage.js'; import cwd from '../../helpers/cwd.js'; -import ifProjectFileExists from '../../helpers/ifProjectFileExists.js'; +import projectFileDoesExist from '../../helpers/projectFileDoesExist.js'; export default function () { const filepath = '/.gitignore'; // check if user's current repo root directory has a Laravel/Jetstream .gitignore file - if (ifProjectFileExists(filepath)) { + if (projectFileDoesExist(filepath)) { // extract the contents of the Laravel/Jetstream .gitignore file fs.readFile(cwd + filepath, 'utf8', function (err, data) { // error check @@ -15,7 +17,11 @@ export default function () { } // If no error, then overwrite the current gitignore file content wrapped in VILT DS gitignore code fs.outputFileSync(cwd + filepath, generateJetstreamGitignore(String(data)), { flag: 'w+' }); + cliSuccessMessage(filepath + ' file updated successfully!', true, true); }); } + else { + cliWarningMessage(filepath + ' not found, so no updates were made!', true, true); + } } //# sourceMappingURL=updateJetstreamGitignore.js.map \ No newline at end of file diff --git a/dist/updaters/jetstream/updateJetstreamGitignore.js.map b/dist/updaters/jetstream/updateJetstreamGitignore.js.map index d7ea431c..8735161f 100644 --- a/dist/updaters/jetstream/updateJetstreamGitignore.js.map +++ b/dist/updaters/jetstream/updateJetstreamGitignore.js.map @@ -1 +1 @@ -{"version":3,"file":"updateJetstreamGitignore.js","sourceRoot":"","sources":["../../../src/updaters/jetstream/updateJetstreamGitignore.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,0BAA0B,MAAM,0DAA0D,CAAA;AAEjG,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,mBAAmB,MAAM,sCAAsC,CAAA;AAEtE,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,aAAa,CAAA;IAE9B,sFAAsF;IACtF,IAAI,mBAAmB,CAAC,QAAQ,CAAC,EAAE;QAE/B,gEAAgE;QAChE,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,0BAA0B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;QAE/F,CAAC,CAAC,CAAA;KAEL;AAEL,CAAC"} \ No newline at end of file +{"version":3,"file":"updateJetstreamGitignore.js","sourceRoot":"","sources":["../../../src/updaters/jetstream/updateJetstreamGitignore.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,OAAO,0BAA0B,MAAM,0DAA0D,CAAA;AAEjG,OAAO,iBAAiB,MAAM,oCAAoC,CAAA;AAClE,OAAO,iBAAiB,MAAM,oCAAoC,CAAA;AAClE,OAAO,GAAG,MAAM,sBAAsB,CAAA;AACtC,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AAExE,MAAM,CAAC,OAAO;IAEV,MAAM,QAAQ,GAAG,aAAa,CAAA;IAE9B,sFAAsF;IACtF,IAAK,oBAAoB,CAAC,QAAQ,CAAC,EAAG;QAElC,gEAAgE;QAChE,EAAE,CAAC,QAAQ,CAAC,GAAG,GAAG,QAAQ,EAAE,MAAM,EAAE,UAAS,GAAG,EAAE,IAAI;YAElD,cAAc;YACd,IAAI,GAAG,EAAE;gBAAE,MAAM,GAAG,CAAA;aAAE;YAEtB,mGAAmG;YACnG,EAAE,CAAC,cAAc,CAAC,GAAG,GAAG,QAAQ,EAAE,0BAA0B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;YAE3F,iBAAiB,CAAC,QAAQ,GAAG,6BAA6B,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;QAE3E,CAAC,CAAC,CAAA;KAEL;SAAM;QAEH,iBAAiB,CAAC,QAAQ,GAAG,sCAAsC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;KAEnF;AAEL,CAAC"} \ No newline at end of file From f41a8a661eeaa74be07fb062df8019487576c3c0 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:52:20 -0400 Subject: [PATCH 18/18] 0.1.7 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index bf4958e2..4ffcef8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@obewds/vilt-ds", - "version": "0.1.6", + "version": "0.1.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@obewds/vilt-ds", - "version": "0.1.6", + "version": "0.1.7", "license": "MIT", "dependencies": { "fs-extra": "^11.1.1", diff --git a/package.json b/package.json index b6812e75..374c4467 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@obewds/vilt-ds", - "version": "0.1.6", + "version": "0.1.7", "description": "The official repository for the VILT Design System for the Vue.js, Inertia.js, Laravel, and Tailwind CSS web app stack that is turbocharged with Typescript and VueVentus.", "license": "MIT", "author": "Matt McT",