Compare commits

..

No commits in common. "df522fb87cd2f59ff7e474a69752ef3ea0b9552f" and "cb02f4ba5db2f349ab5cc1860de42d41c1319b0e" have entirely different histories.

3 changed files with 4 additions and 14 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cmvr/iot-common",
"version": "1.0.4",
"version": "1.0.0",
"description": "CMVR IoT shared frontend runtime and business modules",
"author": {
"name": "zhanghao",
@ -10,6 +10,7 @@
"license": "UNLICENSED",
"private": false,
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
".": "./dist/index.js",

View File

@ -120,10 +120,11 @@
</template>
<script setup>
import { computed, ref, reactive, watch } from 'vue'
import { computed, ref, reactive, watch, nextTick } from 'vue'
import { Plus, Minus } from '@element-plus/icons-vue'
import FormItemRecursive from '../FormItemRecursive.vue'
import RobotExecutionTarget from './RobotExecutionTarget.vue'
import { getInput } from '@/utils/flow'
import { useQuote } from './useQuote.js'
import { getArmStatus, getArmJointState, getAgvStatus, getAgvStations } from '@/api/flow/flow'
import { getRobotList, getRobotDevicesByRobotId } from '@/api/resource/robot'

View File

@ -51,10 +51,6 @@ export default defineConfig({
},
build: {
target: 'es2022',
// Keep published ESM chunks readable and safe for consumer Rollup builds.
// Consumers may bundle these chunks again; minifying here can cause short
// binding names to collide during that second pass.
minify: false,
sourcemap: true,
cssCodeSplit: false,
lib: {
@ -66,14 +62,6 @@ export default defineConfig({
rollupOptions: {
external: (id) => externalDependencies.some((dependency) => id === dependency || id.startsWith(`${dependency}/`)),
output: {
// Publish one self-contained ESM entry. Consumer Vite/Rollup builds
// otherwise merge the pre-generated chunks and can collide on the
// minified bindings used by different Vue SFC chunks.
inlineDynamicImports: true,
globals: {
vue: 'Vue',
'vue-router': 'VueRouter'
},
chunkFileNames: 'chunks/[name]-[hash].js',
assetFileNames: (assetInfo) => assetInfo.name === 'style.css'
? 'style.css'