@teambit/linter 1.0.65 → 1.0.67

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/dist/esm.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ export const LinterAspect: any;
2
+ export default cjsModule;
3
+ import cjsModule from "./index.js";
package/dist/esm.mjs ADDED
@@ -0,0 +1,6 @@
1
+ // eslint-disable-next-line import/no-unresolved
2
+ import cjsModule from './index.js';
3
+
4
+ export const LinterAspect = cjsModule.LinterAspect;
5
+
6
+ export default cjsModule;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { LinterAspect } from './linter.aspect';
2
2
  export { LinterAspect };
3
3
  export type { LinterMain, LinterConfig } from './linter.main.runtime';
4
- export { LintResults, Linter, LintResult, ComponentLintResult } from './linter';
4
+ export type { LintResults, Linter, LintResult, ComponentLintResult } from './linter';
5
5
  export type { LintTask } from './lint.task';
6
6
  export type { LinterContext, LinterOptions } from './linter-context';
7
7
  export type { LinterEnv } from './linter-env-type';
package/dist/index.js CHANGED
@@ -3,30 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "ComponentLintResult", {
7
- enumerable: true,
8
- get: function () {
9
- return _linter2().ComponentLintResult;
10
- }
11
- });
12
- Object.defineProperty(exports, "LintResult", {
13
- enumerable: true,
14
- get: function () {
15
- return _linter2().LintResult;
16
- }
17
- });
18
- Object.defineProperty(exports, "LintResults", {
19
- enumerable: true,
20
- get: function () {
21
- return _linter2().LintResults;
22
- }
23
- });
24
- Object.defineProperty(exports, "Linter", {
25
- enumerable: true,
26
- get: function () {
27
- return _linter2().Linter;
28
- }
29
- });
30
6
  Object.defineProperty(exports, "LinterAspect", {
31
7
  enumerable: true,
32
8
  get: function () {
@@ -41,13 +17,6 @@ function _linter() {
41
17
  };
42
18
  return data;
43
19
  }
44
- function _linter2() {
45
- const data = require("./linter");
46
- _linter2 = function () {
47
- return data;
48
- };
49
- return data;
50
- }
51
20
  var _default = exports.default = _linter().LinterAspect;
52
21
 
53
22
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_linter","data","require","_linter2","_default","exports","default","LinterAspect"],"sources":["index.ts"],"sourcesContent":["import { LinterAspect } from './linter.aspect';\n\nexport { LinterAspect };\nexport type { LinterMain, LinterConfig } from './linter.main.runtime';\nexport { LintResults, Linter, LintResult, ComponentLintResult } from './linter';\nexport type { LintTask } from './lint.task';\nexport type { LinterContext, LinterOptions } from './linter-context';\nexport type { LinterEnv } from './linter-env-type';\nexport default LinterAspect;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAgF,IAAAG,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAIjEC,sBAAY"}
1
+ {"version":3,"names":["_linter","data","require","_default","exports","default","LinterAspect"],"sources":["index.ts"],"sourcesContent":["import { LinterAspect } from './linter.aspect';\n\nexport { LinterAspect };\nexport type { LinterMain, LinterConfig } from './linter.main.runtime';\nexport type { LintResults, Linter, LintResult, ComponentLintResult } from './linter';\nexport type { LintTask } from './lint.task';\nexport type { LinterContext, LinterOptions } from './linter-context';\nexport type { LinterEnv } from './linter-env-type';\nexport default LinterAspect;\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA+C,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAQhCC,sBAAY"}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_linter@1.0.65/dist/linter.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_linter@1.0.65/dist/linter.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_linter@1.0.67/dist/linter.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_linter@1.0.67/dist/linter.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/esm.mjs ADDED
@@ -0,0 +1,6 @@
1
+ // eslint-disable-next-line import/no-unresolved
2
+ import cjsModule from './index.js';
3
+
4
+ export const LinterAspect = cjsModule.LinterAspect;
5
+
6
+ export default cjsModule;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/linter",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "homepage": "https://bit.cloud/teambit/defender/linter",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.defender",
8
8
  "name": "linter",
9
- "version": "1.0.65"
9
+ "version": "1.0.67"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -17,13 +17,13 @@
17
17
  "core-js": "^3.0.0",
18
18
  "@babel/runtime": "7.20.0",
19
19
  "@teambit/harmony": "0.4.6",
20
- "@teambit/cli": "0.0.822",
21
- "@teambit/component": "1.0.65",
22
- "@teambit/envs": "1.0.65",
23
- "@teambit/workspace": "1.0.65",
24
- "@teambit/builder": "1.0.65",
25
- "@teambit/isolator": "1.0.65",
26
- "@teambit/logger": "0.0.915"
20
+ "@teambit/cli": "0.0.824",
21
+ "@teambit/component": "1.0.67",
22
+ "@teambit/envs": "1.0.67",
23
+ "@teambit/workspace": "1.0.67",
24
+ "@teambit/builder": "1.0.67",
25
+ "@teambit/isolator": "1.0.67",
26
+ "@teambit/logger": "0.0.917"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash": "4.14.165",
@@ -36,7 +36,7 @@
36
36
  "@teambit/defender.content.linter-overview": "1.95.0"
37
37
  },
38
38
  "peerDependencies": {
39
- "@teambit/legacy": "1.0.605",
39
+ "@teambit/legacy": "1.0.607",
40
40
  "react": "^16.8.0 || ^17.0.0",
41
41
  "react-dom": "^16.8.0 || ^17.0.0"
42
42
  },