@teambit/snapping 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.
- package/artifacts/__bit_junit.xml +9 -0
- package/artifacts/preview/teambit_component_snapping-preview.js +1 -0
- package/dist/flattened-edges.d.ts +1 -1
- package/dist/generate-comp-from-scope.d.ts +1 -1
- package/dist/snap-cmd.js +1 -1
- package/dist/snap-cmd.js.map +1 -1
- package/dist/snap-distance-cmd.d.ts +15 -0
- package/dist/snap-distance-cmd.js +44 -0
- package/dist/snap-distance-cmd.js.map +1 -0
- package/dist/snap-from-scope.cmd.d.ts +3 -3
- package/dist/snap-from-scope.cmd.js +1 -2
- package/dist/snap-from-scope.cmd.js.map +1 -1
- package/dist/snapping.main.runtime.d.ts +7 -7
- package/dist/snapping.main.runtime.js +21 -22
- package/dist/snapping.main.runtime.js.map +1 -1
- package/dist/snapping.spec.js +2 -2
- package/dist/snapping.spec.js.map +1 -1
- package/dist/tag-cmd.js +1 -1
- package/dist/tag-cmd.js.map +1 -1
- package/dist/tag-from-scope.cmd.d.ts +1 -1
- package/dist/tag-model-component.d.ts +4 -4
- package/dist/tag-model-component.js +11 -14
- package/dist/tag-model-component.js.map +1 -1
- package/package.json +28 -37
- package/tsconfig.json +16 -21
- package/types/asset.d.ts +15 -3
- /package/dist/{preview-1703590665075.js → preview-1703698405864.js} +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/snapping",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.109",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/snapping",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "snapping",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.109"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -17,30 +17,28 @@
|
|
|
17
17
|
"semver": "7.5.2",
|
|
18
18
|
"node-fetch": "2.6.7",
|
|
19
19
|
"uuid": "8.3.2",
|
|
20
|
-
"core-js": "^3.0.0",
|
|
21
|
-
"@babel/runtime": "7.20.0",
|
|
22
20
|
"@teambit/bit-error": "0.0.404",
|
|
23
21
|
"@teambit/component-id": "1.2.0",
|
|
24
22
|
"@teambit/graph.cleargraph": "0.0.1",
|
|
25
23
|
"@teambit/harmony": "0.4.6",
|
|
26
24
|
"@teambit/component-version": "1.0.3",
|
|
27
25
|
"@teambit/lane-id": "0.0.311",
|
|
28
|
-
"@teambit/issues": "1.0.
|
|
29
|
-
"@teambit/graph": "1.0.
|
|
30
|
-
"@teambit/logger": "0.0.
|
|
31
|
-
"@teambit/scope": "1.0.
|
|
32
|
-
"@teambit/component": "1.0.
|
|
33
|
-
"@teambit/dependencies": "1.0.
|
|
34
|
-
"@teambit/dependency-resolver": "1.0.
|
|
35
|
-
"@teambit/cli": "0.0.
|
|
36
|
-
"@teambit/component-issues": "0.0.
|
|
37
|
-
"@teambit/global-config": "0.0.
|
|
38
|
-
"@teambit/builder": "1.0.
|
|
39
|
-
"@teambit/export": "1.0.
|
|
40
|
-
"@teambit/importer": "1.0.
|
|
41
|
-
"@teambit/insights": "1.0.
|
|
42
|
-
"@teambit/workspace": "1.0.
|
|
43
|
-
"@teambit/workspace.modules.node-modules-linker": "0.0.
|
|
26
|
+
"@teambit/issues": "1.0.109",
|
|
27
|
+
"@teambit/graph": "1.0.109",
|
|
28
|
+
"@teambit/logger": "0.0.934",
|
|
29
|
+
"@teambit/scope": "1.0.109",
|
|
30
|
+
"@teambit/component": "1.0.109",
|
|
31
|
+
"@teambit/dependencies": "1.0.109",
|
|
32
|
+
"@teambit/dependency-resolver": "1.0.109",
|
|
33
|
+
"@teambit/cli": "0.0.841",
|
|
34
|
+
"@teambit/component-issues": "0.0.138",
|
|
35
|
+
"@teambit/global-config": "0.0.843",
|
|
36
|
+
"@teambit/builder": "1.0.109",
|
|
37
|
+
"@teambit/export": "1.0.109",
|
|
38
|
+
"@teambit/importer": "1.0.109",
|
|
39
|
+
"@teambit/insights": "1.0.109",
|
|
40
|
+
"@teambit/workspace": "1.0.109",
|
|
41
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.159"
|
|
44
42
|
},
|
|
45
43
|
"devDependencies": {
|
|
46
44
|
"@types/lodash": "4.14.165",
|
|
@@ -50,20 +48,16 @@
|
|
|
50
48
|
"@types/node-fetch": "2.5.12",
|
|
51
49
|
"@types/uuid": "8.3.4",
|
|
52
50
|
"@types/mocha": "9.1.0",
|
|
53
|
-
"@types/
|
|
54
|
-
"@types/
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@teambit/
|
|
59
|
-
"@teambit/component.testing.mock-components": "0.0.179",
|
|
60
|
-
"@teambit/harmony.testing.load-aspect": "0.0.178",
|
|
51
|
+
"@types/jest": "^29.2.2",
|
|
52
|
+
"@types/testing-library__jest-dom": "^5.9.5",
|
|
53
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.14",
|
|
54
|
+
"@teambit/compiler": "1.0.109",
|
|
55
|
+
"@teambit/component.testing.mock-components": "0.0.181",
|
|
56
|
+
"@teambit/harmony.testing.load-aspect": "0.0.180",
|
|
61
57
|
"@teambit/workspace.testing.mock-workspace": "0.0.18"
|
|
62
58
|
},
|
|
63
59
|
"peerDependencies": {
|
|
64
|
-
"@teambit/legacy": "1.0.624"
|
|
65
|
-
"react": "^16.8.0 || ^17.0.0",
|
|
66
|
-
"react-dom": "^16.8.0 || ^17.0.0"
|
|
60
|
+
"@teambit/legacy": "1.0.624"
|
|
67
61
|
},
|
|
68
62
|
"license": "Apache-2.0",
|
|
69
63
|
"optionalDependencies": {},
|
|
@@ -77,7 +71,7 @@
|
|
|
77
71
|
},
|
|
78
72
|
"private": false,
|
|
79
73
|
"engines": {
|
|
80
|
-
"node": ">=
|
|
74
|
+
"node": ">=16.0.0"
|
|
81
75
|
},
|
|
82
76
|
"repository": {
|
|
83
77
|
"type": "git",
|
|
@@ -86,12 +80,9 @@
|
|
|
86
80
|
"keywords": [
|
|
87
81
|
"bit",
|
|
88
82
|
"bit-aspect",
|
|
83
|
+
"bit-core-aspect",
|
|
89
84
|
"components",
|
|
90
85
|
"collaboration",
|
|
91
|
-
"web"
|
|
92
|
-
"react",
|
|
93
|
-
"react-components",
|
|
94
|
-
"angular",
|
|
95
|
-
"angular-components"
|
|
86
|
+
"web"
|
|
96
87
|
]
|
|
97
88
|
}
|
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
|