@reliverse/dler 1.7.36 → 1.7.37
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.
|
@@ -43,20 +43,22 @@ async function processDistDirectories() {
|
|
|
43
43
|
}
|
|
44
44
|
async function copyNonBuildFiles(srcDir, distDir, preExtensions, templatesDir) {
|
|
45
45
|
try {
|
|
46
|
+
const templatesSrcPath = path.join(srcDir, templatesDir);
|
|
47
|
+
if (await directoryExists(templatesSrcPath)) {
|
|
48
|
+
const templatesDestPath = path.join(distDir, "bin", templatesDir);
|
|
49
|
+
await fs.ensureDir(path.dirname(templatesDestPath));
|
|
50
|
+
await fs.copy(templatesSrcPath, templatesDestPath);
|
|
51
|
+
}
|
|
46
52
|
const files = await glob("**/*", {
|
|
47
53
|
cwd: srcDir,
|
|
48
|
-
|
|
54
|
+
ignore: [`${templatesDir}/**`]
|
|
49
55
|
});
|
|
50
56
|
for (const file of files) {
|
|
51
57
|
const ext = path.extname(file).slice(1);
|
|
52
|
-
|
|
53
|
-
if (isInTemplatesDir || !preExtensions.includes(ext)) {
|
|
58
|
+
if (!preExtensions.includes(ext)) {
|
|
54
59
|
const srcPath = path.join(srcDir, file);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
const binDir = path.join(distDir, "bin");
|
|
58
|
-
destPath = path.join(binDir, file);
|
|
59
|
-
}
|
|
60
|
+
const binDir = path.join(distDir, "bin");
|
|
61
|
+
const destPath = path.join(binDir, file);
|
|
60
62
|
await fs.ensureDir(path.dirname(destPath));
|
|
61
63
|
await fs.copy(srcPath, destPath);
|
|
62
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?: "
|
|
13
|
+
projectPackageManager?: "bun" | "npm" | "yarn" | "pnpm" | undefined;
|
|
14
14
|
projectState?: "creating" | "created" | undefined;
|
|
15
15
|
projectCategory?: "browser" | "cli" | "unknown" | "website" | "vscode" | "library" | "mobile" | undefined;
|
|
16
16
|
projectSubcategory?: "unknown" | "e-commerce" | "tool" | undefined;
|
|
17
|
-
projectFramework?: "npm-jsr" | "unknown" | "vscode" | "nextjs" | "vite" | "svelte" | "remix" | "astro" | "nuxt" | "solid" | "qwik" | "vue" | "wxt" | "lynx" | "react-native" | "expo" | "capacitor" | "ionic" | "electron" | "tauri" | "neutralino" | "
|
|
17
|
+
projectFramework?: "npm-jsr" | "rempts" | "unknown" | "vscode" | "nextjs" | "vite" | "svelte" | "remix" | "astro" | "nuxt" | "solid" | "qwik" | "vue" | "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?: {
|
|
@@ -36,7 +36,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
|
|
|
36
36
|
i18n?: "unknown" | "next-intl" | undefined;
|
|
37
37
|
analytics?: "unknown" | "vercel" | undefined;
|
|
38
38
|
authentication?: "unknown" | "better-auth" | "clerk" | "next-auth" | "supabase-auth" | "auth0" | undefined;
|
|
39
|
-
api?: "
|
|
39
|
+
api?: "rest" | "unknown" | "hono" | "trpc" | "graphql" | undefined;
|
|
40
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;
|
|
@@ -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" | "bun" | "
|
|
99
|
+
type?: "none" | "bun" | "pnpm" | "turborepo" | "nx" | undefined;
|
|
100
100
|
packages?: string[] | undefined;
|
|
101
101
|
sharedPackages?: string[] | undefined;
|
|
102
102
|
} | undefined;
|