@teambit/preview.cli.webpack-events-listener 0.0.175 → 0.0.177

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.
@@ -1,10 +1,10 @@
1
1
  import { PubsubMain } from '@teambit/pubsub';
2
- export declare type CompilationResult = {
2
+ export type CompilationResult = {
3
3
  errors?: Error[];
4
4
  warnings?: Error[];
5
5
  compiling: boolean;
6
6
  };
7
- export declare type Handlers = {
7
+ export type Handlers = {
8
8
  /**
9
9
  * emitted when compilation completes. Might happen after server is already up and running.
10
10
  */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SubscribeToWebpackEvents = void 0;
3
+ exports.SubscribeToWebpackEvents = SubscribeToWebpackEvents;
4
4
  const webpack_1 = require("@teambit/webpack");
5
5
  /**
6
6
  * Listen for Webpack compilation pub sub events.
@@ -23,5 +23,4 @@ function SubscribeToWebpackEvents(pubsub, handlers = {}) {
23
23
  }
24
24
  });
25
25
  }
26
- exports.SubscribeToWebpackEvents = SubscribeToWebpackEvents;
27
26
  //# sourceMappingURL=webpack-events-listener.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"webpack-events-listener.js","sourceRoot":"","sources":["../webpack-events-listener.ts"],"names":[],"mappings":";;;AAAA,8CAA8G;AAoB9G;;GAEG;AACH,SAAgB,wBAAwB,CAAC,MAAkB,EAAE,WAAqB,EAAE;IAClF,MAAM,CAAC,GAAG,CAAC,uBAAa,CAAC,EAAE,EAAE,CAAC,KAAwB,EAAE,EAAE;;QACxD,IAAI,KAAK,CAAC,IAAI,KAAK,qCAA2B,CAAC,IAAI,EAAE;YACnD,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC;YAE1C,MAAM,OAAO,GAAG;gBACd,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM;gBAChC,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC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package/package.json CHANGED
@@ -1,19 +1,18 @@
1
1
  {
2
2
  "name": "@teambit/preview.cli.webpack-events-listener",
3
- "version": "0.0.175",
3
+ "version": "0.0.177",
4
4
  "homepage": "https://bit.cloud/teambit/preview/cli/webpack-events-listener",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.preview",
8
8
  "name": "cli/webpack-events-listener",
9
- "version": "0.0.175"
9
+ "version": "0.0.177"
10
10
  },
11
11
  "dependencies": {},
12
12
  "devDependencies": {
13
13
  "@types/mocha": "9.1.0",
14
14
  "@types/jest": "26.0.20",
15
- "@types/node": "12.20.4",
16
- "@babel/runtime": "7.20.0"
15
+ "@types/node": "22.10.5"
17
16
  },
18
17
  "peerDependencies": {},
19
18
  "license": "Apache-2.0",
@@ -1,32 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "lib": [
4
- "es2019",
5
- "DOM",
6
- "ES6",
7
- "DOM.Iterable"
8
- ],
9
- "target": "es2015",
10
- "module": "CommonJS",
11
- "jsx": "react",
12
- "allowJs": true,
13
- "composite": true,
14
- "declaration": true,
15
- "sourceMap": true,
16
- "skipLibCheck": true,
17
- "experimentalDecorators": true,
18
- "outDir": "dist",
19
- "moduleResolution": "node",
20
- "esModuleInterop": true,
21
- "rootDir": ".",
22
- "resolveJsonModule": true
23
- },
24
- "exclude": [
25
- "dist",
26
- "package.json"
27
- ],
28
- "include": [
29
- "**/*",
30
- "**/*.json"
31
- ]
32
- }
package/tsconfig.json DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "lib": [
4
- "es2019",
5
- "DOM",
6
- "ES6",
7
- "DOM.Iterable"
8
- ],
9
- "target": "es2015",
10
- "module": "CommonJS",
11
- "jsx": "react",
12
- "allowJs": true,
13
- "composite": true,
14
- "declaration": true,
15
- "sourceMap": true,
16
- "skipLibCheck": true,
17
- "experimentalDecorators": true,
18
- "outDir": "dist",
19
- "moduleResolution": "node",
20
- "esModuleInterop": true,
21
- "rootDir": ".",
22
- "resolveJsonModule": true
23
- },
24
- "exclude": [
25
- "dist",
26
- "package.json"
27
- ],
28
- "include": [
29
- "**/*",
30
- "**/*.json"
31
- ]
32
- }