@teambit/eslint 1.0.385 → 1.0.387

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.defender/eslint@1.0.385" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.defender/eslint@1.0.387" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.defender/eslint-preview"]=t():e["teambit.defender/eslint-preview"]=t()}(self,(()=>(()=>{"use strict";var e={78112:(e,t,o)=>{var n={id:"teambit.defender/eslint@1.0.385",homepage:"https://bit.cloud/teambit/defender/eslint",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-eslint.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>f,compositions_metadata:()=>v,overview:()=>m});var r={};o.r(r),o.d(r,{default:()=>u});var i=o(78112);o(41594);const a=MdxJsReact,s=TeambitMdxUiMdxScopeContext;var c=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},d.apply(null,arguments)}var p={},l="wrapper";function u(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,c);return(0,a.mdx)(l,d({},p,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(s.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}u.isMDXComponent=!0;const f=[i],m=[r],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.defender/eslint-preview"]=t():e["teambit.defender/eslint-preview"]=t()}(self,(()=>(()=>{"use strict";var e={47690:(e,t,o)=>{var n={id:"teambit.defender/eslint@1.0.387",homepage:"https://bit.cloud/teambit/defender/eslint",exported:!0};function r(){const e=i(o(41594));return r=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,i.__bit_component=n;const a=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-eslint.svg"}));a.__bit_component=n,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.r(n),o.d(n,{compositions:()=>f,compositions_metadata:()=>v,overview:()=>m});var r={};o.r(r),o.d(r,{default:()=>u});var i=o(47690);o(41594);const a=MdxJsReact,s=TeambitMdxUiMdxScopeContext;var c=["components"];function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},d.apply(null,arguments)}var p={},l="wrapper";function u(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,c);return(0,a.mdx)(l,d({},p,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(s.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}u.isMDXComponent=!0;const f=[i],m=[r],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
@@ -1402,7 +1402,7 @@
1402
1402
  "componentId": {
1403
1403
  "scope": "teambit.defender",
1404
1404
  "name": "eslint",
1405
- "version": "1.0.385"
1405
+ "version": "1.0.387"
1406
1406
  },
1407
1407
  "taggedModuleExports": []
1408
1408
  }
@@ -1 +1 @@
1
- {"version":3,"names":["_cli","data","require","_logger","_defenderEslint","_constants","_eslint","_eslint2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ESLintMain","constructor","logger","createLinter","context","options","transformers","ESLintModule","consoleWarning","getCloudDomain","mergedOptions","getOptions","configMutator","EslintConfigMutator","transformerContext","fix","afterMutation","runTransformersWithContext","clone","ESLintLinter","raw","provider","loggerExt","createLogger","ESLintAspect","id","exports","MainRuntime","LoggerAspect","addRuntime","mergedConfig","overrideConfig","config","extensions","extensionFormats","useEslintrc","cwd","pluginPath","fixTypes","assign","Array","isArray","newConfig","reduce","acc","transformer"],"sources":["eslint.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\n// import { Linter as ESLinter, ESLint as ESLintLib } from 'eslint';\nimport { ESLint as ESLintLib } from 'eslint';\nimport { Linter, LinterContext, LinterMain } from '@teambit/linter';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport {\n EslintConfigMutator,\n EslintConfigTransformContext,\n EslintConfigTransformer,\n} from '@teambit/defender.eslint.config-mutator';\nimport { getCloudDomain } from '@teambit/legacy/dist/constants';\nimport { WorkspaceConfigFilesMain } from '@teambit/workspace-config-files';\nimport { ESLintAspect } from './eslint.aspect';\nimport { ESLintLinter } from './eslint.linter';\n\nexport type ESLintOptions = {\n /**\n * linter config for eslint.\n */\n // config: ESLinter.Config;\n config: ESLintLib.Options;\n\n /**\n * specify to path to resolve eslint plugins from.\n */\n pluginPath?: string;\n\n /**\n * decide the formatter for the CLI output.\n */\n formatter?: string;\n\n /**\n * file types to lint.\n */\n extensions?: string[];\n\n // TODO: improve type\n /**\n * typescript config for eslint.\n * If you pass this, bit will auto generate a temp config file in `node_modules/.cache` and pass it to eslint.\n * In case you have include/exclude props in the tsconfig, they will be changed to handle the fact that they are inside the node_modules/.cache folder.\n * a `../../` will be added to the beginning of the path.\n */\n tsConfig?: Record<string, any>;\n};\n\nexport class ESLintMain {\n constructor(private logger: Logger) {}\n\n /**\n * @deprecated use eslint linter from https://bit.cloud/teambit/defender/eslint-linter\n * create a eslint linter instance.\n * @param options eslint options.\n * @param ESLintModule reference to an `eslint` module.\n */\n createLinter(\n context: LinterContext,\n options: ESLintOptions,\n transformers: EslintConfigTransformer[] = [],\n ESLintModule?: any\n ): Linter {\n this.logger.consoleWarning(\n `The 'Eslint' aspect is deprecated. Please use the 'Eslint linter' component instead. For more details, visit: https://${getCloudDomain()}/teambit/defender/eslint-linter`\n );\n const mergedOptions = getOptions(options, context);\n const configMutator = new EslintConfigMutator(mergedOptions);\n const transformerContext: EslintConfigTransformContext = { fix: !!context.fix };\n const afterMutation = runTransformersWithContext(configMutator.clone(), transformers, transformerContext);\n\n // @ts-ignore\n return new ESLintLinter(this.logger, afterMutation.raw, ESLintModule);\n }\n\n static runtime = MainRuntime;\n\n static dependencies = [LoggerAspect];\n\n static async provider([loggerExt]: [LoggerMain, WorkspaceConfigFilesMain, LinterMain]): Promise<ESLintMain> {\n const logger = loggerExt.createLogger(ESLintAspect.id);\n return new ESLintMain(logger);\n }\n}\n\nESLintAspect.addRuntime(ESLintMain);\n\n/**\n * get options for eslint.\n */\nfunction getOptions(options: ESLintOptions, context: LinterContext): ESLintOptions {\n const mergedConfig: ESLintLib.Options = {\n // @ts-ignore - this is a bug in the @types/eslint types\n overrideConfig: options.config,\n extensions: context.extensionFormats,\n useEslintrc: false,\n // TODO: this should be probably be replaced with resolve-plugins-relative-to\n // https://eslint.org/docs/latest/use/command-line-interface#--resolve-plugins-relative-to\n cwd: options.pluginPath,\n fix: !!context.fix,\n fixTypes: context.fixTypes,\n };\n return Object.assign({}, options, { config: mergedConfig, extensions: context.extensionFormats });\n}\n\nexport function runTransformersWithContext(\n config: EslintConfigMutator,\n transformers: EslintConfigTransformer[] = [],\n context: EslintConfigTransformContext\n): EslintConfigMutator {\n if (!Array.isArray(transformers)) return config;\n const newConfig = transformers.reduce((acc, transformer) => {\n return transformer(acc, context);\n }, config);\n return newConfig;\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,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6BC,CAAC4B,sBAAY,CAAC;AAQtCJ,sBAAY,CAACK,UAAU,CAAC7B,UAAU,CAAC;;AAEnC;AACA;AACA;AACA,SAASW,UAAUA,CAACN,OAAsB,EAAED,OAAsB,EAAiB;EACjF,MAAM0B,YAA+B,GAAG;IACtC;IACAC,cAAc,EAAE1B,OAAO,CAAC2B,MAAM;IAC9BC,UAAU,EAAE7B,OAAO,CAAC8B,gBAAgB;IACpCC,WAAW,EAAE,KAAK;IAClB;IACA;IACAC,GAAG,EAAE/B,OAAO,CAACgC,UAAU;IACvBtB,GAAG,EAAE,CAAC,CAACX,OAAO,CAACW,GAAG;IAClBuB,QAAQ,EAAElC,OAAO,CAACkC;EACpB,CAAC;EACD,OAAOpD,MAAM,CAACqD,MAAM,CAAC,CAAC,CAAC,EAAElC,OAAO,EAAE;IAAE2B,MAAM,EAAEF,YAAY;IAAEG,UAAU,EAAE7B,OAAO,CAAC8B;EAAiB,CAAC,CAAC;AACnG;AAEO,SAASjB,0BAA0BA,CACxCe,MAA2B,EAC3B1B,YAAuC,GAAG,EAAE,EAC5CF,OAAqC,EAChB;EACrB,IAAI,CAACoC,KAAK,CAACC,OAAO,CAACnC,YAAY,CAAC,EAAE,OAAO0B,MAAM;EAC/C,MAAMU,SAAS,GAAGpC,YAAY,CAACqC,MAAM,CAAC,CAACC,GAAG,EAAEC,WAAW,KAAK;IAC1D,OAAOA,WAAW,CAACD,GAAG,EAAExC,OAAO,CAAC;EAClC,CAAC,EAAE4B,MAAM,CAAC;EACV,OAAOU,SAAS;AAClB","ignoreList":[]}
1
+ {"version":3,"names":["_cli","data","require","_logger","_defenderEslint","_constants","_eslint","_eslint2","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ESLintMain","constructor","logger","createLinter","context","options","transformers","ESLintModule","consoleWarning","getCloudDomain","mergedOptions","getOptions","configMutator","EslintConfigMutator","transformerContext","fix","afterMutation","runTransformersWithContext","clone","ESLintLinter","raw","provider","loggerExt","createLogger","ESLintAspect","id","exports","MainRuntime","LoggerAspect","addRuntime","mergedConfig","overrideConfig","config","extensions","extensionFormats","useEslintrc","cwd","pluginPath","fixTypes","assign","Array","isArray","newConfig","reduce","acc","transformer"],"sources":["eslint.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\n// import { Linter as ESLinter, ESLint as ESLintLib } from 'eslint';\nimport { ESLint as ESLintLib } from 'eslint';\nimport { Linter, LinterContext, LinterMain } from '@teambit/linter';\nimport { Logger, LoggerAspect, LoggerMain } from '@teambit/logger';\nimport {\n EslintConfigMutator,\n EslintConfigTransformContext,\n EslintConfigTransformer,\n} from '@teambit/defender.eslint.config-mutator';\nimport { getCloudDomain } from '@teambit/legacy/dist/constants';\nimport { WorkspaceConfigFilesMain } from '@teambit/workspace-config-files';\nimport { ESLintAspect } from './eslint.aspect';\nimport { ESLintLinter } from './eslint.linter';\n\nexport type ESLintOptions = {\n /**\n * linter config for eslint.\n */\n // config: ESLinter.Config;\n config: ESLintLib.Options;\n\n /**\n * specify to path to resolve eslint plugins from.\n */\n pluginPath?: string;\n\n /**\n * decide the formatter for the CLI output.\n */\n formatter?: string;\n\n /**\n * file types to lint.\n */\n extensions?: string[];\n\n // TODO: improve type\n /**\n * typescript config for eslint.\n * If you pass this, bit will auto generate a temp config file in `node_modules/.cache` and pass it to eslint.\n * In case you have include/exclude props in the tsconfig, they will be changed to handle the fact that they are inside the node_modules/.cache folder.\n * a `../../` will be added to the beginning of the path.\n */\n tsConfig?: Record<string, any>;\n};\n\nexport class ESLintMain {\n constructor(private logger: Logger) {}\n\n /**\n * @deprecated use eslint linter from https://bit.cloud/teambit/defender/eslint-linter\n * create a eslint linter instance.\n * @param options eslint options.\n * @param ESLintModule reference to an `eslint` module.\n */\n createLinter(\n context: LinterContext,\n options: ESLintOptions,\n transformers: EslintConfigTransformer[] = [],\n ESLintModule?: any\n ): Linter {\n this.logger.consoleWarning(\n `The 'Eslint' aspect is deprecated. Please use the 'Eslint linter' component instead. For more details, visit: https://${getCloudDomain()}/teambit/defender/eslint-linter`\n );\n const mergedOptions = getOptions(options, context);\n const configMutator = new EslintConfigMutator(mergedOptions);\n const transformerContext: EslintConfigTransformContext = { fix: !!context.fix };\n const afterMutation = runTransformersWithContext(configMutator.clone(), transformers, transformerContext);\n\n // @ts-ignore\n return new ESLintLinter(this.logger, afterMutation.raw, ESLintModule);\n }\n\n static runtime = MainRuntime;\n\n static dependencies = [LoggerAspect];\n\n static async provider([loggerExt]: [LoggerMain, WorkspaceConfigFilesMain, LinterMain]): Promise<ESLintMain> {\n const logger = loggerExt.createLogger(ESLintAspect.id);\n return new ESLintMain(logger);\n }\n}\n\nESLintAspect.addRuntime(ESLintMain);\n\n/**\n * get options for eslint.\n */\nfunction getOptions(options: ESLintOptions, context: LinterContext): ESLintOptions {\n const mergedConfig: ESLintLib.Options = {\n // @ts-ignore - this is a bug in the @types/eslint types\n overrideConfig: options.config,\n extensions: context.extensionFormats,\n useEslintrc: false,\n // TODO: this should be probably be replaced with resolve-plugins-relative-to\n // https://eslint.org/docs/latest/use/command-line-interface#--resolve-plugins-relative-to\n cwd: options.pluginPath,\n fix: !!context.fix,\n fixTypes: context.fixTypes as ESLintLib.Options['fixTypes'],\n };\n return Object.assign({}, options, { config: mergedConfig, extensions: context.extensionFormats });\n}\n\nexport function runTransformersWithContext(\n config: EslintConfigMutator,\n transformers: EslintConfigTransformer[] = [],\n context: EslintConfigTransformContext\n): EslintConfigMutator {\n if (!Array.isArray(transformers)) return config;\n const newConfig = transformers.reduce((acc, transformer) => {\n return transformer(acc, context);\n }, config);\n return newConfig;\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAE,QAAA;EAAA,MAAAF,IAAA,GAA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AAUA,CAACN,OAAsB,EAAED,OAAsB,EAAiB;EACjF,MAAM0B,YAA+B,GAAG;IACtC;IACAC,cAAc,EAAE1B,OAAO,CAAC2B,MAAM;IAC9BC,UAAU,EAAE7B,OAAO,CAAC8B,gBAAgB;IACpCC,WAAW,EAAE,KAAK;IAClB;IACA;IACAC,GAAG,EAAE/B,OAAO,CAACgC,UAAU;IACvBtB,GAAG,EAAE,CAAC,CAACX,OAAO,CAACW,GAAG;IAClBuB,QAAQ,EAAElC,OAAO,CAACkC;EACpB,CAAC;EACD,OAAOpD,MAAM,CAACqD,MAAM,CAAC,CAAC,CAAC,EAAElC,OAAO,EAAE;IAAE2B,MAAM,EAAEF,YAAY;IAAEG,UAAU,EAAE7B,OAAO,CAAC8B;EAAiB,CAAC,CAAC;AACnG;AAEO,SAASjB,0BAA0BA,CACxCe,MAA2B,EAC3B1B,YAAuC,GAAG,EAAE,EAC5CF,OAAqC,EAChB;EACrB,IAAI,CAACoC,KAAK,CAACC,OAAO,CAACnC,YAAY,CAAC,EAAE,OAAO0B,MAAM;EAC/C,MAAMU,SAAS,GAAGpC,YAAY,CAACqC,MAAM,CAAC,CAACC,GAAG,EAAEC,WAAW,KAAK;IAC1D,OAAOA,WAAW,CAACD,GAAG,EAAExC,OAAO,CAAC;EAClC,CAAC,EAAE4B,MAAM,CAAC;EACV,OAAOU,SAAS;AAClB","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_eslint@1.0.385/dist/eslint.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_eslint@1.0.385/dist/eslint.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_eslint@1.0.387/dist/eslint.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.defender_eslint@1.0.387/dist/eslint.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/eslint",
3
- "version": "1.0.385",
3
+ "version": "1.0.387",
4
4
  "homepage": "https://bit.cloud/teambit/defender/eslint",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.defender",
8
8
  "name": "eslint",
9
- "version": "1.0.385"
9
+ "version": "1.0.387"
10
10
  },
11
11
  "dependencies": {
12
12
  "eslint": "8.56.0",
@@ -16,12 +16,12 @@
16
16
  "p-map-series": "2.1.0",
17
17
  "@babel/runtime": "7.23.2",
18
18
  "@teambit/harmony": "0.4.6",
19
- "@teambit/component": "1.0.385",
20
- "@teambit/linter": "1.0.385",
21
- "@teambit/logger": "0.0.1055",
22
- "@teambit/cli": "0.0.962",
19
+ "@teambit/component": "1.0.387",
20
+ "@teambit/linter": "1.0.387",
21
+ "@teambit/logger": "0.0.1057",
22
+ "@teambit/cli": "0.0.964",
23
23
  "@teambit/defender.eslint.config-mutator": "0.0.102",
24
- "@teambit/workspace-config-files": "1.0.385"
24
+ "@teambit/workspace-config-files": "1.0.387"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/eslint": "8.56.6",
@@ -33,7 +33,7 @@
33
33
  "@teambit/harmony.envs.core-aspect-env": "0.0.47"
34
34
  },
35
35
  "peerDependencies": {
36
- "@teambit/legacy": "1.0.736",
36
+ "@teambit/legacy": "1.0.737",
37
37
  "react": "^17.0.0 || ^18.0.0",
38
38
  "@types/react": "^17.0.73"
39
39
  },