@reliverse/dler 1.7.104 → 1.7.105
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/bin/app/config/constants.d.ts +2 -1
- package/bin/app/config/constants.js +2 -1
- package/bin/app/config/create.js +1 -3
- package/bin/app/config/gen-cfg.js +0 -3
- package/bin/app/config/prepare.js +142 -142
- package/bin/app/config/reltypes-content.js +1 -1
- package/bin/app/mrse/cmd.js +0 -6
- package/bin/app/providers/better-t-stack/types.d.ts +12 -12
- package/bin/dler.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const PROJECT_ROOT: string;
|
|
2
|
-
export declare const cliVersion = "1.7.
|
|
2
|
+
export declare const cliVersion = "1.7.105";
|
|
3
3
|
export declare const cliName = "@reliverse/rse";
|
|
4
4
|
export declare const rseName = "@reliverse/rse";
|
|
5
5
|
export declare const dlerName = "@reliverse/dler";
|
|
@@ -25,6 +25,7 @@ export declare const useLocalhost = false;
|
|
|
25
25
|
export declare const DEFAULT_CLI_USERNAME = "johnny911";
|
|
26
26
|
export declare const endTitle = "\uD83D\uDCDA Check the docs to learn more: https://docs.reliverse.org/cli";
|
|
27
27
|
export declare const UNKNOWN_VALUE = "unknown";
|
|
28
|
+
export declare const UNKNOWN_STRING = "\"unknown\"";
|
|
28
29
|
export declare const DEFAULT_DOMAIN = "https://example.com";
|
|
29
30
|
export declare const RSE_SCHEMA_DEV = "./schema.json";
|
|
30
31
|
export declare const RSE_SCHEMA_URL = "https://reliverse.org/schema.json";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "@reliverse/pathkit";
|
|
3
3
|
export const PROJECT_ROOT = path.resolve(process.cwd());
|
|
4
|
-
const version = "1.7.
|
|
4
|
+
const version = "1.7.105";
|
|
5
5
|
export const cliVersion = version;
|
|
6
6
|
export const cliName = "@reliverse/rse";
|
|
7
7
|
export const rseName = "@reliverse/rse";
|
|
@@ -28,6 +28,7 @@ export const useLocalhost = false;
|
|
|
28
28
|
export const DEFAULT_CLI_USERNAME = "johnny911";
|
|
29
29
|
export const endTitle = `\u{1F4DA} Check the docs to learn more: ${cliDomainDocs}`;
|
|
30
30
|
export const UNKNOWN_VALUE = "unknown";
|
|
31
|
+
export const UNKNOWN_STRING = `"unknown"`;
|
|
31
32
|
export const DEFAULT_DOMAIN = "https://example.com";
|
|
32
33
|
export const RSE_SCHEMA_DEV = "./schema.json";
|
|
33
34
|
export const RSE_SCHEMA_URL = `${rseOrg}/schema.json`;
|
package/bin/app/config/create.js
CHANGED
|
@@ -77,11 +77,9 @@ export async function writeRseConfig(configPath, config, isDev, skipInstallPromp
|
|
|
77
77
|
}
|
|
78
78
|
const objectLiteral = objectToCodeString(config, 0);
|
|
79
79
|
const objectLiteralWithComments = injectSectionComments(objectLiteral);
|
|
80
|
-
let importPath;
|
|
80
|
+
let importPath = "./reltypes";
|
|
81
81
|
if (customPathToTypes) {
|
|
82
82
|
importPath = customPathToTypes;
|
|
83
|
-
} else {
|
|
84
|
-
importPath = "./reltypes";
|
|
85
83
|
}
|
|
86
84
|
const fileContent2 = `import { defineConfig } from "${importPath}";
|
|
87
85
|
export default defineConfig(${objectLiteralWithComments});
|
|
@@ -102,9 +102,6 @@ export async function generateConfigFiles(projectPath, overwrite, projectName, d
|
|
|
102
102
|
overwrite,
|
|
103
103
|
isDev,
|
|
104
104
|
configInfo,
|
|
105
|
-
...isDev && configInfo?.isTS ? {
|
|
106
|
-
customPathToTypes: "./src-ts/app/types/mod"
|
|
107
|
-
} : {},
|
|
108
105
|
overrides: {}
|
|
109
106
|
});
|
|
110
107
|
return true;
|
|
@@ -3,7 +3,7 @@ import fs from "@reliverse/relifso";
|
|
|
3
3
|
import { relinka } from "@reliverse/relinka";
|
|
4
4
|
import { readPackageJSON } from "pkg-types";
|
|
5
5
|
import { DEFAULT_CONFIG_DLER } from "./default.js";
|
|
6
|
-
import { cliConfigJsonc, cliConfigTs, rseOrg,
|
|
6
|
+
import { cliConfigJsonc, cliConfigTs, rseOrg, UNKNOWN_STRING } from "./constants.js";
|
|
7
7
|
import { ensureReltypesFile } from "./reltypes-utils.js";
|
|
8
8
|
const DEFAULT_CONFIG_KIND = "ts";
|
|
9
9
|
export async function ensureReliverseConfig(isDev, configKind = DEFAULT_CONFIG_KIND) {
|
|
@@ -120,66 +120,66 @@ function generateJsoncConfig(isDev, pkgDescription) {
|
|
|
120
120
|
// Schema: ${schemaUrl}
|
|
121
121
|
{
|
|
122
122
|
"$schema": "${schemaUrl}",
|
|
123
|
-
// Project configuration
|
|
124
|
-
"projectName": ${
|
|
125
|
-
"projectAuthor": ${
|
|
123
|
+
// Project configuration
|
|
124
|
+
"projectName": ${UNKNOWN_STRING},
|
|
125
|
+
"projectAuthor": ${UNKNOWN_STRING},
|
|
126
126
|
"projectDescription": ${JSON.stringify(coreDescriptionValue)},
|
|
127
|
-
"version": ${
|
|
128
|
-
"projectLicense": ${
|
|
129
|
-
"projectState": ${
|
|
130
|
-
"projectRepository": ${
|
|
131
|
-
"projectDomain": ${
|
|
132
|
-
"projectCategory": ${
|
|
133
|
-
"projectSubcategory": ${
|
|
134
|
-
"projectTemplate": ${
|
|
135
|
-
"projectTemplateDate": ${
|
|
136
|
-
"projectArchitecture": ${
|
|
137
|
-
"repoPrivacy": ${
|
|
138
|
-
"projectGitService": ${
|
|
139
|
-
"projectDeployService": ${
|
|
140
|
-
"repoBranch": ${
|
|
141
|
-
"projectFramework": ${
|
|
142
|
-
"projectPackageManager": ${
|
|
143
|
-
"projectRuntime": ${
|
|
127
|
+
"version": ${UNKNOWN_STRING},
|
|
128
|
+
"projectLicense": ${UNKNOWN_STRING},
|
|
129
|
+
"projectState": ${UNKNOWN_STRING},
|
|
130
|
+
"projectRepository": ${UNKNOWN_STRING},
|
|
131
|
+
"projectDomain": ${UNKNOWN_STRING},
|
|
132
|
+
"projectCategory": ${UNKNOWN_STRING},
|
|
133
|
+
"projectSubcategory": ${UNKNOWN_STRING},
|
|
134
|
+
"projectTemplate": ${UNKNOWN_STRING},
|
|
135
|
+
"projectTemplateDate": ${UNKNOWN_STRING},
|
|
136
|
+
"projectArchitecture": ${UNKNOWN_STRING},
|
|
137
|
+
"repoPrivacy": ${UNKNOWN_STRING},
|
|
138
|
+
"projectGitService": ${UNKNOWN_STRING},
|
|
139
|
+
"projectDeployService": ${UNKNOWN_STRING},
|
|
140
|
+
"repoBranch": ${UNKNOWN_STRING},
|
|
141
|
+
"projectFramework": ${UNKNOWN_STRING},
|
|
142
|
+
"projectPackageManager": ${UNKNOWN_STRING},
|
|
143
|
+
"projectRuntime": ${UNKNOWN_STRING},
|
|
144
144
|
"preferredLibraries": {
|
|
145
|
-
"stateManagement": ${
|
|
146
|
-
"formManagement": ${
|
|
147
|
-
"styling": ${
|
|
148
|
-
"uiComponents": ${
|
|
149
|
-
"testing": ${
|
|
150
|
-
"authentication": ${
|
|
151
|
-
"databaseLibrary": ${
|
|
152
|
-
"databaseProvider": ${
|
|
153
|
-
"api": ${
|
|
154
|
-
"linting": ${
|
|
155
|
-
"formatting": ${
|
|
156
|
-
"payment": ${
|
|
157
|
-
"analytics": ${
|
|
158
|
-
"monitoring": ${
|
|
159
|
-
"logging": ${
|
|
160
|
-
"forms": ${
|
|
161
|
-
"notifications": ${
|
|
162
|
-
"search": ${
|
|
163
|
-
"uploads": ${
|
|
164
|
-
"validation": ${
|
|
165
|
-
"documentation": ${
|
|
166
|
-
"icons": ${
|
|
167
|
-
"mail": ${
|
|
168
|
-
"cache": ${
|
|
169
|
-
"storage": ${
|
|
170
|
-
"cdn": ${
|
|
171
|
-
"cms": ${
|
|
172
|
-
"i18n": ${
|
|
173
|
-
"seo": ${
|
|
174
|
-
"motion": ${
|
|
175
|
-
"charts": ${
|
|
176
|
-
"dates": ${
|
|
177
|
-
"markdown": ${
|
|
178
|
-
"security": ${
|
|
145
|
+
"stateManagement": ${UNKNOWN_STRING},
|
|
146
|
+
"formManagement": ${UNKNOWN_STRING},
|
|
147
|
+
"styling": ${UNKNOWN_STRING},
|
|
148
|
+
"uiComponents": ${UNKNOWN_STRING},
|
|
149
|
+
"testing": ${UNKNOWN_STRING},
|
|
150
|
+
"authentication": ${UNKNOWN_STRING},
|
|
151
|
+
"databaseLibrary": ${UNKNOWN_STRING},
|
|
152
|
+
"databaseProvider": ${UNKNOWN_STRING},
|
|
153
|
+
"api": ${UNKNOWN_STRING},
|
|
154
|
+
"linting": ${UNKNOWN_STRING},
|
|
155
|
+
"formatting": ${UNKNOWN_STRING},
|
|
156
|
+
"payment": ${UNKNOWN_STRING},
|
|
157
|
+
"analytics": ${UNKNOWN_STRING},
|
|
158
|
+
"monitoring": ${UNKNOWN_STRING},
|
|
159
|
+
"logging": ${UNKNOWN_STRING},
|
|
160
|
+
"forms": ${UNKNOWN_STRING},
|
|
161
|
+
"notifications": ${UNKNOWN_STRING},
|
|
162
|
+
"search": ${UNKNOWN_STRING},
|
|
163
|
+
"uploads": ${UNKNOWN_STRING},
|
|
164
|
+
"validation": ${UNKNOWN_STRING},
|
|
165
|
+
"documentation": ${UNKNOWN_STRING},
|
|
166
|
+
"icons": ${UNKNOWN_STRING},
|
|
167
|
+
"mail": ${UNKNOWN_STRING},
|
|
168
|
+
"cache": ${UNKNOWN_STRING},
|
|
169
|
+
"storage": ${UNKNOWN_STRING},
|
|
170
|
+
"cdn": ${UNKNOWN_STRING},
|
|
171
|
+
"cms": ${UNKNOWN_STRING},
|
|
172
|
+
"i18n": ${UNKNOWN_STRING},
|
|
173
|
+
"seo": ${UNKNOWN_STRING},
|
|
174
|
+
"motion": ${UNKNOWN_STRING},
|
|
175
|
+
"charts": ${UNKNOWN_STRING},
|
|
176
|
+
"dates": ${UNKNOWN_STRING},
|
|
177
|
+
"markdown": ${UNKNOWN_STRING},
|
|
178
|
+
"security": ${UNKNOWN_STRING},
|
|
179
179
|
"routing": ""
|
|
180
180
|
},
|
|
181
181
|
"monorepo": {
|
|
182
|
-
"type": ${
|
|
182
|
+
"type": ${UNKNOWN_STRING},
|
|
183
183
|
"packages": [],
|
|
184
184
|
"sharedPackages": []
|
|
185
185
|
},
|
|
@@ -188,7 +188,7 @@ function generateJsoncConfig(isDev, pkgDescription) {
|
|
|
188
188
|
"features": {
|
|
189
189
|
"i18n": false,
|
|
190
190
|
"analytics": false,
|
|
191
|
-
"themeMode": ${
|
|
191
|
+
"themeMode": ${UNKNOWN_STRING},
|
|
192
192
|
"authentication": false,
|
|
193
193
|
"api": false,
|
|
194
194
|
"database": false,
|
|
@@ -203,17 +203,17 @@ function generateJsoncConfig(isDev, pkgDescription) {
|
|
|
203
203
|
"codeStyle": {
|
|
204
204
|
"dontRemoveComments": false,
|
|
205
205
|
"shouldAddComments": false,
|
|
206
|
-
"typeOrInterface": ${
|
|
207
|
-
"importOrRequire": ${
|
|
208
|
-
"quoteMark": ${
|
|
206
|
+
"typeOrInterface": ${UNKNOWN_STRING},
|
|
207
|
+
"importOrRequire": ${UNKNOWN_STRING},
|
|
208
|
+
"quoteMark": ${UNKNOWN_STRING},
|
|
209
209
|
"semicolons": true,
|
|
210
210
|
"lineWidth": 80,
|
|
211
|
-
"indentStyle": ${
|
|
211
|
+
"indentStyle": ${UNKNOWN_STRING},
|
|
212
212
|
"indentSize": 2,
|
|
213
|
-
"importSymbol": ${
|
|
214
|
-
"trailingComma": ${
|
|
213
|
+
"importSymbol": ${UNKNOWN_STRING},
|
|
214
|
+
"trailingComma": ${UNKNOWN_STRING},
|
|
215
215
|
"bracketSpacing": true,
|
|
216
|
-
"arrowParens": ${
|
|
216
|
+
"arrowParens": ${UNKNOWN_STRING},
|
|
217
217
|
"tabWidth": 2,
|
|
218
218
|
"jsToTs": false,
|
|
219
219
|
"cjsToEsm": false,
|
|
@@ -233,13 +233,13 @@ function generateJsoncConfig(isDev, pkgDescription) {
|
|
|
233
233
|
"customReposOnNewProject": false,
|
|
234
234
|
"envComposerOpenBrowser": true,
|
|
235
235
|
"skipPromptsUseAutoBehavior": false,
|
|
236
|
-
"deployBehavior": ${
|
|
237
|
-
"depsBehavior": ${
|
|
238
|
-
"gitBehavior": ${
|
|
239
|
-
"i18nBehavior": ${
|
|
240
|
-
"scriptsBehavior": ${
|
|
241
|
-
"existingRepoBehavior": ${
|
|
242
|
-
"relinterConfirm": ${
|
|
236
|
+
"deployBehavior": ${UNKNOWN_STRING},
|
|
237
|
+
"depsBehavior": ${UNKNOWN_STRING},
|
|
238
|
+
"gitBehavior": ${UNKNOWN_STRING},
|
|
239
|
+
"i18nBehavior": ${UNKNOWN_STRING},
|
|
240
|
+
"scriptsBehavior": ${UNKNOWN_STRING},
|
|
241
|
+
"existingRepoBehavior": ${UNKNOWN_STRING},
|
|
242
|
+
"relinterConfirm": ${UNKNOWN_STRING},
|
|
243
243
|
// Bump configuration
|
|
244
244
|
"bumpDisable": ${DEFAULT_CONFIG_DLER.bumpDisable},
|
|
245
245
|
"bumpFilter": ${JSON.stringify(getBumpFilter(isDev))},
|
|
@@ -426,66 +426,66 @@ function generateConfig(isDev, pkgDescription, configKind = "ts") {
|
|
|
426
426
|
" * @see https://github.com/reliverse/reliverse",
|
|
427
427
|
" */",
|
|
428
428
|
"export default defineConfig({",
|
|
429
|
-
" // Project configuration
|
|
430
|
-
` projectName: ${
|
|
431
|
-
` projectAuthor: ${
|
|
429
|
+
" // Project configuration",
|
|
430
|
+
` projectName: ${UNKNOWN_STRING},`,
|
|
431
|
+
` projectAuthor: ${UNKNOWN_STRING},`,
|
|
432
432
|
" projectDescription: " + JSON.stringify(coreDescriptionValue) + ",",
|
|
433
|
-
` version: ${
|
|
434
|
-
` projectLicense: ${
|
|
435
|
-
` projectState: ${
|
|
436
|
-
` projectRepository: ${
|
|
437
|
-
` projectDomain: ${
|
|
438
|
-
` projectCategory: ${
|
|
439
|
-
` projectSubcategory: ${
|
|
440
|
-
` projectTemplate: ${
|
|
441
|
-
` projectTemplateDate: ${
|
|
442
|
-
` projectArchitecture: ${
|
|
443
|
-
` repoPrivacy: ${
|
|
444
|
-
` projectGitService: ${
|
|
445
|
-
` projectDeployService: ${
|
|
446
|
-
` repoBranch: ${
|
|
447
|
-
` projectFramework: ${
|
|
448
|
-
` projectPackageManager: ${
|
|
449
|
-
` projectRuntime: ${
|
|
433
|
+
` version: ${UNKNOWN_STRING},`,
|
|
434
|
+
` projectLicense: ${UNKNOWN_STRING},`,
|
|
435
|
+
` projectState: ${UNKNOWN_STRING},`,
|
|
436
|
+
` projectRepository: ${UNKNOWN_STRING},`,
|
|
437
|
+
` projectDomain: ${UNKNOWN_STRING},`,
|
|
438
|
+
` projectCategory: ${UNKNOWN_STRING},`,
|
|
439
|
+
` projectSubcategory: ${UNKNOWN_STRING},`,
|
|
440
|
+
` projectTemplate: ${UNKNOWN_STRING},`,
|
|
441
|
+
` projectTemplateDate: ${UNKNOWN_STRING},`,
|
|
442
|
+
` projectArchitecture: ${UNKNOWN_STRING},`,
|
|
443
|
+
` repoPrivacy: ${UNKNOWN_STRING},`,
|
|
444
|
+
` projectGitService: ${UNKNOWN_STRING},`,
|
|
445
|
+
` projectDeployService: ${UNKNOWN_STRING},`,
|
|
446
|
+
` repoBranch: ${UNKNOWN_STRING},`,
|
|
447
|
+
` projectFramework: ${UNKNOWN_STRING},`,
|
|
448
|
+
` projectPackageManager: ${UNKNOWN_STRING},`,
|
|
449
|
+
` projectRuntime: ${UNKNOWN_STRING},`,
|
|
450
450
|
" preferredLibraries: {",
|
|
451
|
-
` stateManagement: ${
|
|
452
|
-
` formManagement: ${
|
|
453
|
-
` styling: ${
|
|
454
|
-
` uiComponents: ${
|
|
455
|
-
` testing: ${
|
|
456
|
-
` authentication: ${
|
|
457
|
-
` databaseLibrary: ${
|
|
458
|
-
` databaseProvider: ${
|
|
459
|
-
` api: ${
|
|
460
|
-
` linting: ${
|
|
461
|
-
` formatting: ${
|
|
462
|
-
` payment: ${
|
|
463
|
-
` analytics: ${
|
|
464
|
-
` monitoring: ${
|
|
465
|
-
` logging: ${
|
|
466
|
-
` forms: ${
|
|
467
|
-
` notifications: ${
|
|
468
|
-
` search: ${
|
|
469
|
-
` uploads: ${
|
|
470
|
-
` validation: ${
|
|
471
|
-
` documentation: ${
|
|
472
|
-
` icons: ${
|
|
473
|
-
` mail: ${
|
|
474
|
-
` cache: ${
|
|
475
|
-
` storage: ${
|
|
476
|
-
` cdn: ${
|
|
477
|
-
` cms: ${
|
|
478
|
-
` i18n: ${
|
|
479
|
-
` seo: ${
|
|
480
|
-
` motion: ${
|
|
481
|
-
` charts: ${
|
|
482
|
-
` dates: ${
|
|
483
|
-
` markdown: ${
|
|
484
|
-
` security: ${
|
|
485
|
-
` routing: ${
|
|
451
|
+
` stateManagement: ${UNKNOWN_STRING},`,
|
|
452
|
+
` formManagement: ${UNKNOWN_STRING},`,
|
|
453
|
+
` styling: ${UNKNOWN_STRING},`,
|
|
454
|
+
` uiComponents: ${UNKNOWN_STRING},`,
|
|
455
|
+
` testing: ${UNKNOWN_STRING},`,
|
|
456
|
+
` authentication: ${UNKNOWN_STRING},`,
|
|
457
|
+
` databaseLibrary: ${UNKNOWN_STRING},`,
|
|
458
|
+
` databaseProvider: ${UNKNOWN_STRING},`,
|
|
459
|
+
` api: ${UNKNOWN_STRING},`,
|
|
460
|
+
` linting: ${UNKNOWN_STRING},`,
|
|
461
|
+
` formatting: ${UNKNOWN_STRING},`,
|
|
462
|
+
` payment: ${UNKNOWN_STRING},`,
|
|
463
|
+
` analytics: ${UNKNOWN_STRING},`,
|
|
464
|
+
` monitoring: ${UNKNOWN_STRING},`,
|
|
465
|
+
` logging: ${UNKNOWN_STRING},`,
|
|
466
|
+
` forms: ${UNKNOWN_STRING},`,
|
|
467
|
+
` notifications: ${UNKNOWN_STRING},`,
|
|
468
|
+
` search: ${UNKNOWN_STRING},`,
|
|
469
|
+
` uploads: ${UNKNOWN_STRING},`,
|
|
470
|
+
` validation: ${UNKNOWN_STRING},`,
|
|
471
|
+
` documentation: ${UNKNOWN_STRING},`,
|
|
472
|
+
` icons: ${UNKNOWN_STRING},`,
|
|
473
|
+
` mail: ${UNKNOWN_STRING},`,
|
|
474
|
+
` cache: ${UNKNOWN_STRING},`,
|
|
475
|
+
` storage: ${UNKNOWN_STRING},`,
|
|
476
|
+
` cdn: ${UNKNOWN_STRING},`,
|
|
477
|
+
` cms: ${UNKNOWN_STRING},`,
|
|
478
|
+
` i18n: ${UNKNOWN_STRING},`,
|
|
479
|
+
` seo: ${UNKNOWN_STRING},`,
|
|
480
|
+
` motion: ${UNKNOWN_STRING},`,
|
|
481
|
+
` charts: ${UNKNOWN_STRING},`,
|
|
482
|
+
` dates: ${UNKNOWN_STRING},`,
|
|
483
|
+
` markdown: ${UNKNOWN_STRING},`,
|
|
484
|
+
` security: ${UNKNOWN_STRING},`,
|
|
485
|
+
` routing: ${UNKNOWN_STRING},`,
|
|
486
486
|
" },",
|
|
487
487
|
" monorepo: {",
|
|
488
|
-
` type: ${
|
|
488
|
+
` type: ${UNKNOWN_STRING},`,
|
|
489
489
|
" packages: [],",
|
|
490
490
|
" sharedPackages: [],",
|
|
491
491
|
" },",
|
|
@@ -494,7 +494,7 @@ function generateConfig(isDev, pkgDescription, configKind = "ts") {
|
|
|
494
494
|
" features: {",
|
|
495
495
|
" i18n: false,",
|
|
496
496
|
" analytics: false,",
|
|
497
|
-
` themeMode: ${
|
|
497
|
+
` themeMode: ${UNKNOWN_STRING},`,
|
|
498
498
|
" authentication: false,",
|
|
499
499
|
" api: false,",
|
|
500
500
|
" database: false,",
|
|
@@ -509,17 +509,17 @@ function generateConfig(isDev, pkgDescription, configKind = "ts") {
|
|
|
509
509
|
" codeStyle: {",
|
|
510
510
|
" dontRemoveComments: false,",
|
|
511
511
|
" shouldAddComments: false,",
|
|
512
|
-
` typeOrInterface: ${
|
|
513
|
-
` importOrRequire: ${
|
|
514
|
-
` quoteMark: ${
|
|
512
|
+
` typeOrInterface: ${UNKNOWN_STRING},`,
|
|
513
|
+
` importOrRequire: ${UNKNOWN_STRING},`,
|
|
514
|
+
` quoteMark: ${UNKNOWN_STRING},`,
|
|
515
515
|
" semicolons: true,",
|
|
516
516
|
" lineWidth: 80,",
|
|
517
|
-
` indentStyle: ${
|
|
517
|
+
` indentStyle: ${UNKNOWN_STRING},`,
|
|
518
518
|
" indentSize: 2,",
|
|
519
|
-
` importSymbol: ${
|
|
520
|
-
` trailingComma: ${
|
|
519
|
+
` importSymbol: ${UNKNOWN_STRING},`,
|
|
520
|
+
` trailingComma: ${UNKNOWN_STRING},`,
|
|
521
521
|
" bracketSpacing: true,",
|
|
522
|
-
` arrowParens: ${
|
|
522
|
+
` arrowParens: ${UNKNOWN_STRING},`,
|
|
523
523
|
" tabWidth: 2,",
|
|
524
524
|
" jsToTs: false,",
|
|
525
525
|
" cjsToEsm: false,",
|
|
@@ -539,13 +539,13 @@ function generateConfig(isDev, pkgDescription, configKind = "ts") {
|
|
|
539
539
|
" customReposOnNewProject: false,",
|
|
540
540
|
" envComposerOpenBrowser: true,",
|
|
541
541
|
" skipPromptsUseAutoBehavior: false,",
|
|
542
|
-
` deployBehavior: ${
|
|
543
|
-
` depsBehavior: ${
|
|
544
|
-
` gitBehavior: ${
|
|
545
|
-
` i18nBehavior: ${
|
|
546
|
-
` scriptsBehavior: ${
|
|
547
|
-
` existingRepoBehavior: ${
|
|
548
|
-
` relinterConfirm: ${
|
|
542
|
+
` deployBehavior: ${UNKNOWN_STRING},`,
|
|
543
|
+
` depsBehavior: ${UNKNOWN_STRING},`,
|
|
544
|
+
` gitBehavior: ${UNKNOWN_STRING},`,
|
|
545
|
+
` i18nBehavior: ${UNKNOWN_STRING},`,
|
|
546
|
+
` scriptsBehavior: ${UNKNOWN_STRING},`,
|
|
547
|
+
` existingRepoBehavior: ${UNKNOWN_STRING},`,
|
|
548
|
+
` relinterConfirm: ${UNKNOWN_STRING},`,
|
|
549
549
|
"",
|
|
550
550
|
" // Bump configuration",
|
|
551
551
|
" bumpDisable: " + DEFAULT_CONFIG_DLER.bumpDisable + ",",
|
|
@@ -13,7 +13,7 @@ export interface ReliverseConfig {
|
|
|
13
13
|
version: string;
|
|
14
14
|
projectLicense: string;
|
|
15
15
|
// ==========================================================================
|
|
16
|
-
// Project configuration
|
|
16
|
+
// Project configuration
|
|
17
17
|
// ==========================================================================
|
|
18
18
|
projectState?: string;
|
|
19
19
|
projectRepository?: string;
|
package/bin/app/mrse/cmd.js
CHANGED
|
@@ -338,11 +338,6 @@ export const genCfg: GenCfg[] = [
|
|
|
338
338
|
}
|
|
339
339
|
const githubUsername = UNKNOWN_VALUE;
|
|
340
340
|
const skipInstallPrompt = !useJsonc && isDev;
|
|
341
|
-
let customTypeImportPath;
|
|
342
|
-
if (!useJsonc && isDev) {
|
|
343
|
-
customTypeImportPath = args.typesPath;
|
|
344
|
-
}
|
|
345
|
-
logVerbose("Using custom type import path:", customTypeImportPath);
|
|
346
341
|
await generateRseConfig({
|
|
347
342
|
projectName,
|
|
348
343
|
frontendUsername: UNKNOWN_VALUE,
|
|
@@ -354,7 +349,6 @@ export const genCfg: GenCfg[] = [
|
|
|
354
349
|
customOutputPath: mrseFolderPath,
|
|
355
350
|
customFilename: configFileName,
|
|
356
351
|
skipInstallPrompt,
|
|
357
|
-
...customTypeImportPath ? { customPathToTypes: customTypeImportPath } : {},
|
|
358
352
|
// Override project config fields
|
|
359
353
|
...projectConfig?.projectTemplate ? { projectTemplate: projectConfig.projectTemplate } : {},
|
|
360
354
|
overrides: {}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const DatabaseSchema: z.ZodEnum<{
|
|
3
3
|
none: "none";
|
|
4
|
-
mysql: "mysql";
|
|
5
4
|
sqlite: "sqlite";
|
|
6
|
-
mongodb: "mongodb";
|
|
7
5
|
postgres: "postgres";
|
|
6
|
+
mysql: "mysql";
|
|
7
|
+
mongodb: "mongodb";
|
|
8
8
|
}>;
|
|
9
9
|
export type Database = z.infer<typeof DatabaseSchema>;
|
|
10
10
|
export declare const ORMSchema: z.ZodEnum<{
|
|
11
11
|
none: "none";
|
|
12
12
|
drizzle: "drizzle";
|
|
13
|
-
mongoose: "mongoose";
|
|
14
13
|
prisma: "prisma";
|
|
14
|
+
mongoose: "mongoose";
|
|
15
15
|
}>;
|
|
16
16
|
export type ORM = z.infer<typeof ORMSchema>;
|
|
17
17
|
export declare const BackendSchema: z.ZodEnum<{
|
|
@@ -25,20 +25,20 @@ export declare const BackendSchema: z.ZodEnum<{
|
|
|
25
25
|
}>;
|
|
26
26
|
export type Backend = z.infer<typeof BackendSchema>;
|
|
27
27
|
export declare const RuntimeSchema: z.ZodEnum<{
|
|
28
|
-
bun: "bun";
|
|
29
|
-
node: "node";
|
|
30
28
|
none: "none";
|
|
29
|
+
node: "node";
|
|
30
|
+
bun: "bun";
|
|
31
31
|
workers: "workers";
|
|
32
32
|
}>;
|
|
33
33
|
export type Runtime = z.infer<typeof RuntimeSchema>;
|
|
34
34
|
export declare const FrontendSchema: z.ZodEnum<{
|
|
35
35
|
none: "none";
|
|
36
36
|
svelte: "svelte";
|
|
37
|
-
nuxt: "nuxt";
|
|
38
|
-
solid: "solid";
|
|
39
37
|
next: "next";
|
|
40
|
-
"tanstack-router": "tanstack-router";
|
|
41
38
|
"react-router": "react-router";
|
|
39
|
+
"tanstack-router": "tanstack-router";
|
|
40
|
+
nuxt: "nuxt";
|
|
41
|
+
solid: "solid";
|
|
42
42
|
"tanstack-start": "tanstack-start";
|
|
43
43
|
"native-nativewind": "native-nativewind";
|
|
44
44
|
"native-unistyles": "native-unistyles";
|
|
@@ -46,11 +46,11 @@ export declare const FrontendSchema: z.ZodEnum<{
|
|
|
46
46
|
export type Frontend = z.infer<typeof FrontendSchema>;
|
|
47
47
|
export declare const AddonsSchema: z.ZodEnum<{
|
|
48
48
|
none: "none";
|
|
49
|
-
tauri: "tauri";
|
|
50
49
|
biome: "biome";
|
|
51
50
|
turborepo: "turborepo";
|
|
52
|
-
pwa: "pwa";
|
|
53
51
|
starlight: "starlight";
|
|
52
|
+
tauri: "tauri";
|
|
53
|
+
pwa: "pwa";
|
|
54
54
|
husky: "husky";
|
|
55
55
|
}>;
|
|
56
56
|
export type Addons = z.infer<typeof AddonsSchema>;
|
|
@@ -61,15 +61,15 @@ export declare const ExamplesSchema: z.ZodEnum<{
|
|
|
61
61
|
}>;
|
|
62
62
|
export type Examples = z.infer<typeof ExamplesSchema>;
|
|
63
63
|
export declare const PackageManagerSchema: z.ZodEnum<{
|
|
64
|
-
bun: "bun";
|
|
65
64
|
npm: "npm";
|
|
66
65
|
pnpm: "pnpm";
|
|
66
|
+
bun: "bun";
|
|
67
67
|
}>;
|
|
68
68
|
export type PackageManager = z.infer<typeof PackageManagerSchema>;
|
|
69
69
|
export declare const DatabaseSetupSchema: z.ZodEnum<{
|
|
70
70
|
none: "none";
|
|
71
|
-
supabase: "supabase";
|
|
72
71
|
neon: "neon";
|
|
72
|
+
supabase: "supabase";
|
|
73
73
|
turso: "turso";
|
|
74
74
|
"prisma-postgres": "prisma-postgres";
|
|
75
75
|
"mongodb-atlas": "mongodb-atlas";
|
package/bin/dler.js
CHANGED
|
@@ -22,7 +22,7 @@ let isDev = process.env.DLER_DEV_MODE === "true";
|
|
|
22
22
|
const main = defineCommand({
|
|
23
23
|
meta: {
|
|
24
24
|
name: "dler",
|
|
25
|
-
version: "1.7.
|
|
25
|
+
version: "1.7.105",
|
|
26
26
|
description: `Displays dler's command menu.
|
|
27
27
|
To see ALL available commands and arguments, run: 'dler --help' (or 'dler <command> --help')
|
|
28
28
|
Available menu commands: ${MENU_CMDS.join(", ")}`
|