Skip to content

Commit 7308c83

Browse files
committed
chore: packaging fixes
1 parent 19f6319 commit 7308c83

File tree

47 files changed

+1108
-378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1108
-378
lines changed

package-lock.json

Lines changed: 74 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/compass-assistant/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"@lg-chat/input-bar": "file:src/vendor/@lg-chat/input-bar",
6666
"@lg-chat/leafygreen-chat-provider": "file:src/vendor/@lg-chat/leafygreen-chat-provider",
6767
"@lg-chat/lg-markdown": "file:src/vendor/@lg-chat/lg-markdown",
68+
"@leafygreen-ui/avatar": "file:src/vendor/leafygreen-ui/avatar",
6869
"@lg-chat/message-actions": "file:src/vendor/@lg-chat/message-actions",
6970
"@lg-chat/message-feed": "file:src/vendor/@lg-chat/message-feed",
7071
"@lg-chat/message-feedback": "file:src/vendor/@lg-chat/message-feedback",

packages/compass-assistant/src/assistant-chat.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
import { Message } from './vendor/@lg-chat/message/src/Message';
1111
import { MessageFeed } from './vendor/@lg-chat/message-feed/src/MessageFeed';
1212
import { InputBar } from './vendor/@lg-chat/input-bar/src/InputBar';
13+
import { InputBarFeedback } from './vendor/@lg-chat/input-bar/src/InputBar/InputBarFeedback';
1314

1415
interface AssistantChatProps {
1516
chat: Chat<AssistantMessage>;

packages/compass-assistant/src/vendor/@lg-chat/avatar/package.json

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,8 @@
44
"description": "lg-chat Avatar",
55
"main": "src/index.ts",
66
"typesVersions": {},
7-
"scripts": {
8-
"build": "lg-build bundle",
9-
"tsc": "lg-build tsc"
10-
},
117
"license": "Apache-2.0",
128
"publishConfig": {
139
"access": "public"
14-
},
15-
"dependencies": {
16-
"@leafygreen-ui/avatar": "workspace:^",
17-
"@leafygreen-ui/emotion": "workspace:^",
18-
"@leafygreen-ui/lib": "workspace:^",
19-
"@leafygreen-ui/palette": "workspace:^",
20-
"@leafygreen-ui/tokens": "workspace:^"
21-
},
22-
"peerDependencies": {
23-
"@leafygreen-ui/leafygreen-provider": "workspace:^",
24-
"@lg-chat/leafygreen-chat-provider": "workspace:^"
25-
},
26-
"devDependencies": {
27-
"@lg-tools/build": "workspace:^"
2810
}
2911
}

packages/compass-assistant/src/vendor/@lg-chat/avatar/src/Avatar/ChatAvatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { ForwardedRef, forwardRef } from 'react';
22
import { useLeafyGreenChatContext } from '@lg-chat/leafygreen-chat-provider';
33

4-
import { Avatar, Format, getInitials } from '@mongodb-js/compass-components';
4+
import { Avatar, Format, getInitials } from '../../../../leafygreen-ui/avatar';
55
import { cx } from '@mongodb-js/compass-components';
66
import { useDarkMode } from '@mongodb-js/compass-components';
77
import { breakpoints } from '@mongodb-js/compass-components';

packages/compass-assistant/src/vendor/@lg-chat/chat-disclaimer/package.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,9 @@
44
"description": "LeafyGreen UI Kit Chat Disclaimer",
55
"main": "src/index.ts",
66
"license": "Apache-2.0",
7-
"scripts": {
8-
"build": "lg-build bundle",
9-
"tsc": "lg-build tsc",
10-
"docs": "lg-build docs"
11-
},
127
"publishConfig": {
138
"access": "public"
149
},
15-
"dependencies": {
16-
"@leafygreen-ui/emotion": "workspace:^",
17-
"@leafygreen-ui/lib": "workspace:^",
18-
"@leafygreen-ui/marketing-modal": "workspace:^",
19-
"@leafygreen-ui/tokens": "workspace:^",
20-
"@leafygreen-ui/typography": "workspace:^"
21-
},
22-
"devDependencies": {
23-
"@leafygreen-ui/button": "workspace:^",
24-
"@leafygreen-ui/modal": "workspace:^",
25-
"@lg-tools/build": "workspace:^"
26-
},
2710
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/chat-disclaimer",
2811
"repository": {
2912
"type": "git",

packages/compass-assistant/src/vendor/@lg-chat/chat-window/package.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,8 @@
44
"description": "lg-chat Chat Window",
55
"main": "src/index.ts",
66
"typesVersions": {},
7-
"scripts": {
8-
"build": "lg-build bundle",
9-
"tsc": "lg-build tsc"
10-
},
117
"license": "Apache-2.0",
128
"publishConfig": {
139
"access": "public"
14-
},
15-
"dependencies": {
16-
"@leafygreen-ui/emotion": "workspace:^",
17-
"@leafygreen-ui/lib": "workspace:^",
18-
"@leafygreen-ui/palette": "workspace:^",
19-
"@leafygreen-ui/tokens": "workspace:^",
20-
"@lg-chat/avatar": "workspace:^",
21-
"@lg-chat/leafygreen-chat-provider": "workspace:^",
22-
"@lg-chat/title-bar": "workspace:^",
23-
"react-keyed-flatten-children": "^2.2.1"
24-
},
25-
"devDependencies": {
26-
"@lg-chat/input-bar": "workspace:^",
27-
"@lg-chat/message": "workspace:^",
28-
"@lg-chat/message-feed": "workspace:^",
29-
"@lg-chat/message-feedback": "workspace:^",
30-
"@lg-chat/message-prompts": "workspace:^",
31-
"@lg-tools/build": "workspace:^"
32-
},
33-
"peerDependencies": {
34-
"@leafygreen-ui/leafygreen-provider": "workspace:^"
3510
}
3611
}

