@commercebuild/extension 0.0.4 → 0.0.6
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/config/vite.config.mjs +1 -1
- package/package.json +3 -3
- package/types/global.d.ts +3 -0
package/config/vite.config.mjs
CHANGED
|
@@ -17,7 +17,7 @@ const entryFile = existsSync(tsEntry) ? tsEntry : jsEntry;
|
|
|
17
17
|
const baseBuildConfig = {
|
|
18
18
|
lib: {
|
|
19
19
|
entry: entryFile,
|
|
20
|
-
name: "
|
|
20
|
+
name: "CBExtension",
|
|
21
21
|
formats: ["umd"],
|
|
22
22
|
fileName: (format, entryName) =>
|
|
23
23
|
`${entryName}.${format === "es" ? "mjs" : "js"}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercebuild/extension",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"./config/tsconfig.extension.json": "./config/tsconfig.extension.json"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@commercebuild/ui": "^0.0.5",
|
|
14
13
|
"@commercebuild/platform-api": "^0.0.3",
|
|
14
|
+
"@commercebuild/ui": "^0.0.5",
|
|
15
15
|
"@headlessui/react": "^2.2.4",
|
|
16
16
|
"@tailwindcss/postcss": "^4.1.10",
|
|
17
17
|
"@tailwindcss/vite": "^4.1.11",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@types/ws": "^8.18.1",
|
|
22
22
|
"@vitejs/plugin-react": "^4.5.2",
|
|
23
23
|
"chalk": "^5.4.1",
|
|
24
|
-
"esbuild": "^0.
|
|
24
|
+
"esbuild": "^0.25.6",
|
|
25
25
|
"lucide-react": "^0.525.0",
|
|
26
26
|
"react": "^19.1.0",
|
|
27
27
|
"react-dom": "^19.1.0",
|
package/types/global.d.ts
CHANGED
|
@@ -135,6 +135,9 @@ declare global {
|
|
|
135
135
|
icons: { [K in keyof typeof icons]: (typeof icons)[K] };
|
|
136
136
|
Link: typeof NextLink;
|
|
137
137
|
Image: typeof NextImage;
|
|
138
|
+
Container: React.FC<
|
|
139
|
+
React.PropsWithChildren<React.HTMLAttributes<HTMLDivElement>>
|
|
140
|
+
>;
|
|
138
141
|
Disclosure: typeof Disclosure;
|
|
139
142
|
DisclosureButton: typeof DisclosureButton;
|
|
140
143
|
DisclosurePanel: typeof DisclosurePanel;
|