@rexeus/typeweaver-types 0.5.1 → 0.6.0

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.
@@ -5,12 +5,12 @@
5
5
  * @generated by @rexeus/typeweaver
6
6
  */
7
7
 
8
- import z from "zod";
9
- import { $ZodArray, $ZodOptional } from "zod/v4/core";
10
8
  import type {
11
9
  HttpHeaderSchema,
12
10
  HttpQuerySchema,
13
11
  } from "@rexeus/typeweaver-core";
12
+ import z from "zod";
13
+ import { $ZodArray, $ZodOptional } from "zod/v4/core";
14
14
  import type { $ZodShape } from "zod/v4/core";
15
15
 
16
16
  type SchemaInfo = { readonly originalKey: string; readonly isArray: boolean };
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@rexeus/typeweaver-types",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Generates request and response types plus validators aligned with your API contract. Powered by Typeweaver 🧵✨",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "dist/index.cjs",
8
- "module": "dist/index.js",
9
- "types": "dist/index.d.ts",
8
+ "module": "dist/index.mjs",
9
+ "types": "dist/index.d.mts",
10
10
  "exports": {
11
11
  ".": {
12
12
  "import": {
13
- "types": "./dist/index.d.ts",
14
- "default": "./dist/index.js"
13
+ "types": "./dist/index.d.mts",
14
+ "default": "./dist/index.mjs"
15
15
  },
16
16
  "require": {
17
17
  "types": "./dist/index.d.cts",
@@ -47,22 +47,22 @@
47
47
  },
48
48
  "homepage": "https://github.com/rexeus/typeweaver#readme",
49
49
  "peerDependencies": {
50
- "@rexeus/typeweaver-core": "^0.5.1",
51
- "@rexeus/typeweaver-gen": "^0.5.1"
50
+ "@rexeus/typeweaver-core": "^0.6.0",
51
+ "@rexeus/typeweaver-gen": "^0.6.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "test-utils": "file:../test-utils",
55
- "@rexeus/typeweaver-core": "^0.5.1",
56
- "@rexeus/typeweaver-gen": "^0.5.1"
55
+ "@rexeus/typeweaver-core": "^0.6.0",
56
+ "@rexeus/typeweaver-gen": "^0.6.0"
57
57
  },
58
58
  "dependencies": {
59
59
  "case": "^1.6.3",
60
- "@rexeus/typeweaver-zod-to-ts": "^0.5.1"
60
+ "@rexeus/typeweaver-zod-to-ts": "^0.6.0"
61
61
  },
62
62
  "scripts": {
63
63
  "typecheck": "tsc --noEmit",
64
- "format": "prettier --write .",
65
- "build": "tsup && mkdir -p ./dist/templates ./dist/lib && cp -r ./src/templates/* ./dist/templates/ && cp -r ./src/lib/* ./dist/lib/ && cp ../../LICENSE ../../NOTICE ./dist/",
64
+ "format": "oxfmt",
65
+ "build": "tsdown && mkdir -p ./dist/templates ./dist/lib && cp -r ./src/templates/* ./dist/templates/ && cp -r ./src/lib/* ./dist/lib/ && cp ../../LICENSE ../../NOTICE ./dist/",
66
66
  "test": "vitest --run",
67
67
  "preversion": "npm run build"
68
68
  }
package/dist/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- import { BasePlugin, GeneratorContext } from '@rexeus/typeweaver-gen';
2
-
3
- declare class TypesPlugin extends BasePlugin {
4
- name: string;
5
- generate(context: GeneratorContext): void;
6
- }
7
-
8
- export { TypesPlugin as default };