@xfe-repo/web-app 1.3.3 → 1.3.4

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/deploy/.drone.yml CHANGED
@@ -67,6 +67,8 @@ steps:
67
67
  # 将$INFRA_K8S_CONFIG或$SAAS_K8S_CONFIG写入kube_config
68
68
  - echo "$TARGET_K8S" | grep -q "infra" && echo "$INFRA_K8S_CONFIG" > kube_config || echo "$SAAS_K8S_CONFIG" > kube_config
69
69
  # 将环境类型写入values.yaml
70
+ - appName="`echo ${DRONE_REPO//\//-}`"
71
+ - sed -i "s/<<APP_NAME>>/$appName/g" deploy/helm/values.yaml
70
72
  - sed -i "s/<<CI_COMMIT_SHA>>/$CI_COMMIT_SHA/g" deploy/helm/values.yaml
71
73
  - sed -i "s/<<TAG_CONTENT>>/$DRONE_TAG/g" deploy/helm/values.yaml
72
74
  # 展示values.yaml 与 TARGET_K8S
@@ -80,8 +82,7 @@ steps:
80
82
  - sed -i "s/<<ENV_TYPE>>/test/g" deploy/helm/values.test.yaml
81
83
  - sed -i "s/<<APP_SUFFIX>>/-$HOST_PREFIX/g" deploy/helm/values.test.yaml
82
84
  - sed -i "s/<<HOST_PREFIX>>/$HOST_PREFIX/g" deploy/helm/values.test.yaml
83
- - appName="`echo ${DRONE_REPO//\//-}`"
84
- - chartName="$appName-$HOST_PREFIX"
85
+ - chartName="${DRONE_REPO//\//-}-$HOST_PREFIX"
85
86
  - echo "$chartName"
86
87
  - sed -i "s/deployment/$chartName/g" deploy/helm/Chart.yaml
87
88
  - sed -i "s/1.0.0/0.0.0-$CI_COMMIT_SHA/g" deploy/helm/Chart.yaml
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfe-repo/web-app",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "bin": {
5
5
  "xfe-web": "./bin/index.js"
6
6
  },
@@ -78,8 +78,8 @@
78
78
  "webpack-manifest-plugin": "^4.0.2",
79
79
  "workbox-webpack-plugin": "^7.0.0",
80
80
  "yaml": "^2.3.4",
81
- "@xfe-repo/eslint-config": "0.0.5",
82
- "@xfe-repo/typescript-config": "0.0.6"
81
+ "@xfe-repo/typescript-config": "0.0.6",
82
+ "@xfe-repo/eslint-config": "0.0.5"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "react": "18.2.0",