@xfe-repo/mini-app 1.6.3 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config/index.ts +9 -2
- package/deploy/.drone.yml +5 -0
- package/package.json +3 -3
package/config/index.ts
CHANGED
|
@@ -115,9 +115,16 @@ export default defineConfig<'webpack5'>(async (merge) => {
|
|
|
115
115
|
},
|
|
116
116
|
},
|
|
117
117
|
},
|
|
118
|
-
webpackChain(chain) {
|
|
118
|
+
webpackChain(chain, webpack) {
|
|
119
119
|
chain.resolve.plugin('tsconfig-paths').use(TsconfigPathsPlugin)
|
|
120
|
-
|
|
120
|
+
// 保留应用为 Taro 预编译的首个入口,polyfill 由 Webpack 优先加载。
|
|
121
|
+
chain
|
|
122
|
+
.plugin('h5-polyfill')
|
|
123
|
+
.use(webpack.EntryPlugin, [
|
|
124
|
+
appProjectRootAbsPath,
|
|
125
|
+
require.resolve('core-js/stable', { paths: [require.resolve('babel-preset-taro')] }),
|
|
126
|
+
{ name: 'app' },
|
|
127
|
+
])
|
|
121
128
|
},
|
|
122
129
|
},
|
|
123
130
|
rn: {
|
package/deploy/.drone.yml
CHANGED
|
@@ -246,6 +246,11 @@ steps:
|
|
|
246
246
|
- set +x
|
|
247
247
|
- printf '%s' "$PASSWORD" | helm registry login xhj-prod-registry-vpc.cn-hangzhou.cr.aliyuncs.com --username "$USERNAME" --password-stdin
|
|
248
248
|
- helm push "$chartName-$chartVersion.tgz" oci://xhj-prod-registry-vpc.cn-hangzhou.cr.aliyuncs.com/xhj-image
|
|
249
|
+
- >-
|
|
250
|
+
curl -i --fail-with-body
|
|
251
|
+
https://deploy.eshetang.com/deploy.v1.DeployExternalService/UpdateGitOpsChartVersion
|
|
252
|
+
-H 'Content-Type: application/json'
|
|
253
|
+
-d "{\"service\":\"$${chartName}\",\"chartVersion\":\"$${chartVersion}\"}"
|
|
249
254
|
when:
|
|
250
255
|
ref:
|
|
251
256
|
include:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xfe-repo/mini-app",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.5",
|
|
4
4
|
"bin": {
|
|
5
5
|
"xfe-mini": "./bin/index.js"
|
|
6
6
|
},
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"typescript": "5.3.3",
|
|
52
52
|
"webpack": "5.91.0",
|
|
53
53
|
"yaml": "^2.3.4",
|
|
54
|
-
"@xfe-repo/
|
|
55
|
-
"@xfe-repo/
|
|
54
|
+
"@xfe-repo/routes-define-webpack-plugin": "1.6.0",
|
|
55
|
+
"@xfe-repo/typescript-config": "1.6.2"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"react": "18.2.0",
|