Skip to content

Commit

Permalink
fix external package
Browse files Browse the repository at this point in the history
  • Loading branch information
kewcoder committed Nov 14, 2023
1 parent a6d8f2b commit 2c56cde
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/@orchidui-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orchidui/vue",
"version": "0.1.118",
"version": "0.1.120",
"type": "module",
"scripts": {
"build": "vite build",
Expand Down
3 changes: 2 additions & 1 deletion packages/@orchidui-vue/src/ComplexCalendar.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import ComplexCalendar from "./OcComplexCalendar.vue";

export * from "./form/ComplexCalendar/OcComplexCalendar.js";
export { ComplexCalendar };
3 changes: 2 additions & 1 deletion packages/@orchidui-vue/src/ComplexDatePicker.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import ComplexDatePicker from "./OcComplexDatePicker.vue";

export * from "./form/ComplexDatePicker/OcComplexDatePicker.js"
export { ComplexDatePicker };

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script setup lang="ts">
<script setup>
import { Modal, Button } from "@/orchidui";
import { Cropper } from "vue-advanced-cropper";
import "vue-advanced-cropper/dist/style.css";
Expand Down
3 changes: 0 additions & 3 deletions packages/@orchidui-vue/src/Form/TextEditor/OcTextEditor.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/@orchidui-vue/src/Form/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export * from "./Toggle/OcToggle.js";
export * from "./LinkInput/OcLinkInput.js";
export * from "./TextArea/OcTextArea.js";
export * from "./MultipleUploadFile/OcMultipleUploadFile.js";
export * from "./SingleFileUpload/OcSingleFileUpload.js";

export * from "./Calendar/OcCalendar.js";
export * from "./DatePicker/OcDatePicker.js";;
Expand Down
4 changes: 3 additions & 1 deletion packages/@orchidui-vue/src/TextEditor.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from "./form/TextEditor/OcTextEditor.js";
import TextEditor from "./OcTextEditor.vue";

export { TextEditor };
3 changes: 2 additions & 1 deletion packages/@orchidui-vue/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const files = fg.sync(entryPoints, { absolute: true });
const externalComponents = [
"ComplexCalendar",
"ComplexDatePicker",
"TextEditor"
"TextEditor",
"SingleFileUpload"
]
// Maps the file paths in the "files" array to an array of key-value pair.
const entities = files
Expand Down

0 comments on commit 2c56cde

Please sign in to comment.