@teambit/bit 0.0.570 → 0.0.574

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/bit.docs.tsx ADDED
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+
3
+ export const tags = ['components', 'compositions'];
4
+
5
+ export const abstract = 'Bit is a toolchain for development of component-based applications';
6
+
7
+ export default function Docs() {
8
+ return <div>hi </div>;
9
+ }
@@ -0,0 +1,26 @@
1
+ // // import { Slot, SlotRegistry } from '@teambit/harmony';
2
+
3
+ // export interface Extension {
4
+ // /**
5
+ // * icon of the extension.
6
+ // */
7
+ // icon?: string
8
+ // }
9
+
10
+ // // export type ExtensionContext<CT, DT> = {
11
+ // // dependencies: DT,
12
+ // // config: CT,
13
+ // // slots: SlotRegistry
14
+ // // };
15
+
16
+ // export type ExtensionProvider = () => Extension;
17
+
18
+ // export type ExtensionProps = {
19
+ // name: string,
20
+ // slots: Slot[],
21
+ // provider: ExtensionProvider
22
+ // };
23
+
24
+ // export function createExtension<>(props: ExtensionProps) {
25
+
26
+ // }
File without changes
package/hooks/hook.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { Slot, SlotRegistry } from '@teambit/harmony';
2
+
3
+ export { Slot as Hook, SlotRegistry as HookRegistry };
package/hooks/index.ts ADDED
@@ -0,0 +1 @@
1
+ export { Hook, HookRegistry } from './hook';
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/bit",
3
- "version": "0.0.570",
3
+ "version": "0.0.574",
4
4
  "homepage": "https://bit.dev/teambit/harmony/bit",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "bit",
9
- "version": "0.0.570"
9
+ "version": "0.0.574"
10
10
  },
