@coreframe/vite 0.1.1 → 0.1.2

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.
@@ -100,7 +100,8 @@ function render() {
100
100
  ))
101
101
  }
102
102
  } else if (target && !status.busy) {
103
- content.append(actions(button("Refresh", () => act({ type: "prepare", target: target.commit }), true)))
103
+ const label = target.source === "local" ? "Sync with main" : "Refresh"
104
+ content.append(actions(button(label, () => act({ type: "prepare", target: target.commit }), true)))
104
105
  }
105
106
  }
106
107
 
@@ -145,6 +146,7 @@ function actions(...buttons) {
145
146
  function modeMessage(value) {
146
147
  if (value.mode === "unmanaged") return "Managed synchronization is unavailable for this session."
147
148
  if (value.mode === "error") return "Managed synchronization stopped."
149
+ if (value.target?.source === "local") return "New changes are available in local main."
148
150
  return "A newer main commit is ready."
149
151
  }
150
152
  `;export{l as browserClientSource,i as coreframeManagedDevPlugin};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreframe/vite",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/airlock-labs/coreframe.git",
@@ -41,8 +41,8 @@
41
41
  "@svgr/core": "^8.1.0",
42
42
  "@svgr/plugin-jsx": "^8.1.0",
43
43
  "unplugin-icons": "^23.0.1",
44
- "@coreframe/scripts": "^0.1.14",
45
- "@coreframe/lib": "^0.1.4"
44
+ "@coreframe/lib": "^0.1.4",
45
+ "@coreframe/scripts": "^0.1.16"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^26.1.0",