@rws-framework/client 2.26.0 → 2.26.1

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.
@@ -7,7 +7,7 @@ const packageNames = [
7
7
  ];
8
8
 
9
9
  async function loadAliases(packageDir, tsConfig, nodeModulesPath, executionDir){
10
-
10
+ console.log({packageDir, tsConfig, nodeModulesPath, executionDir})
11
11
  const tsPaths = {}
12
12
 
13
13
  for(const aliasKey of Object.keys(tsConfig.config.compilerOptions.paths)){
@@ -18,16 +18,10 @@ async function loadAliases(packageDir, tsConfig, nodeModulesPath, executionDir){
18
18
  for(const pkgName of packageNames){
19
19
  const symlinkPath = path.join(nodeModulesPath, '@rws-framework', pkgName);
20
20
 
21
- if(fs.existsSync(symlinkPath)){
22
- const pkgDirStat = fs.lstatSync(symlinkPath);
23
-
24
- if(pkgDirStat.isSymbolicLink()){
25
- const targetPath = await fs.promises.realpath(symlinkPath);
21
+ const targetPath = await fs.promises.realpath(symlinkPath);
26
22
 
27
- tsPaths['@rws-framework/' + pkgName + '/*'] = targetPath + '/*';
28
- tsPaths['@rws-framework/' + pkgName] = targetPath + '/src/index.ts';
29
- }
30
- }
23
+ tsPaths['@rws-framework/' + pkgName + '/*'] = targetPath + '/*';
24
+ tsPaths['@rws-framework/' + pkgName] = targetPath + '/src/index.ts';
31
25
  }
32
26
 
33
27
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rws-framework/client",
3
3
  "private": false,
4
- "version": "2.26.0",
4
+ "version": "2.26.1",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
7
7
  "docs": "typedoc --tsconfig ./tsconfig.json"