@teambit/ipc-events 1.0.107 → 1.0.109
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["teambit.harmony/ipc-events-preview"]=o():e["teambit.harmony/ipc-events-preview"]=o()}(self,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var r in t)e.o(t,r)&&!e.o(o,r)&&Object.defineProperty(o,r,{enumerable:!0,get:t[r]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o),e.d(o,{compositions:()=>t,compositions_metadata:()=>i,overview:()=>r});const t=[],r=[],i={compositions:[]};return o})()));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ScopeMain } from '@teambit/scope';
|
|
2
2
|
import { SlotRegistry } from '@teambit/harmony';
|
|
3
3
|
import { Logger, LoggerMain } from '@teambit/logger';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
type EventName = 'onPostInstall' | 'onPostObjectsPersist';
|
|
5
|
+
type GotEvent = (eventName: EventName) => Promise<void>;
|
|
6
|
+
type GotEventSlot = SlotRegistry<GotEvent>;
|
|
7
7
|
/**
|
|
8
8
|
* imagine you have multiple processes running in the background, such as `bit watch`, `bit start`, `bit server`.
|
|
9
9
|
* the user is running `bit install` from the cli, how do you let these processes know that the installation is complete?
|
package/package.json
CHANGED
|
@@ -1,36 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/ipc-events",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.109",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/ipc-events",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "ipc-events",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.109"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
13
13
|
"p-map-series": "2.1.0",
|
|
14
|
-
"core-js": "^3.0.0",
|
|
15
|
-
"@babel/runtime": "7.20.0",
|
|
16
14
|
"@teambit/harmony": "0.4.6",
|
|
17
|
-
"@teambit/cli": "0.0.
|
|
18
|
-
"@teambit/logger": "0.0.
|
|
19
|
-
"@teambit/scope": "1.0.
|
|
15
|
+
"@teambit/cli": "0.0.841",
|
|
16
|
+
"@teambit/logger": "0.0.934",
|
|
17
|
+
"@teambit/scope": "1.0.109"
|
|
20
18
|
},
|
|
21
19
|
"devDependencies": {
|
|
22
20
|
"@types/fs-extra": "9.0.7",
|
|
23
21
|
"@types/mocha": "9.1.0",
|
|
24
|
-
"@types/
|
|
25
|
-
"@types/
|
|
26
|
-
"@
|
|
27
|
-
"@types/jest": "^26.0.0",
|
|
28
|
-
"@types/testing-library__jest-dom": "5.9.5"
|
|
22
|
+
"@types/jest": "^29.2.2",
|
|
23
|
+
"@types/testing-library__jest-dom": "^5.9.5",
|
|
24
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.14"
|
|
29
25
|
},
|
|
30
26
|
"peerDependencies": {
|
|
31
|
-
"@teambit/legacy": "1.0.624"
|
|
32
|
-
"react": "^16.8.0 || ^17.0.0",
|
|
33
|
-
"react-dom": "^16.8.0 || ^17.0.0"
|
|
27
|
+
"@teambit/legacy": "1.0.624"
|
|
34
28
|
},
|
|
35
29
|
"license": "Apache-2.0",
|
|
36
30
|
"optionalDependencies": {},
|
|
@@ -44,7 +38,7 @@
|
|
|
44
38
|
},
|
|
45
39
|
"private": false,
|
|
46
40
|
"engines": {
|
|
47
|
-
"node": ">=
|
|
41
|
+
"node": ">=16.0.0"
|
|
48
42
|
},
|
|
49
43
|
"repository": {
|
|
50
44
|
"type": "git",
|
|
@@ -53,12 +47,9 @@
|
|
|
53
47
|
"keywords": [
|
|
54
48
|
"bit",
|
|
55
49
|
"bit-aspect",
|
|
50
|
+
"bit-core-aspect",
|
|
56
51
|
"components",
|
|
57
52
|
"collaboration",
|
|
58
|
-
"web"
|
|
59
|
-
"react",
|
|
60
|
-
"react-components",
|
|
61
|
-
"angular",
|
|
62
|
-
"angular-components"
|
|
53
|
+
"web"
|
|
63
54
|
]
|
|
64
55
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,38 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"lib": [
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"DOM.Iterable",
|
|
8
|
-
"ScriptHost"
|
|
4
|
+
"esnext",
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.Iterable"
|
|
9
7
|
],
|
|
10
|
-
"target": "
|
|
11
|
-
"module": "
|
|
12
|
-
"jsx": "react",
|
|
13
|
-
"allowJs": true,
|
|
14
|
-
"composite": true,
|
|
8
|
+
"target": "es2020",
|
|
9
|
+
"module": "es2020",
|
|
10
|
+
"jsx": "react-jsx",
|
|
15
11
|
"declaration": true,
|
|
16
12
|
"sourceMap": true,
|
|
17
|
-
"skipLibCheck": true,
|
|
18
13
|
"experimentalDecorators": true,
|
|
19
|
-
"
|
|
14
|
+
"skipLibCheck": true,
|
|
20
15
|
"moduleResolution": "node",
|
|
21
16
|
"esModuleInterop": true,
|
|
22
|
-
"rootDir": ".",
|
|
23
17
|
"resolveJsonModule": true,
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"strictPropertyInitialization": false,
|
|
28
|
-
"strict": true,
|
|
29
|
-
"noImplicitAny": false,
|
|
30
|
-
"preserveConstEnums": true
|
|
18
|
+
"allowJs": true,
|
|
19
|
+
"outDir": "dist",
|
|
20
|
+
"emitDeclarationOnly": true
|
|
31
21
|
},
|
|
32
22
|
"exclude": [
|
|
23
|
+
"artifacts",
|
|
24
|
+
"public",
|
|
33
25
|
"dist",
|
|
26
|
+
"node_modules",
|
|
27
|
+
"package.json",
|
|
34
28
|
"esm.mjs",
|
|
35
|
-
"
|
|
29
|
+
"**/*.cjs",
|
|
30
|
+
"./dist"
|
|
36
31
|
],
|
|
37
32
|
"include": [
|
|
38
33
|
"**/*",
|
package/types/asset.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ declare module '*.png' {
|
|
|
5
5
|
declare module '*.svg' {
|
|
6
6
|
import type { FunctionComponent, SVGProps } from 'react';
|
|
7
7
|
|
|
8
|
-
export const ReactComponent: FunctionComponent<
|
|
8
|
+
export const ReactComponent: FunctionComponent<
|
|
9
|
+
SVGProps<SVGSVGElement> & { title?: string }
|
|
10
|
+
>;
|
|
9
11
|
const src: string;
|
|
10
12
|
export default src;
|
|
11
13
|
}
|
|
12
|
-
|
|
13
|
-
// @TODO Gilad
|
|
14
14
|
declare module '*.jpg' {
|
|
15
15
|
const value: any;
|
|
16
16
|
export = value;
|
|
@@ -27,3 +27,15 @@ declare module '*.bmp' {
|
|
|
27
27
|
const value: any;
|
|
28
28
|
export = value;
|
|
29
29
|
}
|
|
30
|
+
declare module '*.otf' {
|
|
31
|
+
const value: any;
|
|
32
|
+
export = value;
|
|
33
|
+
}
|
|
34
|
+
declare module '*.woff' {
|
|
35
|
+
const value: any;
|
|
36
|
+
export = value;
|
|
37
|
+
}
|
|
38
|
+
declare module '*.woff2' {
|
|
39
|
+
const value: any;
|
|
40
|
+
export = value;
|
|
41
|
+
}
|
|
File without changes
|