@reliverse/dler 1.7.32 → 1.7.34
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.
|
@@ -49,7 +49,7 @@ async function copyNonBuildFiles(srcDir, distDir, preExtensions, templatesDir) {
|
|
|
49
49
|
});
|
|
50
50
|
for (const file of files) {
|
|
51
51
|
const ext = path.extname(file).slice(1);
|
|
52
|
-
const isInTemplatesDir = file.
|
|
52
|
+
const isInTemplatesDir = file.includes(`/${templatesDir}/`);
|
|
53
53
|
if (isInTemplatesDir || !preExtensions.includes(ext)) {
|
|
54
54
|
const srcPath = path.join(srcDir, file);
|
|
55
55
|
let destPath = path.join(distDir, file);
|
|
@@ -152,11 +152,25 @@ export async function wrapper_CopyNonBuildFiles(config) {
|
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
if (config.libsActMode === "libs-only" || config.libsActMode === "main-and-libs") {
|
|
155
|
-
|
|
156
|
-
path.join(PROJECT_ROOT, config.libsDirSrc)
|
|
157
|
-
path.join(PROJECT_ROOT, config.libsDirDist)
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
155
|
+
for (const [libName, libConfig] of Object.entries(config.libsList)) {
|
|
156
|
+
const srcPath = path.join(PROJECT_ROOT, config.libsDirSrc, libConfig.libDirName);
|
|
157
|
+
const distPath = path.join(PROJECT_ROOT, config.libsDirDist, libName);
|
|
158
|
+
if (libConfig.libPubRegistry === "npm" || libConfig.libPubRegistry === "npm-jsr") {
|
|
159
|
+
await copyNonBuildFiles(
|
|
160
|
+
srcPath,
|
|
161
|
+
path.join(distPath, "npm"),
|
|
162
|
+
config.buildPreExtensions,
|
|
163
|
+
config.buildTemplatesDir
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
if (libConfig.libPubRegistry === "jsr" || libConfig.libPubRegistry === "npm-jsr") {
|
|
167
|
+
await copyNonBuildFiles(
|
|
168
|
+
srcPath,
|
|
169
|
+
path.join(distPath, "jsr"),
|
|
170
|
+
config.buildPreExtensions,
|
|
171
|
+
config.buildTemplatesDir
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
161
175
|
}
|
|
162
176
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { RseConfig } from "./rse-types";
|
|
2
2
|
export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
3
|
+
version?: string | undefined;
|
|
3
4
|
$schema?: "./schema.json" | "https://reliverse.org/schema.json" | undefined;
|
|
4
5
|
projectName?: string | undefined;
|
|
5
6
|
projectAuthor?: string | undefined;
|
|
6
7
|
projectDescription?: string | undefined;
|
|
7
|
-
version?: string | undefined;
|
|
8
8
|
projectLicense?: string | undefined;
|
|
9
9
|
projectRepository?: string | undefined;
|
|
10
10
|
projectDomain?: string | undefined;
|
|
11
11
|
projectGitService?: "none" | "github" | "gitlab" | "bitbucket" | undefined;
|
|
12
12
|
projectDeployService?: "none" | "vercel" | "netlify" | "railway" | "deno" | undefined;
|
|
13
|
-
projectPackageManager?: "
|
|
13
|
+
projectPackageManager?: "bun" | "npm" | "yarn" | "pnpm" | undefined;
|
|
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?: "rempts" | "npm-jsr" | "unknown" | "vscode" | "nextjs" | "vite" | "svelte" | "remix" | "astro" | "nuxt" | "solid" | "qwik" | "
|
|
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?: {
|
|
@@ -33,7 +33,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
33
33
|
themes?: string[] | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
preferredLibraries?: {
|
|
36
|
-
|
|
36
|
+
cdn?: "unknown" | "cloudflare" | undefined;
|
|
37
37
|
i18n?: "unknown" | "next-intl" | undefined;
|
|
38
38
|
analytics?: "unknown" | "vercel" | undefined;
|
|
39
39
|
authentication?: "unknown" | "better-auth" | "clerk" | "next-auth" | "supabase-auth" | "auth0" | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
41
41
|
testing?: "bun" | "unknown" | "vitest" | "jest" | "playwright" | "cypress" | undefined;
|
|
42
42
|
stateManagement?: "unknown" | "zustand" | "jotai" | "redux-toolkit" | undefined;
|
|
43
43
|
formManagement?: "unknown" | "react-hook-form" | "formik" | undefined;
|
|
44
|
-
styling?: "unknown" | "tailwind" | "styled-components" | "css-modules" |
|
|
44
|
+
styling?: "sass" | "unknown" | "tailwind" | "styled-components" | "css-modules" | undefined;
|
|
45
45
|
uiComponents?: "unknown" | "shadcn-ui" | "chakra-ui" | "material-ui" | undefined;
|
|
46
46
|
databaseLibrary?: "unknown" | "drizzle" | "prisma" | "supabase" | undefined;
|
|
47
47
|
databaseProvider?: "unknown" | "pg" | "mysql" | "sqlite" | "mongodb" | undefined;
|
|
@@ -52,6 +52,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
52
52
|
logging?: "unknown" | "axiom" | undefined;
|
|
53
53
|
forms?: "unknown" | "react-hook-form" | undefined;
|
|
54
54
|
notifications?: "unknown" | "sonner" | undefined;
|
|
55
|
+
search?: "unknown" | "algolia" | undefined;
|
|
55
56
|
uploads?: "unknown" | "uploadthing" | undefined;
|
|
56
57
|
validation?: "unknown" | "zod" | "typebox" | "valibot" | undefined;
|
|
57
58
|
documentation?: "unknown" | "starlight" | "nextra" | undefined;
|
|
@@ -59,7 +60,6 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
59
60
|
mail?: "unknown" | "resend" | undefined;
|
|
60
61
|
cache?: "unknown" | "redis" | undefined;
|
|
61
62
|
storage?: "unknown" | "cloudflare" | undefined;
|
|
62
|
-
cdn?: "unknown" | "cloudflare" | undefined;
|
|
63
63
|
cms?: "unknown" | "contentlayer" | undefined;
|
|
64
64
|
seo?: "unknown" | "next-seo" | undefined;
|
|
65
65
|
motion?: "unknown" | "framer" | 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?: "mixed" | "import" | "require" | undefined;
|
|
87
87
|
cjsToEsm?: boolean | undefined;
|
|
88
88
|
modernize?: {
|
|
89
89
|
replaceFs?: boolean | 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?: "bun" | "node" | "deno" | undefined;
|
|
117
117
|
skipPromptsUseAutoBehavior?: boolean | undefined;
|
|
118
118
|
deployBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|
|
119
119
|
depsBehavior?: "prompt" | "autoYes" | "autoNo" | undefined;
|