tackl 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/tackl.js +11 -8
- package/package.json +1 -1
package/bin/tackl.js
CHANGED
|
@@ -25,7 +25,7 @@ const log = {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
const showBanner = () => {
|
|
28
|
-
const purple = str => `\x1b[38;
|
|
28
|
+
const purple = str => `\x1b[38;5;129m${str}\x1b[0m`; // Purple color
|
|
29
29
|
console.log(
|
|
30
30
|
pc.bold(
|
|
31
31
|
purple(`
|
|
@@ -39,9 +39,8 @@ const showBanner = () => {
|
|
|
39
39
|
║ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝ ║
|
|
40
40
|
║ ║
|
|
41
41
|
║ The Ultimate Next.js Starter Kit ║
|
|
42
|
-
║ with Waffl Grid System ║
|
|
43
42
|
║ ║
|
|
44
|
-
╚═════════════════════════════════════════════════╝
|
|
43
|
+
╚═════════════════════════════════════════════════╝
|
|
45
44
|
`)
|
|
46
45
|
)
|
|
47
46
|
);
|
|
@@ -237,20 +236,24 @@ ${pc.bold('Repository:')} https://github.com/12-studio/tackl
|
|
|
237
236
|
process.env.HUSKY = '0';
|
|
238
237
|
|
|
239
238
|
execSync('npm install', { cwd: targetDir, stdio: 'inherit' });
|
|
240
|
-
|
|
239
|
+
|
|
241
240
|
// Restore environment
|
|
242
241
|
process.env = originalEnv;
|
|
243
|
-
|
|
242
|
+
|
|
244
243
|
// Try to fix audit issues automatically
|
|
245
244
|
try {
|
|
246
245
|
log.step('🔧 Fixing security vulnerabilities...');
|
|
247
246
|
execSync('npm audit fix', { cwd: targetDir, stdio: 'inherit' });
|
|
248
247
|
log.ok('Security vulnerabilities fixed!');
|
|
249
248
|
} catch (e) {
|
|
250
|
-
log.warn(
|
|
251
|
-
|
|
249
|
+
log.warn(
|
|
250
|
+
'Some vulnerabilities could not be automatically fixed.'
|
|
251
|
+
);
|
|
252
|
+
log.info(
|
|
253
|
+
'You can run "npm audit fix --force" manually if needed.'
|
|
254
|
+
);
|
|
252
255
|
}
|
|
253
|
-
|
|
256
|
+
|
|
254
257
|
log.ok('Dependencies installed successfully!');
|
|
255
258
|
} catch (e) {
|
|
256
259
|
log.warn(`Install failed: ${e.message}`);
|