11
11
  "dependencies": {
12
12
  "@teambit/harmony": "0.2.11",
@@ -24,79 +24,79 @@
24
24
  "reflect-metadata": "0.1.13",
25
25
  "browserslist": "4.16.3",
26
26
  "graphql": "14.7.0",
27
- "@teambit/legacy": "1.0.180",
27
+ "@teambit/legacy": "1.0.181",
28
28
  "@apollo/client": "3.3.6",
29
29
  "@babel/runtime": "7.12.18",
30
- "@teambit/toolbox.performance.v8-cache": "0.0.4",
31
- "@teambit/cli": "0.0.394",
32
- "@teambit/aspect-loader": "0.0.568",
33
- "@teambit/config": "0.0.406",
34
- "@teambit/legacy-bit-id": "0.0.383",
35
- "@teambit/application": "0.0.210",
36
- "@teambit/aspect": "0.0.568",
37
- "@teambit/babel": "0.0.568",
38
- "@teambit/builder": "0.0.568",
39
- "@teambit/bundler": "0.0.568",
40
- "@teambit/cache": "0.0.480",
41
- "@teambit/changelog": "0.0.568",
42
- "@teambit/code": "0.0.568",
43
- "@teambit/command-bar": "0.0.568",
44
- "@teambit/compiler": "0.0.568",
45
- "@teambit/component-tree": "0.0.380",
46
- "@teambit/component": "0.0.568",
47
- "@teambit/compositions": "0.0.568",
48
- "@teambit/dependency-resolver": "0.0.568",
49
- "@teambit/deprecation": "0.0.568",
50
- "@teambit/dev-files": "0.0.568",
51
- "@teambit/docs": "0.0.568",
52
- "@teambit/eject": "0.0.63",
53
- "@teambit/elements": "0.0.21",
54
- "@teambit/envs": "0.0.568",
55
- "@teambit/eslint": "0.0.568",
56
- "@teambit/export": "0.0.568",
57
- "@teambit/express": "0.0.484",
58
- "@teambit/formatter": "0.0.119",
59
- "@teambit/generator": "0.0.568",
60
- "@teambit/global-config": "0.0.395",
61
- "@teambit/graph": "0.0.568",
62
- "@teambit/graphql": "0.0.568",
63
- "@teambit/harmony-ui-app": "0.0.210",
64
- "@teambit/html": "0.0.136",
65
- "@teambit/importer": "0.0.21",
66
- "@teambit/insights": "0.0.568",
67
- "@teambit/isolator": "0.0.568",
68
- "@teambit/jest": "0.0.568",
69
- "@teambit/lanes": "0.0.140",
70
- "@teambit/linter": "0.0.568",
71
- "@teambit/logger": "0.0.480",
72
- "@teambit/mdx": "0.0.548",
73
- "@teambit/multi-compiler": "0.0.568",
74
- "@teambit/node": "0.0.568",
75
- "@teambit/notifications": "0.0.568",
76
- "@teambit/panels": "0.0.394",
77
- "@teambit/pkg": "0.0.568",
78
- "@teambit/pnpm": "0.0.568",
79
- "@teambit/prettier": "0.0.119",
80
- "@teambit/preview": "0.0.568",
81
- "@teambit/pubsub": "0.0.568",
82
- "@teambit/react-elements": "0.0.21",
83
- "@teambit/react-native": "0.0.568",
84
- "@teambit/react-router": "0.0.568",
85
- "@teambit/react": "0.0.568",
86
- "@teambit/schema": "0.0.568",
87
- "@teambit/scope": "0.0.568",
88
- "@teambit/sidebar": "0.0.568",
89
- "@teambit/sign": "0.0.568",
90
- "@teambit/tester": "0.0.568",
91
- "@teambit/typescript": "0.0.568",
92
- "@teambit/ui": "0.0.568",
93
- "@teambit/update-dependencies": "0.0.568",
94
- "@teambit/user-agent": "0.0.254",
95
- "@teambit/variants": "0.0.482",
96
- "@teambit/webpack": "0.0.568",
97
- "@teambit/worker": "0.0.568",
98
- "@teambit/workspace": "0.0.568",
99
- "@teambit/yarn": "0.0.569"
30
+ "@teambit/toolbox.performance.v8-cache": "0.0.5",
31
+ "@teambit/cli": "0.0.395",
32
+ "@teambit/aspect-loader": "0.0.572",
33
+ "@teambit/config": "0.0.407",
34
+ "@teambit/legacy-bit-id": "0.0.384",
35
+ "@teambit/application": "0.0.214",
36
+ "@teambit/aspect": "0.0.572",
37
+ "@teambit/babel": "0.0.572",
38
+ "@teambit/builder": "0.0.572",
39
+ "@teambit/bundler": "0.0.572",
40
+ "@teambit/cache": "0.0.483",
41
+ "@teambit/changelog": "0.0.572",
42
+ "@teambit/code": "0.0.572",
43
+ "@teambit/command-bar": "0.0.572",
44
+ "@teambit/compiler": "0.0.572",
45
+ "@teambit/component-tree": "0.0.381",
46
+ "@teambit/component": "0.0.572",
47
+ "@teambit/compositions": "0.0.572",
48
+ "@teambit/dependency-resolver": "0.0.572",
49
+ "@teambit/deprecation": "0.0.572",
50
+ "@teambit/dev-files": "0.0.572",
51
+ "@teambit/docs": "0.0.572",
52
+ "@teambit/eject": "0.0.64",
53
+ "@teambit/elements": "0.0.25",
54
+ "@teambit/envs": "0.0.572",
55
+ "@teambit/eslint": "0.0.572",
56
+ "@teambit/export": "0.0.572",
57
+ "@teambit/express": "0.0.487",
58
+ "@teambit/formatter": "0.0.123",
59
+ "@teambit/generator": "0.0.572",
60
+ "@teambit/global-config": "0.0.396",
61
+ "@teambit/graph": "0.0.572",
62
+ "@teambit/graphql": "0.0.572",
63
+ "@teambit/harmony-ui-app": "0.0.214",
64
+ "@teambit/html": "0.0.140",
65
+ "@teambit/importer": "0.0.22",
66
+ "@teambit/insights": "0.0.572",
67
+ "@teambit/isolator": "0.0.572",
68
+ "@teambit/jest": "0.0.572",
69
+ "@teambit/lanes": "0.0.144",
70
+ "@teambit/linter": "0.0.572",
71
+ "@teambit/logger": "0.0.483",
72
+ "@teambit/mdx": "0.0.552",
73
+ "@teambit/multi-compiler": "0.0.572",
74
+ "@teambit/node": "0.0.572",
75
+ "@teambit/notifications": "0.0.572",
76
+ "@teambit/panels": "0.0.395",
77
+ "@teambit/pkg": "0.0.572",
78
+ "@teambit/pnpm": "0.0.572",
79
+ "@teambit/prettier": "0.0.123",
80
+ "@teambit/preview": "0.0.572",
81
+ "@teambit/pubsub": "0.0.572",
82
+ "@teambit/react-elements": "0.0.25",
83
+ "@teambit/react-native": "0.0.572",
84
+ "@teambit/react-router": "0.0.572",
85
+ "@teambit/react": "0.0.572",
86
+ "@teambit/schema": "0.0.572",
87
+ "@teambit/scope": "0.0.572",
88
+ "@teambit/sidebar": "0.0.572",
89
+ "@teambit/sign": "0.0.572",
90
+ "@teambit/tester": "0.0.572",
91
+ "@teambit/typescript": "0.0.572",
92
+ "@teambit/ui": "0.0.572",
93
+ "@teambit/update-dependencies": "0.0.572",
94
+ "@teambit/user-agent": "0.0.258",
95
+ "@teambit/variants": "0.0.485",
96
+ "@teambit/webpack": "0.0.572",
97
+ "@teambit/worker": "0.0.572",
98
+ "@teambit/workspace": "0.0.572",
99
+ "@teambit/yarn": "0.0.573"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@types/react": "^17.0.8",
@@ -107,7 +107,7 @@
107
107
  "@types/node": "12.20.4"
108
108
  },
