@codapult/cli 0.15.0 → 0.15.2
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/commands/setup.js
CHANGED
|
@@ -19,7 +19,7 @@ function emptyLine() {
|
|
|
19
19
|
// Built-in presets for non-interactive (CI/CD) setup via --preset flag.
|
|
20
20
|
// ---------------------------------------------------------------------------
|
|
21
21
|
const BUILT_IN_PRESETS = {
|
|
22
|
-
//
|
|
22
|
+
// Marketing-only site.
|
|
23
23
|
marketing: {
|
|
24
24
|
authProvider: 'none',
|
|
25
25
|
jobProvider: 'none',
|
package/dist/mcp/resources.js
CHANGED
|
@@ -27,7 +27,7 @@ export function registerResources(server) {
|
|
|
27
27
|
});
|
|
28
28
|
server.registerResource('codapult_env_config', 'codapult://config/env', {
|
|
29
29
|
title: 'Environment Configuration',
|
|
30
|
-
description: `Typed env access (src/config/env.ts) — feature toggles (env.features), auth methods (env.auth), provider selection (
|
|
30
|
+
description: `Typed env access (src/config/env.ts) — feature toggles (env.features), auth methods (env.auth), provider selection (db.provider, payments.provider, storage.provider, jobs.provider), and checkout resolution. This is the source of truth for which modules are enabled — see also codapult://env-example or codapult_project_status.`,
|
|
31
31
|
mimeType: 'text/plain',
|
|
32
32
|
}, () => {
|
|
33
33
|
const content = readProjectFile(getRoot(), 'src/config/env.ts') ?? 'Config file not found';
|
package/dist/utils/patchers.js
CHANGED
|
@@ -220,7 +220,7 @@ export function regenerateBarrel(projectRoot) {
|
|
|
220
220
|
.filter((f) => typeof f === 'string' && f.endsWith('.ts') && f !== 'index.ts')
|
|
221
221
|
.sort();
|
|
222
222
|
const imports = files.map((f) => `import './${f.replace('.ts', '')}';`).join('\n');
|
|
223
|
-
const barrel = `// Auto-generated by @codapult/cli — do not edit manually\n${imports}${imports.length > 0 ? '\n' : ''}`;
|
|
223
|
+
const barrel = `// Auto-generated by @codapult/cli — do not edit manually\n${imports}${imports.length > 0 ? '\n' : '\nexport {};\n'}`;
|
|
224
224
|
writeFileSync(resolve(pluginsDir, 'index.ts'), barrel, 'utf-8');
|
|
225
225
|
}
|
|
226
226
|
export function createPluginRegistration(projectRoot, pluginName, packageName, action) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codapult/cli",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Codapult CLI — manage, update, and diagnose your Codapult SaaS project",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"packageManager": "pnpm@11.20.0+sha512.9a6f330a95b66446ea088faf1521405a8a01f07fde7124cc9958dfed52d4bb436737e65b08f85f37b46fcba375092558ac51262b816844b22f63406ed166bfee",
|