framer-code-link 0.2.2 → 0.2.4

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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -4
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -2109,7 +2109,8 @@ function transition(state, event) {
2109
2109
  name: conflict.fileName,
2110
2110
  content: conflict.remoteContent,
2111
2111
  modifiedAt: conflict.remoteModifiedAt ?? Date.now()
2112
- }]
2112
+ }],
2113
+ silent: true
2113
2114
  });
2114
2115
  }
2115
2116
  if (remainingConflicts.length > 0) {
@@ -2519,13 +2520,13 @@ program.exitOverride((err) => {
2519
2520
  }
2520
2521
  throw err;
2521
2522
  });
2522
- program.name("code-link").description("Sync Framer code components to your local filesystem").version("0.1.0").argument("[projectHash]", "Framer Project ID Hash (auto-detected from package.json if omitted)").option("-n, --name <name>", "Project name (optional)").option("-d, --dir <directory>", "Explicit project directory").option("-v, --verbose", "Enable verbose logging").option("--log-level <level>", "Set log level (debug, info, warn, error)").option("--dangerously-auto-delete", "Automatically delete remote files without confirmation").action(async (projectHash, options) => {
2523
+ program.name("framer-code-link").description("Sync Framer code components to your local filesystem").version("0.1.0").argument("[projectHash]", "Framer Project ID Hash (auto-detected from package.json if omitted)").option("-n, --name <name>", "Project name (optional)").option("-d, --dir <directory>", "Explicit project directory").option("-v, --verbose", "Enable verbose logging").option("--log-level <level>", "Set log level (debug, info, warn, error)").option("--dangerously-auto-delete", "Automatically delete remote files without confirmation").action(async (projectHash, options) => {
2523
2524
  if (!projectHash) {
2524
2525
  const detected = await getProjectHashFromCwd();
2525
2526
  if (detected) projectHash = detected;
2526
2527
  else {
2527
- console.error("No project ID provided and no framerProjectId found in package.json.");
2528
- console.error("Either run this command from a project directory or copy the command from the Code Link Plugin.");
2528
+ console.error("No project ID provided and no existing code-link directory found.");
2529
+ console.error("Copy the command from the Code Link Plugin to get started.");
2529
2530
  process.exit(1);
2530
2531
  }
2531
2532
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framer-code-link",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "CLI tool for syncing Framer code components - controller-centric architecture",
5
5
  "main": "dist/index.mjs",
6
6
  "type": "module",