snow-flow 8.33.15 → 8.33.17
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/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/scripts/sync-snow-code-version.js +10 -17
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "8.33.
|
|
1
|
+
export declare const VERSION = "8.33.17";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "8.33.
|
|
3
|
+
"version": "8.33.17",
|
|
4
4
|
"description": "ServiceNow development with SnowCode - 75+ LLM providers (Claude, GPT, Gemini, Llama, Mistral, DeepSeek, Groq, Ollama) • 393 Optimized Tools • 2 MCP Servers • Multi-agent orchestration • Use ANY AI coding assistant (ML tools moved to Enterprise)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
"@anthropic-ai/claude-agent-sdk": "0.1.1",
|
|
499
499
|
"@anthropic-ai/sdk": "0.67.0",
|
|
500
500
|
"@clack/prompts": "^0.11.0",
|
|
501
|
-
"@groeimetai/snow-code": "
|
|
501
|
+
"@groeimetai/snow-code": "*",
|
|
502
502
|
"@modelcontextprotocol/sdk": "1.20.1",
|
|
503
503
|
"@tensorflow/tfjs": "^4.22.0",
|
|
504
504
|
"@types/node-fetch": "^2.6.13",
|
|
@@ -559,6 +559,6 @@
|
|
|
559
559
|
]
|
|
560
560
|
},
|
|
561
561
|
"peerDependencies": {
|
|
562
|
-
"@groeimetai/snow-code": "
|
|
562
|
+
"@groeimetai/snow-code": "*"
|
|
563
563
|
}
|
|
564
564
|
}
|
|
@@ -11,14 +11,7 @@ const path = require('path');
|
|
|
11
11
|
|
|
12
12
|
async function syncSnowCodeVersion() {
|
|
13
13
|
try {
|
|
14
|
-
console.log('🔍
|
|
15
|
-
|
|
16
|
-
// Fetch latest version from npm registry
|
|
17
|
-
const latestVersion = execSync('npm view @groeimetai/snow-code version', {
|
|
18
|
-
encoding: 'utf8'
|
|
19
|
-
}).trim();
|
|
20
|
-
|
|
21
|
-
console.log(`✅ Latest version: ${latestVersion}`);
|
|
14
|
+
console.log('🔍 Syncing @groeimetai/snow-code peerDependency to wildcard...');
|
|
22
15
|
|
|
23
16
|
// Read current package.json
|
|
24
17
|
const packageJsonPath = path.join(__dirname, '..', 'package.json');
|
|
@@ -32,13 +25,13 @@ async function syncSnowCodeVersion() {
|
|
|
32
25
|
// Get current peer dependency version
|
|
33
26
|
const currentVersion = packageJson.peerDependencies['@groeimetai/snow-code'];
|
|
34
27
|
|
|
35
|
-
if (currentVersion ===
|
|
36
|
-
console.log(`✓ Already up to date:
|
|
37
|
-
return { updated: false
|
|
28
|
+
if (currentVersion === '*') {
|
|
29
|
+
console.log(`✓ Already up to date: *`);
|
|
30
|
+
return { updated: false };
|
|
38
31
|
}
|
|
39
32
|
|
|
40
|
-
// Update peerDependency to
|
|
41
|
-
packageJson.peerDependencies['@groeimetai/snow-code'] =
|
|
33
|
+
// Update peerDependency to wildcard (matches dependencies field)
|
|
34
|
+
packageJson.peerDependencies['@groeimetai/snow-code'] = '*';
|
|
42
35
|
|
|
43
36
|
// Write back to package.json
|
|
44
37
|
fs.writeFileSync(
|
|
@@ -47,7 +40,7 @@ async function syncSnowCodeVersion() {
|
|
|
47
40
|
'utf-8'
|
|
48
41
|
);
|
|
49
42
|
|
|
50
|
-
console.log(`✅ Updated peerDependency: ${currentVersion} →
|
|
43
|
+
console.log(`✅ Updated peerDependency: ${currentVersion} → *`);
|
|
51
44
|
|
|
52
45
|
// Stage the change for git
|
|
53
46
|
try {
|
|
@@ -57,10 +50,10 @@ async function syncSnowCodeVersion() {
|
|
|
57
50
|
// Git add might fail if not in a git repo, that's ok
|
|
58
51
|
}
|
|
59
52
|
|
|
60
|
-
return { updated: true
|
|
53
|
+
return { updated: true };
|
|
61
54
|
|
|
62
55
|
} catch (error) {
|
|
63
|
-
console.error('❌ Failed to sync @groeimetai/snow-code
|
|
56
|
+
console.error('❌ Failed to sync @groeimetai/snow-code peerDependency:', error.message);
|
|
64
57
|
console.error(' Continuing with current version...');
|
|
65
58
|
return { updated: false, error: error.message };
|
|
66
59
|
}
|
|
@@ -70,7 +63,7 @@ async function syncSnowCodeVersion() {
|
|
|
70
63
|
if (require.main === module) {
|
|
71
64
|
syncSnowCodeVersion().then(result => {
|
|
72
65
|
if (result.updated) {
|
|
73
|
-
console.log('\n🎉 Ready to publish with
|
|
66
|
+
console.log('\n🎉 Ready to publish with wildcard @groeimetai/snow-code dependency!');
|
|
74
67
|
} else if (result.error) {
|
|
75
68
|
console.log('\n⚠️ Could not auto-sync, but continuing...');
|
|
76
69
|
}
|