bfg-common 1.4.628 → 1.4.630

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.
@@ -31,17 +31,19 @@ const npmGenerate = (): void => {
31
31
  'composables',
32
32
  'query.js'
33
33
  )
34
+ console.log(333);
34
35
  const searchString = '/query/${hash(params)}'
35
36
  const replacementString = 'cache'
36
37
  replaceFileContent(filePath, searchString, replacementString)
37
38
  // End block
38
-
39
+ console.log(444);
39
40
  // Переносим весь контент и удаляем все файлы кроме картинок
40
41
  const contentPath = path.join(
41
42
  __dirname.replace('/node_modules/bfg-common/modules/fixContentBuild', ''),
42
43
  'content',
43
44
  'help'
44
45
  )
46
+ console.log(contentPath, 555, !fs.existsSync(contentPath));
45
47
  if (!fs.existsSync(contentPath)) return
46
48
 
47
49
  const publicPath = path.join(
@@ -49,7 +51,9 @@ const npmGenerate = (): void => {
49
51
  'public',
50
52
  'images'
51
53
  )
54
+ console.log(777,contentPath, publicPath);
52
55
  fs.cp(contentPath, publicPath, { recursive: true }, () => {
56
+ console.log(888);
53
57
  // Удаляем все файлы кроме картинок
54
58
  removeNonImageFiles(publicPath)
55
59
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.628",
4
+ "version": "1.4.630",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",