@xfe-repo/web-app 1.0.5 → 1.0.7
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/bin/index.js +2 -0
- package/deploy/.drone.yml +2 -1
- package/deploy/helm/values.yaml +3 -3
- package/deploy/nginx.conf +1 -0
- package/package.json +1 -1
- package/scripts/build.js +0 -3
- package/scripts/dev.js +0 -3
- package/scripts/devSSR.js +0 -3
package/bin/index.js
CHANGED
package/deploy/.drone.yml
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# 此文件为@xfe-repo中的web-app项目的部署文件 此处为副本 请勿修改
|
|
1
2
|
kind: pipeline
|
|
2
3
|
type: kubernetes
|
|
3
4
|
name: deploy
|
|
@@ -20,7 +21,6 @@ steps:
|
|
|
20
21
|
commands:
|
|
21
22
|
- pnpm config set registry https://registry.npmmirror.com
|
|
22
23
|
- pnpm i --frozen-lockfile
|
|
23
|
-
- cp -r node_modules/@xfe-repo/web-app/deploy deploy
|
|
24
24
|
|
|
25
25
|
- name: build
|
|
26
26
|
pull: if-not-exists
|
|
@@ -34,6 +34,7 @@ steps:
|
|
|
34
34
|
path: /drone/src/node_modules
|
|
35
35
|
commands:
|
|
36
36
|
- export REACT_APP_RELEASE=$DRONE_REPO_NAME@${DRONE_TAG:CI_COMMIT_SHA}
|
|
37
|
+
- cp -r node_modules/@xfe-repo/web-app/deploy deploy
|
|
37
38
|
- echo -n "$REACT_APP_RELEASE" > deploy/static/release
|
|
38
39
|
- pnpm build
|
|
39
40
|
|
package/deploy/helm/values.yaml
CHANGED
|
@@ -7,10 +7,10 @@ envType: '<<ENV_TYPE>>'
|
|
|
7
7
|
hostPrefix: '<<HOST_PREFIX>>'
|
|
8
8
|
hosts:
|
|
9
9
|
test:
|
|
10
|
-
- '
|
|
10
|
+
- 'test.template.com'
|
|
11
11
|
stage:
|
|
12
|
-
- 'stage.
|
|
12
|
+
- 'stage.template.com'
|
|
13
13
|
prod:
|
|
14
|
-
- '
|
|
14
|
+
- 'template.com'
|
|
15
15
|
gateways:
|
|
16
16
|
- 'common-gateway-eshetang'
|
package/deploy/nginx.conf
CHANGED
package/package.json
CHANGED
package/scripts/build.js
CHANGED
package/scripts/dev.js
CHANGED