@reliverse/dler 1.7.19 → 1.7.21
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/libs/cfg/cfg-mod.d.ts +12 -10
- package/bin/libs/cfg/cfg-mod.js +2 -0
- package/bin/libs/cfg/rse/rse-impl/rse-consts.d.ts +0 -1
- package/bin/libs/cfg/rse/rse-impl/rse-consts.js +0 -1
- package/bin/libs/cfg/rse/rse-impl/rse-define.d.ts +10 -10
- package/bin/libs/cfg/rse/rse-impl/rse-schema.js +2 -8
- package/bin/libs/sdk/sdk-impl/config/info.js +1 -1
- package/package.json +2 -2
|
@@ -82,7 +82,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
82
82
|
projectState?: "created" | "creating" | undefined;
|
|
83
83
|
projectCategory?: "browser" | "cli" | "unknown" | "website" | "vscode" | "library" | "mobile" | undefined;
|
|
84
84
|
projectSubcategory?: "unknown" | "e-commerce" | "tool" | undefined;
|
|
85
|
-
projectFramework?: "
|
|
85
|
+
projectFramework?: "vue" | "npm-jsr" | "rempts" | "unknown" | "vscode" | "nextjs" | "vite" | "svelte" | "remix" | "astro" | "nuxt" | "solid" | "qwik" | "wxt" | "lynx" | "react-native" | "expo" | "capacitor" | "ionic" | "electron" | "tauri" | "neutralino" | "citty" | "commander" | "cac" | "meow" | "yargs" | "webextension" | "browser-extension" | undefined;
|
|
86
86
|
projectTemplate?: "unknown" | "blefnk/relivator-nextjs-template" | "blefnk/relivator-docker-template" | "blefnk/next-react-ts-src-minimal" | "blefnk/all-in-one-nextjs-template" | "blefnk/create-t3-app" | "blefnk/create-next-app" | "blefnk/astro-starlight-template" | "blefnk/versator-nextjs-template" | "blefnk/relivator-lynxjs-template" | "blefnk/relivator-react-native-template" | "reliverse/template-browser-extension" | "microsoft/vscode-extension-samples" | "microsoft/vscode-extension-template" | "rsetarter-template" | "blefnk/deno-cli-tutorial" | undefined;
|
|
87
87
|
projectTemplateDate?: string | undefined;
|
|
88
88
|
features?: {
|
|
@@ -101,6 +101,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
101
101
|
themes?: string[] | undefined;
|
|
102
102
|
} | undefined;
|
|
103
103
|
preferredLibraries?: {
|
|
104
|
+
search?: "unknown" | "algolia" | undefined;
|
|
104
105
|
i18n?: "unknown" | "next-intl" | undefined;
|
|
105
106
|
analytics?: "unknown" | "vercel" | undefined;
|
|
106
107
|
authentication?: "unknown" | "better-auth" | "clerk" | "next-auth" | "supabase-auth" | "auth0" | undefined;
|
|
@@ -111,15 +112,14 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
111
112
|
styling?: "sass" | "unknown" | "tailwind" | "styled-components" | "css-modules" | undefined;
|
|
112
113
|
uiComponents?: "unknown" | "shadcn-ui" | "chakra-ui" | "material-ui" | undefined;
|
|
113
114
|
databaseLibrary?: "unknown" | "drizzle" | "prisma" | "supabase" | undefined;
|
|
114
|
-
databaseProvider?: "unknown" | "
|
|
115
|
-
linting?: "
|
|
116
|
-
formatting?: "
|
|
115
|
+
databaseProvider?: "unknown" | "sqlite" | "pg" | "mysql" | "mongodb" | undefined;
|
|
116
|
+
linting?: "unknown" | "eslint" | undefined;
|
|
117
|
+
formatting?: "unknown" | "biome" | undefined;
|
|
117
118
|
payment?: "unknown" | "stripe" | undefined;
|
|
118
119
|
monitoring?: "unknown" | "sentry" | undefined;
|
|
119
120
|
logging?: "unknown" | "axiom" | undefined;
|
|
120
121
|
forms?: "unknown" | "react-hook-form" | undefined;
|
|
121
122
|
notifications?: "unknown" | "sonner" | undefined;
|
|
122
|
-
search?: "unknown" | "algolia" | undefined;
|
|
123
123
|
uploads?: "unknown" | "uploadthing" | undefined;
|
|
124
124
|
validation?: "unknown" | "zod" | "typebox" | "valibot" | undefined;
|
|
125
125
|
documentation?: "unknown" | "starlight" | "nextra" | undefined;
|
|
@@ -143,7 +143,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
143
143
|
indentStyle?: "space" | "tab" | undefined;
|
|
144
144
|
quoteMark?: "single" | "double" | undefined;
|
|
145
145
|
semicolons?: boolean | undefined;
|
|
146
|
-
trailingComma?: "
|
|
146
|
+
trailingComma?: "all" | "none" | "es5" | undefined;
|
|
147
147
|
bracketSpacing?: boolean | undefined;
|
|
148
148
|
arrowParens?: "always" | "avoid" | undefined;
|
|
149
149
|
tabWidth?: number | undefined;
|
|
@@ -151,7 +151,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
151
151
|
dontRemoveComments?: boolean | undefined;
|
|
152
152
|
shouldAddComments?: boolean | undefined;
|
|
153
153
|
typeOrInterface?: "type" | "interface" | "mixed" | undefined;
|
|
154
|
-
importOrRequire?: "
|
|
154
|
+
importOrRequire?: "import" | "require" | "mixed" | undefined;
|
|
155
155
|
cjsToEsm?: boolean | undefined;
|
|
156
156
|
modernize?: {
|
|
157
157
|
replaceFs?: boolean | undefined;
|
|
@@ -164,7 +164,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
164
164
|
importSymbol?: string | undefined;
|
|
165
165
|
} | undefined;
|
|
166
166
|
monorepo?: {
|
|
167
|
-
type?: "
|
|
167
|
+
type?: "bun" | "none" | "turborepo" | "nx" | "pnpm" | undefined;
|
|
168
168
|
packages?: string[] | undefined;
|
|
169
169
|
sharedPackages?: string[] | undefined;
|
|
170
170
|
} | undefined;
|
|
@@ -179,9 +179,9 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
179
179
|
customReposOnNewProject?: boolean | undefined;
|
|
180
180
|
envComposerOpenBrowser?: boolean | undefined;
|
|
181
181
|
repoBranch?: string | undefined;
|
|
182
|
-
repoPrivacy?: "
|
|
182
|
+
repoPrivacy?: "private" | "public" | "unknown" | undefined;
|
|
183
183
|
projectArchitecture?: "unknown" | "fullstack" | "separated" | undefined;
|
|
184
|
-
projectRuntime?: "
|
|
184
|
+
projectRuntime?: "bun" | "node" | "deno" | undefined;
|
|
185
185
|
skipPromptsUseAutoBehavior?: boolean | undefined;
|
|
186
186
|
deployBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
187
187
|
depsBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
@@ -191,3 +191,5 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
191
191
|
existingRepoBehavior?: "prompt" | "autoYes" | "autoNo" | "autoYesSkipCommit" | undefined;
|
|
192
192
|
relinterConfirm?: "autoYes" | "promptOnce" | "promptEachFile" | undefined;
|
|
193
193
|
};
|
|
194
|
+
import * as rseCfg from "./rse/rse-mod";
|
|
195
|
+
export { rseCfg };
|
package/bin/libs/cfg/cfg-mod.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import path from "@reliverse/pathkit";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
export const PROJECT_ROOT = path.resolve(process.cwd());
|
|
4
|
-
export const rseVersion = "1.7.4";
|
|
5
4
|
export const rseName = "@reliverse/rse";
|
|
6
5
|
export const tsconfigJson = "tsconfig.json";
|
|
7
6
|
export const cliConfigJsonc = ".config/rse.jsonc";
|
|
@@ -14,7 +14,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
14
14
|
projectState?: "created" | "creating" | undefined;
|
|
15
15
|
projectCategory?: "browser" | "cli" | "unknown" | "website" | "vscode" | "library" | "mobile" | undefined;
|
|
16
16
|
projectSubcategory?: "unknown" | "e-commerce" | "tool" | undefined;
|
|
17
|
-
projectFramework?: "
|
|
17
|
+
projectFramework?: "vue" | "npm-jsr" | "rempts" | "unknown" | "vscode" | "nextjs" | "vite" | "svelte" | "remix" | "astro" | "nuxt" | "solid" | "qwik" | "wxt" | "lynx" | "react-native" | "expo" | "capacitor" | "ionic" | "electron" | "tauri" | "neutralino" | "citty" | "commander" | "cac" | "meow" | "yargs" | "webextension" | "browser-extension" | undefined;
|
|
18
18
|
projectTemplate?: "unknown" | "blefnk/relivator-nextjs-template" | "blefnk/relivator-docker-template" | "blefnk/next-react-ts-src-minimal" | "blefnk/all-in-one-nextjs-template" | "blefnk/create-t3-app" | "blefnk/create-next-app" | "blefnk/astro-starlight-template" | "blefnk/versator-nextjs-template" | "blefnk/relivator-lynxjs-template" | "blefnk/relivator-react-native-template" | "reliverse/template-browser-extension" | "microsoft/vscode-extension-samples" | "microsoft/vscode-extension-template" | "rsetarter-template" | "blefnk/deno-cli-tutorial" | undefined;
|
|
19
19
|
projectTemplateDate?: string | undefined;
|
|
20
20
|
features?: {
|
|
@@ -33,6 +33,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
33
33
|
themes?: string[] | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
preferredLibraries?: {
|
|
36
|
+
search?: "unknown" | "algolia" | undefined;
|
|
36
37
|
i18n?: "unknown" | "next-intl" | undefined;
|
|
37
38
|
analytics?: "unknown" | "vercel" | undefined;
|
|
38
39
|
authentication?: "unknown" | "better-auth" | "clerk" | "next-auth" | "supabase-auth" | "auth0" | undefined;
|
|
@@ -43,15 +44,14 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
43
44
|
styling?: "sass" | "unknown" | "tailwind" | "styled-components" | "css-modules" | undefined;
|
|
44
45
|
uiComponents?: "unknown" | "shadcn-ui" | "chakra-ui" | "material-ui" | undefined;
|
|
45
46
|
databaseLibrary?: "unknown" | "drizzle" | "prisma" | "supabase" | undefined;
|
|
46
|
-
databaseProvider?: "unknown" | "
|
|
47
|
-
linting?: "
|
|
48
|
-
formatting?: "
|
|
47
|
+
databaseProvider?: "unknown" | "sqlite" | "pg" | "mysql" | "mongodb" | undefined;
|
|
48
|
+
linting?: "unknown" | "eslint" | undefined;
|
|
49
|
+
formatting?: "unknown" | "biome" | undefined;
|
|
49
50
|
payment?: "unknown" | "stripe" | undefined;
|
|
50
51
|
monitoring?: "unknown" | "sentry" | undefined;
|
|
51
52
|
logging?: "unknown" | "axiom" | undefined;
|
|
52
53
|
forms?: "unknown" | "react-hook-form" | undefined;
|
|
53
54
|
notifications?: "unknown" | "sonner" | undefined;
|
|
54
|
-
search?: "unknown" | "algolia" | undefined;
|
|
55
55
|
uploads?: "unknown" | "uploadthing" | undefined;
|
|
56
56
|
validation?: "unknown" | "zod" | "typebox" | "valibot" | undefined;
|
|
57
57
|
documentation?: "unknown" | "starlight" | "nextra" | undefined;
|
|
@@ -75,7 +75,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
75
75
|
indentStyle?: "space" | "tab" | undefined;
|
|
76
76
|
quoteMark?: "single" | "double" | undefined;
|
|
77
77
|
semicolons?: boolean | undefined;
|
|
78
|
-
trailingComma?: "
|
|
78
|
+
trailingComma?: "all" | "none" | "es5" | undefined;
|
|
79
79
|
bracketSpacing?: boolean | undefined;
|
|
80
80
|
arrowParens?: "always" | "avoid" | undefined;
|
|
81
81
|
tabWidth?: number | undefined;
|
|
@@ -83,7 +83,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
83
83
|
dontRemoveComments?: boolean | undefined;
|
|
84
84
|
shouldAddComments?: boolean | undefined;
|
|
85
85
|
typeOrInterface?: "type" | "interface" | "mixed" | undefined;
|
|
86
|
-
importOrRequire?: "
|
|
86
|
+
importOrRequire?: "import" | "require" | "mixed" | undefined;
|
|
87
87
|
cjsToEsm?: boolean | undefined;
|
|
88
88
|
modernize?: {
|
|
89
89
|
replaceFs?: boolean | undefined;
|
|
@@ -96,7 +96,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
96
96
|
importSymbol?: string | undefined;
|
|
97
97
|
} | undefined;
|
|
98
98
|
monorepo?: {
|
|
99
|
-
type?: "
|
|
99
|
+
type?: "bun" | "none" | "turborepo" | "nx" | "pnpm" | undefined;
|
|
100
100
|
packages?: string[] | undefined;
|
|
101
101
|
sharedPackages?: string[] | undefined;
|
|
102
102
|
} | undefined;
|
|
@@ -111,9 +111,9 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
111
111
|
customReposOnNewProject?: boolean | undefined;
|
|
112
112
|
envComposerOpenBrowser?: boolean | undefined;
|
|
113
113
|
repoBranch?: string | undefined;
|
|
114
|
-
repoPrivacy?: "
|
|
114
|
+
repoPrivacy?: "private" | "public" | "unknown" | undefined;
|
|
115
115
|
projectArchitecture?: "unknown" | "fullstack" | "separated" | undefined;
|
|
116
|
-
projectRuntime?: "
|
|
116
|
+
projectRuntime?: "bun" | "node" | "deno" | undefined;
|
|
117
117
|
skipPromptsUseAutoBehavior?: boolean | undefined;
|
|
118
118
|
deployBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
119
119
|
depsBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import path from "@reliverse/pathkit";
|
|
2
2
|
import fs from "@reliverse/relifso";
|
|
3
3
|
import { Type } from "@sinclair/typebox";
|
|
4
|
-
import {
|
|
5
|
-
cliDomainDocs,
|
|
6
|
-
rseVersion,
|
|
7
|
-
RSE_SCHEMA_DEV,
|
|
8
|
-
RSE_SCHEMA_URL,
|
|
9
|
-
UNKNOWN_VALUE
|
|
10
|
-
} from "./rse-consts.js";
|
|
4
|
+
import { cliDomainDocs, RSE_SCHEMA_DEV, RSE_SCHEMA_URL, UNKNOWN_VALUE } from "./rse-consts.js";
|
|
11
5
|
const unknownLiteral = Type.Literal("unknown");
|
|
12
6
|
const featuresSchema = Type.Object({
|
|
13
7
|
i18n: Type.Optional(Type.Boolean()),
|
|
@@ -427,7 +421,7 @@ export async function generateJsonSchema(outputPath) {
|
|
|
427
421
|
const converted = convertTypeBoxToJsonSchema(rseSchema);
|
|
428
422
|
const schema = {
|
|
429
423
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
430
|
-
title:
|
|
424
|
+
title: "rse configuration schema",
|
|
431
425
|
description: cliDomainDocs,
|
|
432
426
|
type: "object",
|
|
433
427
|
properties: converted.properties,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@reliverse/bleump": "^1.1.4",
|
|
4
|
-
"@reliverse/pathkit": "^1.3.
|
|
4
|
+
"@reliverse/pathkit": "^1.3.3",
|
|
5
5
|
"@reliverse/reglob": "^1.0.0",
|
|
6
6
|
"@reliverse/relico": "^1.1.2",
|
|
7
7
|
"@reliverse/relifso": "^1.4.5",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"license": "MIT",
|
|
53
53
|
"name": "@reliverse/dler",
|
|
54
54
|
"type": "module",
|
|
55
|
-
"version": "1.7.
|
|
55
|
+
"version": "1.7.21",
|
|
56
56
|
"keywords": [
|
|
57
57
|
"reliverse",
|
|
58
58
|
"cli",
|