tackl 1.0.6 → 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.
Files changed (2) hide show
  1. package/bin/tackl.js +16 -3
  2. 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;2;128;0;255m${str}\x1b[0m`;
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
  );
@@ -241,6 +240,20 @@ ${pc.bold('Repository:')} https://github.com/12-studio/tackl
241
240
  // Restore environment
242
241
  process.env = originalEnv;
243
242
 
243
+ // Try to fix audit issues automatically
244
+ try {
245
+ log.step('🔧 Fixing security vulnerabilities...');
246
+ execSync('npm audit fix', { cwd: targetDir, stdio: 'inherit' });
247
+ log.ok('Security vulnerabilities fixed!');
248
+ } catch (e) {
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
+ );
255
+ }
256
+
244
257
  log.ok('Dependencies installed successfully!');
245
258
  } catch (e) {
246
259
  log.warn(`Install failed: ${e.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tackl",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "The ultimate Next.js starter kit with Waffl Grid system",
5
5
  "type": "module",
6
6
  "bin": {