@memberjunction/cli 6.1.3 → 6.1.5
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/oclif.manifest.json +381 -381
- package/package.json +22 -22
package/oclif.manifest.json
CHANGED
|
@@ -4510,6 +4510,311 @@
|
|
|
4510
4510
|
"watch.js"
|
|
4511
4511
|
]
|
|
4512
4512
|
},
|
|
4513
|
+
"translate-sql": {
|
|
4514
|
+
"aliases": [],
|
|
4515
|
+
"args": {},
|
|
4516
|
+
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
4517
|
+
"examples": [
|
|
4518
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
4519
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
4520
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
4521
|
+
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
4522
|
+
],
|
|
4523
|
+
"flags": {
|
|
4524
|
+
"from": {
|
|
4525
|
+
"description": "Source SQL dialect",
|
|
4526
|
+
"name": "from",
|
|
4527
|
+
"required": true,
|
|
4528
|
+
"hasDynamicHelp": false,
|
|
4529
|
+
"multiple": false,
|
|
4530
|
+
"options": [
|
|
4531
|
+
"sqlserver",
|
|
4532
|
+
"postgresql"
|
|
4533
|
+
],
|
|
4534
|
+
"type": "option"
|
|
4535
|
+
},
|
|
4536
|
+
"to": {
|
|
4537
|
+
"description": "Target SQL dialect",
|
|
4538
|
+
"name": "to",
|
|
4539
|
+
"required": true,
|
|
4540
|
+
"hasDynamicHelp": false,
|
|
4541
|
+
"multiple": false,
|
|
4542
|
+
"options": [
|
|
4543
|
+
"sqlserver",
|
|
4544
|
+
"postgresql"
|
|
4545
|
+
],
|
|
4546
|
+
"type": "option"
|
|
4547
|
+
},
|
|
4548
|
+
"scope": {
|
|
4549
|
+
"description": "What to scan for translation",
|
|
4550
|
+
"name": "scope",
|
|
4551
|
+
"default": "all",
|
|
4552
|
+
"hasDynamicHelp": false,
|
|
4553
|
+
"multiple": false,
|
|
4554
|
+
"options": [
|
|
4555
|
+
"queries",
|
|
4556
|
+
"views",
|
|
4557
|
+
"filters",
|
|
4558
|
+
"all"
|
|
4559
|
+
],
|
|
4560
|
+
"type": "option"
|
|
4561
|
+
},
|
|
4562
|
+
"sql": {
|
|
4563
|
+
"description": "Translate a single SQL fragment (inline mode)",
|
|
4564
|
+
"name": "sql",
|
|
4565
|
+
"hasDynamicHelp": false,
|
|
4566
|
+
"multiple": false,
|
|
4567
|
+
"type": "option"
|
|
4568
|
+
},
|
|
4569
|
+
"dry-run": {
|
|
4570
|
+
"description": "Show what would be translated without making changes",
|
|
4571
|
+
"name": "dry-run",
|
|
4572
|
+
"allowNo": false,
|
|
4573
|
+
"type": "boolean"
|
|
4574
|
+
},
|
|
4575
|
+
"review": {
|
|
4576
|
+
"description": "Generate review report only (no writes to database)",
|
|
4577
|
+
"name": "review",
|
|
4578
|
+
"allowNo": false,
|
|
4579
|
+
"type": "boolean"
|
|
4580
|
+
},
|
|
4581
|
+
"output": {
|
|
4582
|
+
"char": "o",
|
|
4583
|
+
"description": "Output directory for the translation report",
|
|
4584
|
+
"name": "output",
|
|
4585
|
+
"hasDynamicHelp": false,
|
|
4586
|
+
"multiple": false,
|
|
4587
|
+
"type": "option"
|
|
4588
|
+
},
|
|
4589
|
+
"force": {
|
|
4590
|
+
"description": "Re-translate even if platform variants already exist",
|
|
4591
|
+
"name": "force",
|
|
4592
|
+
"allowNo": false,
|
|
4593
|
+
"type": "boolean"
|
|
4594
|
+
}
|
|
4595
|
+
},
|
|
4596
|
+
"hasDynamicHelp": false,
|
|
4597
|
+
"hiddenAliases": [],
|
|
4598
|
+
"id": "translate-sql",
|
|
4599
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4600
|
+
"pluginName": "@memberjunction/cli",
|
|
4601
|
+
"pluginType": "core",
|
|
4602
|
+
"strict": true,
|
|
4603
|
+
"enableJsonFlag": false,
|
|
4604
|
+
"isESM": true,
|
|
4605
|
+
"relativePath": [
|
|
4606
|
+
"dist",
|
|
4607
|
+
"commands",
|
|
4608
|
+
"translate-sql",
|
|
4609
|
+
"index.js"
|
|
4610
|
+
]
|
|
4611
|
+
},
|
|
4612
|
+
"translate-sql:usage": {
|
|
4613
|
+
"aliases": [],
|
|
4614
|
+
"args": {},
|
|
4615
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj translate-sql` command.",
|
|
4616
|
+
"flags": {
|
|
4617
|
+
"format": {
|
|
4618
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4619
|
+
"name": "format",
|
|
4620
|
+
"hasDynamicHelp": false,
|
|
4621
|
+
"multiple": false,
|
|
4622
|
+
"options": [
|
|
4623
|
+
"text",
|
|
4624
|
+
"json",
|
|
4625
|
+
"md"
|
|
4626
|
+
],
|
|
4627
|
+
"type": "option"
|
|
4628
|
+
}
|
|
4629
|
+
},
|
|
4630
|
+
"hasDynamicHelp": false,
|
|
4631
|
+
"hiddenAliases": [],
|
|
4632
|
+
"id": "translate-sql:usage",
|
|
4633
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4634
|
+
"pluginName": "@memberjunction/cli",
|
|
4635
|
+
"pluginType": "core",
|
|
4636
|
+
"strict": true,
|
|
4637
|
+
"enableJsonFlag": false,
|
|
4638
|
+
"isESM": true,
|
|
4639
|
+
"relativePath": [
|
|
4640
|
+
"dist",
|
|
4641
|
+
"commands",
|
|
4642
|
+
"translate-sql",
|
|
4643
|
+
"usage.js"
|
|
4644
|
+
]
|
|
4645
|
+
},
|
|
4646
|
+
"update:claude": {
|
|
4647
|
+
"aliases": [],
|
|
4648
|
+
"args": {},
|
|
4649
|
+
"description": "Update the Claude Code pack in the current directory.",
|
|
4650
|
+
"examples": [
|
|
4651
|
+
"<%= config.bin %> update:claude",
|
|
4652
|
+
"<%= config.bin %> update:claude --check",
|
|
4653
|
+
"<%= config.bin %> update:claude --refresh-commands",
|
|
4654
|
+
"<%= config.bin %> update:claude --allow-major",
|
|
4655
|
+
"<%= config.bin %> update:claude --json"
|
|
4656
|
+
],
|
|
4657
|
+
"flags": {
|
|
4658
|
+
"dir": {
|
|
4659
|
+
"description": "Target directory",
|
|
4660
|
+
"name": "dir",
|
|
4661
|
+
"default": ".",
|
|
4662
|
+
"hasDynamicHelp": false,
|
|
4663
|
+
"multiple": false,
|
|
4664
|
+
"type": "option"
|
|
4665
|
+
},
|
|
4666
|
+
"major": {
|
|
4667
|
+
"description": "Force a specific MJ major (default: detected from package.json)",
|
|
4668
|
+
"name": "major",
|
|
4669
|
+
"hasDynamicHelp": false,
|
|
4670
|
+
"multiple": false,
|
|
4671
|
+
"type": "option"
|
|
4672
|
+
},
|
|
4673
|
+
"ref": {
|
|
4674
|
+
"description": "Git ref to fetch from (branch or tag). Default: main.",
|
|
4675
|
+
"name": "ref",
|
|
4676
|
+
"hasDynamicHelp": false,
|
|
4677
|
+
"multiple": false,
|
|
4678
|
+
"type": "option"
|
|
4679
|
+
},
|
|
4680
|
+
"from": {
|
|
4681
|
+
"description": "Use a local pack source instead of fetching from GitHub",
|
|
4682
|
+
"name": "from",
|
|
4683
|
+
"hasDynamicHelp": false,
|
|
4684
|
+
"multiple": false,
|
|
4685
|
+
"type": "option"
|
|
4686
|
+
},
|
|
4687
|
+
"offline": {
|
|
4688
|
+
"description": "Forbid network; requires --from <path>",
|
|
4689
|
+
"name": "offline",
|
|
4690
|
+
"allowNo": false,
|
|
4691
|
+
"type": "boolean"
|
|
4692
|
+
},
|
|
4693
|
+
"dry-run": {
|
|
4694
|
+
"description": "Print what would be written; change nothing",
|
|
4695
|
+
"name": "dry-run",
|
|
4696
|
+
"allowNo": false,
|
|
4697
|
+
"type": "boolean"
|
|
4698
|
+
},
|
|
4699
|
+
"yes": {
|
|
4700
|
+
"char": "y",
|
|
4701
|
+
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
4702
|
+
"name": "yes",
|
|
4703
|
+
"allowNo": false,
|
|
4704
|
+
"type": "boolean"
|
|
4705
|
+
},
|
|
4706
|
+
"force": {
|
|
4707
|
+
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
4708
|
+
"name": "force",
|
|
4709
|
+
"allowNo": false,
|
|
4710
|
+
"type": "boolean"
|
|
4711
|
+
},
|
|
4712
|
+
"skip-commands": {
|
|
4713
|
+
"description": "Skip seeding .claude/commands/",
|
|
4714
|
+
"name": "skip-commands",
|
|
4715
|
+
"allowNo": false,
|
|
4716
|
+
"type": "boolean"
|
|
4717
|
+
},
|
|
4718
|
+
"skip-skills": {
|
|
4719
|
+
"description": "Skip seeding .claude/skills/",
|
|
4720
|
+
"name": "skip-skills",
|
|
4721
|
+
"allowNo": false,
|
|
4722
|
+
"type": "boolean"
|
|
4723
|
+
},
|
|
4724
|
+
"skip-settings": {
|
|
4725
|
+
"description": "Skip merging .claude/settings.json",
|
|
4726
|
+
"name": "skip-settings",
|
|
4727
|
+
"allowNo": false,
|
|
4728
|
+
"type": "boolean"
|
|
4729
|
+
},
|
|
4730
|
+
"check": {
|
|
4731
|
+
"description": "Compare local pack version to remote without writing anything",
|
|
4732
|
+
"name": "check",
|
|
4733
|
+
"allowNo": false,
|
|
4734
|
+
"type": "boolean"
|
|
4735
|
+
},
|
|
4736
|
+
"refresh-commands": {
|
|
4737
|
+
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
4738
|
+
"name": "refresh-commands",
|
|
4739
|
+
"allowNo": false,
|
|
4740
|
+
"type": "boolean"
|
|
4741
|
+
},
|
|
4742
|
+
"refresh-skills": {
|
|
4743
|
+
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
4744
|
+
"name": "refresh-skills",
|
|
4745
|
+
"allowNo": false,
|
|
4746
|
+
"type": "boolean"
|
|
4747
|
+
},
|
|
4748
|
+
"allow-major": {
|
|
4749
|
+
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
4750
|
+
"name": "allow-major",
|
|
4751
|
+
"allowNo": false,
|
|
4752
|
+
"type": "boolean"
|
|
4753
|
+
},
|
|
4754
|
+
"json": {
|
|
4755
|
+
"description": "Output as JSON (matches plan §7.5 schema)",
|
|
4756
|
+
"name": "json",
|
|
4757
|
+
"allowNo": false,
|
|
4758
|
+
"type": "boolean"
|
|
4759
|
+
},
|
|
4760
|
+
"verbose": {
|
|
4761
|
+
"char": "v",
|
|
4762
|
+
"description": "Show progress messages",
|
|
4763
|
+
"name": "verbose",
|
|
4764
|
+
"allowNo": false,
|
|
4765
|
+
"type": "boolean"
|
|
4766
|
+
}
|
|
4767
|
+
},
|
|
4768
|
+
"hasDynamicHelp": false,
|
|
4769
|
+
"hiddenAliases": [],
|
|
4770
|
+
"id": "update:claude",
|
|
4771
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4772
|
+
"pluginName": "@memberjunction/cli",
|
|
4773
|
+
"pluginType": "core",
|
|
4774
|
+
"strict": true,
|
|
4775
|
+
"enableJsonFlag": false,
|
|
4776
|
+
"isESM": true,
|
|
4777
|
+
"relativePath": [
|
|
4778
|
+
"dist",
|
|
4779
|
+
"commands",
|
|
4780
|
+
"update",
|
|
4781
|
+
"claude.js"
|
|
4782
|
+
]
|
|
4783
|
+
},
|
|
4784
|
+
"update:usage": {
|
|
4785
|
+
"aliases": [],
|
|
4786
|
+
"args": {},
|
|
4787
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj update` command.",
|
|
4788
|
+
"flags": {
|
|
4789
|
+
"format": {
|
|
4790
|
+
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
4791
|
+
"name": "format",
|
|
4792
|
+
"hasDynamicHelp": false,
|
|
4793
|
+
"multiple": false,
|
|
4794
|
+
"options": [
|
|
4795
|
+
"text",
|
|
4796
|
+
"json",
|
|
4797
|
+
"md"
|
|
4798
|
+
],
|
|
4799
|
+
"type": "option"
|
|
4800
|
+
}
|
|
4801
|
+
},
|
|
4802
|
+
"hasDynamicHelp": false,
|
|
4803
|
+
"hiddenAliases": [],
|
|
4804
|
+
"id": "update:usage",
|
|
4805
|
+
"pluginAlias": "@memberjunction/cli",
|
|
4806
|
+
"pluginName": "@memberjunction/cli",
|
|
4807
|
+
"pluginType": "core",
|
|
4808
|
+
"strict": true,
|
|
4809
|
+
"enableJsonFlag": false,
|
|
4810
|
+
"isESM": true,
|
|
4811
|
+
"relativePath": [
|
|
4812
|
+
"dist",
|
|
4813
|
+
"commands",
|
|
4814
|
+
"update",
|
|
4815
|
+
"usage.js"
|
|
4816
|
+
]
|
|
4817
|
+
},
|
|
4513
4818
|
"test:compare": {
|
|
4514
4819
|
"aliases": [],
|
|
4515
4820
|
"args": {
|
|
@@ -5022,264 +5327,42 @@
|
|
|
5022
5327
|
"char": "p",
|
|
5023
5328
|
"description": "Run tests in parallel with shared browser sessions",
|
|
5024
5329
|
"name": "parallel",
|
|
5025
|
-
"allowNo": false,
|
|
5026
|
-
"type": "boolean"
|
|
5027
|
-
},
|
|
5028
|
-
"max-parallel": {
|
|
5029
|
-
"description": "Maximum number of parallel workers (default 4)",
|
|
5030
|
-
"name": "max-parallel",
|
|
5031
|
-
"default": 4,
|
|
5032
|
-
"hasDynamicHelp": false,
|
|
5033
|
-
"multiple": false,
|
|
5034
|
-
"type": "option"
|
|
5035
|
-
},
|
|
5036
|
-
"flaky-check": {
|
|
5037
|
-
"description": "Run each test N times to detect flakiness (variance > 0.3 or mixed pass/fail = flaky). Recommended: 3 or 5",
|
|
5038
|
-
"name": "flaky-check",
|
|
5039
|
-
"hasDynamicHelp": false,
|
|
5040
|
-
"multiple": false,
|
|
5041
|
-
"type": "option"
|
|
5042
|
-
},
|
|
5043
|
-
"checks-module": {
|
|
5044
|
-
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
5045
|
-
"name": "checks-module",
|
|
5046
|
-
"hasDynamicHelp": false,
|
|
5047
|
-
"multiple": false,
|
|
5048
|
-
"type": "option"
|
|
5049
|
-
},
|
|
5050
|
-
"oracles-module": {
|
|
5051
|
-
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the suite runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
5052
|
-
"name": "oracles-module",
|
|
5053
|
-
"hasDynamicHelp": false,
|
|
5054
|
-
"multiple": false,
|
|
5055
|
-
"type": "option"
|
|
5056
|
-
}
|
|
5057
|
-
},
|
|
5058
|
-
"hasDynamicHelp": false,
|
|
5059
|
-
"hiddenAliases": [],
|
|
5060
|
-
"id": "test:suite",
|
|
5061
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5062
|
-
"pluginName": "@memberjunction/cli",
|
|
5063
|
-
"pluginType": "core",
|
|
5064
|
-
"strict": true,
|
|
5065
|
-
"enableJsonFlag": false,
|
|
5066
|
-
"isESM": true,
|
|
5067
|
-
"relativePath": [
|
|
5068
|
-
"dist",
|
|
5069
|
-
"commands",
|
|
5070
|
-
"test",
|
|
5071
|
-
"suite.js"
|
|
5072
|
-
]
|
|
5073
|
-
},
|
|
5074
|
-
"test:usage": {
|
|
5075
|
-
"aliases": [],
|
|
5076
|
-
"args": {},
|
|
5077
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj test` command.",
|
|
5078
|
-
"flags": {
|
|
5079
|
-
"format": {
|
|
5080
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5081
|
-
"name": "format",
|
|
5082
|
-
"hasDynamicHelp": false,
|
|
5083
|
-
"multiple": false,
|
|
5084
|
-
"options": [
|
|
5085
|
-
"text",
|
|
5086
|
-
"json",
|
|
5087
|
-
"md"
|
|
5088
|
-
],
|
|
5089
|
-
"type": "option"
|
|
5090
|
-
}
|
|
5091
|
-
},
|
|
5092
|
-
"hasDynamicHelp": false,
|
|
5093
|
-
"hiddenAliases": [],
|
|
5094
|
-
"id": "test:usage",
|
|
5095
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5096
|
-
"pluginName": "@memberjunction/cli",
|
|
5097
|
-
"pluginType": "core",
|
|
5098
|
-
"strict": true,
|
|
5099
|
-
"enableJsonFlag": false,
|
|
5100
|
-
"isESM": true,
|
|
5101
|
-
"relativePath": [
|
|
5102
|
-
"dist",
|
|
5103
|
-
"commands",
|
|
5104
|
-
"test",
|
|
5105
|
-
"usage.js"
|
|
5106
|
-
]
|
|
5107
|
-
},
|
|
5108
|
-
"test:validate": {
|
|
5109
|
-
"aliases": [],
|
|
5110
|
-
"args": {
|
|
5111
|
-
"testId": {
|
|
5112
|
-
"description": "Test ID to validate",
|
|
5113
|
-
"name": "testId",
|
|
5114
|
-
"required": false
|
|
5115
|
-
}
|
|
5116
|
-
},
|
|
5117
|
-
"description": "Validate test definitions without executing",
|
|
5118
|
-
"examples": [
|
|
5119
|
-
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
5120
|
-
"<%= config.bin %> <%= command.id %> --all",
|
|
5121
|
-
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
5122
|
-
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
5123
|
-
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
5124
|
-
],
|
|
5125
|
-
"flags": {
|
|
5126
|
-
"all": {
|
|
5127
|
-
"char": "a",
|
|
5128
|
-
"description": "Validate all tests",
|
|
5129
|
-
"name": "all",
|
|
5130
|
-
"allowNo": false,
|
|
5131
|
-
"type": "boolean"
|
|
5132
|
-
},
|
|
5133
|
-
"type": {
|
|
5134
|
-
"char": "t",
|
|
5135
|
-
"description": "Validate tests by type",
|
|
5136
|
-
"name": "type",
|
|
5137
|
-
"hasDynamicHelp": false,
|
|
5138
|
-
"multiple": false,
|
|
5139
|
-
"type": "option"
|
|
5140
|
-
},
|
|
5141
|
-
"save-report": {
|
|
5142
|
-
"description": "Save validation report to file",
|
|
5143
|
-
"name": "save-report",
|
|
5144
|
-
"allowNo": false,
|
|
5145
|
-
"type": "boolean"
|
|
5146
|
-
},
|
|
5147
|
-
"format": {
|
|
5148
|
-
"char": "f",
|
|
5149
|
-
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5150
|
-
"name": "format",
|
|
5151
|
-
"hasDynamicHelp": false,
|
|
5152
|
-
"multiple": false,
|
|
5153
|
-
"options": [
|
|
5154
|
-
"text",
|
|
5155
|
-
"json",
|
|
5156
|
-
"md",
|
|
5157
|
-
"human",
|
|
5158
|
-
"console",
|
|
5159
|
-
"markdown",
|
|
5160
|
-
"compact",
|
|
5161
|
-
"table"
|
|
5162
|
-
],
|
|
5163
|
-
"type": "option"
|
|
5164
|
-
},
|
|
5165
|
-
"output": {
|
|
5166
|
-
"char": "o",
|
|
5167
|
-
"description": "Output file path",
|
|
5168
|
-
"name": "output",
|
|
5169
|
-
"hasDynamicHelp": false,
|
|
5170
|
-
"multiple": false,
|
|
5171
|
-
"type": "option"
|
|
5172
|
-
},
|
|
5173
|
-
"verbose": {
|
|
5174
|
-
"char": "v",
|
|
5175
|
-
"description": "Show detailed information",
|
|
5176
|
-
"name": "verbose",
|
|
5177
|
-
"allowNo": false,
|
|
5178
|
-
"type": "boolean"
|
|
5179
|
-
}
|
|
5180
|
-
},
|
|
5181
|
-
"hasDynamicHelp": false,
|
|
5182
|
-
"hiddenAliases": [],
|
|
5183
|
-
"id": "test:validate",
|
|
5184
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5185
|
-
"pluginName": "@memberjunction/cli",
|
|
5186
|
-
"pluginType": "core",
|
|
5187
|
-
"strict": true,
|
|
5188
|
-
"enableJsonFlag": false,
|
|
5189
|
-
"isESM": true,
|
|
5190
|
-
"relativePath": [
|
|
5191
|
-
"dist",
|
|
5192
|
-
"commands",
|
|
5193
|
-
"test",
|
|
5194
|
-
"validate.js"
|
|
5195
|
-
]
|
|
5196
|
-
},
|
|
5197
|
-
"translate-sql": {
|
|
5198
|
-
"aliases": [],
|
|
5199
|
-
"args": {},
|
|
5200
|
-
"description": "Translate SQL fragments between database dialects (SQL Server ↔ PostgreSQL)",
|
|
5201
|
-
"examples": [
|
|
5202
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --dry-run",
|
|
5203
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope queries",
|
|
5204
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --sql \"SELECT TOP 10 [Name] FROM [Users]\"",
|
|
5205
|
-
"<%= config.bin %> translate-sql --from sqlserver --to postgresql --scope all --output ./reports"
|
|
5206
|
-
],
|
|
5207
|
-
"flags": {
|
|
5208
|
-
"from": {
|
|
5209
|
-
"description": "Source SQL dialect",
|
|
5210
|
-
"name": "from",
|
|
5211
|
-
"required": true,
|
|
5212
|
-
"hasDynamicHelp": false,
|
|
5213
|
-
"multiple": false,
|
|
5214
|
-
"options": [
|
|
5215
|
-
"sqlserver",
|
|
5216
|
-
"postgresql"
|
|
5217
|
-
],
|
|
5218
|
-
"type": "option"
|
|
5219
|
-
},
|
|
5220
|
-
"to": {
|
|
5221
|
-
"description": "Target SQL dialect",
|
|
5222
|
-
"name": "to",
|
|
5223
|
-
"required": true,
|
|
5330
|
+
"allowNo": false,
|
|
5331
|
+
"type": "boolean"
|
|
5332
|
+
},
|
|
5333
|
+
"max-parallel": {
|
|
5334
|
+
"description": "Maximum number of parallel workers (default 4)",
|
|
5335
|
+
"name": "max-parallel",
|
|
5336
|
+
"default": 4,
|
|
5224
5337
|
"hasDynamicHelp": false,
|
|
5225
5338
|
"multiple": false,
|
|
5226
|
-
"options": [
|
|
5227
|
-
"sqlserver",
|
|
5228
|
-
"postgresql"
|
|
5229
|
-
],
|
|
5230
5339
|
"type": "option"
|
|
5231
5340
|
},
|
|
5232
|
-
"
|
|
5233
|
-
"description": "
|
|
5234
|
-
"name": "
|
|
5235
|
-
"default": "all",
|
|
5341
|
+
"flaky-check": {
|
|
5342
|
+
"description": "Run each test N times to detect flakiness (variance > 0.3 or mixed pass/fail = flaky). Recommended: 3 or 5",
|
|
5343
|
+
"name": "flaky-check",
|
|
5236
5344
|
"hasDynamicHelp": false,
|
|
5237
5345
|
"multiple": false,
|
|
5238
|
-
"options": [
|
|
5239
|
-
"queries",
|
|
5240
|
-
"views",
|
|
5241
|
-
"filters",
|
|
5242
|
-
"all"
|
|
5243
|
-
],
|
|
5244
5346
|
"type": "option"
|
|
5245
5347
|
},
|
|
5246
|
-
"
|
|
5247
|
-
"description": "
|
|
5248
|
-
"name": "
|
|
5348
|
+
"checks-module": {
|
|
5349
|
+
"description": "Module specifier (package name or path) side-effect-imported before the run so its integration check bundles register on the IntegrationCheckRegistry. Durable form: mj.config.cjs `testing.checkModules` (this repo loads '@memberjunction/integration-test-suite' that way).",
|
|
5350
|
+
"name": "checks-module",
|
|
5249
5351
|
"hasDynamicHelp": false,
|
|
5250
5352
|
"multiple": false,
|
|
5251
5353
|
"type": "option"
|
|
5252
5354
|
},
|
|
5253
|
-
"
|
|
5254
|
-
"description": "
|
|
5255
|
-
"name": "
|
|
5256
|
-
"allowNo": false,
|
|
5257
|
-
"type": "boolean"
|
|
5258
|
-
},
|
|
5259
|
-
"review": {
|
|
5260
|
-
"description": "Generate review report only (no writes to database)",
|
|
5261
|
-
"name": "review",
|
|
5262
|
-
"allowNo": false,
|
|
5263
|
-
"type": "boolean"
|
|
5264
|
-
},
|
|
5265
|
-
"output": {
|
|
5266
|
-
"char": "o",
|
|
5267
|
-
"description": "Output directory for the translation report",
|
|
5268
|
-
"name": "output",
|
|
5355
|
+
"oracles-module": {
|
|
5356
|
+
"description": "Path to a JS/TS module that exports custom IOracle classes or instances. Each export is registered on the engine before the suite runs — used by non-MJ adopters to plug app-specific oracle types without modifying TestingFramework.",
|
|
5357
|
+
"name": "oracles-module",
|
|
5269
5358
|
"hasDynamicHelp": false,
|
|
5270
5359
|
"multiple": false,
|
|
5271
5360
|
"type": "option"
|
|
5272
|
-
},
|
|
5273
|
-
"force": {
|
|
5274
|
-
"description": "Re-translate even if platform variants already exist",
|
|
5275
|
-
"name": "force",
|
|
5276
|
-
"allowNo": false,
|
|
5277
|
-
"type": "boolean"
|
|
5278
5361
|
}
|
|
5279
5362
|
},
|
|
5280
5363
|
"hasDynamicHelp": false,
|
|
5281
5364
|
"hiddenAliases": [],
|
|
5282
|
-
"id": "
|
|
5365
|
+
"id": "test:suite",
|
|
5283
5366
|
"pluginAlias": "@memberjunction/cli",
|
|
5284
5367
|
"pluginName": "@memberjunction/cli",
|
|
5285
5368
|
"pluginType": "core",
|
|
@@ -5289,14 +5372,14 @@
|
|
|
5289
5372
|
"relativePath": [
|
|
5290
5373
|
"dist",
|
|
5291
5374
|
"commands",
|
|
5292
|
-
"
|
|
5293
|
-
"
|
|
5375
|
+
"test",
|
|
5376
|
+
"suite.js"
|
|
5294
5377
|
]
|
|
5295
5378
|
},
|
|
5296
|
-
"
|
|
5379
|
+
"test:usage": {
|
|
5297
5380
|
"aliases": [],
|
|
5298
5381
|
"args": {},
|
|
5299
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj
|
|
5382
|
+
"description": "Show usage, flags, examples, and runtime hints for every `mj test` command.",
|
|
5300
5383
|
"flags": {
|
|
5301
5384
|
"format": {
|
|
5302
5385
|
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
@@ -5313,7 +5396,7 @@
|
|
|
5313
5396
|
},
|
|
5314
5397
|
"hasDynamicHelp": false,
|
|
5315
5398
|
"hiddenAliases": [],
|
|
5316
|
-
"id": "
|
|
5399
|
+
"id": "test:usage",
|
|
5317
5400
|
"pluginAlias": "@memberjunction/cli",
|
|
5318
5401
|
"pluginName": "@memberjunction/cli",
|
|
5319
5402
|
"pluginType": "core",
|
|
@@ -5323,127 +5406,78 @@
|
|
|
5323
5406
|
"relativePath": [
|
|
5324
5407
|
"dist",
|
|
5325
5408
|
"commands",
|
|
5326
|
-
"
|
|
5409
|
+
"test",
|
|
5327
5410
|
"usage.js"
|
|
5328
5411
|
]
|
|
5329
5412
|
},
|
|
5330
|
-
"
|
|
5413
|
+
"test:validate": {
|
|
5331
5414
|
"aliases": [],
|
|
5332
|
-
"args": {
|
|
5333
|
-
|
|
5415
|
+
"args": {
|
|
5416
|
+
"testId": {
|
|
5417
|
+
"description": "Test ID to validate",
|
|
5418
|
+
"name": "testId",
|
|
5419
|
+
"required": false
|
|
5420
|
+
}
|
|
5421
|
+
},
|
|
5422
|
+
"description": "Validate test definitions without executing",
|
|
5334
5423
|
"examples": [
|
|
5335
|
-
"<%= config.bin %>
|
|
5336
|
-
"<%= config.bin %>
|
|
5337
|
-
"<%= config.bin %>
|
|
5338
|
-
"<%= config.bin %>
|
|
5339
|
-
"<%= config.bin %>
|
|
5424
|
+
"<%= config.bin %> <%= command.id %> <test-id>",
|
|
5425
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
5426
|
+
"<%= config.bin %> <%= command.id %> --type=agent-eval",
|
|
5427
|
+
"<%= config.bin %> <%= command.id %> --all --save-report",
|
|
5428
|
+
"<%= config.bin %> <%= command.id %> --all --output=validation-report.md"
|
|
5340
5429
|
],
|
|
5341
5430
|
"flags": {
|
|
5342
|
-
"
|
|
5343
|
-
"
|
|
5344
|
-
"
|
|
5345
|
-
"
|
|
5346
|
-
"
|
|
5347
|
-
"
|
|
5348
|
-
"type": "option"
|
|
5431
|
+
"all": {
|
|
5432
|
+
"char": "a",
|
|
5433
|
+
"description": "Validate all tests",
|
|
5434
|
+
"name": "all",
|
|
5435
|
+
"allowNo": false,
|
|
5436
|
+
"type": "boolean"
|
|
5349
5437
|
},
|
|
5350
|
-
"
|
|
5351
|
-
"
|
|
5352
|
-
"
|
|
5438
|
+
"type": {
|
|
5439
|
+
"char": "t",
|
|
5440
|
+
"description": "Validate tests by type",
|
|
5441
|
+
"name": "type",
|
|
5353
5442
|
"hasDynamicHelp": false,
|
|
5354
5443
|
"multiple": false,
|
|
5355
5444
|
"type": "option"
|
|
5356
5445
|
},
|
|
5357
|
-
"
|
|
5358
|
-
"description": "
|
|
5359
|
-
"name": "
|
|
5446
|
+
"save-report": {
|
|
5447
|
+
"description": "Save validation report to file",
|
|
5448
|
+
"name": "save-report",
|
|
5449
|
+
"allowNo": false,
|
|
5450
|
+
"type": "boolean"
|
|
5451
|
+
},
|
|
5452
|
+
"format": {
|
|
5453
|
+
"char": "f",
|
|
5454
|
+
"description": "Output format: text (human), json (machine-readable), md (Markdown). Defaults to human output on a terminal and json when stdout is piped. Legacy spellings (console/markdown/compact/table) are accepted.",
|
|
5455
|
+
"name": "format",
|
|
5360
5456
|
"hasDynamicHelp": false,
|
|
5361
5457
|
"multiple": false,
|
|
5458
|
+
"options": [
|
|
5459
|
+
"text",
|
|
5460
|
+
"json",
|
|
5461
|
+
"md",
|
|
5462
|
+
"human",
|
|
5463
|
+
"console",
|
|
5464
|
+
"markdown",
|
|
5465
|
+
"compact",
|
|
5466
|
+
"table"
|
|
5467
|
+
],
|
|
5362
5468
|
"type": "option"
|
|
5363
5469
|
},
|
|
5364
|
-
"
|
|
5365
|
-
"
|
|
5366
|
-
"
|
|
5470
|
+
"output": {
|
|
5471
|
+
"char": "o",
|
|
5472
|
+
"description": "Output file path",
|
|
5473
|
+
"name": "output",
|
|
5367
5474
|
"hasDynamicHelp": false,
|
|
5368
5475
|
"multiple": false,
|
|
5369
5476
|
"type": "option"
|
|
5370
5477
|
},
|
|
5371
|
-
"offline": {
|
|
5372
|
-
"description": "Forbid network; requires --from <path>",
|
|
5373
|
-
"name": "offline",
|
|
5374
|
-
"allowNo": false,
|
|
5375
|
-
"type": "boolean"
|
|
5376
|
-
},
|
|
5377
|
-
"dry-run": {
|
|
5378
|
-
"description": "Print what would be written; change nothing",
|
|
5379
|
-
"name": "dry-run",
|
|
5380
|
-
"allowNo": false,
|
|
5381
|
-
"type": "boolean"
|
|
5382
|
-
},
|
|
5383
|
-
"yes": {
|
|
5384
|
-
"char": "y",
|
|
5385
|
-
"description": "Don't prompt (reserved for future interactive paths; currently no-op)",
|
|
5386
|
-
"name": "yes",
|
|
5387
|
-
"allowNo": false,
|
|
5388
|
-
"type": "boolean"
|
|
5389
|
-
},
|
|
5390
|
-
"force": {
|
|
5391
|
-
"description": "Overwrite user-customized commands/skills (saves .bak files)",
|
|
5392
|
-
"name": "force",
|
|
5393
|
-
"allowNo": false,
|
|
5394
|
-
"type": "boolean"
|
|
5395
|
-
},
|
|
5396
|
-
"skip-commands": {
|
|
5397
|
-
"description": "Skip seeding .claude/commands/",
|
|
5398
|
-
"name": "skip-commands",
|
|
5399
|
-
"allowNo": false,
|
|
5400
|
-
"type": "boolean"
|
|
5401
|
-
},
|
|
5402
|
-
"skip-skills": {
|
|
5403
|
-
"description": "Skip seeding .claude/skills/",
|
|
5404
|
-
"name": "skip-skills",
|
|
5405
|
-
"allowNo": false,
|
|
5406
|
-
"type": "boolean"
|
|
5407
|
-
},
|
|
5408
|
-
"skip-settings": {
|
|
5409
|
-
"description": "Skip merging .claude/settings.json",
|
|
5410
|
-
"name": "skip-settings",
|
|
5411
|
-
"allowNo": false,
|
|
5412
|
-
"type": "boolean"
|
|
5413
|
-
},
|
|
5414
|
-
"check": {
|
|
5415
|
-
"description": "Compare local pack version to remote without writing anything",
|
|
5416
|
-
"name": "check",
|
|
5417
|
-
"allowNo": false,
|
|
5418
|
-
"type": "boolean"
|
|
5419
|
-
},
|
|
5420
|
-
"refresh-commands": {
|
|
5421
|
-
"description": "Force-resync .claude/commands/* from the pack (saves .bak files)",
|
|
5422
|
-
"name": "refresh-commands",
|
|
5423
|
-
"allowNo": false,
|
|
5424
|
-
"type": "boolean"
|
|
5425
|
-
},
|
|
5426
|
-
"refresh-skills": {
|
|
5427
|
-
"description": "Force-resync .claude/skills/** from the pack (saves .bak files)",
|
|
5428
|
-
"name": "refresh-skills",
|
|
5429
|
-
"allowNo": false,
|
|
5430
|
-
"type": "boolean"
|
|
5431
|
-
},
|
|
5432
|
-
"allow-major": {
|
|
5433
|
-
"description": "Allow the remote pack's major to differ from local MJ's major",
|
|
5434
|
-
"name": "allow-major",
|
|
5435
|
-
"allowNo": false,
|
|
5436
|
-
"type": "boolean"
|
|
5437
|
-
},
|
|
5438
|
-
"json": {
|
|
5439
|
-
"description": "Output as JSON (matches plan §7.5 schema)",
|
|
5440
|
-
"name": "json",
|
|
5441
|
-
"allowNo": false,
|
|
5442
|
-
"type": "boolean"
|
|
5443
|
-
},
|
|
5444
5478
|
"verbose": {
|
|
5445
5479
|
"char": "v",
|
|
5446
|
-
"description": "Show
|
|
5480
|
+
"description": "Show detailed information",
|
|
5447
5481
|
"name": "verbose",
|
|
5448
5482
|
"allowNo": false,
|
|
5449
5483
|
"type": "boolean"
|
|
@@ -5451,41 +5485,7 @@
|
|
|
5451
5485
|
},
|
|
5452
5486
|
"hasDynamicHelp": false,
|
|
5453
5487
|
"hiddenAliases": [],
|
|
5454
|
-
"id": "
|
|
5455
|
-
"pluginAlias": "@memberjunction/cli",
|
|
5456
|
-
"pluginName": "@memberjunction/cli",
|
|
5457
|
-
"pluginType": "core",
|
|
5458
|
-
"strict": true,
|
|
5459
|
-
"enableJsonFlag": false,
|
|
5460
|
-
"isESM": true,
|
|
5461
|
-
"relativePath": [
|
|
5462
|
-
"dist",
|
|
5463
|
-
"commands",
|
|
5464
|
-
"update",
|
|
5465
|
-
"claude.js"
|
|
5466
|
-
]
|
|
5467
|
-
},
|
|
5468
|
-
"update:usage": {
|
|
5469
|
-
"aliases": [],
|
|
5470
|
-
"args": {},
|
|
5471
|
-
"description": "Show usage, flags, examples, and runtime hints for every `mj update` command.",
|
|
5472
|
-
"flags": {
|
|
5473
|
-
"format": {
|
|
5474
|
-
"description": "Output format. Defaults to text on a terminal and json when stdout is piped.",
|
|
5475
|
-
"name": "format",
|
|
5476
|
-
"hasDynamicHelp": false,
|
|
5477
|
-
"multiple": false,
|
|
5478
|
-
"options": [
|
|
5479
|
-
"text",
|
|
5480
|
-
"json",
|
|
5481
|
-
"md"
|
|
5482
|
-
],
|
|
5483
|
-
"type": "option"
|
|
5484
|
-
}
|
|
5485
|
-
},
|
|
5486
|
-
"hasDynamicHelp": false,
|
|
5487
|
-
"hiddenAliases": [],
|
|
5488
|
-
"id": "update:usage",
|
|
5488
|
+
"id": "test:validate",
|
|
5489
5489
|
"pluginAlias": "@memberjunction/cli",
|
|
5490
5490
|
"pluginName": "@memberjunction/cli",
|
|
5491
5491
|
"pluginType": "core",
|
|
@@ -5495,8 +5495,8 @@
|
|
|
5495
5495
|
"relativePath": [
|
|
5496
5496
|
"dist",
|
|
5497
5497
|
"commands",
|
|
5498
|
-
"
|
|
5499
|
-
"
|
|
5498
|
+
"test",
|
|
5499
|
+
"validate.js"
|
|
5500
5500
|
]
|
|
5501
5501
|
},
|
|
5502
5502
|
"ai:actions:list": {
|
|
@@ -6862,5 +6862,5 @@
|
|
|
6862
6862
|
]
|
|
6863
6863
|
}
|
|
6864
6864
|
},
|
|
6865
|
-
"version": "6.1.
|
|
6865
|
+
"version": "6.1.5"
|
|
6866
6866
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.1.
|
|
4
|
+
"version": "6.1.5",
|
|
5
5
|
"description": "MemberJunction command line tools",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"oclif"
|
|
@@ -48,27 +48,27 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@inquirer/prompts": "^8.2.0",
|
|
51
|
-
"@memberjunction/ai-cli": "6.1.
|
|
52
|
-
"@memberjunction/cli-core": "6.1.
|
|
53
|
-
"@memberjunction/codegen-lib": "6.1.
|
|
54
|
-
"@memberjunction/config": "6.1.
|
|
55
|
-
"@memberjunction/core": "6.1.
|
|
56
|
-
"@memberjunction/generic-database-provider": "6.1.
|
|
57
|
-
"@memberjunction/installer": "6.1.
|
|
58
|
-
"@memberjunction/dynamic-packages": "6.1.
|
|
59
|
-
"@memberjunction/db-auto-doc": "6.1.
|
|
60
|
-
"@memberjunction/metadata-sync": "6.1.
|
|
61
|
-
"@memberjunction/open-app-engine": "6.1.
|
|
62
|
-
"@memberjunction/query-gen": "6.1.
|
|
63
|
-
"@memberjunction/server-bootstrap-lite": "6.1.
|
|
51
|
+
"@memberjunction/ai-cli": "6.1.5",
|
|
52
|
+
"@memberjunction/cli-core": "6.1.5",
|
|
53
|
+
"@memberjunction/codegen-lib": "6.1.5",
|
|
54
|
+
"@memberjunction/config": "6.1.5",
|
|
55
|
+
"@memberjunction/core": "6.1.5",
|
|
56
|
+
"@memberjunction/generic-database-provider": "6.1.5",
|
|
57
|
+
"@memberjunction/installer": "6.1.5",
|
|
58
|
+
"@memberjunction/dynamic-packages": "6.1.5",
|
|
59
|
+
"@memberjunction/db-auto-doc": "6.1.5",
|
|
60
|
+
"@memberjunction/metadata-sync": "6.1.5",
|
|
61
|
+
"@memberjunction/open-app-engine": "6.1.5",
|
|
62
|
+
"@memberjunction/query-gen": "6.1.5",
|
|
63
|
+
"@memberjunction/server-bootstrap-lite": "6.1.5",
|
|
64
64
|
"@memberjunction/skyway-core": "^0.6.2",
|
|
65
65
|
"@memberjunction/skyway-postgres": "^0.6.2",
|
|
66
66
|
"@memberjunction/skyway-sqlserver": "^0.6.2",
|
|
67
|
-
"@memberjunction/sql-converter": "6.1.
|
|
68
|
-
"@memberjunction/sqlglot-ts": "6.1.
|
|
69
|
-
"@memberjunction/sqlserver-dataprovider": "6.1.
|
|
70
|
-
"@memberjunction/standards": "6.1.
|
|
71
|
-
"@memberjunction/testing-cli": "6.1.
|
|
67
|
+
"@memberjunction/sql-converter": "6.1.5",
|
|
68
|
+
"@memberjunction/sqlglot-ts": "6.1.5",
|
|
69
|
+
"@memberjunction/sqlserver-dataprovider": "6.1.5",
|
|
70
|
+
"@memberjunction/standards": "6.1.5",
|
|
71
|
+
"@memberjunction/testing-cli": "6.1.5",
|
|
72
72
|
"@oclif/core": "^3.27.0",
|
|
73
73
|
"@oclif/plugin-help": "^6.2.37",
|
|
74
74
|
"@oclif/plugin-version": "^2.2.36",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"recast": "^0.23.11",
|
|
89
89
|
"simple-git": "^3.30.0",
|
|
90
90
|
"zod": "^3.25.0",
|
|
91
|
-
"@memberjunction/core-entities": "6.1.
|
|
92
|
-
"@memberjunction/global": "6.1.
|
|
93
|
-
"@memberjunction/aiengine": "6.1.
|
|
91
|
+
"@memberjunction/core-entities": "6.1.5",
|
|
92
|
+
"@memberjunction/global": "6.1.5",
|
|
93
|
+
"@memberjunction/aiengine": "6.1.5"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@oclif/prettier-config": "^0.2.1",
|