xdrs-core 0.21.0 → 0.21.1
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.
|
@@ -59,7 +59,7 @@ Collectively, these are referred to as XDRs.
|
|
|
59
59
|
- **Scopes:**
|
|
60
60
|
- Short name that defines a group or a package of xdrs
|
|
61
61
|
- examples: `business-x`, `business-y`, `team-43`, `_core`
|
|
62
|
-
- `_local` is a reserved scope for XDRs created locally to a specific project or repository. XDRs in `_local`
|
|
62
|
+
- `_local` is a reserved scope for XDRs created locally to a specific project or repository. XDRs in `_local` MUST NOT be shared with or propagated to other contexts. This scope MUST always be placed in the lowest position in the root `index.md` so that its decisions override or extend any decisions from higher-positioned scopes. Shared root `index.md` files MUST NOT include an explicit link to `_local`, because `_local` remains workspace-local and is not distributed with shared packages. Readers, tools, and agents SHOULD still try the default workspace-local path `_local/index.md` when it exists, even without a root-index link. Documents in non-`_local` scopes MUST NEVER link to any document inside `_local`; documents inside `_local` MAY link to other documents inside `_local`.
|
|
63
63
|
- **Types:** `adrs`, `bdrs`, `edrs`
|
|
64
64
|
- there can exist sufixes to the standard scope names (e.g: `business-x-mobileapp`, `business-y-servicedesk`)
|
|
65
65
|
- **Subjects:** MUST be one of the following depending on the type of the XDR. Use the subject to indicate the main concern of the decision.
|
package/.xdrs/index.md
CHANGED
|
@@ -19,4 +19,4 @@ Decisions about how XDRs work
|
|
|
19
19
|
|
|
20
20
|
### _local (reserved)
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
Read _local scope index at `_local/index.md` when it exists.
|
package/lib/lint.test.js
CHANGED
|
@@ -575,7 +575,7 @@ function rootIndex(extraScopeLinks) {
|
|
|
575
575
|
lines.push(
|
|
576
576
|
'### _local (reserved)',
|
|
577
577
|
'',
|
|
578
|
-
'
|
|
578
|
+
'Read _local scope index at `_local/index.md` when it exists.',
|
|
579
579
|
);
|
|
580
580
|
return lines.join('\n');
|
|
581
581
|
}
|
package/package.json
CHANGED