@teambit/bit 1.5.37 → 1.6.1

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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/bit",
3
- "version": "1.5.37",
3
+ "version": "1.6.1",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/bit",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "bit",
9
- "version": "1.5.37"
9
+ "version": "1.6.1"
10
10
  },
11
11
  "dependencies": {
12
12
  "comment-json": "3.0.3",
@@ -31,131 +31,130 @@
31
31
  "@yarnpkg/plugin-pack": "3.2.0",
32
32
  "@yarnpkg/core": "3.5.2",
33
33
  "@yarnpkg/cli": "3.6.1",
34
- "@teambit/legacy": "1.0.624",
34
+ "@teambit/legacy": "1.0.625",
35
35
  "@apollo/client": "3.6.9",
36
- "@babel/runtime": "7.20.0",
37
36
  "@teambit/harmony": "0.4.6",
37
+ "@teambit/design.ui.brand.logo": "1.96.2",
38
38
  "@teambit/component-id": "1.2.0",
39
39
  "@teambit/legacy-bit-id": "1.1.0",
40
40
  "@teambit/ui-foundation.ui.navigation.react-router-adapter": "6.1.1",
41
41
  "@teambit/base-react.navigation.link": "2.0.27",
42
42
  "@teambit/toolbox.performance.v8-cache": "0.0.31",
43
- "@teambit/cli": "0.0.839",
44
- "@teambit/aspect-loader": "1.0.106",
45
- "@teambit/clear-cache": "0.0.395",
46
- "@teambit/config": "0.0.857",
47
- "@teambit/workspace.modules.node-modules-linker": "0.0.157",
48
- "@teambit/api-reference": "1.0.106",
49
- "@teambit/api-server": "1.0.106",
50
- "@teambit/application": "1.0.106",
51
- "@teambit/aspect": "1.0.106",
52
- "@teambit/babel": "1.0.106",
53
- "@teambit/bit-custom-aspect": "1.0.106",
54
- "@teambit/builder": "1.0.106",
55
- "@teambit/bundler": "1.0.106",
56
- "@teambit/cache": "0.0.932",
57
- "@teambit/changelog": "1.0.106",
58
- "@teambit/checkout": "1.0.106",
59
- "@teambit/cloud": "0.0.387",
60
- "@teambit/code": "1.0.106",
61
- "@teambit/command-bar": "1.0.106",
62
- "@teambit/community": "1.0.106",
63
- "@teambit/compiler": "1.0.106",
64
- "@teambit/component-compare": "1.0.106",
65
- "@teambit/component-log": "1.0.106",
66
- "@teambit/component-sizer": "1.0.106",
67
- "@teambit/component-tree": "1.0.106",
68
- "@teambit/component-writer": "1.0.106",
69
- "@teambit/component": "1.0.106",
70
- "@teambit/compositions": "1.0.106",
71
- "@teambit/dependencies": "1.0.106",
72
- "@teambit/dependency-resolver": "1.0.106",
73
- "@teambit/deprecation": "1.0.106",
74
- "@teambit/dev-files": "1.0.106",
75
- "@teambit/diagnostic": "1.0.106",
76
- "@teambit/docs": "1.0.106",
77
- "@teambit/eject": "1.0.106",
78
- "@teambit/env": "1.0.106",
79
- "@teambit/envs": "1.0.106",
80
- "@teambit/eslint": "1.0.106",
81
- "@teambit/export": "1.0.106",
82
- "@teambit/express": "0.0.938",
83
- "@teambit/forking": "1.0.106",
84
- "@teambit/formatter": "1.0.106",
85
- "@teambit/generator": "1.0.107",
86
- "@teambit/git": "1.0.106",
87
- "@teambit/global-config": "0.0.841",
88
- "@teambit/graph": "1.0.106",
89
- "@teambit/graphql": "1.0.106",
90
- "@teambit/harmony-ui-app": "1.0.106",
91
- "@teambit/html": "1.0.106",
92
- "@teambit/importer": "1.0.106",
93
- "@teambit/insights": "1.0.106",
94
- "@teambit/install": "1.0.106",
95
- "@teambit/ipc-events": "1.0.106",
96
- "@teambit/isolator": "1.0.106",
97
- "@teambit/issues": "1.0.106",
98
- "@teambit/jest": "1.0.106",
99
- "@teambit/lanes": "1.0.106",
100
- "@teambit/linter": "1.0.106",
101
- "@teambit/lister": "1.0.106",
102
- "@teambit/logger": "0.0.932",
103
- "@teambit/mdx": "1.0.106",
104
- "@teambit/merge-lanes": "1.0.106",
105
- "@teambit/merging": "1.0.106",
106
- "@teambit/mocha": "1.0.106",
107
- "@teambit/mover": "1.0.106",
108
- "@teambit/multi-compiler": "1.0.106",
109
- "@teambit/multi-tester": "1.0.106",
110
- "@teambit/new-component-helper": "1.0.106",
111
- "@teambit/node": "1.0.106",
112
- "@teambit/notifications": "1.0.106",
113
- "@teambit/panels": "0.0.840",
114
- "@teambit/pkg": "1.0.106",
115
- "@teambit/pnpm": "1.0.106",
116
- "@teambit/prettier": "1.0.106",
117
- "@teambit/preview": "1.0.106",
118
- "@teambit/pubsub": "1.0.106",
119
- "@teambit/react-native": "1.0.106",
120
- "@teambit/react-router": "1.0.106",
121
- "@teambit/react": "1.0.106",
122
- "@teambit/readme": "1.0.106",
123
- "@teambit/refactoring": "1.0.106",
124
- "@teambit/remove": "1.0.106",
125
- "@teambit/renaming": "1.0.106",
126
- "@teambit/schema": "1.0.106",
127
- "@teambit/scope": "1.0.106",
128
- "@teambit/sidebar": "1.0.106",
129
- "@teambit/sign": "1.0.106",
130
- "@teambit/snapping": "1.0.106",
131
- "@teambit/stash": "1.0.106",
132
- "@teambit/status": "1.0.106",
133
- "@teambit/tester": "1.0.106",
134
- "@teambit/tracker": "1.0.106",
135
- "@teambit/typescript": "1.0.106",
136
- "@teambit/ui": "1.0.106",
137
- "@teambit/update-dependencies": "1.0.106",
138
- "@teambit/user-agent": "1.0.106",
139
- "@teambit/variants": "0.0.950",
140
- "@teambit/watcher": "1.0.106",
141
- "@teambit/webpack": "1.0.106",
142
- "@teambit/worker": "0.0.1143",
143
- "@teambit/workspace-config-files": "1.0.106",
144
- "@teambit/workspace": "1.0.106",
145
- "@teambit/yarn": "1.0.106"
43
+ "@teambit/cli": "0.0.840",
44
+ "@teambit/aspect-loader": "1.0.108",
45
+ "@teambit/clear-cache": "0.0.396",
46
+ "@teambit/config": "0.0.859",
47
+ "@teambit/workspace.modules.node-modules-linker": "0.0.158",
48
+ "@teambit/api-reference": "1.0.108",
49
+ "@teambit/api-server": "1.0.108",
50
+ "@teambit/application": "1.0.108",
51
+ "@teambit/aspect": "1.0.108",
52
+ "@teambit/babel": "1.0.108",
53
+ "@teambit/builder": "1.0.108",
54
+ "@teambit/bundler": "1.0.108",
55
+ "@teambit/cache": "0.0.933",
56
+ "@teambit/changelog": "1.0.108",
57
+ "@teambit/checkout": "1.0.108",
58
+ "@teambit/cloud": "0.0.388",
59
+ "@teambit/code": "1.0.108",
60
+ "@teambit/command-bar": "1.0.108",
61
+ "@teambit/community": "1.0.108",
62
+ "@teambit/compiler": "1.0.108",
63
+ "@teambit/component-compare": "1.0.108",
64
+ "@teambit/component-log": "1.0.108",
65
+ "@teambit/component-sizer": "1.0.108",
66
+ "@teambit/component-tree": "1.0.108",
67
+ "@teambit/component-writer": "1.0.108",
68
+ "@teambit/component": "1.0.108",
69
+ "@teambit/compositions": "1.0.108",
70
+ "@teambit/dependencies": "1.0.108",
71
+ "@teambit/dependency-resolver": "1.0.108",
72
+ "@teambit/deprecation": "1.0.108",
73
+ "@teambit/dev-files": "1.0.108",
74
+ "@teambit/diagnostic": "1.0.108",
75
+ "@teambit/docs": "1.0.108",
76
+ "@teambit/eject": "1.0.108",
77
+ "@teambit/env": "1.0.108",
78
+ "@teambit/envs": "1.0.108",
79
+ "@teambit/eslint": "1.0.108",
80
+ "@teambit/export": "1.0.108",
81
+ "@teambit/express": "0.0.939",
82
+ "@teambit/forking": "1.0.108",
83
+ "@teambit/formatter": "1.0.108",
84
+ "@teambit/generator": "1.0.109",
85
+ "@teambit/git": "1.0.108",
86
+ "@teambit/global-config": "0.0.842",
87
+ "@teambit/graph": "1.0.108",
88
+ "@teambit/graphql": "1.0.108",
89
+ "@teambit/harmony-ui-app": "1.0.108",
90
+ "@teambit/html": "1.0.108",
91
+ "@teambit/importer": "1.0.108",
92
+ "@teambit/insights": "1.0.108",
93
+ "@teambit/install": "1.0.108",
94
+ "@teambit/ipc-events": "1.0.108",
95
+ "@teambit/isolator": "1.0.108",
96
+ "@teambit/issues": "1.0.108",
97
+ "@teambit/jest": "1.0.108",
98
+ "@teambit/lanes": "1.0.108",
99
+ "@teambit/linter": "1.0.108",
100
+ "@teambit/lister": "1.0.108",
101
+ "@teambit/logger": "0.0.933",
102
+ "@teambit/mdx": "1.0.108",
103
+ "@teambit/merge-lanes": "1.0.108",
104
+ "@teambit/merging": "1.0.108",
105
+ "@teambit/mocha": "1.0.108",
106
+ "@teambit/mover": "1.0.108",
107
+ "@teambit/multi-compiler": "1.0.108",
108
+ "@teambit/multi-tester": "1.0.108",
109
+ "@teambit/new-component-helper": "1.0.108",
110
+ "@teambit/node": "1.0.108",
111
+ "@teambit/notifications": "1.0.108",
112
+ "@teambit/panels": "0.0.841",
113
+ "@teambit/pkg": "1.0.108",
114
+ "@teambit/pnpm": "1.0.108",
115
+ "@teambit/prettier": "1.0.108",
116
+ "@teambit/preview": "1.0.108",
117
+ "@teambit/pubsub": "1.0.108",
118
+ "@teambit/react-native": "1.0.108",
119
+ "@teambit/react-router": "1.0.108",
120
+ "@teambit/react": "1.0.108",
121
+ "@teambit/readme": "1.0.108",
122
+ "@teambit/refactoring": "1.0.108",
123
+ "@teambit/remove": "1.0.108",
124
+ "@teambit/renaming": "1.0.108",
125
+ "@teambit/schema": "1.0.108",
126
+ "@teambit/scope": "1.0.108",
127
+ "@teambit/sidebar": "1.0.108",
128
+ "@teambit/sign": "1.0.108",
129
+ "@teambit/snapping": "1.0.108",
130
+ "@teambit/stash": "1.0.108",
131
+ "@teambit/status": "1.0.108",
132
+ "@teambit/tester": "1.0.108",
133
+ "@teambit/tracker": "1.0.108",
134
+ "@teambit/typescript": "1.0.108",
135
+ "@teambit/ui": "1.0.108",
136
+ "@teambit/update-dependencies": "1.0.108",
137
+ "@teambit/user-agent": "1.0.108",
138
+ "@teambit/variants": "0.0.952",
139
+ "@teambit/watcher": "1.0.108",
140
+ "@teambit/webpack": "1.0.108",
141
+ "@teambit/worker": "0.0.1144",
142
+ "@teambit/workspace-config-files": "1.0.108",
143
+ "@teambit/workspace": "1.0.108",
144
+ "@teambit/yarn": "1.0.108"
146
145
  },
