Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rewrite cli and improve generate script #96

Closed
wants to merge 19 commits into from
Closed
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
5 changes: 0 additions & 5 deletions ncc.sh

This file was deleted.

14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,30 @@
"graz": "pnpm --dir packages/graz",
"create-graz-app": "pnpm --dir packages/create-graz-app",
"lint": "turbo run lint",
"prepare": "husky uninstall",
"postinstall": "pnpm -F graz exec tsx src/cli generate",
"release": "turbo run build --filter=graz && pnpm publish --filter graz",
"release-adapter": "turbo run build --filter=\"graz-adapter-*\" && pnpm publish --filter=\"graz-adapter-*\"",
"templates": "pnpm --dir templates/default",
"test": "turbo run test"
},
"devDependencies": {
"@babel/generator": "^7.22.5",
"@babel/parser": "^7.22.5",
"@babel/traverse": "^7.22.5",
"@babel/types": "^7.22.5",
"@strangelovelabs/style-guide": "^2.2.0",
"@types/babel__generator": "^7.6.4",
"@types/babel__traverse": "^7.20.1",
"@types/tiged": "npm:@types/degit@^2.8.3",
"@vercel/ncc": "^0.36.1",
"eslint": "^8.43.0",
"husky": "^8.0.3",
"globby": "^13.1.4",
"p-map": "^6.0.0",
"prettier": "^2.8.8",
"quicktype": "^23.0.48",
"tiged": "^2.12.5",
"tsup": "^7.0.0",
"tsx": "^3.12.7",
"turbo": "^1.10.3",
"typescript": "^5.1.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/graz/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
const { extendEslint } = require("@strangelovelabs/style-guide");

module.exports = extendEslint(["browser-node", "react", "typescript", "tsup"], {
ignorePatterns: ["chains/**", "compiled/**", "dist/**"],
ignorePatterns: ["chains/**", "dist/**", "*_experimental/**"],
root: true,
});
7 changes: 5 additions & 2 deletions packages/graz/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/*_experimental/*
/chains/*
/dist/**/*
!/chains/*.stub
!/dist/**/.gitkeep
/registry/**/*

!/**/.gitkeep
!/**/*.stub
30 changes: 0 additions & 30 deletions packages/graz/chains/index.js.stub

This file was deleted.

20 changes: 0 additions & 20 deletions packages/graz/chains/index.mjs.stub

This file was deleted.

219 changes: 0 additions & 219 deletions packages/graz/cli.mjs

This file was deleted.

Loading