Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
/ express Public archive
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 41 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.4.1",
"description": "Basketry generator for generating Express JS routers",
"main": "./lib/index.js",
"bin": {
"basketry-express": "./lib/rpc.js"
},
"scripts": {
"test": "node --experimental-vm-modules ./node_modules/.bin/jest",
"clean": "run-s -s clean:*",
Expand All @@ -13,6 +16,7 @@
"start": "node ./lib/index.js",
"prebuild": "run-s -s clean lint",
"build": "tsc",
"postbuild": "chmod +x ./lib/rpc.js",
"lint:eslint": "eslint src/**/*.*",
"fix:eslint": "eslint --fix src/**/*.*",
"lint:prettier": "prettier -c .",
Expand Down Expand Up @@ -54,9 +58,9 @@
"zod": "^3.24.1"
},
"dependencies": {
"@basketry/typescript": "^0.2.1",
"@basketry/typescript-dtos": "^0.2.0",
"basketry": "^0.2.0",
"@basketry/typescript": "^0.2.3",
"@basketry/typescript-dtos": "^0.2.2",
"basketry": "^0.2.1",
"case": "^1.6.3",
"prettier": "^3.3.3"
}
Expand Down
6 changes: 6 additions & 0 deletions src/rpc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node

import { RPC } from 'basketry';
import generator from '.';

new RPC({ generator }).execute();
2 changes: 1 addition & 1 deletion src/snapshot/zod/v1/dtos/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
This code was generated by @basketry/typescript-dtos@0.2.0
This code was generated by @basketry/typescript-dtos@0.2.2

Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/snapshot/zod/v1/dtos/mappers.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This code was generated by @basketry/typescript-dtos@0.2.0
* This code was generated by @basketry/typescript-dtos@0.2.2
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/snapshot/zod/v1/dtos/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This code was generated by @basketry/typescript-dtos@0.2.0
* This code was generated by @basketry/typescript-dtos@0.2.2
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
Expand Down
2 changes: 1 addition & 1 deletion src/snapshot/zod/v1/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* This code was generated by @basketry/typescript@0.2.1
* This code was generated by @basketry/typescript@0.2.3
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
Expand Down