147
146
  "devDependencies": {
148
- "@types/react": "^17.0.67",
149
147
  "@types/fs-extra": "9.0.7",
150
148
  "@types/semver": "7.3.4",
151
- "@types/node": "12.20.4",
152
- "@types/jest": "^26.0.0",
153
- "@types/testing-library__jest-dom": "5.9.5",
154
- "@teambit/design.ui.brand.logo": "1.96.2",
155
- "@teambit/bit.content.what-is-bit": "1.96.2"
149
+ "@types/jest": "^29.2.2",
150
+ "@types/testing-library__jest-dom": "^5.9.5",
151
+ "@teambit/bit.content.what-is-bit": "1.96.2",
152
+ "@teambit/harmony.envs.core-aspect-env": "0.0.13"
156
153
  },
157
154
  "peerDependencies": {
158
- "@teambit/legacy": "1.0.624"
155
+ "@teambit/legacy": "1.0.625",
156
+ "react": "17.0.2",
157
+ "@types/react": "^18.2.12"
159
158
  },
160
159
  "license": "Apache-2.0",
161
160
  "optionalDependencies": {},
@@ -167,18 +166,9 @@
167
166
  },
168
167
  "default": "./dist/index.js"
169
168
  },
170
- "packageManagerPublishArgs": [
171
- "--access public"
172
- ],
173
169
  "private": false,
