@ontrails/regrade 1.0.0-beta.41 → 1.0.0-beta.43
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/CHANGELOG.md +43 -0
- package/package.json +6 -6
- package/src/downstream/ast-rewrite.ts +37 -0
- package/src/downstream/collect.ts +12 -1
- package/src/downstream/export-restructure.ts +1 -1
- package/src/downstream/file-renames.ts +1590 -0
- package/src/downstream/report.ts +12 -1
- package/src/downstream/vocabulary-registry.ts +111 -12
- package/src/downstream/vocabulary.ts +631 -37
- package/src/index.ts +16 -0
- package/src/literal-transform.ts +1 -1
package/src/index.ts
CHANGED
|
@@ -13,6 +13,14 @@ export {
|
|
|
13
13
|
selectRegradeClasses,
|
|
14
14
|
wardenTermRewriteClasses,
|
|
15
15
|
} from './downstream/report.js';
|
|
16
|
+
export {
|
|
17
|
+
deriveFileRenameCandidates,
|
|
18
|
+
runFileRenameRegrade,
|
|
19
|
+
} from './downstream/file-renames.js';
|
|
20
|
+
export type {
|
|
21
|
+
FileRenameCandidate,
|
|
22
|
+
FileRenameRegradeRun,
|
|
23
|
+
} from './downstream/file-renames.js';
|
|
16
24
|
export {
|
|
17
25
|
cliAliasesExportRestructureClass,
|
|
18
26
|
createWardenExportRestructureClass,
|
|
@@ -23,6 +31,7 @@ export {
|
|
|
23
31
|
export {
|
|
24
32
|
VOCABULARY_TRANSITION_RECORD_SCHEMA_VERSION,
|
|
25
33
|
buildVocabularyTransitionRecord,
|
|
34
|
+
deriveVocabularyFormProposals,
|
|
26
35
|
readVocabularyTransitionRecord,
|
|
27
36
|
runVocabularyRegrade,
|
|
28
37
|
transitionRecordReportWithSummary,
|
|
@@ -35,7 +44,9 @@ export {
|
|
|
35
44
|
} from './downstream/vocabulary.js';
|
|
36
45
|
export {
|
|
37
46
|
listVocabularyRegradePlansFromRegistry,
|
|
47
|
+
listVocabularyRegradeAuditPlansFromRegistry,
|
|
38
48
|
vocabularyRegradePlanFromTransition,
|
|
49
|
+
vocabularyRegradePlanForInput,
|
|
39
50
|
vocabularyRegradeTransitionForInput,
|
|
40
51
|
} from './downstream/vocabulary-registry.js';
|
|
41
52
|
export type {
|
|
@@ -60,12 +71,17 @@ export type {
|
|
|
60
71
|
} from './downstream/scan-summary.js';
|
|
61
72
|
export type {
|
|
62
73
|
VocabularyDisposition,
|
|
74
|
+
VocabularyFileRename,
|
|
75
|
+
VocabularyFileRenameEvidence,
|
|
76
|
+
VocabularyFormProposal,
|
|
63
77
|
VocabularyOccurrence,
|
|
64
78
|
VocabularyPreserveInventoryEntry,
|
|
65
79
|
VocabularyPreserveRule,
|
|
66
80
|
VocabularyRegradePlan,
|
|
67
81
|
VocabularyRegradeScope,
|
|
68
82
|
VocabularyRegradeRun,
|
|
83
|
+
VocabularyScopePolicy,
|
|
84
|
+
VocabularyScopeTier,
|
|
69
85
|
VocabularyRunGate,
|
|
70
86
|
VocabularyRunLedger,
|
|
71
87
|
VocabularyRunReport,
|
package/src/literal-transform.ts
CHANGED
|
@@ -32,7 +32,7 @@ const regradeTransformInputToChild = regradeTransformInput.transform(
|
|
|
32
32
|
* Raw, pre-transform input accepted by {@link regradeTransformInputToChild}.
|
|
33
33
|
*
|
|
34
34
|
* Trail examples and `testExamples()` feed this shape through validation; the
|
|
35
|
-
* Zod transform then
|
|
35
|
+
* Zod transform then derives the implementation input.
|
|
36
36
|
*/
|
|
37
37
|
type RegradeTransformRawInput = z.input<typeof regradeTransformInputToChild>;
|
|
38
38
|
|