@reliverse/dler 1.6.2 → 1.6.3

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,4 +1,10 @@
1
- import { defineCommand, defineArgs } from "@reliverse/rempts";
1
+ import { relinka } from "@reliverse/relinka";
2
+ import {
3
+ defineCommand,
4
+ defineArgs,
5
+ selectPrompt,
6
+ multiselectPrompt
7
+ } from "@reliverse/rempts";
2
8
  export default defineCommand({
3
9
  meta: {
4
10
  name: "check",
@@ -13,7 +19,26 @@ export default defineCommand({
13
19
  }
14
20
  }),
15
21
  async run({ args }) {
16
- console.log("Command 'check' executed.");
17
- console.log("Received args:", args);
22
+ relinka(
23
+ "info",
24
+ "This command allows you to check your codebase source and dists for any issues."
25
+ );
26
+ const dir = await selectPrompt({
27
+ title: "Select a directory to check",
28
+ options: [
29
+ { label: "all", value: "all" },
30
+ { label: "src", value: "src" },
31
+ { label: "dist-npm", value: "dist-npm" },
32
+ { label: "dist-jsr", value: "dist-jsr" },
33
+ { label: "dist-libs-npm", value: "dist-libs-npm" },
34
+ { label: "dist-libs-jsr", value: "dist-libs-jsr" }
35
+ ]
36
+ });
37
+ const checks = await multiselectPrompt({
38
+ title: "Select checks to run",
39
+ options: [
40
+ { label: "path-extensions", value: "path-extensions" }
41
+ ]
42
+ });
18
43
  }
19
44
  });
package/bin/init/info.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { endPrompt, startPrompt } from "@reliverse/rempts";
2
- const version = "1.6.2";
2
+ const version = "1.6.3";
3
3
  export async function showStartPrompt(isDev) {
4
4
  await startPrompt({
5
5
  titleColor: "inverse",
@@ -608,6 +608,11 @@ async function library_performCommonBuildSteps(params) {
608
608
  "info",
609
609
  `[${libName}] Performing paths ext conversion in ${outDirBin} (from js to ts)`
610
610
  );
611
+ await convertImportsExt({
612
+ targetDir: outDirBin,
613
+ extFrom: "js",
614
+ extTo: "ts"
615
+ });
611
616
  await convertImportsExt({
612
617
  targetDir: outDirBin,
613
618
  extFrom: "none",
@@ -385,6 +385,11 @@ async function regular_performCommonBuildSteps({
385
385
  "info",
386
386
  `[dist-jsr] Performing paths ext conversion in ${outDirBin} (from js to ts)`
387
387
  );
388
+ await convertImportsExt({
389
+ targetDir: outDirBin,
390
+ extFrom: "js",
391
+ extTo: "ts"
392
+ });
388
393
  await convertImportsExt({
389
394
  targetDir: outDirBin,
390
395
  extFrom: "none",
package/package.json CHANGED
@@ -41,7 +41,7 @@
41
41
  "license": "MIT",
42
42
  "name": "@reliverse/dler",
43
43
  "type": "module",
44
- "version": "1.6.2",
44
+ "version": "1.6.3",
45
45
  "keywords": [
46
46
  "reliverse",
47
47
  "cli",