@codapult/cli 0.15.1 → 0.15.3
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 +5 -5
- package/dist/utils/patchers.js +1 -1
- package/package.json +8 -7
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',
|
|
@@ -434,11 +434,11 @@ const MODULE_REMOVALS = [
|
|
|
434
434
|
{
|
|
435
435
|
key: 'enablePlugins',
|
|
436
436
|
paths: [
|
|
437
|
-
`${APP}/(public)/(marketing)/plugins`,
|
|
437
|
+
// `${APP}/(public)/(marketing)/plugins`,
|
|
438
438
|
`${APP}/(protected)/(dashboard)/dashboard/plugins`,
|
|
439
439
|
'src/lib/plugins/marketplace.ts',
|
|
440
|
-
'src/components/marketing/PluginsShowcase.tsx',
|
|
441
|
-
'src/components/marketing/PluginDetail.tsx',
|
|
440
|
+
// 'src/components/marketing/PluginsShowcase.tsx',
|
|
441
|
+
// 'src/components/marketing/PluginDetail.tsx',
|
|
442
442
|
'src/components/dashboard/PluginMarketplace.tsx',
|
|
443
443
|
'plugins/example-analytics',
|
|
444
444
|
],
|
|
@@ -714,7 +714,7 @@ async function interactiveSetup() {
|
|
|
714
714
|
enableReports: authEnabled && (await confirm(iface, 'Enable scheduled email reports?')),
|
|
715
715
|
enableBranding: authEnabled && (await confirm(iface, 'Enable per-org branding (white-label)?')),
|
|
716
716
|
enableTwoFactor: authEnabled && (await confirm(iface, 'Enable two-factor authentication (TOTP)?')),
|
|
717
|
-
enablePlugins: await confirm(iface, 'Enable plugin marketplace (/plugins)?'),
|
|
717
|
+
enablePlugins: await confirm(iface, 'Enable plugin marketplace (/dashboard/plugins)?'),
|
|
718
718
|
removeUnusedCode: emptyLine() && (await confirm(iface, 'Remove unused module code?', false)),
|
|
719
719
|
};
|
|
720
720
|
iface.close();
|
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,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codapult/cli",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "Codapult CLI — manage, update, and diagnose your Codapult SaaS project",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"packageManager": "pnpm@11.
|
|
6
|
+
"packageManager": "pnpm@11.22.0+sha512.1ff870c4c6133dfd88fb2afc46dd13d47f09c9794b438c6fdb47ca98caf3bc16381ee0be93a091b8e3824cf01f889f46d7d9e20910fb0be1ab0fb5baa80dd621",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=20.19.0"
|
|
9
9
|
},
|
|
@@ -53,15 +53,16 @@
|
|
|
53
53
|
"@js-toolkit/eslint-config": "^1.1.4",
|
|
54
54
|
"@js-toolkit/prettier-config": "^1.0.1",
|
|
55
55
|
"@js-toolkit/tsconfig": "^1.0.1",
|
|
56
|
-
"@release-it/conventional-changelog": "^
|
|
56
|
+
"@release-it/conventional-changelog": "^12.0.0",
|
|
57
57
|
"@types/node": "^26.2.0",
|
|
58
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
58
59
|
"eslint": "^9.39.4",
|
|
59
60
|
"eslint-config-prettier": "^10.1.8",
|
|
60
61
|
"eslint-plugin-prettier": "^5.5.6",
|
|
61
62
|
"prettier": "^3.9.6",
|
|
62
|
-
"release-it": "^21.0.
|
|
63
|
-
"typescript": "
|
|
64
|
-
"typescript-eslint": "^8.
|
|
65
|
-
"vitest": "^4.1.
|
|
63
|
+
"release-it": "^21.0.2",
|
|
64
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
65
|
+
"typescript-eslint": "^8.67.0",
|
|
66
|
+
"vitest": "^4.1.11"
|
|
66
67
|
}
|
|
67
68
|
}
|