@rws-framework/client 2.18.6 → 2.18.7

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.
@@ -21,7 +21,7 @@ class RWSCacheSystem {
21
21
 
22
22
  if(!this.enabled){
23
23
  if(fs.existsSync(this.rwsDir+'/front')){
24
- console.log({pat: this.rwsDir+'/front'});
24
+ // console.log({pat: this.rwsDir+'/front'});
25
25
  rmdir(this.rwsDir+'/front', { recursive: true });
26
26
  console.log(chalk.red('[RWS CACHE] front cache removed.'));
27
27
  }
@@ -17,10 +17,10 @@ module.exports = {
17
17
  plugins: rwsPlugins
18
18
  });
19
19
 
20
- console.log(chalk.blue('\nTSCONFIG:'), util.inspect(tsConfig.config, {
21
- depth: null,
22
- colors: true,
23
- maxArrayLength: null
24
- }));
20
+ // console.log(chalk.blue('\nTSCONFIG:'), util.inspect(tsConfig.config, {
21
+ // depth: null,
22
+ // colors: true,
23
+ // maxArrayLength: null
24
+ // }));
25
25
  }
26
26
  }
@@ -71,6 +71,7 @@ function getRWSLoaders(packageDir, executionDir, tsConfigData, appRootDir, entry
71
71
  ],
72
72
  exclude: [
73
73
  ...tsConfigData.excludes.map(item => item.abs()),
74
+ path.resolve(packageDir, 'builder'),
74
75
  /\.debug\.ts$/,
75
76
  /\.d\.ts$/
76
77
  ]
@@ -87,9 +88,7 @@ function getRWSLoaders(packageDir, executionDir, tsConfigData, appRootDir, entry
87
88
  },
88
89
  ],
89
90
  },
90
- ];
91
-
92
- console.log(loaders[2].include);
91
+ ];
93
92
 
94
93
  return loaders;
95
94
  }
@@ -37,8 +37,6 @@ const externals = (declaredCodeBase, nodeModules, automatedChunks, externalOptio
37
37
  path.resolve(__dirname,'..','..','..')
38
38
  ];
39
39
 
40
- console.log({frontendDirs})
41
-
42
40
  const inFrontendContext = frontendDirs.some(dir => context.startsWith(dir)) ||
43
41
  externalOptions._vars.frontendRequestContextCache.some(package => context.indexOf(package.request) > -1)
44
42
 
@@ -96,8 +96,7 @@ function setupTsConfig(tsConfigPath, executionDir, pkgPath, userAliases = {}) {
96
96
  }
97
97
  });
98
98
 
99
- if(changedPaths){
100
- console.log('tspaths', tsPaths);
99
+ if(changedPaths){
101
100
  console.log(chalk.blueBright('[RWS TS CONFIG]'), 'adding user aliases as paths to project tsconfig.json');
102
101
 
103
102
  tsConfig.compilerOptions.paths = tsPaths;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rws-framework/client",
3
3
  "private": false,
4
- "version": "2.18.6",
4
+ "version": "2.18.7",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
7
7
  "docs": "typedoc --tsconfig ./tsconfig.json"