Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 04f3207

Browse files
committed
chore: update package meta
Signed-off-by: teobler <teobler@163.com>
1 parent 6e6b543 commit 04f3207

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
4+
**/node_modules
55
/.pnp
66
.pnp.js
7-
pnpm-lock.yaml
7+
**/pnpm-lock.yaml
88

99
# testing
10-
/coverage
10+
**/coverage
1111

1212
# next.js
1313
/.next/
1414
/.swc/
1515
/out/
1616

1717
# production
18-
/build
18+
**/build
1919
**/dist
2020
**/.turbo
2121

packages/click-prompt-button/package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
"name": "click-prompt-button",
33
"version": "0.1.0",
44
"description": "click prompt button is react component that can be used to execute a prompt from ChatGPT in any web page. It is a part of the ClickPrompt",
5-
"main": "index.js",
5+
"type": "module",
6+
"module": "./dist/click-prompt-button.js",
7+
"types": "./dist/index.d.ts",
68
"license": "MIT",
9+
"files": [
10+
"dist"
11+
],
712
"scripts": {
8-
"build": "vite build"
13+
"build": "tsc && vite build"
914
},
1015
"dependencies": {
1116
"@chakra-ui/icons": "^2.0.17",

packages/click-prompt-button/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use client";
2-
31
export { ClickPromptButton } from "@/ClickPromptButton";
42
export { ExecutePromptButton } from "@/ExecutePromptButton";
53
export { ChatGPTApp } from "@/chatgpt/ChatGPTApp";

0 commit comments

Comments
 (0)