@open-mercato/cli 0.6.6-develop.5612.1.d382eb2f33 → 0.6.6-develop.5617.1.62538c48ca
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/lib/init-secrets.js +11 -4
- package/dist/lib/init-secrets.js.map +2 -2
- package/dist/lib/testing/integration.js +14 -0
- package/dist/lib/testing/integration.js.map +2 -2
- package/dist/mercato.js +6 -1
- package/dist/mercato.js.map +2 -2
- package/package.json +5 -5
- package/src/lib/__tests__/init-secrets.test.ts +37 -6
- package/src/lib/init-secrets.ts +25 -6
- package/src/lib/testing/integration.ts +14 -0
- package/src/mercato.ts +5 -0
package/dist/mercato.js
CHANGED
|
@@ -840,7 +840,12 @@ async function run(argv = process.argv) {
|
|
|
840
840
|
"--password",
|
|
841
841
|
password,
|
|
842
842
|
"--roles",
|
|
843
|
-
roles
|
|
843
|
+
roles,
|
|
844
|
+
// `mercato init` is the dev/demo bootstrap flow — it explicitly wants
|
|
845
|
+
// the derived admin@/employee@ demo accounts. Standalone callers of
|
|
846
|
+
// `mercato auth setup` must opt in themselves; without this flag the
|
|
847
|
+
// setup command no longer seeds those accounts by default.
|
|
848
|
+
"--include-demo-users"
|
|
844
849
|
];
|
|
845
850
|
if (skipPasswordPolicy) {
|
|
846
851
|
setupArgs.push("--skip-password-policy");
|