Skip to content

Commit

Permalink
NPX fix
Browse files Browse the repository at this point in the history
-Removed npx, added tsx to cosmos package
  • Loading branch information
codebycarson committed Oct 1, 2024
1 parent d2781a5 commit 40dab6d
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 2,345 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"jest-environment-jsdom": "28.1.1",
"jest-environment-node": "^29.4.1",
"nodemon": "^3.1.0",
"npx": "^10.2.2",
"nx": "18.1.3",
"prettier": "^3.2.5",
"rimraf": "^3.0.2",
Expand Down
18 changes: 14 additions & 4 deletions packages/cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,28 @@
"version": "0.1.0",
"description": "A Typescript library for building on Sei generated using the official Sei proto files on buf.build.",
"sideEffects": false,
"files": ["generated"],
"files": [
"generated"
],
"scripts": {
"prebuild": "rimraf generated && rimraf gen",
"build": "yarn generate:all && yarn extract-libraries",
"postbuild": "rimraf gen",
"extract-libraries": "npx tsx scripts/index.ts",
"extract-libraries": "tsx scripts/index.ts",
"generate:all": "yarn generate-sei-cosmos && yarn generate-sei-chain && yarn generate-third-party",
"generate-sei-cosmos": "buf generate buf.build/sei-protocol/cosmos-sdk",
"generate-sei-chain": "buf generate buf.build/sei-protocol/sei-chain",
"generate-third-party": "buf generate buf.build/sei-protocol/third-party",
"lint": "echo 'No linting configured for this package'"
},
"homepage": "https://github.com/sei-protocol/sei-js#readme",
"keywords": ["sei", "typescript", "types", "enums", "interfaces"],
"keywords": [
"sei",
"typescript",
"types",
"enums",
"interfaces"
],
"repository": "[email protected]:sei-protocol/sei-js.git",
"license": "MIT",
"private": false,
Expand All @@ -29,7 +37,9 @@
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4"
},
"devDependencies": {},
"devDependencies": {
"tsx": "^4.19.1"
},
"exports": {
"./types/*": "./generated/types/*/index.ts",
"./rest": "./generated/rest/index.ts",
Expand Down
Loading

0 comments on commit 40dab6d

Please sign in to comment.