@angular-eslint/schematics 14.0.4-alpha.2 → 14.0.4-alpha.3

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.
@@ -97,7 +97,7 @@ function convertTSLintDisableCommentsForProject(projectName) {
97
97
  let pathRoot = '';
98
98
  // Default Angular CLI project at the root of the workspace
99
99
  if (existingProjectConfig.root === '') {
100
- pathRoot = 'src';
100
+ pathRoot = existingProjectConfig.sourceRoot || 'src';
101
101
  }
102
102
  else {
103
103
  pathRoot = existingProjectConfig.root;
package/dist/utils.js CHANGED
@@ -129,7 +129,7 @@ function addESLintTargetToProject(projectName, targetName) {
129
129
  let lintFilePatternsRoot = '';
130
130
  // Default Angular CLI project at the root of the workspace
131
131
  if (existingProjectConfig.root === '') {
132
- lintFilePatternsRoot = 'src';
132
+ lintFilePatternsRoot = existingProjectConfig.sourceRoot || 'src';
133
133
  }
134
134
  else {
135
135
  lintFilePatternsRoot = existingProjectConfig.root;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/schematics",
3
- "version": "14.0.4-alpha.2+f836e54",
3
+ "version": "14.0.4-alpha.3+36c62c3",
4
4
  "description": "Angular Schematics for angular-eslint",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -33,8 +33,8 @@
33
33
  "save": "devDependencies"
34
34
  },
35
35
  "dependencies": {
36
- "@angular-eslint/eslint-plugin": "14.0.4-alpha.2+f836e54",
37
- "@angular-eslint/eslint-plugin-template": "14.0.4-alpha.2+f836e54",
36
+ "@angular-eslint/eslint-plugin": "14.0.4-alpha.3+36c62c3",
37
+ "@angular-eslint/eslint-plugin-template": "14.0.4-alpha.3+36c62c3",
38
38
  "ignore": "5.2.0",
39
39
  "strip-json-comments": "3.1.1",
40
40
  "tmp": "0.2.1"
@@ -48,5 +48,5 @@
48
48
  "peerDependencies": {
49
49
  "@angular/cli": ">= 14.0.0 < 15.0.0"
50
50
  },
51
- "gitHead": "f836e54278de41ff4a54263af1fc086e4a6dc5a1"
51
+ "gitHead": "36c62c34098b4cf5b841e577038257b2110bf60a"
52
52
  }