@reliverse/dler 1.7.17 → 1.7.19
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { RseConfig } from "./rse/rse-impl/rse-types";
|
|
1
2
|
import type { DlerConfig } from "./types";
|
|
2
3
|
/**
|
|
3
4
|
* Default configuration for the build and publish logic.
|
|
@@ -66,4 +67,127 @@ export declare const defineConfigDler: (userConfig?: Partial<DlerConfig>) => {
|
|
|
66
67
|
}>;
|
|
67
68
|
};
|
|
68
69
|
};
|
|
69
|
-
export
|
|
70
|
+
export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
71
|
+
version?: string | undefined;
|
|
72
|
+
$schema?: "./schema.json" | "https://reliverse.org/schema.json" | undefined;
|
|
73
|
+
projectName?: string | undefined;
|
|
74
|
+
projectAuthor?: string | undefined;
|
|
75
|
+
projectDescription?: string | undefined;
|
|
76
|
+
projectLicense?: string | undefined;
|
|
77
|
+
projectRepository?: string | undefined;
|
|
78
|
+
projectDomain?: string | undefined;
|
|
79
|
+
projectGitService?: "none" | "github" | "gitlab" | "bitbucket" | undefined;
|
|
80
|
+
projectDeployService?: "none" | "vercel" | "netlify" | "railway" | "deno" | undefined;
|
|
81
|
+
projectPackageManager?: "npm" | "bun" | "pnpm" | "yarn" | undefined;
|
|
82
|
+
projectState?: "created" | "creating" | undefined;
|
|
83
|
+
projectCategory?: "browser" | "cli" | "unknown" | "website" | "vscode" | "library" | "mobile" | undefined;
|
|
84
|
+
projectSubcategory?: "unknown" | "e-commerce" | "tool" | undefined;
|
|
85
|
+
projectFramework?: "rempts" | "npm-jsr" | "vue" | "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
|
+
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
|
+
projectTemplateDate?: string | undefined;
|
|
88
|
+
features?: {
|
|
89
|
+
i18n?: boolean | undefined;
|
|
90
|
+
analytics?: boolean | undefined;
|
|
91
|
+
themeMode?: "light" | "dark" | "dark-light" | undefined;
|
|
92
|
+
authentication?: boolean | undefined;
|
|
93
|
+
api?: boolean | undefined;
|
|
94
|
+
database?: boolean | undefined;
|
|
95
|
+
testing?: boolean | undefined;
|
|
96
|
+
docker?: boolean | undefined;
|
|
97
|
+
ci?: boolean | undefined;
|
|
98
|
+
commands?: string[] | undefined;
|
|
99
|
+
webview?: string[] | undefined;
|
|
100
|
+
language?: string[] | undefined;
|
|
101
|
+
themes?: string[] | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
preferredLibraries?: {
|
|
104
|
+
i18n?: "unknown" | "next-intl" | undefined;
|
|
105
|
+
analytics?: "unknown" | "vercel" | undefined;
|
|
106
|
+
authentication?: "unknown" | "better-auth" | "clerk" | "next-auth" | "supabase-auth" | "auth0" | undefined;
|
|
107
|
+
api?: "unknown" | "hono" | "trpc" | "graphql" | "rest" | undefined;
|
|
108
|
+
testing?: "bun" | "unknown" | "vitest" | "jest" | "playwright" | "cypress" | undefined;
|
|
109
|
+
stateManagement?: "unknown" | "zustand" | "jotai" | "redux-toolkit" | undefined;
|
|
110
|
+
formManagement?: "unknown" | "react-hook-form" | "formik" | undefined;
|
|
111
|
+
styling?: "sass" | "unknown" | "tailwind" | "styled-components" | "css-modules" | undefined;
|
|
112
|
+
uiComponents?: "unknown" | "shadcn-ui" | "chakra-ui" | "material-ui" | undefined;
|
|
113
|
+
databaseLibrary?: "unknown" | "drizzle" | "prisma" | "supabase" | undefined;
|
|
114
|
+
databaseProvider?: "unknown" | "pg" | "mysql" | "sqlite" | "mongodb" | undefined;
|
|
115
|
+
linting?: "eslint" | "unknown" | undefined;
|
|
116
|
+
formatting?: "biome" | "unknown" | undefined;
|
|
117
|
+
payment?: "unknown" | "stripe" | undefined;
|
|
118
|
+
monitoring?: "unknown" | "sentry" | undefined;
|
|
119
|
+
logging?: "unknown" | "axiom" | undefined;
|
|
120
|
+
forms?: "unknown" | "react-hook-form" | undefined;
|
|
121
|
+
notifications?: "unknown" | "sonner" | undefined;
|
|
122
|
+
search?: "unknown" | "algolia" | undefined;
|
|
123
|
+
uploads?: "unknown" | "uploadthing" | undefined;
|
|
124
|
+
validation?: "unknown" | "zod" | "typebox" | "valibot" | undefined;
|
|
125
|
+
documentation?: "unknown" | "starlight" | "nextra" | undefined;
|
|
126
|
+
icons?: "unknown" | "lucide" | undefined;
|
|
127
|
+
mail?: "unknown" | "resend" | undefined;
|
|
128
|
+
cache?: "unknown" | "redis" | undefined;
|
|
129
|
+
storage?: "unknown" | "cloudflare" | undefined;
|
|
130
|
+
cdn?: "unknown" | "cloudflare" | undefined;
|
|
131
|
+
cms?: "unknown" | "contentlayer" | undefined;
|
|
132
|
+
seo?: "unknown" | "next-seo" | undefined;
|
|
133
|
+
motion?: "unknown" | "framer" | undefined;
|
|
134
|
+
charts?: "unknown" | "recharts" | undefined;
|
|
135
|
+
dates?: "unknown" | "dayjs" | undefined;
|
|
136
|
+
markdown?: "unknown" | "mdx" | undefined;
|
|
137
|
+
security?: "unknown" | "auth" | undefined;
|
|
138
|
+
routing?: "unknown" | "next" | "react-router" | "tanstack-router" | undefined;
|
|
139
|
+
} | undefined;
|
|
140
|
+
codeStyle?: {
|
|
141
|
+
lineWidth?: number | undefined;
|
|
142
|
+
indentSize?: number | undefined;
|
|
143
|
+
indentStyle?: "space" | "tab" | undefined;
|
|
144
|
+
quoteMark?: "single" | "double" | undefined;
|
|
145
|
+
semicolons?: boolean | undefined;
|
|
146
|
+
trailingComma?: "none" | "all" | "es5" | undefined;
|
|
147
|
+
bracketSpacing?: boolean | undefined;
|
|
148
|
+
arrowParens?: "always" | "avoid" | undefined;
|
|
149
|
+
tabWidth?: number | undefined;
|
|
150
|
+
jsToTs?: boolean | undefined;
|
|
151
|
+
dontRemoveComments?: boolean | undefined;
|
|
152
|
+
shouldAddComments?: boolean | undefined;
|
|
153
|
+
typeOrInterface?: "type" | "interface" | "mixed" | undefined;
|
|
154
|
+
importOrRequire?: "mixed" | "import" | "require" | undefined;
|
|
155
|
+
cjsToEsm?: boolean | undefined;
|
|
156
|
+
modernize?: {
|
|
157
|
+
replaceFs?: boolean | undefined;
|
|
158
|
+
replacePath?: boolean | undefined;
|
|
159
|
+
replaceHttp?: boolean | undefined;
|
|
160
|
+
replaceProcess?: boolean | undefined;
|
|
161
|
+
replaceConsole?: boolean | undefined;
|
|
162
|
+
replaceEvents?: boolean | undefined;
|
|
163
|
+
} | undefined;
|
|
164
|
+
importSymbol?: string | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
monorepo?: {
|
|
167
|
+
type?: "none" | "bun" | "turborepo" | "nx" | "pnpm" | undefined;
|
|
168
|
+
packages?: string[] | undefined;
|
|
169
|
+
sharedPackages?: string[] | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
ignoreDependencies?: string[] | undefined;
|
|
172
|
+
customRules?: {
|
|
173
|
+
[x: string]: unknown;
|
|
174
|
+
} | undefined;
|
|
175
|
+
multipleRepoCloneMode?: boolean | undefined;
|
|
176
|
+
customUserFocusedRepos?: string[] | undefined;
|
|
177
|
+
customDevsFocusedRepos?: string[] | undefined;
|
|
178
|
+
hideRepoSuggestions?: boolean | undefined;
|
|
179
|
+
customReposOnNewProject?: boolean | undefined;
|
|
180
|
+
envComposerOpenBrowser?: boolean | undefined;
|
|
181
|
+
repoBranch?: string | undefined;
|
|
182
|
+
repoPrivacy?: "unknown" | "public" | "private" | undefined;
|
|
183
|
+
projectArchitecture?: "unknown" | "fullstack" | "separated" | undefined;
|
|
184
|
+
projectRuntime?: "node" | "bun" | "deno" | undefined;
|
|
185
|
+
skipPromptsUseAutoBehavior?: boolean | undefined;
|
|
186
|
+
deployBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
187
|
+
depsBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
188
|
+
gitBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
189
|
+
i18nBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
190
|
+
scriptsBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
191
|
+
existingRepoBehavior?: "prompt" | "autoYes" | "autoNo" | "autoYesSkipCommit" | undefined;
|
|
192
|
+
relinterConfirm?: "autoYes" | "promptOnce" | "promptEachFile" | undefined;
|
|
193
|
+
};
|
package/bin/libs/cfg/cfg-mod.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DEFAULT_CONFIG_RSE } from "./rse/rse-impl/rse-default.js";
|
|
1
2
|
export const DEFAULT_CONFIG_DLER = {
|
|
2
3
|
bumpDisable: false,
|
|
3
4
|
bumpFilter: ["package.json", ".config/rse.ts"],
|
|
@@ -58,4 +59,6 @@ export const DEFAULT_CONFIG_DLER = {
|
|
|
58
59
|
export const defineConfigDler = (userConfig = {}) => {
|
|
59
60
|
return { ...DEFAULT_CONFIG_DLER, ...userConfig };
|
|
60
61
|
};
|
|
61
|
-
export
|
|
62
|
+
export const defineConfigRse = (userConfig = {}) => {
|
|
63
|
+
return { ...DEFAULT_CONFIG_RSE, ...userConfig };
|
|
64
|
+
};
|
|
@@ -10,11 +10,11 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
10
10
|
projectDomain?: string | undefined;
|
|
11
11
|
projectGitService?: "none" | "github" | "gitlab" | "bitbucket" | undefined;
|
|
12
12
|
projectDeployService?: "none" | "vercel" | "netlify" | "railway" | "deno" | undefined;
|
|
13
|
-
projectPackageManager?: "
|
|
14
|
-
projectState?: "
|
|
15
|
-
projectCategory?: "
|
|
13
|
+
projectPackageManager?: "npm" | "bun" | "pnpm" | "yarn" | undefined;
|
|
14
|
+
projectState?: "created" | "creating" | undefined;
|
|
15
|
+
projectCategory?: "browser" | "cli" | "unknown" | "website" | "vscode" | "library" | "mobile" | undefined;
|
|
16
16
|
projectSubcategory?: "unknown" | "e-commerce" | "tool" | undefined;
|
|
17
|
-
projectFramework?: "
|
|
17
|
+
projectFramework?: "rempts" | "npm-jsr" | "vue" | "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?: {
|
|
@@ -37,15 +37,15 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
37
37
|
analytics?: "unknown" | "vercel" | undefined;
|
|
38
38
|
authentication?: "unknown" | "better-auth" | "clerk" | "next-auth" | "supabase-auth" | "auth0" | undefined;
|
|
39
39
|
api?: "unknown" | "hono" | "trpc" | "graphql" | "rest" | undefined;
|
|
40
|
-
testing?: "
|
|
40
|
+
testing?: "bun" | "unknown" | "vitest" | "jest" | "playwright" | "cypress" | undefined;
|
|
41
41
|
stateManagement?: "unknown" | "zustand" | "jotai" | "redux-toolkit" | undefined;
|
|
42
42
|
formManagement?: "unknown" | "react-hook-form" | "formik" | undefined;
|
|
43
|
-
styling?: "unknown" | "tailwind" | "styled-components" | "css-modules" |
|
|
43
|
+
styling?: "sass" | "unknown" | "tailwind" | "styled-components" | "css-modules" | undefined;
|
|
44
44
|
uiComponents?: "unknown" | "shadcn-ui" | "chakra-ui" | "material-ui" | undefined;
|
|
45
45
|
databaseLibrary?: "unknown" | "drizzle" | "prisma" | "supabase" | undefined;
|
|
46
46
|
databaseProvider?: "unknown" | "pg" | "mysql" | "sqlite" | "mongodb" | undefined;
|
|
47
|
-
linting?: "
|
|
48
|
-
formatting?: "
|
|
47
|
+
linting?: "eslint" | "unknown" | undefined;
|
|
48
|
+
formatting?: "biome" | "unknown" | undefined;
|
|
49
49
|
payment?: "unknown" | "stripe" | undefined;
|
|
50
50
|
monitoring?: "unknown" | "sentry" | undefined;
|
|
51
51
|
logging?: "unknown" | "axiom" | 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?: "none" | "
|
|
78
|
+
trailingComma?: "none" | "all" | "es5" | undefined;
|
|
79
79
|
bracketSpacing?: boolean | undefined;
|
|
80
80
|
arrowParens?: "always" | "avoid" | undefined;
|
|
81
81
|
tabWidth?: number | 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?: "none" | "
|
|
99
|
+
type?: "none" | "bun" | "turborepo" | "nx" | "pnpm" | undefined;
|
|
100
100
|
packages?: string[] | undefined;
|
|
101
101
|
sharedPackages?: string[] | undefined;
|
|
102
102
|
} | undefined;
|
|
@@ -113,7 +113,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
113
113
|
repoBranch?: string | undefined;
|
|
114
114
|
repoPrivacy?: "unknown" | "public" | "private" | undefined;
|
|
115
115
|
projectArchitecture?: "unknown" | "fullstack" | "separated" | undefined;
|
|
116
|
-
projectRuntime?: "
|
|
116
|
+
projectRuntime?: "node" | "bun" | "deno" | undefined;
|
|
117
117
|
skipPromptsUseAutoBehavior?: boolean | undefined;
|
|
118
118
|
deployBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
119
119
|
depsBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
package/package.json
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"magic-string": "^0.30.17",
|
|
32
32
|
"mlly": "^1.7.4",
|
|
33
33
|
"nypm": "^0.6.0",
|
|
34
|
+
"ora": "^8.2.0",
|
|
34
35
|
"p-all": "^5.0.0",
|
|
35
36
|
"p-map": "^7.0.3",
|
|
36
37
|
"pkg-types": "^2.1.0",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"license": "MIT",
|
|
52
53
|
"name": "@reliverse/dler",
|
|
53
54
|
"type": "module",
|
|
54
|
-
"version": "1.7.
|
|
55
|
+
"version": "1.7.19",
|
|
55
56
|
"keywords": [
|
|
56
57
|
"reliverse",
|
|
57
58
|
"cli",
|