redhotmagma-visualization 1.27.3-beta.5 → 1.27.3-beta.6

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "redhotmagma-visualization",
3
- "version": "1.27.3-beta.5",
3
+ "version": "1.27.3-beta.6",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
6
  "main": "./index.js",
7
7
  "dependencies": {
8
8
  "@babel/polyfill": "^7.12.1",
9
- "@configuratorware/scripts": "1.27.3-beta.5",
9
+ "@configuratorware/scripts": "1.27.3-beta.6",
10
10
  "@tweenjs/tween.js": "^17.6.0",
11
11
  "console-polyfill": "^0.3.0",
12
12
  "css-element-queries": "^1.2.3",
@@ -24,22 +24,13 @@
24
24
  const path = require("path");
25
25
 
26
26
  const { cpDirDeep } = require("@configuratorware/scripts/utils/fileSystem");
27
- const { isDependency } = require("@configuratorware/scripts/utils/process");
28
27
 
29
- if (isDependency()) {
30
- console.log(
31
- "\x1b[37m\x1b[42m%s\x1b[0m",
32
- "Copying public content into the public directory of the client project"
33
- );
28
+ console.log(
29
+ "\x1b[37m\x1b[42m%s\x1b[0m",
30
+ "Copying public content into the public directory of the client project"
31
+ );
34
32
 
35
- const src = path.resolve(__dirname, "../public");
36
- const dst = path.resolve(__dirname, "../../../../public");
33
+ const src = path.resolve(__dirname, "../public");
34
+ const dst = path.resolve(__dirname, "../../../../public");
37
35
 
38
- cpDirDeep(src, dst);
39
- }
40
- else {
41
- console.log(
42
- "\x1b[37m\x1b[42m%s\x1b[0m",
43
- "cpPublic is not dependency"
44
- );
45
- }
36
+ cpDirDeep(src, dst);
@@ -28,9 +28,3 @@ if (fs.existsSync(runnerPackagePublicDir)) {
28
28
 
29
29
  cpDirDeep(src, runnerPackagePublicDir, { testFn: src => /public\/libs/.test(src) });
30
30
  }
31
- else {
32
- console.log(
33
- "\x1b[37m\x1b[42m%s\x1b[0m",
34
- "cpPublicLocal fs does not exist " + runnerPackagePublicDir
35
- );
36
- }