@reliverse/rempts 2.3.1 → 2.3.2

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.
Files changed (3) hide show
  1. package/dist/cli.js +0 -0
  2. package/package.json +10 -9
  3. package/src/cli.ts +0 -64
package/dist/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reliverse/rempts",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Scaffold new Rempts CLI projects with ease",
5
5
  "keywords": [
6
6
  "bun",
@@ -24,15 +24,16 @@
24
24
  "directory": "packages/rempts"
25
25
  },
26
26
  "bin": {
27
- "rempts": "./src/cli.ts"
27
+ "rempts": "./dist/cli.js"
28
28
  },
29
29
  "files": [
30
30
  "dist",
31
- "templates"
31
+ "templates",
32
+ "README.md"
32
33
  ],
33
34
  "type": "module",
34
- "module": "./src/mod.ts",
35
- "types": "./src/mod.ts",
35
+ "module": "./dist/mod.js",
36
+ "types": "./dist/mod.d.ts",
36
37
  "exports": {
37
38
  ".": {
38
39
  "types": "./dist/mod.d.ts",
@@ -40,10 +41,10 @@
40
41
  }
41
42
  },
42
43
  "dependencies": {
43
- "@reliverse/relico": "2.3.1",
44
- "@reliverse/rempts-core": "2.3.1",
45
- "@reliverse/rempts-test": "2.3.1",
46
- "@reliverse/rempts-utils": "2.3.1",
44
+ "@reliverse/relico": "2.3.2",
45
+ "@reliverse/rempts-core": "2.3.2",
46
+ "@reliverse/rempts-test": "2.3.2",
47
+ "@reliverse/rempts-utils": "2.3.2",
47
48
  "arktype": "^2.1.29",
48
49
  "giget": "^2.0.0"
49
50
  },
package/src/cli.ts DELETED
@@ -1,64 +0,0 @@
1
- #!/usr/bin/env bun
2
- import { createApp, defineCommand, option } from "@reliverse/rempts-core";
3
- import { type } from "arktype";
4
- import { create } from "./create";
5
-
6
- const cli = await createApp({
7
- config: {
8
- name: "rempts",
9
- version: "0.1.0",
10
- description: "Scaffold new Rempts CLI projects",
11
- },
12
- defaultCommand: "create",
13
- });
14
-
15
- // Use type assertion to access internal command() method
16
- // This is needed for the @reliverse/rempts CLI itself which registers commands programmatically
17
- (cli as any).command(
18
- defineCommand({
19
- description: "Create a new Rempts CLI project",
20
- options: {
21
- name: option(type("string | undefined"), { description: "Project name" }),
22
- template: option(type("string | undefined"), {
23
- short: "t",
24
- description: "Project template (basic, advanced, monorepo, or github:user/repo)",
25
- }),
26
- dir: option(type("string | undefined"), {
27
- short: "d",
28
- description: "Directory to create project in",
29
- }),
30
- git: option(type("boolean | undefined"), {
31
- short: "g",
32
- description: "Initialize git repository",
33
- }),
34
- install: option(type("boolean | undefined"), {
35
- short: "i",
36
- description: "Install dependencies",
37
- }),
38
- offline: option(type("boolean | undefined"), {
39
- description: "Use cached templates when available",
40
- }),
41
- },
42
- handler: async (context) => {
43
- // Apply defaults
44
- const options = {
45
- name: context.flags.name,
46
- template: context.flags.template ?? "basic",
47
- dir: context.flags.dir,
48
- git: context.flags.git ?? true,
49
- install: context.flags.install ?? true,
50
- offline: context.flags.offline ?? false,
51
- } as {
52
- name: string | undefined;
53
- template: string;
54
- dir: string | undefined;
55
- git: boolean;
56
- install: boolean;
57
- offline: boolean;
58
- };
59
- return create({ ...context, flags: options });
60
- },
61
- })
62
- );
63
-
64
- await cli.run();