aicm 0.6.1 → 0.6.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.
package/README.md CHANGED
@@ -129,22 +129,16 @@ We'll install [an npm package](https://github.com/ranyitz/pirate-coding) contain
129
129
  npm install --save-dev pirate-coding
130
130
  ```
131
131
 
132
- 2. Initialize aicm config
132
+ 2. Create an `aicm.json` file in your project
133
133
 
134
134
  ```bash
135
- npx -y aicm init
136
- ```
137
-
138
- 3. Add the rule to your config file: `aicm.json`
139
-
140
- ```json
141
- {
135
+ echo '{
142
136
  "ides": ["cursor"],
143
137
  "presets": ["pirate-coding"]
144
- }
138
+ }' > aicm.json
145
139
  ```
146
140
 
147
- 4. Install all rules & mcps from your configuration
141
+ 3. Install all rules & mcps from your configuration
148
142
 
149
143
  ```bash
150
144
  npx -y aicm install
@@ -139,7 +139,7 @@ async function install(options = {}) {
139
139
  const filteredMcpServers = Object.fromEntries(Object.entries(config.mcpServers).filter(([, v]) => v !== false));
140
140
  writeMcpServersToTargets(filteredMcpServers, config.ides, cwd);
141
141
  }
142
- log("Rules installation completed!");
142
+ log("Rules installation completed");
143
143
  // Restore original cwd
144
144
  if (cwd !== originalCwd) {
145
145
  process.chdir(originalCwd);
@@ -170,7 +170,6 @@ async function installCommand() {
170
170
  console.error(chalk_1.default.red(result.error));
171
171
  process.exit(1);
172
172
  }
173
- console.log(chalk_1.default.green("Rules installation completed!"));
174
173
  }
175
174
  catch (error) {
176
175
  console.error(chalk_1.default.red(`Error during rule installation: ${error instanceof Error ? error.message : String(error)}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aicm",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "A TypeScript CLI tool for managing AI IDE rules across different projects and teams",
5
5
  "main": "dist/api.js",
6
6
  "types": "dist/api.d.ts",