@travetto/eslint 4.1.1 → 4.1.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/eslint",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "ES Linting Rules",
5
5
  "keywords": [
6
6
  "eslint",
@@ -28,13 +28,13 @@
28
28
  "@travetto/manifest": "^4.1.0",
29
29
  "@types/eslint": "^8.56.10",
30
30
  "@types/eslint__js": "^8.42.3",
31
- "@typescript-eslint/eslint-plugin": "^7.12.0",
32
- "@typescript-eslint/parser": "^7.12.0",
31
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
32
+ "@typescript-eslint/parser": "^7.13.1",
33
33
  "eslint": "^8.56.0",
34
34
  "eslint-plugin-unused-imports": "^3.2.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@travetto/cli": "^4.1.1"
37
+ "@travetto/cli": "^4.1.2"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@travetto/cli": {
@@ -29,10 +29,10 @@ export class LintCommand implements CliCommandShape {
29
29
  async main(): Promise<void> {
30
30
  let files: string[];
31
31
  if (this.since) {
32
- files = (await CliScmUtil.findChangedFiles(this.since))
32
+ files = (await CliScmUtil.findChangedFiles(this.since, 'HEAD', true))
33
33
  .filter(x => !x.endsWith('package.json') && !x.endsWith('package-lock.json'));
34
34
  } else {
35
- const mods = await CliModuleUtil.findModules(this.changed ? 'changed' : 'all');
35
+ const mods = await CliModuleUtil.findModules(this.changed ? 'changed' : 'all', undefined, 'HEAD', true);
36
36
  files = mods.filter(x => x.workspace).map(x => x.sourcePath);
37
37
  }
38
38