aprog 2.1.0 → 2.1.1

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/package.json +1 -1
  2. package/publish.js +4 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aprog",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Допоміжна JavaScript-бібліотека для проєктів",
5
5
  "main": "index.js",
6
6
  "exports": {
package/publish.js CHANGED
@@ -13,12 +13,10 @@ function copyFile(from, to) {
13
13
 
14
14
  if (!fs.existsSync(to) || force) {
15
15
  fs.copyFileSync(from, to);
16
- console.log("");
17
- console.log(`✅ %c Копійовано: %c ${to}`, 'color: green', 'color: orange');
16
+ console.log(`✅ Копійовано: ${to}`);
18
17
  console.log("");
19
18
  } else {
20
- console.log("");
21
- console.log(`ℹ️ %c Пропущено (вже існує): %c ${to}`, 'color: orange', 'color: gray');
19
+ console.log(`ℹ️ Пропущено (вже існує): ${to}`);
22
20
  console.log("");
23
21
  }
24
22
  }
@@ -31,8 +29,7 @@ function copyConstructs() {
31
29
  const destDir = path.resolve(process.cwd(), 'resources/js/components/constructs');
32
30
 
33
31
  if (!fs.existsSync(srcDir)) {
34
- console.log("");
35
- console.error(`❌ %c Не знайдено директорії: %c ${srcDir}`, 'color: red', 'color: gray');
32
+ console.error(`❌ Не знайдено директорії: ${srcDir}`);
36
33
  process.exit(1);
37
34
  }
38
35
 
@@ -51,5 +48,4 @@ function copyConstructs() {
51
48
  console.log('📦 Починаю копіювання файлів з Aprog...');
52
49
  console.log("");
53
50
  copyConstructs();
54
- console.log("");
55
- console.log('🏁 %c Готово.', 'color: green');
51
+ console.log('🏁 Готово.');