antigravity-seo-kit 4.1.3 → 4.1.5
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/lib/installer.js +8 -2
- package/package.json +2 -2
package/lib/installer.js
CHANGED
|
@@ -599,7 +599,13 @@ async function installPlugin(licenseKey) {
|
|
|
599
599
|
|
|
600
600
|
// Step 4: Ensure plugin.json and installed_version.json
|
|
601
601
|
const pluginJsonPath = path.join(globalPluginDir, 'plugin.json');
|
|
602
|
-
if (
|
|
602
|
+
if (fs.existsSync(pluginJsonPath)) {
|
|
603
|
+
try {
|
|
604
|
+
const pJson = JSON.parse(fs.readFileSync(pluginJsonPath, 'utf-8'));
|
|
605
|
+
pJson.version = PACKAGE_VERSION;
|
|
606
|
+
fs.writeFileSync(pluginJsonPath, JSON.stringify(pJson, null, 2) + '\n', 'utf-8');
|
|
607
|
+
} catch (e) {}
|
|
608
|
+
} else {
|
|
603
609
|
const pluginJson = {
|
|
604
610
|
name: "antigravity-seo-kit",
|
|
605
611
|
version: PACKAGE_VERSION,
|
|
@@ -609,7 +615,7 @@ async function installPlugin(licenseKey) {
|
|
|
609
615
|
license: "SEE LICENSE IN LICENSE",
|
|
610
616
|
keywords: ["seo", "agentic-seo", "ai-agent", "antigravity"]
|
|
611
617
|
};
|
|
612
|
-
fs.writeFileSync(pluginJsonPath, JSON.stringify(pluginJson, null, 2), 'utf-8');
|
|
618
|
+
fs.writeFileSync(pluginJsonPath, JSON.stringify(pluginJson, null, 2) + '\n', 'utf-8');
|
|
613
619
|
}
|
|
614
620
|
fs.writeFileSync(path.join(globalPluginDir, 'installed_version.json'), JSON.stringify({ version: PACKAGE_VERSION }), 'utf-8');
|
|
615
621
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antigravity-seo-kit",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "Professional Agentic SEO Platform for Google Antigravity 2 AI Agent — 44 specialized skills covering technical audit, E-E-A-T, schema, GEO, local SEO & more",
|
|
5
5
|
"main": "lib/installer.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"keywords": [
|
|
14
14
|
"seo",
|
|
15
|
-
"
|
|
15
|
+
"content-seo",
|
|
16
16
|
"ai-agent",
|
|
17
17
|
"claude-code",
|
|
18
18
|
"cursor",
|