@reliverse/dler 1.7.48 → 1.7.50

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.
@@ -105,10 +105,7 @@ export default defineCommand({
105
105
  try {
106
106
  await fs.access(path.join(outDir, typesFile));
107
107
  } catch {
108
- const typesContent = `export interface FileContent {
109
- [key: string]: unknown;
110
- toString(): string;
111
- }
108
+ const typesContent = `export type FileContent = string | Record<string, unknown>;
112
109
  export interface FileMetadata {
113
110
  updatedAt?: string;
114
111
  updatedHash?: string;
@@ -252,7 +249,7 @@ export interface Templates extends Record<string, Template> {}
252
249
  ).split("\n").map((line, i) => {
253
250
  if (i === 0) return line;
254
251
  return " " + line.replace(/"([a-zA-Z0-9_]+)":/g, "$1:");
255
- }).join("\n").replace(/},?\s*$/, "},").replace(/,\s*,/g, ",");
252
+ }).join("\n").replace(/,?\s*}(\s*)$/, "}$1").replace(/,\s*,/g, ",");
256
253
  code.push(` content: ${jsonStr}${sat},`);
257
254
  code.push(' type: "json",');
258
255
  }
@@ -11,10 +11,10 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
11
11
  projectGitService?: "none" | "github" | "gitlab" | "bitbucket" | undefined;
12
12
  projectDeployService?: "none" | "vercel" | "netlify" | "railway" | "deno" | undefined;
13
13
  projectPackageManager?: "bun" | "npm" | "yarn" | "pnpm" | undefined;
14
- projectState?: "creating" | "created" | undefined;
15
- projectCategory?: "browser" | "cli" | "unknown" | "website" | "vscode" | "library" | "mobile" | undefined;
14
+ projectState?: "created" | "creating" | undefined;
15
+ projectCategory?: "cli" | "unknown" | "browser" | "website" | "vscode" | "library" | "mobile" | undefined;
16
16
  projectSubcategory?: "unknown" | "e-commerce" | "tool" | undefined;
17
- projectFramework?: "npm-jsr" | "vue" | "rempts" | "svelte" | "unknown" | "vscode" | "nextjs" | "vite" | "remix" | "astro" | "nuxt" | "solid" | "qwik" | "wxt" | "lynx" | "react-native" | "expo" | "capacitor" | "ionic" | "electron" | "tauri" | "neutralino" | "citty" | "commander" | "cac" | "meow" | "yargs" | "webextension" | "browser-extension" | undefined;
17
+ projectFramework?: "rempts" | "npm-jsr" | "unknown" | "vue" | "svelte" | "vscode" | "nextjs" | "vite" | "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?: {
@@ -38,13 +38,13 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
38
38
  analytics?: "unknown" | "vercel" | undefined;
39
39
  authentication?: "unknown" | "better-auth" | "clerk" | "next-auth" | "supabase-auth" | "auth0" | undefined;
40
40
  api?: "rest" | "unknown" | "hono" | "trpc" | "graphql" | undefined;
41
- testing?: "bun" | "jest" | "vitest" | "unknown" | "playwright" | "cypress" | undefined;
41
+ testing?: "bun" | "unknown" | "jest" | "vitest" | "playwright" | "cypress" | undefined;
42
42
  stateManagement?: "unknown" | "zustand" | "jotai" | "redux-toolkit" | undefined;
43
43
  formManagement?: "unknown" | "react-hook-form" | "formik" | undefined;
44
- styling?: "sass" | "unknown" | "tailwind" | "styled-components" | "css-modules" | undefined;
44
+ styling?: "unknown" | "sass" | "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
- databaseProvider?: "pg" | "unknown" | "mysql" | "sqlite" | "mongodb" | undefined;
47
+ databaseProvider?: "unknown" | "pg" | "mysql" | "sqlite" | "mongodb" | undefined;
48
48
  linting?: "eslint" | "unknown" | undefined;
49
49
  formatting?: "biome" | "unknown" | undefined;
50
50
  payment?: "unknown" | "stripe" | undefined;
@@ -57,7 +57,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
57
57
  documentation?: "unknown" | "starlight" | "nextra" | undefined;
58
58
  icons?: "unknown" | "lucide" | undefined;
59
59
  mail?: "unknown" | "resend" | undefined;
60
- cache?: "redis" | "unknown" | undefined;
60
+ cache?: "unknown" | "redis" | undefined;
61
61
  storage?: "unknown" | "cloudflare" | undefined;
62
62
  cdn?: "unknown" | "cloudflare" | undefined;
63
63
  cms?: "unknown" | "contentlayer" | undefined;
@@ -67,7 +67,7 @@ export declare const defineConfigRse: (userConfig?: Partial<RseConfig>) => {
67
67
  dates?: "unknown" | "dayjs" | undefined;
68
68
  markdown?: "unknown" | "mdx" | undefined;
69
69
  security?: "unknown" | "auth" | undefined;
70
- routing?: "next" | "unknown" | "react-router" | "tanstack-router" | undefined;
70
+ routing?: "unknown" | "next" | "react-router" | "tanstack-router" | undefined;
71
71
  } | undefined;
72
72
  codeStyle?: {
73
73
  lineWidth?: number | undefined;
@@ -1,5 +1,5 @@
1
1
  import { endPrompt, startPrompt } from "@reliverse/rempts";
2
- const version = "1.7.48";
2
+ const version = "1.7.50";
3
3
  export async function showStartPrompt(isDev) {
4
4
  await startPrompt({
5
5
  titleColor: "inverse",
@@ -195,7 +195,6 @@ async function resolveAllCrossLibs(alias = "~", subFolders = ["npm", "jsr"], bui
195
195
  throw error;
196
196
  }
197
197
  } else {
198
- relinka("error", `[resolveAllCrossLibs] Bin directory does not exist: ${binDir}`);
199
198
  }
200
199
  }
201
200
  })
package/package.json CHANGED
@@ -53,7 +53,7 @@
53
53
  "license": "MIT",
54
54
  "name": "@reliverse/dler",
55
55
  "type": "module",
56
- "version": "1.7.48",
56
+ "version": "1.7.50",
57
57
  "keywords": [
58
58
  "reliverse",
59
59
  "cli",