@deftai/directive-core 0.68.0 → 0.68.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.
- package/dist/init-deposit/hygiene.js +11 -0
- package/package.json +3 -3
|
@@ -11,6 +11,8 @@ import { gitPorcelain } from "../story-ready/git.js";
|
|
|
11
11
|
import { CANONICAL_INSTALL_ROOT } from "./constants.js";
|
|
12
12
|
export const CODEQL_CONFIG_REL = ".github/codeql/codeql-config.yml";
|
|
13
13
|
export const CORE_GUARD_WORKFLOW_REL = ".github/workflows/deft-core-guard.yml";
|
|
14
|
+
// The lifecycle dir names are identical across the legacy `vbrief/` tree and the
|
|
15
|
+
// post-#2034 / #2110 `xbrief/` tree, so both allowlist families reuse this list.
|
|
14
16
|
const VBRIEF_LIFECYCLE_DIRS = ["proposed", "pending", "active", "completed", "cancelled"];
|
|
15
17
|
/** Single source of truth for installer-managed paths (#1440 / #1576). */
|
|
16
18
|
export function installerManagedMatchers() {
|
|
@@ -24,11 +26,20 @@ export function installerManagedMatchers() {
|
|
|
24
26
|
{ exact: CODEQL_CONFIG_REL },
|
|
25
27
|
{ exact: CORE_GUARD_WORKFLOW_REL },
|
|
26
28
|
{ exact: "Taskfile.yml" },
|
|
29
|
+
// Legacy vbrief/ tree -- retained for not-yet-migrated consumers.
|
|
27
30
|
{ exact: "vbrief/.deft-version" },
|
|
28
31
|
{ exact: "vbrief/vbrief.md" },
|
|
29
32
|
{ prefix: "vbrief/schemas/" },
|
|
30
33
|
{ prefix: "vbrief/migration/" },
|
|
31
34
|
...VBRIEF_LIFECYCLE_DIRS.map((sub) => ({ exact: `vbrief/${sub}/.gitkeep` })),
|
|
35
|
+
// Migrated xbrief/ tree (#2034 / #2110). The framework-managed version marker
|
|
36
|
+
// now lives at xbrief/.deft-version, so it MUST be allowlisted or every routine
|
|
37
|
+
// `deft update` framework-deposit PR trips no-mixed-core-and-app (#2277).
|
|
38
|
+
{ exact: "xbrief/.deft-version" },
|
|
39
|
+
{ exact: "xbrief/xbrief.md" },
|
|
40
|
+
{ prefix: "xbrief/schemas/" },
|
|
41
|
+
{ prefix: "xbrief/migration/" },
|
|
42
|
+
...VBRIEF_LIFECYCLE_DIRS.map((sub) => ({ exact: `xbrief/${sub}/.gitkeep` })),
|
|
32
43
|
];
|
|
33
44
|
}
|
|
34
45
|
function escapeEre(value) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deftai/directive-core",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.1",
|
|
4
4
|
"description": "TypeScript engine core for the Directive framework.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -245,8 +245,8 @@
|
|
|
245
245
|
"provenance": true
|
|
246
246
|
},
|
|
247
247
|
"dependencies": {
|
|
248
|
-
"@deftai/directive-content": "^0.68.
|
|
249
|
-
"@deftai/directive-types": "^0.68.
|
|
248
|
+
"@deftai/directive-content": "^0.68.1",
|
|
249
|
+
"@deftai/directive-types": "^0.68.1",
|
|
250
250
|
"archiver": "^8.0.0"
|
|
251
251
|
},
|
|
252
252
|
"scripts": {
|