@drawbridge/drawbridge-agents 0.1.4 → 0.1.6

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.
@@ -0,0 +1 @@
1
+ save-exact=true
@@ -0,0 +1 @@
1
+ v22.23.1
package/README.md CHANGED
@@ -24,9 +24,13 @@ claude/
24
24
  skills/ ← shared skills (drawbridge-ship-feature, -asana-ship-handoff, ...)
25
25
  hooks/ agents/ commands/
26
26
 
27
- .root-template/ ← mirrored into each consumer repo's root
28
- .mcp.json ← project-level MCP servers (Sentry, Asana)
29
- .editorconfig ← family-wide editor defaults (tabs, lf, utf-8)
27
+ .root-template/ ← mirrored to each consumer repo's root; files are stored DOTLESS
28
+ and the mirror restores the leading dot (one rule; also required
29
+ for npmrc since npm strips a literal .npmrc from tarballs)
30
+ mcp.json → .mcp.json project-level MCP servers (Sentry, Asana)
31
+ editorconfig → .editorconfig family-wide editor defaults (tabs, lf, utf-8)
32
+ npmrc → .npmrc save-exact=true (exact-pin convention)
33
+ nvmrc → .nvmrc family-standard node version (v22.23.1)
30
34
 
31
35
  bin/
32
36
  sync-claude.js ← drawbridge-agents-sync — mirrors templates + graphify preflight
@@ -16,11 +16,21 @@ const rmrf = (p) => {
16
16
 
17
17
  const copied = []
18
18
 
19
+ // Root-template files are stored dotless and the leading dot is restored on mirror. This is
20
+ // required for `npmrc` (npm strips a literal `.npmrc` from published tarballs) and applied to
21
+ // the rest for one consistent rule: template files never start with a dot.
22
+ const RENAME = {
23
+ editorconfig: '.editorconfig',
24
+ 'mcp.json': '.mcp.json',
25
+ nvmrc: '.nvmrc',
26
+ npmrc: '.npmrc'
27
+ }
28
+
19
29
  const mirror = (src, dst) => {
20
30
  fs.mkdirSync(dst, { recursive: true })
21
31
  for (const entry of fs.readdirSync(src, { withFileTypes: true })) {
22
32
  const s = path.join(src, entry.name)
23
- const d = path.join(dst, entry.name)
33
+ const d = path.join(dst, RENAME[entry.name] || entry.name)
24
34
  if (entry.isDirectory()) {
25
35
  mirror(s, d)
26
36
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawbridge/drawbridge-agents",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Shared agent-instruction content (rules, code style, conventions) for the drawbridge-* monorepo.",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
File without changes
File without changes