Compare commits
No commits in common. "df522fb87cd2f59ff7e474a69752ef3ea0b9552f" and "cb02f4ba5db2f349ab5cc1860de42d41c1319b0e" have entirely different histories.
df522fb87c
...
cb02f4ba5d
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cmvr/iot-common",
|
"name": "@cmvr/iot-common",
|
||||||
"version": "1.0.4",
|
"version": "1.0.0",
|
||||||
"description": "CMVR IoT shared frontend runtime and business modules",
|
"description": "CMVR IoT shared frontend runtime and business modules",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "zhanghao",
|
"name": "zhanghao",
|
||||||
@ -10,6 +10,7 @@
|
|||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
|
|
||||||
"module": "./dist/index.js",
|
"module": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/index.js",
|
".": "./dist/index.js",
|
||||||
|
|||||||
@ -120,10 +120,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<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 { Plus, Minus } from '@element-plus/icons-vue'
|
||||||
import FormItemRecursive from '../FormItemRecursive.vue'
|
import FormItemRecursive from '../FormItemRecursive.vue'
|
||||||
import RobotExecutionTarget from './RobotExecutionTarget.vue'
|
import RobotExecutionTarget from './RobotExecutionTarget.vue'
|
||||||
|
import { getInput } from '@/utils/flow'
|
||||||
import { useQuote } from './useQuote.js'
|
import { useQuote } from './useQuote.js'
|
||||||
import { getArmStatus, getArmJointState, getAgvStatus, getAgvStations } from '@/api/flow/flow'
|
import { getArmStatus, getArmJointState, getAgvStatus, getAgvStations } from '@/api/flow/flow'
|
||||||
import { getRobotList, getRobotDevicesByRobotId } from '@/api/resource/robot'
|
import { getRobotList, getRobotDevicesByRobotId } from '@/api/resource/robot'
|
||||||
|
|||||||
@ -51,10 +51,6 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
target: 'es2022',
|
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,
|
sourcemap: true,
|
||||||
cssCodeSplit: false,
|
cssCodeSplit: false,
|
||||||
lib: {
|
lib: {
|
||||||
@ -66,14 +62,6 @@ export default defineConfig({
|
|||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
external: (id) => externalDependencies.some((dependency) => id === dependency || id.startsWith(`${dependency}/`)),
|
external: (id) => externalDependencies.some((dependency) => id === dependency || id.startsWith(`${dependency}/`)),
|
||||||
output: {
|
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',
|
chunkFileNames: 'chunks/[name]-[hash].js',
|
||||||
assetFileNames: (assetInfo) => assetInfo.name === 'style.css'
|
assetFileNames: (assetInfo) => assetInfo.name === 'style.css'
|
||||||
? 'style.css'
|
? 'style.css'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user