Compare commits

...

4 Commits

Author SHA1 Message Date
时启龙 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 956 additions and 115 deletions

10
Jenkinsfile vendored
View File

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

View File

@ -22,6 +22,7 @@
"cmp-element": "1.0.0-5.6-release", "cmp-element": "1.0.0-5.6-release",
"cmp-graph-editor": "1.0.0-5.6-release", "cmp-graph-editor": "1.0.0-5.6-release",
"cmp-socket": "1.0.0", "cmp-socket": "1.0.0",
"codemirror": "5.60",
"core-js": "^3.3.2", "core-js": "^3.3.2",
"crypto-js": "^3.1.9-1", "crypto-js": "^3.1.9-1",
"dayjs": "^1.10.4", "dayjs": "^1.10.4",
@ -33,6 +34,7 @@
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"qs": "^6.7.0", "qs": "^6.7.0",
"sortablejs": "^1.8.4", "sortablejs": "^1.8.4",
"url-loader": "^4.1.1",
"vue": "2.6.14", "vue": "2.6.14",
"vue-class-component": "^7.0.2", "vue-class-component": "^7.0.2",
"vue-code-diff": "^0.0.4", "vue-code-diff": "^0.0.4",

File diff suppressed because it is too large Load Diff

View File

@ -12,9 +12,9 @@ const CompressPlugin = require('compress-webpack-plugin')
function resolve(dir) { function resolve(dir) {
return path.join(__dirname, dir) return path.join(__dirname, dir)
} }
const httpType = 'https://' const httpType = 'http://'
// const proxyUrl = 'develop.cmp56.com:60006/' // 代理地址设置 // const proxyUrl = 'develop.cmp56.com:60006/' // 代理地址设置
const proxyUrl = '10.20.12.56:60006/' // 代理地址设置 const proxyUrl = '23.33.3.20:60006/' // 代理地址设置
// const publicPath = process.env.NODE_ENV === 'production' ? '/cop-web/' : '/cop-web/'; // const publicPath = process.env.NODE_ENV === 'production' ? '/cop-web/' : '/cop-web/';
const publicPath = '/cop-web/' const publicPath = '/cop-web/'
module.exports = { module.exports = {