@teambit/formatter 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 FormatterAspect: 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 FormatterAspect = cjsModule.FormatterAspect;
5
+
6
+ export default cjsModule;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { FormatterAspect } from './formatter.aspect';
2
2
  export { FormatterAspect };
3
3
  export type { FormatterMain, FormatterConfig } from './formatter.main.runtime';
4
- export { FormatResults, Formatter, FileFormatResult, ComponentFormatResult } from './formatter';
4
+ export type { FormatResults, Formatter, FileFormatResult, ComponentFormatResult } from './formatter';
5
5
  export type { FormatTask } from './format.task';
6
6
  export type { FormatterEnv } from './formatter-env-type';
7
7
  export type { FormatterContext, FormatterOptions } from './formatter-context';
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, "ComponentFormatResult", {
7
- enumerable: true,
8
- get: function () {
9
- return _formatter2().ComponentFormatResult;
10
- }
11
- });
12
- Object.defineProperty(exports, "FileFormatResult", {
13
- enumerable: true,
14
- get: function () {
15
- return _formatter2().FileFormatResult;
16
- }
17
- });
18
- Object.defineProperty(exports, "FormatResults", {
19
- enumerable: true,
20
- get: function () {
21
- return _formatter2().FormatResults;
22
- }
23
- });
24
- Object.defineProperty(exports, "Formatter", {
25
- enumerable: true,
26
- get: function () {
27
- return _formatter2().Formatter;
28
- }
29
- });
30
6
  Object.defineProperty(exports, "FormatterAspect", {
31
7
  enumerable: true,
32
8
  get: function () {
@@ -41,13 +17,6 @@ function _formatter() {
41
17
  };
42
18
  return data;
43
19
  }
44
- function _formatter2() {
45
- const data = require("./formatter");
46
- _formatter2 = function () {
47
- return data;
48
- };
49
- return data;
50
- }
51
20
  var _default = exports.default = _formatter().FormatterAspect;
52
21
 
53
22
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_formatter","data","require","_formatter2","_default","exports","default","FormatterAspect"],"sources":["index.ts"],"sourcesContent":["import { FormatterAspect } from './formatter.aspect';\n\nexport { FormatterAspect };\nexport type { FormatterMain, FormatterConfig } from './formatter.main.runtime';\nexport { FormatResults, Formatter, FileFormatResult, ComponentFormatResult } from './formatter';\nexport type { FormatTask } from './format.task';\nexport type { FormatterEnv } from './formatter-env-type';\nexport type { FormatterContext, FormatterOptions } from './formatter-context';\nexport default FormatterAspect;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,SAAAE,YAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,WAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAgG,IAAAG,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAIjFC,4BAAe"}
1
+ {"version":3,"names":["_formatter","data","require","_default","exports","default","FormatterAspect"],"sources":["index.ts"],"sourcesContent":["import { FormatterAspect } from './formatter.aspect';\n\nexport { FormatterAspect };\nexport type { FormatterMain, FormatterConfig } from './formatter.main.runtime';\nexport type { FormatResults, Formatter, FileFormatResult, ComponentFormatResult } from './formatter';\nexport type { FormatTask } from './format.task';\nexport type { FormatterEnv } from './formatter-env-type';\nexport type { FormatterContext, FormatterOptions } from './formatter-context';\nexport default FormatterAspect;\n"],"mappings":";;;;;;;;;;;;AAAA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAqD,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAQtCC,4BAAe"}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_formatter@1.0.65/dist/formatter.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_formatter@1.0.65/dist/formatter.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_formatter@1.0.67/dist/formatter.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.defender_formatter@1.0.67/dist/formatter.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 FormatterAspect = cjsModule.FormatterAspect;
5
+
6
+ export default cjsModule;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/formatter",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "homepage": "https://bit.cloud/teambit/defender/formatter",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.defender",
8
8
  "name": "formatter",
9
- "version": "1.0.65"
9
+ "version": "1.0.67"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -17,12 +17,12 @@
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/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/logger": "0.0.917"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/lodash": "4.14.165",
@@ -35,7 +35,7 @@
35
35
  "@teambit/defender.content.formatter-overview": "1.96.1"
36
36
  },
37
37
  "peerDependencies": {
38
- "@teambit/legacy": "1.0.605",
38
+ "@teambit/legacy": "1.0.607",
39
39
  "react": "^16.8.0 || ^17.0.0",
40
40
  "react-dom": "^16.8.0 || ^17.0.0"
41
41
  },