@geosynk/vertigis-web-sdk 1.0.7 → 1.0.8
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/README.md +4 -4
- package/package.json +4 -4
- package/scripts/create.js +5 -5
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ npx @geosynk/vertigis-web-sdk create my-web-library
|
|
|
55
55
|
|
|
56
56
|
### Option B: Direct from GitHub (Zero Registry / No NPM Publish Required)
|
|
57
57
|
```bash
|
|
58
|
-
npx github:
|
|
58
|
+
npx github:geosynk-lab/vertigis-web-sdk create my-web-library
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
### Option C: Local Linked SDK (Instant Local Development)
|
|
@@ -241,11 +241,11 @@ When accessing `https://localtest.me:3001/`, VertiGIS Web automatically triggers
|
|
|
241
241
|
|
|
242
242
|
### 6. AI Coding Assistant Skills (Antigravity, Cursor, Claude Code)
|
|
243
243
|
|
|
244
|
-
This SDK integrates directly with the [VertiGIS SDK Skills repository](https://github.com/
|
|
244
|
+
This SDK integrates directly with the [VertiGIS SDK Skills repository](https://github.com/geosynk-lab/vertigis-sdk-skills).
|
|
245
245
|
|
|
246
246
|
During project creation, you will be prompted:
|
|
247
247
|
```text
|
|
248
|
-
? Would you like to install AI coding assistant skills from https://github.com/
|
|
248
|
+
? Would you like to install AI coding assistant skills from https://github.com/geosynk-lab/vertigis-sdk-skills into this project? [Y/n]
|
|
249
249
|
```
|
|
250
250
|
If accepted, the `vertigis-web-sdk-skill` is automatically installed into `./.agents/skills/` using the standard `skills` tool (`npx skills add`).
|
|
251
251
|
|
|
@@ -280,7 +280,7 @@ Or run the parent batch synchronizer:
|
|
|
280
280
|
|
|
281
281
|
- [VertiGIS Studio Web Developer Center](https://developers.vertigisstudio.com/docs/web/overview/)
|
|
282
282
|
- [VertiGIS Studio Workflow TypeScript SDK Overview](https://developers.vertigisstudio.com/docs/workflow/sdk-web-overview)
|
|
283
|
-
- [VertiGIS Web SDK Skill Reference Guide](https://github.com/
|
|
283
|
+
- [VertiGIS Web SDK Skill Reference Guide](https://github.com/geosynk-lab/vertigis-sdk-skills)
|
|
284
284
|
|
|
285
285
|
---
|
|
286
286
|
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geosynk/vertigis-web-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Enterprise SDK for extending VertiGIS Studio Web",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/geosynk-lab/vertigis-web-sdk.git"
|
|
11
11
|
},
|
|
12
12
|
"author": "VertiGIS Ltd. / Davood Kazemi (Geosynk)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/geosynk-lab/vertigis-web-sdk/issues"
|
|
16
16
|
},
|
|
17
|
-
"homepage": "https://github.com/
|
|
17
|
+
"homepage": "https://github.com/geosynk-lab/vertigis-web-sdk#readme",
|
|
18
18
|
"files": [
|
|
19
19
|
"bin",
|
|
20
20
|
"config",
|
package/scripts/create.js
CHANGED
|
@@ -95,8 +95,8 @@ if (fs.existsSync(customTemplateDir) && fs.existsSync(targetPath)) {
|
|
|
95
95
|
pkg.scripts = pkg.scripts || {};
|
|
96
96
|
pkg.scripts["cert:gen"] = "bash ./certs/generate-cert.sh";
|
|
97
97
|
pkg.scripts["auth:portal"] = "node ./scripts/configure-portal.js";
|
|
98
|
-
pkg.scripts["skill:add"] = "npx --yes skills add
|
|
99
|
-
pkg.scripts["skills:add"] = "npx --yes skills add
|
|
98
|
+
pkg.scripts["skill:add"] = "npx --yes skills add geosynk-lab/vertigis-sdk-skills --skill vertigis-web-sdk-skill -y";
|
|
99
|
+
pkg.scripts["skills:add"] = "npx --yes skills add geosynk-lab/vertigis-sdk-skills -y";
|
|
100
100
|
|
|
101
101
|
fs.writeFileSync(pkgPath, JSON.stringify(pkg, null, 4) + "\n", "utf-8");
|
|
102
102
|
console.log("[ENTERPRISE] Added enterprise dependencies, auth:portal, and skill:add scripts to package.json");
|
|
@@ -120,7 +120,7 @@ if (fs.existsSync(customTemplateDir) && fs.existsSync(targetPath)) {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
// 5. Prompt to install AI Coding Assistant Skill (https://github.com/
|
|
123
|
+
// 5. Prompt to install AI Coding Assistant Skill (https://github.com/geosynk-lab/vertigis-sdk-skills)
|
|
124
124
|
let shouldInstallSkill = false;
|
|
125
125
|
if (process.argv.includes("--skills") || process.argv.includes("--with-skills")) {
|
|
126
126
|
shouldInstallSkill = true;
|
|
@@ -133,7 +133,7 @@ if (fs.existsSync(customTemplateDir) && fs.existsSync(targetPath)) {
|
|
|
133
133
|
});
|
|
134
134
|
const answer = await new Promise(resolve => {
|
|
135
135
|
rl.question(
|
|
136
|
-
"\n? Would you like to install AI coding assistant skills from https://github.com/
|
|
136
|
+
"\n? Would you like to install AI coding assistant skills from https://github.com/geosynk-lab/vertigis-sdk-skills into this project? [Y/n] ",
|
|
137
137
|
ans => {
|
|
138
138
|
rl.close();
|
|
139
139
|
resolve(ans.trim());
|
|
@@ -148,7 +148,7 @@ if (fs.existsSync(customTemplateDir) && fs.existsSync(targetPath)) {
|
|
|
148
148
|
if (shouldInstallSkill) {
|
|
149
149
|
console.log("\n[SKILLS] Installing VertiGIS Web SDK skill into project repository via npx skills add...");
|
|
150
150
|
try {
|
|
151
|
-
execSync("npx --yes skills add
|
|
151
|
+
execSync("npx --yes skills add geosynk-lab/vertigis-sdk-skills --skill vertigis-web-sdk-skill -y", {
|
|
152
152
|
stdio: "inherit",
|
|
153
153
|
cwd: targetPath,
|
|
154
154
|
});
|