From 8d54c80498eba66b491e85a32008a00a8db1daa1 Mon Sep 17 00:00:00 2001 From: npty Date: Tue, 23 Jul 2024 14:33:56 +0700 Subject: [PATCH] chore: manage deps and remove postinstall script --- package-lock.json | 29 +++++++++-------------------- package.json | 9 +++------ 2 files changed, 12 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index d41e9dae..29de83fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,27 +1,25 @@ { "name": "@axelar-network/axelar-cgp-sui", - "version": "0.2.0", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@axelar-network/axelar-cgp-sui", - "version": "0.2.0", - "hasInstallScript": true, + "version": "0.3.0", "license": "MIT", "dependencies": { "@cosmjs/cosmwasm-stargate": "^0.32.2", "@mysten/sui": "^1.3.0", - "@types/tmp": "^0.2.6", - "child_process": "^1.0.2", "ethers": "^5.0.0", - "fs": "^0.0.1-security", "secp256k1": "^5.0.0", "tmp": "^0.2.1" }, "devDependencies": { "@changesets/cli": "^2.27.6", "@ianvs/prettier-plugin-sort-imports": "^4.2.1", + "@types/node": "^20.14.11", + "@types/tmp": "^0.2.6", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "chai": "^4.3.7", @@ -2196,9 +2194,9 @@ "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, "node_modules/@types/node": { - "version": "20.14.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", - "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", + "version": "20.14.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.11.tgz", + "integrity": "sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==", "dependencies": { "undici-types": "~5.26.4" } @@ -2212,7 +2210,8 @@ "node_modules/@types/tmp": { "version": "0.2.6", "resolved": "https://registry.npmjs.org/@types/tmp/-/tmp-0.2.6.tgz", - "integrity": "sha512-chhaNf2oKHlRkDGt+tiKE2Z5aJ6qalm7Z9rlLdBwmOiAAf09YQvvoLXjWK4HWPF1xU/fqvMgfNfpVoBscA/tKA==" + "integrity": "sha512-chhaNf2oKHlRkDGt+tiKE2Z5aJ6qalm7Z9rlLdBwmOiAAf09YQvvoLXjWK4HWPF1xU/fqvMgfNfpVoBscA/tKA==", + "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "7.16.0", @@ -2981,11 +2980,6 @@ "node": "*" } }, - "node_modules/child_process": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/child_process/-/child_process-1.0.2.tgz", - "integrity": "sha512-Wmza/JzL0SiWz7kl6MhIKT5ceIlnFPJX+lwUGj7Clhy5MMldsSoJR0+uvRzOS5Kv45Mq7t1PoE8TsOA9bzvb6g==" - }, "node_modules/chokidar": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", @@ -4407,11 +4401,6 @@ "node": ">= 6" } }, - "node_modules/fs": { - "version": "0.0.1-security", - "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w==" - }, "node_modules/fs-extra": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", diff --git a/package.json b/package.json index 7810bf1a..f3290735 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "files": [ "dist", "move", - "src", "tsconfig.json", "!move/**/build" ], @@ -24,8 +23,7 @@ "release": "npm run build && changeset publish", "cs": "changeset", "lint": "eslint --fix './src/*.ts' './test/*.js'", - "prettier": "prettier --write './src/*.ts' './test/*.js'", - "postinstall": "npm run build-ts" + "prettier": "prettier --write './src/*.ts' './test/*.js'" }, "keywords": [ "axelar", @@ -39,16 +37,15 @@ "dependencies": { "@cosmjs/cosmwasm-stargate": "^0.32.2", "@mysten/sui": "^1.3.0", - "@types/tmp": "^0.2.6", - "child_process": "^1.0.2", "ethers": "^5.0.0", - "fs": "^0.0.1-security", "secp256k1": "^5.0.0", "tmp": "^0.2.1" }, "devDependencies": { "@changesets/cli": "^2.27.6", "@ianvs/prettier-plugin-sort-imports": "^4.2.1", + "@types/node": "^20.14.11", + "@types/tmp": "^0.2.6", "@typescript-eslint/eslint-plugin": "^7.13.1", "@typescript-eslint/parser": "^7.13.1", "chai": "^4.3.7",