@teambit/watcher 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,4 @@
1
+ export const WatcherAspect: any;
2
+ export const CheckTypes: any;
3
+ export default cjsModule;
4
+ import cjsModule from "./index.js";
package/dist/esm.mjs ADDED
@@ -0,0 +1,8 @@
1
+ // eslint-disable-next-line import/no-unresolved
2
+ import cjsModule from './index.js';
3
+
4
+ export const WatcherAspect = cjsModule.WatcherAspect;
5
+ export const CheckTypes = cjsModule.CheckTypes;
6
+
7
+ export default cjsModule;
8
+
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { WatcherAspect } from './watcher.aspect';
2
- export { WatchOptions } from './watcher';
2
+ export type { WatchOptions } from './watcher';
3
3
  export { CheckTypes } from './check-types';
4
4
  export type { WatcherMain } from './watcher.main.runtime';
5
5
  export default WatcherAspect;
package/dist/index.js CHANGED
@@ -9,12 +9,6 @@ Object.defineProperty(exports, "CheckTypes", {
9
9
  return _checkTypes().CheckTypes;
10
10
  }
11
11
  });
12
- Object.defineProperty(exports, "WatchOptions", {
13
- enumerable: true,
14
- get: function () {
15
- return _watcher2().WatchOptions;
16
- }
17
- });
18
12
  Object.defineProperty(exports, "WatcherAspect", {
19
13
  enumerable: true,
20
14
  get: function () {
@@ -29,13 +23,6 @@ function _watcher() {
29
23
  };
30
24
  return data;
31
25
  }
32
- function _watcher2() {
33
- const data = require("./watcher");
34
- _watcher2 = function () {
35
- return data;
36
- };
37
- return data;
38
- }
39
26
  function _checkTypes() {
40
27
  const data = require("./check-types");
41
28
  _checkTypes = function () {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_watcher","data","require","_watcher2","_checkTypes","_default","exports","default","WatcherAspect"],"sources":["index.ts"],"sourcesContent":["import { WatcherAspect } from './watcher.aspect';\n\nexport { WatchOptions } from './watcher';\nexport { CheckTypes } from './check-types';\nexport type { WatcherMain } from './watcher.main.runtime';\nexport default WatcherAspect;\nexport { WatcherAspect };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,UAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,SAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,YAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,WAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA2C,IAAAI,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAE5BC,wBAAa"}
1
+ {"version":3,"names":["_watcher","data","require","_checkTypes","_default","exports","default","WatcherAspect"],"sources":["index.ts"],"sourcesContent":["import { WatcherAspect } from './watcher.aspect';\n\nexport type { WatchOptions } from './watcher';\nexport { CheckTypes } from './check-types';\nexport type { WatcherMain } from './watcher.main.runtime';\nexport default WatcherAspect;\nexport { WatcherAspect };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,SAAAE,YAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,WAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA2C,IAAAG,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAE5BC,wBAAa"}
package/esm.mjs ADDED
@@ -0,0 +1,8 @@
1
+ // eslint-disable-next-line import/no-unresolved
2
+ import cjsModule from './index.js';
3
+
4
+ export const WatcherAspect = cjsModule.WatcherAspect;
5
+ export const CheckTypes = cjsModule.CheckTypes;
6
+
7
+ export default cjsModule;
8
+
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/watcher",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "homepage": "https://bit.cloud/teambit/workspace/watcher",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.workspace",
8
8
  "name": "watcher",
9
- "version": "1.0.65"
9
+ "version": "1.0.67"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -20,14 +20,14 @@
20
20
  "@babel/runtime": "7.20.0",
21
21
  "@teambit/harmony": "0.4.6",
22
22
  "@teambit/component-id": "1.2.0",
23
- "@teambit/workspace": "1.0.65",
24
- "@teambit/cli": "0.0.822",
25
- "@teambit/compiler": "1.0.65",
26
- "@teambit/logger": "0.0.915",
27
- "@teambit/pubsub": "1.0.65",
28
- "@teambit/global-config": "0.0.824",
29
- "@teambit/ipc-events": "1.0.65",
30
- "@teambit/scope": "1.0.65"
23
+ "@teambit/workspace": "1.0.67",
24
+ "@teambit/cli": "0.0.824",
25
+ "@teambit/compiler": "1.0.67",
26
+ "@teambit/logger": "0.0.917",
27
+ "@teambit/pubsub": "1.0.67",
28
+ "@teambit/global-config": "0.0.826",
29
+ "@teambit/ipc-events": "1.0.67",
30
+ "@teambit/scope": "1.0.67"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/fs-extra": "9.0.7",
@@ -40,7 +40,7 @@
40
40
  "@types/testing-library__jest-dom": "5.9.5"
41
41
  },
42
42
  "peerDependencies": {
43
- "@teambit/legacy": "1.0.605",
43
+ "@teambit/legacy": "1.0.607",
44
44
  "react": "^16.8.0 || ^17.0.0",
45
45
  "react-dom": "^16.8.0 || ^17.0.0"
46
46
  },