bfg-common 1.2.13 → 1.2.14

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.
@@ -5,13 +5,13 @@ const path = require('path')
5
5
  const npmGenerate = (): void => {
6
6
  // Переносим весь контент и удаляем все файлы кроме картинок
7
7
  const folderPath = path.join(
8
- __dirname.replace('/modules/fixSpiceConsole', ''),
8
+ __dirname.replace('/modules/fixSpiceConsoleBuild', ''),
9
9
  'public',
10
10
  'spice-console'
11
11
  )
12
12
  if (!fs.existsSync(folderPath)) return
13
13
 
14
- fs.rmdir(folderPath, { recursive: true }, (err: any) => {
14
+ fs.rm(folderPath, { recursive: true }, (err: any) => {
15
15
  if (err) {
16
16
  console.error('Error while removing folder:', err);
17
17
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.13",
4
+ "version": "1.2.14",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",