latest-package
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "latest-package", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "An interactive command-line tool for upgrading packages in a monorepo to their latest versions.", | ||
@@ -30,3 +30,3 @@ "license": "Apache-2.0", | ||
"check": "yarn latest --check --verbose", | ||
"postinstall": "husky install", | ||
"precommit": "lint-staged", | ||
"latest": "ts-node-esm ./src/update-packages.ts", | ||
@@ -36,2 +36,5 @@ "lint": "run-p lint:ts lint:packagejson", | ||
"lint:ts": "eslint -f pretty 'src/*.ts'", | ||
"_postinstall": "husky install", | ||
"prepack": "pinst --disable", | ||
"postpack": "pinst --enable", | ||
"publish": "yarn build && npm publish", | ||
@@ -62,3 +65,5 @@ "test": "#coming soon to a theater near you", | ||
"latest-version": "^7.0.0", | ||
"lint-staged": "^14.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"pinst": "^3.0.0", | ||
"prettier": "^2.5.1", | ||
@@ -92,3 +97,14 @@ "prettier-package-json": "^2.6.4", | ||
}, | ||
"lint-staged": { | ||
"*": [ | ||
"pretty-quick --staged --fix" | ||
], | ||
"*.ts": [ | ||
"eslint --fix -f pretty" | ||
], | ||
"package.json": [ | ||
"prettier-package-json --config .prettierrc --write" | ||
] | ||
}, | ||
"packageManager": "yarn@3.2.3" | ||
} |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
48689
0
32