@eui/tools 5.3.30 → 5.3.33

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.
@@ -51,9 +51,9 @@ module.exports.build = (pkg, isMaster) => {
51
51
  if (tools.isFileExists(tsLintPath)) {
52
52
  // TODO: remove TSLint since it's deprecated and should not be used by projects in the future
53
53
  tools.logWarning('TSLint is deprecated and will be removed in the future. Consider migrating to ESLint')
54
- const tsConfigPath = path.join(pkg.paths.pkgRootDirectory, 'tsconfig.lib.json');
55
- tools.logInfo(`running tslint -c ${tsLintPath} -p ${tsConfigPath}`);
56
- return tools.runScript(`tslint -c ${tsLintPath} -p ${tsConfigPath} -t verbose`);
54
+ const script = `running tslint -c ${tsLintPath} -p ${pkg.paths.tsConfig} -t verbose`
55
+ tools.logInfo(script);
56
+ return tools.runScript(script);
57
57
  } else if(tools.isFileExists(esLintPath)) {
58
58
  // the project path information are located inside the .eslintrc.json
59
59
  tools.logInfo(`running ng lint ${pkg.name}`);
@@ -101,7 +101,7 @@ module.exports.build = (pkg, isMaster) => {
101
101
  return tools.rimraf(docDistPath);
102
102
  })
103
103
  .then(() => {
104
- return tools.runScript(`compodoc -p ${pkg.paths.pkgRootDirectory}/tsconfig.lib.json -d ${docDistPath} --theme material --disableGraph --disableCoverage --disableSourceCode --disableDomTree --disableProtected --disablePrivate --disableLifeCycleHooks --disableTemplateTab --disableStyleTab --hideGenerator --toggleMenuItems all`);
104
+ return tools.runScript(`compodoc -p ${pkg.paths.pkgRootDirectory}/${pkg.tsConfigFileName} -d ${docDistPath} --theme material --disableGraph --disableCoverage --disableSourceCode --disableDomTree --disableProtected --disablePrivate --disableLifeCycleHooks --disableTemplateTab --disableStyleTab --hideGenerator --toggleMenuItems all`);
105
105
  })
106
106
  .then(() => {
107
107
  tools.logSuccess();
@@ -217,7 +217,7 @@ module.exports.buildSubEntry = (pkg, subEntry) => {
217
217
  subEntryPath = subEntryPath.replace('/ng-package.json', '');
218
218
  tools.logInfo(`${subEntryPath} found... injecting angular.json for sub entry`);
219
219
 
220
- return configUtils.angular.registerAngularPackageSubEntry(subEntry, subEntryPath);
220
+ return configUtils.angular.registerAngularPackageSubEntry(subEntry, subEntryPath, pkg);
221
221
  };
222
222
  }
223
223
  })