cob-cli 2.48.1 → 2.49.0

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.
@@ -25,3 +25,5 @@
25
25
  - **.ENV__*__.*
26
26
 
27
27
  - /keystores
28
+ - /idpconfs
29
+ - /storage
@@ -40,10 +40,14 @@ async function customUIsContinuosReload(cmdEnv, dashboard) {
40
40
 
41
41
  console.log( "\n" + (" NOTE: Press " + "O".bold.red + " to open default browser, " + "CTRL+C".bold.red + " or " + "Q".bold.red + " to stop the tests... ").yellow.bold + "\n\n" )
42
42
 
43
+ const insideCobCliPath = path.resolve(__dirname, '../../node_modules/.bin/webpack-dev-server');
44
+ const outsideCobCliPath = path.resolve(__dirname, '../../../.bin/webpack-dev-server');
45
+ const webpackDevServerPath = fs.existsSync(insideCobCliPath) ? insideCobCliPath : outsideCobCliPath;
46
+
43
47
  commands.push({
44
48
  // run wepback from cob-cli directory with webpack.config.js also from cob-cli directory
45
49
  command: [
46
- path.resolve(__dirname, '../../node_modules/.bin/webpack-dev-server'),
50
+ webpackDevServerPath,
47
51
  "--config",
48
52
  path.resolve(__dirname, "../webpack/webpack.config.js"),
49
53
  "--mode=development"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cob-cli",
3
- "version": "2.48.1",
3
+ "version": "2.49.0",
4
4
  "description": "A command line utility to help Cult of Bits partners develop with higher speed and reusing common code and best practices.",
5
5
  "preferGlobal": true,
6
6
  "repository": {