@sleekcms/sync 1.0.0 → 1.1.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.
@@ -87,7 +87,7 @@ function resolveViewsDir(basePath, site) {
87
87
  const slug = `${site.name.substr(0, 20)} ${site.id}`
88
88
  .replace(/[\s_]+/g, "-")
89
89
  .toLowerCase();
90
- const base = basePath || path_1.default.join(os_1.default.homedir(), ".sleekcms");
90
+ const base = basePath || path_1.default.join(os_1.default.homedir(), "SleekCMS");
91
91
  return path_1.default.resolve(base, slug);
92
92
  }
93
93
  async function syncSite(opts) {
@@ -243,7 +243,7 @@ if (require.main === module) {
243
243
  const opts = commander_1.program.opts();
244
244
  syncSite({
245
245
  token: opts.token,
246
- path: opts.dir || path_1.default.join(os_1.default.homedir(), ".sleekcms"),
246
+ path: opts.dir || path_1.default.join(os_1.default.homedir(), "SleekCMS"),
247
247
  env: opts.env,
248
248
  })
249
249
  .then(({ viewsDir, site, isFirstRun, pulled }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleekcms/sync",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Edit SleekCMS sites locally — models, content, templates, images — with live two-way sync and AI agent support.",
5
5
  "keywords": [
6
6
  "sleekcms",