@travetto/eslint 5.0.0-rc.0 → 5.0.0-rc.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/eslint",
3
- "version": "5.0.0-rc.0",
3
+ "version": "5.0.0-rc.1",
4
4
  "description": "ES Linting Rules",
5
5
  "keywords": [
6
6
  "eslint",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@eslint/js": "^8.56.0",
28
- "@travetto/manifest": "^5.0.0-rc.0",
28
+ "@travetto/base": "^5.0.0-rc.1",
29
29
  "@types/eslint": "^8.56.10",
30
30
  "@types/eslint__js": "^8.42.3",
31
31
  "@typescript-eslint/eslint-plugin": "^7.15.0",
@@ -34,7 +34,7 @@
34
34
  "eslint-plugin-unused-imports": "^3.2.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@travetto/cli": "^5.0.0-rc.0"
37
+ "@travetto/cli": "^5.0.0-rc.1"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@travetto/cli": {
@@ -1,6 +1,6 @@
1
1
  import * as parser from '@typescript-eslint/parser';
2
2
 
3
- import { RuntimeContext } from '@travetto/manifest';
3
+ import { RuntimeContext } from '@travetto/base';
4
4
 
5
5
  export const RULE_COMMON = {
6
6
  languageOptions: {
@@ -1,7 +1,8 @@
1
1
  import fs from 'node:fs/promises';
2
2
  import path from 'node:path';
3
3
 
4
- import { RuntimeContext, RuntimeIndex } from '@travetto/manifest';
4
+ import { RuntimeContext } from '@travetto/base';
5
+ import { RuntimeIndex } from '@travetto/manifest';
5
6
 
6
7
  export async function buildEslintConfig(): Promise<string> {
7
8
  const root = RuntimeIndex.getModule('@travetto/eslint')!.sourcePath;
@@ -5,7 +5,7 @@ import unused from 'eslint-plugin-unused-imports';
5
5
  import { configs } from '@eslint/js';
6
6
  import tsEslintPlugin from '@typescript-eslint/eslint-plugin';
7
7
 
8
- import { RuntimeContext } from '@travetto/manifest';
8
+ import { RuntimeContext } from '@travetto/base';
9
9
 
10
10
  import { IGNORES, RULE_COMMON } from './eslint-common';
11
11
  import { STD_RULES } from './eslint-std-rules';
@@ -1,7 +1,6 @@
1
1
  import { spawn } from 'node:child_process';
2
2
 
3
- import { RuntimeContext } from '@travetto/manifest';
4
- import { Env, ExecUtil } from '@travetto/base';
3
+ import { Env, ExecUtil, RuntimeContext } from '@travetto/base';
5
4
  import { CliCommandShape, CliCommand, CliModuleUtil, CliScmUtil } from '@travetto/cli';
6
5
 
7
6
  /**
@@ -1,7 +1,7 @@
1
1
  import fs from 'node:fs/promises';
2
2
 
3
3
  import { CliCommandShape, CliCommand } from '@travetto/cli';
4
- import { RuntimeContext } from '@travetto/manifest';
4
+ import { RuntimeContext } from '@travetto/base';
5
5
 
6
6
  import { buildEslintConfig } from './bin/eslint-config-file';
7
7