packages/compass-assistant/src/vendor/@lg-chat/fixed-chat-window/package.json

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,9 @@
44
"description": "LeafyGreen UI Kit Fixed Chat Window",
55
"main": "src/index.ts",
66
"license": "Apache-2.0",
7-
"scripts": {
8-
"build": "lg-build bundle",
9-
"tsc": "lg-build tsc",
10-
"docs": "lg-build docs"
11-
},
127
"publishConfig": {
138
"access": "public"
149
},
15-
"dependencies": {
16-
"@leafygreen-ui/avatar": "workspace:^",
17-
"@leafygreen-ui/emotion": "workspace:^",
18-
"@leafygreen-ui/icon": "workspace:^",
19-
"@leafygreen-ui/lib": "workspace:^",
20-
"@leafygreen-ui/palette": "workspace:^",
21-
"@leafygreen-ui/popover": "workspace:^",
22-
"@leafygreen-ui/tokens": "workspace:^",
23-
"@leafygreen-ui/typography": "workspace:^",
24-
"@lg-chat/chat-window": "workspace:^",
25-
"@lg-chat/title-bar": "workspace:^",
26-
"react-transition-group": "^4.4.5"
27-
},
28-
"devDependencies": {
29-
"@lg-chat/avatar": "workspace:^",
30-
"@lg-chat/input-bar": "workspace:^",
31-
"@lg-chat/leafygreen-chat-provider": "workspace:^",
32-
"@lg-chat/message": "workspace:^",
33-
"@lg-chat/message-feed": "workspace:^",
34-
"@lg-chat/message-feedback": "workspace:^",
35-
"@lg-chat/message-prompts": "workspace:^",
36-
"@lg-tools/build": "workspace:^"
37-
},
38-
"peerDependencies": {
39-
"@leafygreen-ui/leafygreen-provider": "workspace:^"
40-
},
4110
"homepage": "https://github.com/mongodb/leafygreen-ui/tree/main/packages/fixed-chat-window",
4211
"repository": {
4312
"type": "git",

packages/compass-assistant/src/vendor/@lg-chat/input-bar/package.json

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,8 @@
44
"description": "lg-chat Input Bar",
55
"main": "src/index.ts",
66
"typesVersions": {},
7-
"scripts": {
8-
"build": "lg-build bundle",
9-
"tsc": "lg-build tsc"
10-
},
117
"license": "Apache-2.0",
128
"publishConfig": {
139
"access": "public"
14-
},
15-
"dependencies": {
16-
"@leafygreen-ui/avatar": "workspace:^",
17-
"@leafygreen-ui/badge": "workspace:^",
18-
"@leafygreen-ui/banner": "workspace:^",
19-
"@leafygreen-ui/button": "workspace:^",
20-
"@leafygreen-ui/emotion": "workspace:^",
21-
"@leafygreen-ui/hooks": "workspace:^",
22-
"@leafygreen-ui/icon": "workspace:^",
23-
"@leafygreen-ui/icon-button": "workspace:^",
24-
"@leafygreen-ui/input-option": "workspace:^",
25-
"@leafygreen-ui/lib": "workspace:^",
26-
"@leafygreen-ui/palette": "workspace:^",
27-
"@leafygreen-ui/polymorphic": "workspace:^",
28-
"@leafygreen-ui/popover": "workspace:^",
29-
"@leafygreen-ui/search-input": "workspace:^",
30-
"@leafygreen-ui/tokens": "workspace:^",
31-
"@leafygreen-ui/typography": "workspace:^",
32-
"lodash": "^4.17.21",
33-
"react-keyed-flatten-children": "^1.3.0",
34-
"react-textarea-autosize": "^8.3.2"
35-
},
36-
"peerDependencies": {
37-
"@leafygreen-ui/leafygreen-provider": "workspace:^",
38-
"@lg-chat/leafygreen-chat-provider": "workspace:^"
39-
},
40-
"devDependencies": {
41-
"@lg-tools/build": "workspace:^"
4210
}
4311
}

packages/compass-assistant/src/vendor/@lg-chat/leafygreen-chat-provider/package.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,8 @@
44
"description": "lg-chat LeafyGreen Chat Context",
55
"main": "src/index.ts",
66
"typesVersions": {},
7-
"scripts": {
8-
"build": "lg-build bundle",
9-
"tsc": "lg-build tsc"
10-
},
117
"license": "Apache-2.0",
128
"publishConfig": {
139
"access": "public"
14-
},
15-
"dependencies": {
16-
"use-resize-observer": "^9.1.0"
17-
},
18-
"devDependencies": {
19-
"@lg-tools/build": "workspace:^"
2010
}
2111
}

0 commit comments

Comments
 (0)