109
109
  "peerDependencies": {
110
- "@teambit/legacy": "1.0.180"
110
+ "@teambit/legacy": "1.0.181"
111
111
  },
112
112
  "license": "Apache-2.0",
113
113
  "bit": {
@@ -127,7 +127,7 @@
127
127
  "reflect-metadata": "0.1.13",
128
128
  "browserslist": "4.16.3",
129
129
  "graphql": "14.7.0",
130
- "@teambit/legacy": "1.0.180",
130
+ "@teambit/legacy": "1.0.181",
131
131
  "@apollo/client": "3.3.6",
132
132
  "@babel/runtime": "7.12.18"
133
133
  },
@@ -152,21 +152,6 @@
152
152
  }
153
153
  }
154
154
  },
155
- "files": [
156
- "dist",
157
- "!dist/tsconfig.tsbuildinfo",
158
- "**/*.md",
159
- "**/*.mdx",
160
- "**/*.js",
161
- "**/*.json",
162
- "**/*.sass",
163
- "**/*.scss",
164
- "**/*.less",
165
- "**/*.css",
166
- "**/*.css",
167
- "**/*.jpeg",
168
- "**/*.gif"
169
- ],
170
155
  "packageManagerPublishArgs": [
171
156
  "--access public"
172
157
  ],
@@ -0,0 +1,29 @@
1
+ declare module '*.png' {
2
+ const value: any;
3
+ export = value;
4
+ }
5
+ declare module '*.svg' {
6
+ import type { FunctionComponent, SVGProps } from 'react';
7
+
8
+ export const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string }>;
9
+ const src: string;
10
+ export default src;
11
+ }
12
+
13
+ // @TODO Gilad
14
+ declare module '*.jpg' {
15
+ const value: any;
16
+ export = value;
17
+ }
18
+ declare module '*.jpeg' {
19
+ const value: any;
20
+ export = value;
21
+ }
22
+ declare module '*.gif' {
23
+ const value: any;
24
+ export = value;
25
+ }
26
+ declare module '*.bmp' {
27
+ const value: any;
28
+ export = value;
29
+ }
@@ -0,0 +1,42 @@
1
+ declare module '*.module.css' {
2
+ const classes: { readonly [key: string]: string };
3
+ export default classes;
4
+ }
5
+ declare module '*.module.scss' {
6
+ const classes: { readonly [key: string]: string };
7
+ export default classes;
8
+ }
9
+ declare module '*.module.sass' {
10
+ const classes: { readonly [key: string]: string };
11
+ export default classes;
12
+ }
13
+
14
+ declare module '*.module.less' {
15
+ const classes: { readonly [key: string]: string };
16
+ export default classes;
17
+ }
18
+
19
+ declare module '*.less' {
20
+ const classes: { readonly [key: string]: string };
21
+ export default classes;
22
+ }
23
+
24
+ declare module '*.css' {
25
+ const classes: { readonly [key: string]: string };
26
+ export default classes;
27
+ }
28
+
29
+ declare module '*.sass' {
30
+ const classes: { readonly [key: string]: string };
31
+ export default classes;
32
+ }
33
+
34
+ declare module '*.scss' {
35
+ const classes: { readonly [key: string]: string };
36
+ export default classes;
37
+ }
38
+
39
+ declare module '*.mdx' {
40
+ const component: any;
41
+ export default component;
42
+ }