@atlashub/smartstack-cli 3.40.0 → 3.41.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/dist/index.js CHANGED
@@ -113242,7 +113242,8 @@ async function installRalphConfig(options = {}) {
113242
113242
  const configDest = (0, import_path2.join)(ralphDir, "ralph.config.yaml");
113243
113243
  if (await import_fs_extra2.default.pathExists(configSrc)) {
113244
113244
  if (!await import_fs_extra2.default.pathExists(configDest) || options.force) {
113245
- await import_fs_extra2.default.copy(configSrc, configDest);
113245
+ const content = await import_fs_extra2.default.readFile(configSrc);
113246
+ await import_fs_extra2.default.writeFile(configDest, content);
113246
113247
  logger.success("Created .ralph/ralph.config.yaml");
113247
113248
  } else {
113248
113249
  logger.info(".ralph/ralph.config.yaml already exists (use --force to overwrite)");
@@ -113255,14 +113256,16 @@ async function installRalphConfig(options = {}) {
113255
113256
  const gitignoreDest = (0, import_path2.join)(ralphDir, ".gitignore");
113256
113257
  if (await import_fs_extra2.default.pathExists(gitignoreSrc)) {
113257
113258
  if (!await import_fs_extra2.default.pathExists(gitignoreDest) || options.force) {
113258
- await import_fs_extra2.default.copy(gitignoreSrc, gitignoreDest);
113259
+ const content = await import_fs_extra2.default.readFile(gitignoreSrc);
113260
+ await import_fs_extra2.default.writeFile(gitignoreDest, content);
113259
113261
  }
113260
113262
  }
113261
113263
  const readmeSrc = (0, import_path2.join)(TEMPLATES_DIR, "ralph", "README.md");
113262
113264
  const readmeDest = (0, import_path2.join)(ralphDir, "README.md");
113263
113265
  if (await import_fs_extra2.default.pathExists(readmeSrc)) {
113264
113266
  if (!await import_fs_extra2.default.pathExists(readmeDest) || options.force) {
113265
- await import_fs_extra2.default.copy(readmeSrc, readmeDest);
113267
+ const content = await import_fs_extra2.default.readFile(readmeSrc);
113268
+ await import_fs_extra2.default.writeFile(readmeDest, content);
113266
113269
  }
113267
113270
  }
113268
113271
  result.success = result.errors.length === 0;