@jeremyy_prt/cc-config 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/cli.js +3 -1
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -145,7 +145,9 @@ function setup() {
145
145
 
146
146
  // Vérifier que Claude Code est installé
147
147
  try {
148
- execSync('which claude', { stdio: 'ignore' });
148
+ const isWindows = process.platform === 'win32';
149
+ const command = isWindows ? 'where claude' : 'which claude';
150
+ execSync(command, { stdio: 'ignore' });
149
151
  } catch {
150
152
  console.error('⚠️ Claude Code n\'est pas installé.');
151
153
  console.error(' Installe-le d\'abord: https://claude.ai/download');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeremyy_prt/cc-config",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Configuration personnalisée pour Claude Code avec commandes et agents en français",
5
5
  "main": "index.js",
6
6
  "bin": {