@reliverse/dler 1.7.97 → 1.7.100

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,5 +1,5 @@
1
1
  export declare const PROJECT_ROOT: string;
2
- export declare const cliVersion = "1.7.97";
2
+ export declare const cliVersion = "1.7.100";
3
3
  export declare const cliName = "@reliverse/rse";
4
4
  export declare const rseName = "@reliverse/rse";
5
5
  export declare const dlerName = "@reliverse/dler";
@@ -1,7 +1,7 @@
1
1
  import os from "node:os";
2
2
  import path from "@reliverse/pathkit";
3
3
  export const PROJECT_ROOT = path.resolve(process.cwd());
4
- const version = "1.7.97";
4
+ const version = "1.7.100";
5
5
  export const cliVersion = version;
6
6
  export const cliName = "@reliverse/rse";
7
7
  export const rseName = "@reliverse/rse";
@@ -6,7 +6,7 @@ import {
6
6
  readAndTransform,
7
7
  remove
8
8
  } from "../transform/transform-impl-mod.js";
9
- import { isBinaryExt } from "../../utils/binary.js";
9
+ import { isBinaryExt } from "../utils/binary.js";
10
10
  const countNewlines = (str) => (str.match(/\n/g) || []).length;
11
11
  const validateLineColumn = (line, column, based = "1-based") => {
12
12
  const minValue = based === "0-based" ? 0 : 1;
@@ -1,23 +1,23 @@
1
1
  import { z } from "zod";
2
2
  export declare const DatabaseSchema: z.ZodEnum<{
3
3
  none: "none";
4
- sqlite: "sqlite";
5
4
  mysql: "mysql";
5
+ sqlite: "sqlite";
6
6
  mongodb: "mongodb";
7
7
  postgres: "postgres";
8
8
  }>;
9
9
  export type Database = z.infer<typeof DatabaseSchema>;
10
10
  export declare const ORMSchema: z.ZodEnum<{
11
11
  none: "none";
12
- mongoose: "mongoose";
13
12
  drizzle: "drizzle";
14
13
  prisma: "prisma";
14
+ mongoose: "mongoose";
15
15
  }>;
16
16
  export type ORM = z.infer<typeof ORMSchema>;
17
17
  export declare const BackendSchema: z.ZodEnum<{
18
18
  none: "none";
19
- hono: "hono";
20
19
  next: "next";
20
+ hono: "hono";
21
21
  convex: "convex";
22
22
  express: "express";
23
23
  fastify: "fastify";
@@ -34,11 +34,11 @@ export type Runtime = z.infer<typeof RuntimeSchema>;
34
34
  export declare const FrontendSchema: z.ZodEnum<{
35
35
  none: "none";
36
36
  svelte: "svelte";
37
+ nuxt: "nuxt";
38
+ solid: "solid";
37
39
  next: "next";
38
40
  "react-router": "react-router";
39
41
  "tanstack-router": "tanstack-router";
40
- nuxt: "nuxt";
41
- solid: "solid";
42
42
  "tanstack-start": "tanstack-start";
43
43
  "native-nativewind": "native-nativewind";
44
44
  "native-unistyles": "native-unistyles";
@@ -47,11 +47,11 @@ export type Frontend = z.infer<typeof FrontendSchema>;
47
47
  export declare const AddonsSchema: z.ZodEnum<{
48
48
  none: "none";
49
49
  biome: "biome";
50
- starlight: "starlight";
51
50
  tauri: "tauri";
52
51
  turborepo: "turborepo";
53
- pwa: "pwa";
52
+ starlight: "starlight";
54
53
  husky: "husky";
54
+ pwa: "pwa";
55
55
  }>;
56
56
  export type Addons = z.infer<typeof AddonsSchema>;
57
57
  export declare const ExamplesSchema: z.ZodEnum<{
package/bin/dler.js CHANGED
@@ -12,7 +12,7 @@ let isDev = process.env.DLER_DEV_MODE === "true";
12
12
  const main = defineCommand({
13
13
  meta: {
14
14
  name: "dler",
15
- version: "1.7.97",
15
+ version: "1.7.100",
16
16
  description: `Displays dler's command menu.
17
17
  To see ALL available commands and arguments, run: 'dler --help' (or 'dler <command> --help')
18
18
  Available menu commands: ${MENU_CMDS.join(", ")}`
package/bin/mod.d.ts CHANGED
@@ -90,10 +90,6 @@ export { arrayIncludes, dumpObject, extractExportFilenames, getpkg, inferPkgExte
90
90
  export { validateDependencies, validatePackage } from "./app/build/providers/validate.js";
91
91
  export { regular_buildFlow, regular_pubFlow } from "./app/build/regular-flow.js";
92
92
  export { useFirecrawl } from "./app/clone/firecrawl/firecrawl-mod.js";
93
- export type { InjectionLocation, InjectionOptions, InjectionResult, SingleInjection, } from "./app/cmds/inject/inject-impl-mod.js";
94
- export { createInjection, injectAtLocation, injectMultiple, previewInjection, previewMultipleInjections, previewMultipleReverts, previewRevert, validateInjection, validateMultipleInjections, } from "./app/cmds/inject/inject-impl-mod.js";
95
- export type { BundleSource, IndentOptions, MagicStringOptions, OverwriteOptions, StringTransformer, TransformResult, UpdateOptions, } from "./app/cmds/transform/transform-impl-mod.js";
96
- export { append, compose, createBundle, createTransformer, createTransformerFromMagicString, indent, insertAt, overwrite, pipe, prepend, readAndTransform, remove, replace, replaceAll, slice, template, transformAndWrite, transformMultiple, trim, update, wrapWith, } from "./app/cmds/transform/transform-impl-mod.js";
97
93
  export { runCodemods } from "./app/cmod/cmod-impl.js";
98
94
  export { getBiomeConfig } from "./app/config/cfg-biome.js";
99
95
  export { injectSectionComments } from "./app/config/cfg-comments.js";
@@ -156,6 +152,8 @@ export { getVercelProjectDomain } from "./app/init/use-template/cp-modules/git-d
156
152
  export { addEnvVarsToVercelProject } from "./app/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-env.js";
157
153
  export { getPrimaryVercelTeam, getVercelTeams, verifyTeam, } from "./app/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-team.js";
158
154
  export { detectFramework, getEnvVars, saveVercelToken, verifyDomain, } from "./app/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-utils.js";
155
+ export type { InjectionLocation, InjectionOptions, InjectionResult, SingleInjection, } from "./app/inject/inject-impl-mod.js";
156
+ export { createInjection, injectAtLocation, injectMultiple, previewInjection, previewMultipleInjections, previewMultipleReverts, previewRevert, validateInjection, validateMultipleInjections, } from "./app/inject/inject-impl-mod.js";
159
157
  export { auth, authCheck } from "./app/login/login-impl.js";
160
158
  export { deleteMemory } from "./app/logout/logout-impl.js";
161
159
  export type { ApplyMagicSpellsOptions, ApplyMagicSpellsResult, FileWithSpells, } from "./app/magic/magic-apply.js";
@@ -185,6 +183,8 @@ export { displayCheckResults } from "./app/rules/rules-mod.js";
185
183
  export { getAllFiles, getLineNumber, shouldIgnoreFile } from "./app/rules/rules-utils.js";
186
184
  export { downloadRepoOption, rmTestsRuntime, showDevToolsMenu, } from "./app/toolbox/toolbox-impl.js";
187
185
  export { openVercelTools } from "./app/toolbox/toolbox-vercel.js";
186
+ export type { BundleSource, IndentOptions, MagicStringOptions, OverwriteOptions, StringTransformer, TransformResult, UpdateOptions, } from "./app/transform/transform-impl-mod.js";
187
+ export { append, compose, createBundle, createTransformer, createTransformerFromMagicString, indent, insertAt, overwrite, pipe, prepend, readAndTransform, remove, replace, replaceAll, slice, template, transformAndWrite, transformMultiple, trim, update, wrapWith, } from "./app/transform/transform-impl-mod.js";
188
188
  export type { BaseBuildEntry, BaseConfig, BiomeConfig, BiomeConfigResult, BuildContext, BuildEntry, BuildHooks, BuildOptions, BuildPreset, BumpMode, BundlerName, CheckIssue, CheckResult, CopyBuildEntry, CopyHooks, CreateLoaderOptions, DeploymentService, DetectedProject, DirectoryType, DistDirs, DistDirsAll, DlerConfig, Esbuild, EsbuildOptions, InputFile, IterableError, LibConfig, Loader, LoaderContext, LoaderResult, LoadFile, LogLevel, LogLevelConfig, LogLevelsConfig, MkdistBuildEntry, MkdistHooks, MkdistOptions, NpmOutExt, OutputFile, PerfTimer, ProjectArchitecture, ProjectCategory, ProjectFramework, ProjectSubcategory, RelinkaConfig, RelinkaDirsConfig, RelinterConfirm, RollupBuildEntry, RollupBuildOptions, RollupHooks, RollupOptions, RseConfig, RulesCheckOptions, Sourcemap, transpileFormat, transpileTarget, UnifiedBuildConfig, UntypedBuildEntry, UntypedHooks, UntypedOutput, UntypedOutputs, VSCodeSettings, } from "./app/types/mod.js";
189
189
  export { readFilesFromPaths, uploadToProvider, } from "./app/upload/providers/providers-mod.js";
190
190
  export { uploadToUploadcare } from "./app/upload/providers/uploadcare.js";
package/bin/mod.js CHANGED
@@ -168,40 +168,6 @@ export {
168
168
  export { validateDependencies, validatePackage } from "./app/build/providers/validate.js";
169
169
  export { regular_buildFlow, regular_pubFlow } from "./app/build/regular-flow.js";
170
170
  export { useFirecrawl } from "./app/clone/firecrawl/firecrawl-mod.js";
171
- export {
172
- createInjection,
173
- injectAtLocation,
174
- injectMultiple,
175
- previewInjection,
176
- previewMultipleInjections,
177
- previewMultipleReverts,
178
- previewRevert,
179
- validateInjection,
180
- validateMultipleInjections
181
- } from "./app/cmds/inject/inject-impl-mod.js";
182
- export {
183
- append,
184
- compose,
185
- createBundle,
186
- createTransformer,
187
- createTransformerFromMagicString,
188
- indent,
189
- insertAt,
190
- overwrite,
191
- pipe,
192
- prepend,
193
- readAndTransform,
194
- remove,
195
- replace,
196
- replaceAll,
197
- slice,
198
- template,
199
- transformAndWrite,
200
- transformMultiple,
201
- trim,
202
- update,
203
- wrapWith
204
- } from "./app/cmds/transform/transform-impl-mod.js";
205
171
  export { runCodemods } from "./app/cmod/cmod-impl.js";
206
172
  export { getBiomeConfig } from "./app/config/cfg-biome.js";
207
173
  export { injectSectionComments } from "./app/config/cfg-comments.js";
@@ -429,6 +395,17 @@ export {
429
395
  saveVercelToken,
430
396
  verifyDomain
431
397
  } from "./app/init/use-template/cp-modules/git-deploy-prompts/vercel/vercel-utils.js";
398
+ export {
399
+ createInjection,
400
+ injectAtLocation,
401
+ injectMultiple,
402
+ previewInjection,
403
+ previewMultipleInjections,
404
+ previewMultipleReverts,
405
+ previewRevert,
406
+ validateInjection,
407
+ validateMultipleInjections
408
+ } from "./app/inject/inject-impl-mod.js";
432
409
  export { auth, authCheck } from "./app/login/login-impl.js";
433
410
  export { deleteMemory } from "./app/logout/logout-impl.js";
434
411
  export {
@@ -484,6 +461,29 @@ export {
484
461
  showDevToolsMenu
485
462
  } from "./app/toolbox/toolbox-impl.js";
486
463
  export { openVercelTools } from "./app/toolbox/toolbox-vercel.js";
464
+ export {
465
+ append,
466
+ compose,
467
+ createBundle,
468
+ createTransformer,
469
+ createTransformerFromMagicString,
470
+ indent,
471
+ insertAt,
472
+ overwrite,
473
+ pipe,
474
+ prepend,
475
+ readAndTransform,
476
+ remove,
477
+ replace,
478
+ replaceAll,
479
+ slice,
480
+ template,
481
+ transformAndWrite,
482
+ transformMultiple,
483
+ trim,
484
+ update,
485
+ wrapWith
486
+ } from "./app/transform/transform-impl-mod.js";
487
487
  export {
488
488
  readFilesFromPaths,
489
489
  uploadToProvider
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "@reliverse/relico": "^1.3.5",
17
17
  "@reliverse/relifso": "^1.4.5",
18
18
  "@reliverse/relinka": "^1.5.5",
19
- "@reliverse/rempts": "^1.7.46",
19
+ "@reliverse/rempts": "^1.7.48",
20
20
  "@reliverse/runtime": "^1.0.3",
21
21
  "@rollup/plugin-alias": "^5.1.1",
22
22
  "@rollup/plugin-commonjs": "^28.0.6",
@@ -26,7 +26,7 @@
26
26
  "@rollup/pluginutils": "^5.2.0",
27
27
  "@sinclair/typebox": "^0.34.40",
28
28
  "@uploadcare/upload-client": "^6.17.0",
29
- "@vercel/sdk": "^1.10.5",
29
+ "@vercel/sdk": "^1.10.6",
30
30
  "ai": "^5.0.22",
31
31
  "async-listen": "^3.1.0",
32
32
  "autoprefixer": "^10.4.21",
@@ -110,7 +110,7 @@
110
110
  "license": "MIT",
111
111
  "name": "@reliverse/dler",
112
112
  "type": "module",
113
- "version": "1.7.97",
113
+ "version": "1.7.100",
114
114
  "keywords": [
115
115
  "reliverse",
116
116
  "cli",