snow-flow 8.33.16 → 8.33.18

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 CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "8.33.16";
1
+ export declare const VERSION = "8.33.18";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Auto-generated by npm version command
5
- exports.VERSION = '8.33.16';
5
+ exports.VERSION = '8.33.18';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "8.33.16",
3
+ "version": "8.33.18",
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",
@@ -559,6 +559,6 @@
559
559
  ]
560
560
  },
561
561
  "peerDependencies": {
562
- "@groeimetai/snow-code": "^1.0.48"
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('🔍 Fetching latest @groeimetai/snow-code version from npm...');
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 === `^${latestVersion}`) {
36
- console.log(`✓ Already up to date: ^${latestVersion}`);
37
- return { updated: false, version: latestVersion };
28
+ if (currentVersion === '*') {
29
+ console.log(`✓ Already up to date: *`);
30
+ return { updated: false };
38
31
  }
39
32
 
40
- // Update peerDependency to latest
41
- packageJson.peerDependencies['@groeimetai/snow-code'] = `^${latestVersion}`;
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} → ^${latestVersion}`);
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, version: latestVersion };
53
+ return { updated: true };
61
54
 
62
55
  } catch (error) {
63
- console.error('❌ Failed to sync @groeimetai/snow-code version:', error.message);
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 latest @groeimetai/snow-code dependency!');
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
  }