@xfe-repo/web-app 1.0.4 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfe-repo/web-app",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "bin": {
5
5
  "xfe-web": "./bin/index.js"
6
6
  },
package/scripts/config.js CHANGED
@@ -10,6 +10,12 @@ const configDeploy = () => {
10
10
 
11
11
  if (!xfeConfig?.deploy) return
12
12
 
13
+ // 处理drone配置 将drone配置写入.drone.yml
14
+ const droneConfigFilePath = path.resolve(__dirname, '../deploy/.drone.yml')
15
+
16
+ // 将drone配置写入.drone.yml
17
+ fs.cpSync(droneConfigFilePath, xfeConfig.deploy.droneConfigPath || './.drone.yml')
18
+
13
19
  // 处理写入deploy values配置
14
20
  const valuesYamlFilePath = path.resolve(__dirname, '../deploy/helm/values.yaml')
15
21
  const valuesYamlFile = fs.readFileSync(valuesYamlFilePath, 'utf8')