@rpcbase/cli 0.187.0 → 0.188.0

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": "@rpcbase/cli",
3
- "version": "0.187.0",
3
+ "version": "0.188.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src"
@@ -43,6 +43,14 @@ const sharedInfrastructureIncludePatterns = [
43
43
 
44
44
  const sharedInfrastructureExcludePatterns = [
45
45
  "/infrastructure/data/***",
46
+ "/infrastructure/mongot/config.yml",
47
+ "/infrastructure/mongot/passwordFile",
48
+ ]
49
+
50
+ const generatedInfrastructureExcludePatterns = [
51
+ "data/",
52
+ "mongot/config.yml",
53
+ "mongot/passwordFile",
46
54
  ]
47
55
 
48
56
  const toArray = (value) => {
@@ -147,7 +155,7 @@ const prepareDeploySource = ({
147
155
  const infrastructureRsyncCmd = [
148
156
  "rsync -a",
149
157
  "--delete",
150
- buildRsyncFilterArgs({ excludes: baseExcludeList.concat(["data/"]).concat(excludePatterns) }),
158
+ buildRsyncFilterArgs({ excludes: baseExcludeList.concat(generatedInfrastructureExcludePatterns).concat(excludePatterns) }),
151
159
  shellQuote(withTrailingSlash(infrastructureDir)),
152
160
  shellQuote(withTrailingSlash(deployInfrastructureDir)),
153
161
  ].filter(Boolean).join(" ")
@@ -404,7 +412,7 @@ export const deploy = async (argv) => {
404
412
  syncSharedEnvFiles(deployRoot, preparedDeploy.sharedEnvFileNames)
405
413
 
406
414
  const infrastructureExcludeArgs = baseExcludeList
407
- .concat(["data/"])
415
+ .concat(generatedInfrastructureExcludePatterns)
408
416
  .concat(deployExcludePatterns)
409
417
 
410
418
  const infrastructureRsyncCmd = [