Skip to content

Commit

Permalink
Merge pull request #11 from narthur/codegen
Browse files Browse the repository at this point in the history
Codegen
  • Loading branch information
narthur committed Apr 11, 2024
2 parents 2196275 + c596d8b commit f6027a6
Show file tree
Hide file tree
Showing 20 changed files with 1,157 additions and 29 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
README.md
dist/
dist/
.baserowrc
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist/
node_modules
scripts/
.baserowrc
.baserowrc
__generated__/
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tsconfig.json
package.json
pnpm-lock.yaml
README.md
README.md
__generated__
5 changes: 5 additions & 0 deletions baserow.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node

import main from "./dist/src/codegen.js";

await main();
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.0",
"description": "",
"main": "dist/src/index.js",
"bin": {
"baserow": "./baserow.js"
},
"type": "module",
"packageManager": "[email protected]",
"files": [
Expand All @@ -13,6 +16,7 @@
"scripts": {
"test": "vitest",
"prepare": "tsc",
"build": "rm -rf ./dist && tsc",
"lint": "eslint .",
"format": "prettier --write .",
"checkTs": "tsc --noEmit"
Expand All @@ -22,9 +26,15 @@
"license": "ISC",
"dependencies": {
"axios": "^1.6.7",
"typescript": "^5.3.3"
"json-schema-to-typescript": "^13.1.2",
"node-emoji": "^2.1.3",
"rc": "^1.2.8",
"typescript": "^5.3.3",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/rc": "^1.2.4",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
Expand Down
Loading

0 comments on commit f6027a6

Please sign in to comment.