betterstart-cli 0.0.42 → 0.0.44

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/index.d.ts CHANGED
@@ -19,7 +19,7 @@ interface BetterstartDatabase {
19
19
  provider: 'postgres';
20
20
  migrationsDir: string;
21
21
  }
22
- interface BetterstartPlugins {
22
+ interface BetterstartPresets {
23
23
  installed: string[];
24
24
  }
25
25
  interface BetterstartIntegrations {
@@ -40,7 +40,7 @@ interface BetterstartConfig {
40
40
  framework: BetterstartFramework;
41
41
  frameworkConfig: BetterstartFrameworkConfig;
42
42
  database: BetterstartDatabase;
43
- plugins: BetterstartPlugins;
43
+ presets: BetterstartPresets;
44
44
  integrations: BetterstartIntegrations;
45
45
  email: BetterstartEmailConfig;
46
46
  storage: BetterstartStorageConfig;
@@ -65,26 +65,26 @@ interface InstalledIntegrationManifest {
65
65
  installedAt: string;
66
66
  }
67
67
 
68
- type BetterstartPluginId = string;
69
- type BetterstartPluginKind = 'content';
70
- interface InstalledPluginManifest {
71
- id: BetterstartPluginId;
68
+ type BetterstartPresetId = string;
69
+ type BetterstartPresetKind = 'content';
70
+ interface InstalledPresetManifest {
71
+ id: BetterstartPresetId;
72
72
  version: string;
73
- kind: BetterstartPluginKind;
73
+ kind: BetterstartPresetKind;
74
74
  ownedSchemas: string[];
75
75
  ownedFiles: string[];
76
76
  envKeys: string[];
77
77
  packageDependencies: string[];
78
78
  devDependencies: string[];
79
79
  configured: boolean;
80
- dependencies: BetterstartPluginId[];
81
- conflicts: BetterstartPluginId[];
80
+ dependencies: BetterstartPresetId[];
81
+ conflicts: BetterstartPresetId[];
82
82
  installedAt: string;
83
83
  }
84
- type SchemaOwner = 'core' | 'user' | `plugin:${string}`;
84
+ type SchemaOwner = 'core' | 'user' | `preset:${string}`;
85
85
  interface SchemaOwnershipIndex {
86
86
  version: 1;
87
87
  schemas: Record<string, SchemaOwner>;
88
88
  }
89
89
 
90
- export { type BetterstartConfig, type BetterstartDatabase, type BetterstartEmailConfig, type BetterstartFramework, type BetterstartFrameworkConfig, type BetterstartGenerated, type BetterstartIntegrationId, type BetterstartIntegrationKind, type BetterstartIntegrations, type BetterstartNextConfig, type BetterstartNextPaths, type BetterstartPluginId, type BetterstartPluginKind, type BetterstartPlugins, type BetterstartStorageConfig, type InstalledIntegrationManifest, type InstalledPluginManifest, type SchemaOwner, type SchemaOwnershipIndex, defineConfig };
90
+ export { type BetterstartConfig, type BetterstartDatabase, type BetterstartEmailConfig, type BetterstartFramework, type BetterstartFrameworkConfig, type BetterstartGenerated, type BetterstartIntegrationId, type BetterstartIntegrationKind, type BetterstartIntegrations, type BetterstartNextConfig, type BetterstartNextPaths, type BetterstartPresetId, type BetterstartPresetKind, type BetterstartPresets, type BetterstartStorageConfig, type InstalledIntegrationManifest, type InstalledPresetManifest, type SchemaOwner, type SchemaOwnershipIndex, defineConfig };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../core-engine/config/types.ts"],"sourcesContent":["export type BetterstartFramework = 'next'\n\nexport interface BetterstartNextPaths {\n admin: string\n schemas: string\n pages: string\n login: string\n api: string\n}\n\nexport interface BetterstartNextConfig {\n namespace: string\n srcDir: boolean\n version: number\n paths: BetterstartNextPaths\n}\n\nexport interface BetterstartFrameworkConfig {\n next: BetterstartNextConfig\n}\n\nexport interface BetterstartDatabase {\n provider: 'postgres'\n migrationsDir: string\n}\n\nexport interface BetterstartPlugins {\n installed: string[]\n}\n\nexport interface BetterstartIntegrations {\n installed: string[]\n}\n\nexport interface BetterstartEmailConfig {\n provider: string\n}\n\nexport interface BetterstartStorageConfig {\n provider: string\n}\n\nexport interface BetterstartGenerated {\n entities: string[]\n singles: string[]\n forms: string[]\n}\n\nexport interface BetterstartConfig {\n framework: BetterstartFramework\n frameworkConfig: BetterstartFrameworkConfig\n database: BetterstartDatabase\n plugins: BetterstartPlugins\n integrations: BetterstartIntegrations\n email: BetterstartEmailConfig\n storage: BetterstartStorageConfig\n linter: 'biome' | 'eslint' | 'none'\n generated: BetterstartGenerated\n}\n\nexport type BetterstartConfigFile = BetterstartConfig\n\nexport interface ResolvedBetterstartConfig extends BetterstartConfig {\n srcDir: boolean\n nextMajorVersion: number\n paths: BetterstartNextPaths\n}\n\nexport function defineConfig(config: BetterstartConfig): BetterstartConfig {\n return config\n}\n"],"mappings":";AAoEO,SAAS,aAAa,QAA8C;AACzE,SAAO;AACT;","names":[]}
1
+ {"version":3,"sources":["../core-engine/config/types.ts"],"sourcesContent":["export type BetterstartFramework = 'next'\n\nexport interface BetterstartNextPaths {\n admin: string\n schemas: string\n pages: string\n login: string\n api: string\n}\n\nexport interface BetterstartNextConfig {\n namespace: string\n srcDir: boolean\n version: number\n paths: BetterstartNextPaths\n}\n\nexport interface BetterstartFrameworkConfig {\n next: BetterstartNextConfig\n}\n\nexport interface BetterstartDatabase {\n provider: 'postgres'\n migrationsDir: string\n}\n\nexport interface BetterstartPresets {\n installed: string[]\n}\n\nexport interface BetterstartIntegrations {\n installed: string[]\n}\n\nexport interface BetterstartEmailConfig {\n provider: string\n}\n\nexport interface BetterstartStorageConfig {\n provider: string\n}\n\nexport interface BetterstartGenerated {\n entities: string[]\n singles: string[]\n forms: string[]\n}\n\nexport interface BetterstartConfig {\n framework: BetterstartFramework\n frameworkConfig: BetterstartFrameworkConfig\n database: BetterstartDatabase\n presets: BetterstartPresets\n integrations: BetterstartIntegrations\n email: BetterstartEmailConfig\n storage: BetterstartStorageConfig\n linter: 'biome' | 'eslint' | 'none'\n generated: BetterstartGenerated\n}\n\nexport type BetterstartConfigFile = BetterstartConfig\n\nexport interface ResolvedBetterstartConfig extends BetterstartConfig {\n srcDir: boolean\n nextMajorVersion: number\n paths: BetterstartNextPaths\n}\n\nexport function defineConfig(config: BetterstartConfig): BetterstartConfig {\n return config\n}\n"],"mappings":";AAoEO,SAAS,aAAa,QAA8C;AACzE,SAAO;AACT;","names":[]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "betterstart-cli",
3
- "version": "0.0.42",
4
- "description": "Scaffold a plugin-based Admin into any Next.js 16 application",
3
+ "version": "0.0.44",
4
+ "description": "Scaffold a preset-based Admin into any Next.js 16 application",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",