@worldresources/wri-design-systems 2.191.10-alpha-ds-cli → 2.191.10-alpha-ds-cli.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 +2 -2
- package/agents/setup-ai.mjs +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,14 +48,14 @@ This will:
|
|
|
48
48
|
- `AGENTS.md` content distributed as: `CLAUDE.md`, `GEMINI.md`, `.geminirules`
|
|
49
49
|
- Configure IDE integrations when detected:
|
|
50
50
|
- Cursor: writes `.cursor/rules` and creates `.cursor/mcp.json` (skips if it already exists)
|
|
51
|
-
- VS Code / GitHub Copilot: writes
|
|
51
|
+
- VS Code / GitHub Copilot: writes `.github/copilot-instructions.md` and creates `.vscode/mcp.json` (skips if it already exists)
|
|
52
52
|
- Windsurf: writes `.windsurfrules`
|
|
53
53
|
- Cline: writes `.clinerules`
|
|
54
54
|
- Ensure a `.gitignore` block is present (creates `.gitignore` if missing; appends once and never duplicates):
|
|
55
55
|
- `CLAUDE.md`
|
|
56
56
|
- `.windsurfrules`
|
|
57
57
|
- `.clinerules`
|
|
58
|
-
-
|
|
58
|
+
- `.github/copilot-instructions.md`
|
|
59
59
|
- `.cursor/rules`
|
|
60
60
|
- `.cursor/mcp.json`
|
|
61
61
|
- `.vscode/mcp.json`
|
package/agents/setup-ai.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
//
|
|
2
|
+
// agents/setup-ai.mjs — WRI Design System AI Setup
|
|
3
3
|
// Distributes AGENTS.md to the correct location for each detected IDE.
|
|
4
|
-
// Usage:
|
|
4
|
+
// Usage: npx ds setup-ai
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
existsSync,
|
|
@@ -83,7 +83,7 @@ function ensureGitignoreBlock() {
|
|
|
83
83
|
'CLAUDE.md',
|
|
84
84
|
'.windsurfrules',
|
|
85
85
|
'.clinerules',
|
|
86
|
-
'copilot-instructions.md',
|
|
86
|
+
'.github/copilot-instructions.md',
|
|
87
87
|
'.cursor/rules',
|
|
88
88
|
'.cursor/mcp.json',
|
|
89
89
|
'.vscode/mcp.json',
|