@reliverse/dler 1.7.35 → 1.7.36
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/build/postbuild.js +2 -2
- package/bin/libs/cfg/cfg-impl/cfg-consts.d.ts +3 -3
- package/bin/libs/cfg/cfg-impl/cfg-consts.js +3 -0
- package/bin/libs/cfg/cfg-impl/cfg-types.d.ts +8 -8
- package/bin/libs/cfg/cfg-impl/rse-config/rse-impl/rse-define.d.ts +7 -7
- package/bin/libs/sdk/sdk-impl/config/default.js +3 -0
- package/bin/libs/sdk/sdk-impl/config/info.js +1 -1
- package/bin/libs/sdk/sdk-impl/config/init.js +4 -0
- package/bin/libs/sdk/sdk-impl/config/types.d.ts +8 -8
- package/package.json +1 -1
|
@@ -152,9 +152,9 @@ export async function wrapper_CopyNonBuildFiles(config) {
|
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
if (config.libsActMode === "libs-only" || config.libsActMode === "main-and-libs") {
|
|
155
|
-
for (const [
|
|
155
|
+
for (const [_, libConfig] of Object.entries(config.libsList)) {
|
|
156
156
|
const srcPath = path.join(PROJECT_ROOT, config.libsDirSrc, libConfig.libDirName);
|
|
157
|
-
const distPath = path.join(PROJECT_ROOT, config.libsDirDist,
|
|
157
|
+
const distPath = path.join(PROJECT_ROOT, config.libsDirDist, libConfig.libDirName);
|
|
158
158
|
if (libConfig.libPubRegistry === "npm" || libConfig.libPubRegistry === "npm-jsr") {
|
|
159
159
|
await copyNonBuildFiles(
|
|
160
160
|
srcPath,
|
|
@@ -50,6 +50,9 @@ export declare const defineConfigDler: (userConfig?: Partial<DlerConfig>) => {
|
|
|
50
50
|
runAfterBuild: "dler-check"[];
|
|
51
51
|
hooksBeforeBuild: (() => Promise<void>)[];
|
|
52
52
|
hooksAfterBuild: (() => Promise<void>)[];
|
|
53
|
+
postBuildSettings: {
|
|
54
|
+
cleanupTempDirs: boolean;
|
|
55
|
+
};
|
|
53
56
|
transpileFailOnWarn: boolean;
|
|
54
57
|
transpileEsbuild: import("./cfg-types").Esbuild;
|
|
55
58
|
transpileFormat: import("./cfg-types").transpileFormat;
|
|
@@ -71,7 +74,4 @@ export declare const defineConfigDler: (userConfig?: Partial<DlerConfig>) => {
|
|
|
71
74
|
};
|
|
72
75
|
buildPreExtensions: string[];
|
|
73
76
|
buildTemplatesDir: string;
|
|
74
|
-
postBuildSettings: {
|
|
75
|
-
cleanupTempDirs: boolean;
|
|
76
|
-
};
|
|
77
77
|
};
|
|
@@ -363,6 +363,14 @@ export interface DlerConfig {
|
|
|
363
363
|
* @default []
|
|
364
364
|
*/
|
|
365
365
|
hooksAfterBuild: (() => Promise<void>)[];
|
|
366
|
+
/**
|
|
367
|
+
* When `true`, cleans up the temporary directories after the build process completes.
|
|
368
|
+
*
|
|
369
|
+
* @default true
|
|
370
|
+
*/
|
|
371
|
+
postBuildSettings: {
|
|
372
|
+
cleanupTempDirs: boolean;
|
|
373
|
+
};
|
|
366
374
|
/**
|
|
367
375
|
* When `true`, fails the build if warnings are detected.
|
|
368
376
|
* Use with caution, as it may lead to inconsistent published versions.
|
|
@@ -489,14 +497,6 @@ export interface DlerConfig {
|
|
|
489
497
|
* @default "templates"
|
|
490
498
|
*/
|
|
491
499
|
buildTemplatesDir: string;
|
|
492
|
-
/**
|
|
493
|
-
* When `true`, cleans up the temporary directories after the build process completes.
|
|
494
|
-
*
|
|
495
|
-
* @default true
|
|
496
|
-
*/
|
|
497
|
-
postBuildSettings: {
|
|
498
|
-
cleanupTempDirs: boolean;
|
|
499
|
-
};
|
|
500
500
|
}
|
|
501
501
|
export type BumpMode = "patch" | "minor" | "major" | "auto" | "manual";
|
|
502
502
|
/**
|
|
@@ -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?: "
|
|
13
|
+
projectPackageManager?: "npm" | "bun" | "pnpm" | "yarn" | undefined;
|
|
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" | "
|
|
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" | "rempts" | "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,11 +36,11 @@ 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?: "unknown" | "hono" | "trpc" | "graphql" | "rest" | 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;
|
|
43
|
-
styling?: "
|
|
43
|
+
styling?: "unknown" | "tailwind" | "styled-components" | "css-modules" | "sass" | 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;
|
|
@@ -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?: "none" | "es5" | "all" | 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?: "
|
|
99
|
+
type?: "none" | "bun" | "turborepo" | "nx" | "pnpm" | undefined;
|
|
100
100
|
packages?: string[] | undefined;
|
|
101
101
|
sharedPackages?: string[] | undefined;
|
|
102
102
|
} | undefined;
|
|
@@ -363,6 +363,14 @@ export interface DlerConfig {
|
|
|
363
363
|
* @default []
|
|
364
364
|
*/
|
|
365
365
|
hooksAfterBuild: (() => Promise<void>)[];
|
|
366
|
+
/**
|
|
367
|
+
* When `true`, cleans up the temporary directories after the build process completes.
|
|
368
|
+
*
|
|
369
|
+
* @default true
|
|
370
|
+
*/
|
|
371
|
+
postBuildSettings: {
|
|
372
|
+
cleanupTempDirs: boolean;
|
|
373
|
+
};
|
|
366
374
|
/**
|
|
367
375
|
* When `true`, fails the build if warnings are detected.
|
|
368
376
|
* Use with caution, as it may lead to inconsistent published versions.
|
|
@@ -489,14 +497,6 @@ export interface DlerConfig {
|
|
|
489
497
|
* @default "templates"
|
|
490
498
|
*/
|
|
491
499
|
buildTemplatesDir: string;
|
|
492
|
-
/**
|
|
493
|
-
* When `true`, cleans up the temporary directories after the build process completes.
|
|
494
|
-
*
|
|
495
|
-
* @default true
|
|
496
|
-
*/
|
|
497
|
-
postBuildSettings: {
|
|
498
|
-
cleanupTempDirs: boolean;
|
|
499
|
-
};
|
|
500
500
|
}
|
|
501
501
|
export type BumpMode = "patch" | "minor" | "major" | "auto" | "manual";
|
|
502
502
|
/**
|