@reliverse/rempts 2.3.1 → 2.3.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.
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.3",
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.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.3",
45
+ "@reliverse/rempts-core": "2.3.3",
46
+ "@reliverse/rempts-test": "2.3.3",
47
+ "@reliverse/rempts-utils": "2.3.3",
47
48
  "arktype": "^2.1.29",
48
49
  "giget": "^2.0.0"
49
50
  },
@@ -14,8 +14,8 @@
14
14
  "build": "bun dler build",
15
15
  "test": "bun test",
16
16
  "test:watch": "bun test --watch",
17
- "typecheck": "tsc --noEmit",
18
- "lint": "tsc --noEmit",
17
+ "typecheck": "tsgo --noEmit",
18
+ "lint": "tsgo --noEmit",
19
19
  "prepare": "bun run build"
20
20
  },
21
21
  "dependencies": {
@@ -28,7 +28,8 @@
28
28
  "@reliverse/tsconfig": "workspace:*",
29
29
  "@types/bun": "catalog:",
30
30
  "rempts": "workspace:*",
31
- "typescript": "catalog:"
31
+ "typescript": "catalog:",
32
+ "@typescript/native-preview": "catalog:"
32
33
  },
33
34
  "rempts": {
34
35
  "entry": "./src/mod.ts",
@@ -12,7 +12,7 @@
12
12
  "dev": "bun run src/mod.ts",
13
13
  "build": "bun dler build",
14
14
  "test": "bun test",
15
- "typecheck": "tsc --noEmit"
15
+ "typecheck": "tsgo --noEmit"
16
16
  },
17
17
  "dependencies": {
18
18
  "@reliverse/rempts-core": "workspace:*"
@@ -22,7 +22,8 @@
22
22
  "@reliverse/tsconfig": "workspace:*",
23
23
  "@types/bun": "catalog:",
24
24
  "rempts": "workspace:*",
25
- "typescript": "catalog:"
25
+ "typescript": "catalog:",
26
+ "@typescript/native-preview": "catalog:"
26
27
  },
27
28
  "rempts": {
28
29
  "entry": "./src/mod.ts",
@@ -25,6 +25,7 @@
25
25
  "@reliverse/tsconfig": "workspace:*",
26
26
  "@types/bun": "catalog:",
27
27
  "turbo": "^2.7.3",
28
- "typescript": "catalog:"
28
+ "typescript": "catalog:",
29
+ "@typescript/native-preview": "catalog:"
29
30
  }
30
31
  }
@@ -13,7 +13,7 @@
13
13
  "dev": "bun run src/mod.ts",
14
14
  "build": "bun dler build",
15
15
  "test": "bun test",
16
- "typecheck": "tsc --noEmit",
16
+ "typecheck": "tsgo --noEmit",
17
17
  "clean": "rm -rf dist"
18
18
  },
19
19
  "dependencies": {
@@ -26,7 +26,8 @@
26
26
  "@reliverse/tsconfig": "workspace:*",
27
27
  "@types/bun": "catalog:",
28
28
  "rempts": "workspace:*",
29
- "typescript": "catalog:"
29
+ "typescript": "catalog:",
30
+ "@typescript/native-preview": "catalog:"
30
31
  },
31
32
  "rempts": {
32
33
  "entry": "./src/mod.ts",
@@ -16,7 +16,7 @@
16
16
  "scripts": {
17
17
  "build": "bun scripts/build.ts && bun run tsc",
18
18
  "test": "bun test",
19
- "typecheck": "tsc --noEmit",
19
+ "typecheck": "tsgo --noEmit",
20
20
  "clean": "rm -rf dist"
21
21
  },
22
22
  "dependencies": {
@@ -28,6 +28,7 @@
28
28
  "@reliverse/rempts-test": "workspace:*",
29
29
  "@reliverse/tsconfig": "workspace:*",
30
30
  "@types/bun": "catalog:",
31
- "typescript": "catalog:"
31
+ "typescript": "catalog:",
32
+ "@typescript/native-preview": "catalog:"
32
33
  }
33
34
  }
@@ -16,12 +16,13 @@
16
16
  "scripts": {
17
17
  "build": "bun scripts/build.ts && bun run tsc",
18
18
  "test": "bun test",
19
- "typecheck": "tsc --noEmit",
19
+ "typecheck": "tsgo --noEmit",
20
20
  "clean": "rm -rf dist"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@reliverse/tsconfig": "workspace:*",
24
24
  "@types/bun": "catalog:",
25
- "typescript": "catalog:"
25
+ "typescript": "catalog:",
26
+ "@typescript/native-preview": "catalog:"
26
27
  }
27
28
  }
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();