tnx-shared 5.0.13 → 5.0.17

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.
@@ -216,7 +216,7 @@ task('updateDepdendServiceToLatest', function (done) {
216
216
  console.log(`latest version of service ${serviceName} is ${version.versionString}`);
217
217
  modifyFile(pathPackageJson, rootProjectPath, (content) => {
218
218
  const json = JSON.parse(content);
219
- json.dependencies[serviceName] = version.versionString;
219
+ json.dependencies[serviceName] = `~${version.versionString}`;
220
220
  return JSON.stringify(json);
221
221
  });
222
222
  }
@@ -237,7 +237,7 @@ function resetPackageJson() {
237
237
  return new Promise((resolve) => {
238
238
  const json = JSON.parse(content);
239
239
  getCurrentVersion({}, 'tnx-shared', (data) => {
240
- json.dependencies['tnx-shared'] = `^${data.versionString}`;
240
+ json.dependencies['tnx-shared'] = `~${data.versionString}`;
241
241
  resolve(JSON.stringify(json));
242
242
  });
243
243
  });
@@ -682,13 +682,13 @@ function buildTsConfigPath(paths, project) {
682
682
  const refType = prj.refType ? prj.refType : 'package';
683
683
  if (project == 'tnx-shared') {
684
684
  if (refType != 'package') {
685
- paths[`tnx-shared`] = ['projects/tnx-shared/src/lib/public-api'];
685
+ paths[`tnx-shared`] = [`${prj.refPath}/src/lib/public-api`];
686
686
  }
687
687
  }
688
688
  else {
689
689
  const pathAlias = `${prefix}${project}`;
690
690
  if (refType != 'package') {
691
- paths[`${pathAlias}/*`] = [paths[`${prefix}template-direct/*`][0].replaceAll('{{projectName}}', project).replaceAll('{{projectPath}}', '')];
691
+ paths[`${pathAlias}/*`] = [`${prj.refPath}/src/lib/*/public-api`];
692
692
  }
693
693
  }
694
694
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "tnx-shared",
3
- "version": "5.0.13",
3
+ "version": "5.0.17",
4
4
  "clientVersion": "5.0",
5
- "versionPrev": "5.0.12",
5
+ "versionPrev": "5.0.16",
6
6
  "version5.0": "5.0.11",
7
7
  "version5.1": "5.1.13",
8
8
  "description": "",