Compare commits

...

7 Commits

Author SHA1 Message Date
时启龙 65917f0130 chore: 去掉不需要的命令 2024-04-29 09:29:26 +08:00
时启龙 1b22b584af chore: 修改开发环境协议 2024-04-01 12:19:39 +08:00
时启龙 693cf8cc96 chore: 修改开发环境 2024-04-01 11:00:24 +08:00
时启龙 d40c66571b fix: 添加codemirror依赖 2024-03-14 14:27:03 +08:00
时启龙 3f74ac2bbf fix: 增加url-loader依赖 2024-03-14 14:23:09 +08:00
时启龙 20d1e2d7f0 fix: 修改 jenkins 配置 2024-03-14 14:19:13 +08:00
时启龙 8402a11818 fix: 修改代理接口 2024-03-14 14:05:41 +08:00
4 changed files with 1049 additions and 215 deletions

6
Jenkinsfile vendored
View File

@ -2,9 +2,7 @@
webPipeline([
onBuildInstallShell:{->
return """
npm install url-loader --userconfig ${env.NPM_CONFIG_USERCONFIG} --no-package-lock
pnpm install -no-frozen-lockfile
pnpm install --no-prefer-frozen-lockfile
pnpm run build || echo 'Ignore build error !!!'
"""
},
"""}
])

View File

@ -4,15 +4,8 @@
"private": true,
"author": "Haijun Zhang <zhanghaijun@beyondcent.com>",
"scripts": {
"dev": "vite",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"fix": "vue-cli-service lint --fix",
"fix-memory-limit": "cross-env LIMIT=4096 increase-memory-limit",
"precommit": "lint-staged",
"upload": "node upload.js",
"deploy": "yarn build && yarn upload"
"build": "vue-cli-service build"
},
"dependencies": {
"@vue/composition-api": "^1.0.0-rc.2",
@ -22,6 +15,7 @@
"cmp-element": "1.0.0-5.6-release",
"cmp-graph-editor": "1.0.0-5.6-release",
"cmp-socket": "1.0.0",
"codemirror": "5.60",
"core-js": "^3.3.2",
"crypto-js": "^3.1.9-1",
"dayjs": "^1.10.4",
@ -33,6 +27,7 @@
"nprogress": "^0.2.0",
"qs": "^6.7.0",
"sortablejs": "^1.8.4",
"url-loader": "^4.1.1",
"vue": "2.6.14",
"vue-class-component": "^7.0.2",
"vue-code-diff": "^0.0.4",

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@ function resolve(dir) {
}
const httpType = 'https://'
// const proxyUrl = 'develop.cmp56.com:60006/' // 代理地址设置
const proxyUrl = '10.20.12.56:60006/' // 代理地址设置
const proxyUrl = '23.33.3.22:60006/' // 代理地址设置
// const publicPath = process.env.NODE_ENV === 'production' ? '/cop-web/' : '/cop-web/';
const publicPath = '/cop-web/'
module.exports = {