174
- "bvm": {
175
- "node": "20.10.0"
176
- },
177
- "bin": {
178
- "bbit": "bin/bit"
179
- },
180
170
  "engines": {
181
- "node": ">=12.22.0"
171
+ "node": ">=16.0.0"
182
172
  },
183
173
  "repository": {
184
174
  "type": "git",
@@ -187,12 +177,12 @@
187
177
  "keywords": [
188
178
  "bit",
189
179
  "bit-aspect",
180
+ "bit-core-aspect",
190
181
  "components",
191
182
  "collaboration",
192
- "web",
193
- "react",
194
- "react-components",
195
- "angular",
196
- "angular-components"
183
+ "web"
184
+ ],
185
+ "packageManagerPublishArgs": [
186
+ "--access public"
197
187
  ]
198
188
  }
package/tsconfig.json CHANGED
@@ -1,38 +1,33 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "lib": [
4
- "es2019",
5
- "DOM",
6
- "ES6",
7
- "DOM.Iterable",
8
- "ScriptHost"
4
+ "esnext",
5
+ "dom",
6
+ "dom.Iterable"
9
7
  ],
10
- "target": "es2015",
11
- "module": "CommonJS",
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
- "outDir": "dist",
14
+ "skipLibCheck": true,
20
15
  "moduleResolution": "node",
21
16
  "esModuleInterop": true,
22
- "rootDir": ".",
23
17
  "resolveJsonModule": true,
24
- "emitDeclarationOnly": true,
25
- "emitDecoratorMetadata": true,
26
- "allowSyntheticDefaultImports": true,
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
- "package.json"
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<SVGProps<SVGSVGElement> & { title?: string }>;
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
+ }
@@ -1,5 +0,0 @@
1
-
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // const aspect = require("@teambit/bit-custom-aspect");
4
- // module.exports = aspect;
5
- module.exports.path = require.resolve("@teambit/bit-custom-aspect");