Commit 2b39cd88 authored by 徐光星's avatar 徐光星

Merge branch 'master' of git.quantgroup.cn:ui/quantum-block-h5 into feat/fix

parents b4f1a5c3 95ae9fec
const pkgInfo = require('./package.json');
const project = pkgInfo.name;
module.exports = {
org: 'sentry',
project,
authToken: '3f1f6f3789594e3a81280c1cd8d4d1008037a7abad714698b60b6f358c3d7562',
url: 'http://newsentry.quantgroups.com',
release: `${project}@1.0.0`,
ignore: ['node_modules', 'tests'],
silent: true,
include: [
{
paths: ['./public/js'],
urlPrefix: `https://misc.lkbang.net/qb/`
}
]
};
module.exports = {
// Sentry options are required
organization: 'sentry',
project: 'quantum-block-h5',
apiKey: '2e7e0678d81d4542b09cdbc35812f1cbb07a4993cd13435ba49d9511be11ec95',
// Release version name/hash is required
release: 'quantum-block-h5@0.0.1',
baseSentryURL: 'https://sentry.quantgroups.com/api/0',
deleteAfterCompile: true,
include: /js\//, // 只上传js和map文件
ignore: ['node_modules'],
suppressErrors: true,
filenameTransform(filename) {
return '~/' + filename;
},
};
{ {
"api": { "api": {
"apiHost": "https://quantum-blocks-yxm.liangkebang.net", "apiHost": "https://quantum-blocks.q-gp.com",
"h5Host": "https://quantum-h5-yxm.liangkebang.net", "h5Host": "https://quantum-h5.q-gp.com",
"opapiHost": "https://opapi-yxm.liangkebang.net", "opapiHost": "https://opapi.q-gp.com",
"passportHost": "https://passportapi-yxm.liangkebang.net", "passportHost": "https://passportapi.q-gp.com",
"talosHost": "https://talos-yxm.liangkebang.net", "talosHost": "https://talos.q-gp.com",
"kdspHost": "https://kdsp-api-yxm.liangkebang.net", "kdspHost": "https://kdsp-api.q-gp.com",
"loginUrl": "", "loginUrl": "",
"newApolloFlag": true, "xyqbH5Host": "https://h5-api.q-gp.com",
"h5ShopHost": "https://tenet-yxm.liangkebang.net/#", "h5ShopHost": "https://tenet.q-gp.com/#",
"mallHost": "https://mall-yxm.liangkebang.net", "mallHost": "https://mall.q-gp.com",
"xyqbH5Host": "https://mapi-yxm.liangkebang.net",
"yxmTenantId": 560761, "yxmTenantId": 560761,
"appIdMap": { "appIdMap": {
"560761": "wxe16bf9293671506c", "560761": "wxb3e6270e1b1e0bc7",
"560867": "wxccb8435d68e8c7d6" "560867": "wxbd0bc68b270a1dab"
} }
}, },
"redis": { "redis": {
"port": "30835", "port": 6379,
"host": "172.16.92.50", "host": "r-2ze9ekrfpir1aewtvz.redis.rds.aliyuncs.com",
"password": "", "password": "r-2ze9ekrfpir1aewtvz:ebJndATopF3g05qy",
"db": 0 "db": 0
}, },
"qiniu": { "qiniu": {
"qiniuUpHost": "https://up-z0.qiniup.com", "qiniuUpHost": "https://up-z0.qiniup.com",
"qiniuHost": "https://appsync.lkbang.net" "qiniuHost": "https://appsync.lkbang.net"
},
"vertify": {
"/FZz8NUb3x0.txt": "ca1c52b4801a7741ccdbbe47797d574e",
"/Ra6UCOeIhV.txt": "0b54b6896ca0bdaa53b9b4e49c403f30",
"/2OqnbvHjoq.txt": "90e68e2c196781968dba89bd5e6ac182",
"/9HFuiOJ4BG.txt": "97efde44dc917901a8ca25a0feb54ad8",
"/bAgsGUG45y.txt": "25638138b18af91b2dd64db906b056a4",
"/c8PA5Gybed.txt": "03f5c047a87a73854381c1d19c50fd68",
"/J5QboPVm8N.txt": "8fb57cfb856841b9d877e61df0729232",
"/Jb5PMgT5lb.txt": "59297e3b609ad1c26e5b334fa56af181",
"/NqUTl0J6Ed.txt": "cbc525fd71a2beb519d349084dece8da",
"/qsBZfgOk4y.txt": "8a154639c8af235d06e4b291463fb7a0",
"/tPICMyeJfv.txt": "11f2efef0527b792380784ea1b4a4b65",
"/UBRJar2pST.txt": "3c6152f098bc4e3edad5b36f550cd268",
"/yB3tnMTnRc.txt": "5c9d1a08b3bda49beb0f950b1cdec27b",
"/gAnCcSGwFu.txt": "a8ae84f68ea72f82beff325a59fd2c58",
"/qqCExxuPJ7.txt": "a1da927722f735a09065407e32beb56a",
"/86b9af10a6b70c8be78c9095b24448ec.html": "5c9d1a08b3bda49beb0f950b1cdec27b",
"/bd_mapp_domaincer_25998612.txt": "a7ff4d126c6a7b90c73356e410a163b9",
"/MP_verify_f4VWFoFpHgzmqFbo.txt": "f4VWFoFpHgzmqFbo",
"/MP_verify_KbcgqpEmfvW0J3Ts.txt": "KbcgqpEmfvW0J3Ts"
} }
} }
\ No newline at end of file
{"apiHost":"https://quantum-blocks-yxm.liangkebang.net","h5Host":"https://quantum-h5-yxm.liangkebang.net","opapiHost":"https://opapi-yxm.liangkebang.net","passportHost":"https://passportapi-yxm.liangkebang.net","talosHost":"https://talos-yxm.liangkebang.net","kdspHost":"https://kdsp-api-yxm.liangkebang.net","loginUrl":"","newApolloFlag":true,"h5ShopHost":"https://tenet-yxm.liangkebang.net/#","mallHost":"https://mall-yxm.liangkebang.net","xyqbH5Host":"https://mapi-yxm.liangkebang.net","yxmTenantId":560761,"appIdMap":{"560761":"wxe16bf9293671506c","560867":"wxccb8435d68e8c7d6"},"qiniuUpHost":"https://up-z0.qiniup.com","qiniuHost":"https://appsync.lkbang.net"} {"apiHost":"https://quantum-blocks.q-gp.com","h5Host":"https://quantum-h5.q-gp.com","opapiHost":"https://opapi.q-gp.com","passportHost":"https://passportapi.q-gp.com","talosHost":"https://talos.q-gp.com","kdspHost":"https://kdsp-api.q-gp.com","loginUrl":"","xyqbH5Host":"https://h5-api.q-gp.com","h5ShopHost":"https://tenet.q-gp.com/#","mallHost":"https://mall.q-gp.com","yxmTenantId":560761,"appIdMap":{"560761":"wxb3e6270e1b1e0bc7","560867":"wxbd0bc68b270a1dab"},"qiniuUpHost":"https://up-z0.qiniup.com","qiniuHost":"https://appsync.lkbang.net"}
\ No newline at end of file \ No newline at end of file
...@@ -2397,6 +2397,72 @@ ...@@ -2397,6 +2397,72 @@
"resolved": "http://npmprivate.quantgroups.com/@qg%2fjs-bridge/-/js-bridge-1.1.12.tgz", "resolved": "http://npmprivate.quantgroups.com/@qg%2fjs-bridge/-/js-bridge-1.1.12.tgz",
"integrity": "sha512-KhSbaGMJvGZ7CNrl6nIhD56vAKwDCx6kjwm26UeCBb8KAAb2JjgRe3pIAw/XHjC5WZXjlwfwx6hwrgslQiFyxA==" "integrity": "sha512-KhSbaGMJvGZ7CNrl6nIhD56vAKwDCx6kjwm26UeCBb8KAAb2JjgRe3pIAw/XHjC5WZXjlwfwx6hwrgslQiFyxA=="
}, },
"@qg/sentry-cli": {
"version": "1.74.5",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fsentry-cli/-/sentry-cli-1.74.5.tgz",
"integrity": "sha512-zXsp9b+BWSd/cyte00Xt9+U5lit5abmgoiod2XdZtGkz96NlOh+QU4lmIBytK3zpXzSp0sRf2/SUHalOMzZfkg==",
"dev": true,
"requires": {
"https-proxy-agent": "^5.0.0",
"mkdirp": "^0.5.5",
"node-fetch": "^2.6.7",
"npmlog": "^4.1.2",
"progress": "^2.0.3",
"proxy-from-env": "^1.1.0",
"which": "^2.0.2"
},
"dependencies": {
"node-fetch": {
"version": "2.6.9",
"resolved": "http://npmprivate.quantgroups.com/node-fetch/-/node-fetch-2.6.9.tgz",
"integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==",
"dev": true,
"requires": {
"whatwg-url": "^5.0.0"
}
},
"tr46": {
"version": "0.0.3",
"resolved": "http://npmprivate.quantgroups.com/tr46/-/tr46-0.0.3.tgz",
"integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=",
"dev": true
},
"webidl-conversions": {
"version": "3.0.1",
"resolved": "http://npmprivate.quantgroups.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=",
"dev": true
},
"whatwg-url": {
"version": "5.0.0",
"resolved": "http://npmprivate.quantgroups.com/whatwg-url/-/whatwg-url-5.0.0.tgz",
"integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=",
"dev": true,
"requires": {
"tr46": "~0.0.3",
"webidl-conversions": "^3.0.0"
}
},
"which": {
"version": "2.0.2",
"resolved": "http://npmprivate.quantgroups.com/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"dev": true,
"requires": {
"isexe": "^2.0.0"
}
}
}
},
"@qg/sentry-webpack-plugin": {
"version": "1.19.0",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fsentry-webpack-plugin/-/sentry-webpack-plugin-1.19.0.tgz",
"integrity": "sha512-3YL+cMVdHlb3EQG3kljxduu4hxo+t4ISYx0qMYS+VOlmLEH0MIP5Gxz4Oe0obExonUt2N4oUB0tNo7ycQqxt8w==",
"dev": true,
"requires": {
"@qg/sentry-cli": "1.74.5"
}
},
"@sentry/browser": { "@sentry/browser": {
"version": "7.41.0", "version": "7.41.0",
"resolved": "http://npmprivate.quantgroups.com/@sentry%2fbrowser/-/browser-7.41.0.tgz", "resolved": "http://npmprivate.quantgroups.com/@sentry%2fbrowser/-/browser-7.41.0.tgz",
...@@ -3631,6 +3697,54 @@ ...@@ -3631,6 +3697,54 @@
} }
} }
}, },
"are-we-there-yet": {
"version": "1.1.7",
"resolved": "http://npmprivate.quantgroups.com/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz",
"integrity": "sha1-sVR0qTKtq0/4pQ2a36fk6SbyEUY=",
"dev": true,
"requires": {
"delegates": "^1.0.0",
"readable-stream": "^2.0.6"
},
"dependencies": {
"isarray": {
"version": "1.0.0",
"resolved": "http://npmprivate.quantgroups.com/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
"dev": true
},
"readable-stream": {
"version": "2.3.8",
"resolved": "http://npmprivate.quantgroups.com/readable-stream/-/readable-stream-2.3.8.tgz",
"integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
"dev": true,
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
"isarray": "~1.0.0",
"process-nextick-args": "~2.0.0",
"safe-buffer": "~5.1.1",
"string_decoder": "~1.1.1",
"util-deprecate": "~1.0.1"
}
},
"safe-buffer": {
"version": "5.1.2",
"resolved": "http://npmprivate.quantgroups.com/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
"dev": true
},
"string_decoder": {
"version": "1.1.1",
"resolved": "http://npmprivate.quantgroups.com/string_decoder/-/string_decoder-1.1.1.tgz",
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
"dev": true,
"requires": {
"safe-buffer": "~5.1.0"
}
}
}
},
"arg": { "arg": {
"version": "4.1.3", "version": "4.1.3",
"resolved": "http://npmprivate.quantgroups.com/arg/-/arg-4.1.3.tgz", "resolved": "http://npmprivate.quantgroups.com/arg/-/arg-4.1.3.tgz",
...@@ -6999,6 +7113,12 @@ ...@@ -6999,6 +7113,12 @@
"resolved": "http://npmprivate.quantgroups.com/console-browserify/-/console-browserify-1.2.0.tgz", "resolved": "http://npmprivate.quantgroups.com/console-browserify/-/console-browserify-1.2.0.tgz",
"integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA=="
}, },
"console-control-strings": {
"version": "1.1.0",
"resolved": "http://npmprivate.quantgroups.com/console-control-strings/-/console-control-strings-1.1.0.tgz",
"integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
"dev": true
},
"consolidate": { "consolidate": {
"version": "0.15.1", "version": "0.15.1",
"resolved": "http://npmprivate.quantgroups.com/consolidate/-/consolidate-0.15.1.tgz", "resolved": "http://npmprivate.quantgroups.com/consolidate/-/consolidate-0.15.1.tgz",
...@@ -12162,6 +12282,44 @@ ...@@ -12162,6 +12282,44 @@
"integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
"dev": true "dev": true
}, },
"gauge": {
"version": "2.7.4",
"resolved": "http://npmprivate.quantgroups.com/gauge/-/gauge-2.7.4.tgz",
"integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
"dev": true,
"requires": {
"aproba": "^1.0.3",
"console-control-strings": "^1.0.0",
"has-unicode": "^2.0.0",
"object-assign": "^4.1.0",
"signal-exit": "^3.0.0",
"string-width": "^1.0.1",
"strip-ansi": "^3.0.1",
"wide-align": "^1.1.0"
},
"dependencies": {
"is-fullwidth-code-point": {
"version": "1.0.0",
"resolved": "http://npmprivate.quantgroups.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
"dev": true,
"requires": {
"number-is-nan": "^1.0.0"
}
},
"string-width": {
"version": "1.0.2",
"resolved": "http://npmprivate.quantgroups.com/string-width/-/string-width-1.0.2.tgz",
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
"dev": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
"strip-ansi": "^3.0.0"
}
}
}
},
"gensync": { "gensync": {
"version": "1.0.0-beta.2", "version": "1.0.0-beta.2",
"resolved": "http://npmprivate.quantgroups.com/gensync/-/gensync-1.0.0-beta.2.tgz", "resolved": "http://npmprivate.quantgroups.com/gensync/-/gensync-1.0.0-beta.2.tgz",
...@@ -12718,6 +12876,12 @@ ...@@ -12718,6 +12876,12 @@
"resolved": "http://npmprivate.quantgroups.com/has-symbols/-/has-symbols-1.0.2.tgz", "resolved": "http://npmprivate.quantgroups.com/has-symbols/-/has-symbols-1.0.2.tgz",
"integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw=="
}, },
"has-unicode": {
"version": "2.0.1",
"resolved": "http://npmprivate.quantgroups.com/has-unicode/-/has-unicode-2.0.1.tgz",
"integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
"dev": true
},
"has-value": { "has-value": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "http://npmprivate.quantgroups.com/has-value/-/has-value-1.0.0.tgz", "resolved": "http://npmprivate.quantgroups.com/has-value/-/has-value-1.0.0.tgz",
...@@ -19729,6 +19893,18 @@ ...@@ -19729,6 +19893,18 @@
"path-key": "^2.0.0" "path-key": "^2.0.0"
} }
}, },
"npmlog": {
"version": "4.1.2",
"resolved": "http://npmprivate.quantgroups.com/npmlog/-/npmlog-4.1.2.tgz",
"integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
"dev": true,
"requires": {
"are-we-there-yet": "~1.1.2",
"console-control-strings": "~1.1.0",
"gauge": "~2.7.3",
"set-blocking": "~2.0.0"
}
},
"nth-check": { "nth-check": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "http://npmprivate.quantgroups.com/nth-check/-/nth-check-1.0.2.tgz", "resolved": "http://npmprivate.quantgroups.com/nth-check/-/nth-check-1.0.2.tgz",
'use strict'; 'use strict';
const path = require('path'); const path = require('path');
const SentryPlugin = require("webpack-sentry-plugin");
const resolve = filepath => path.resolve(__dirname, filepath); const resolve = filepath => path.resolve(__dirname, filepath);
const SentryConfig = require("./app/web/.sentryclirc.ts"); const SentryConfig = require('./.sentryclirc');
const { upload2Cos, cdnPrefix } = require("./upload-cos.js"); const { upload2Cos, cdnPrefix } = require("./upload-cos.js");
module.exports = { module.exports = {
entry: { entry: {
'activity': 'app/web/page/activity/index.ts', 'activity': 'app/web/page/activity/index.ts',
...@@ -53,7 +51,7 @@ module.exports = { ...@@ -53,7 +51,7 @@ module.exports = {
{ {
sentry: { sentry: {
env: ['prod'], env: ['prod'],
name: 'webpack-sentry-plugin', name: '@qg/sentry-webpack-plugin',
args: SentryConfig args: SentryConfig
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment