Skip to content

Commit

Permalink
fix: postinstall script (#5)
Browse files Browse the repository at this point in the history
The postinstall script in the `package.json` was set as a string. It is fixed now.
  • Loading branch information
mheob authored Nov 10, 2022
1 parent 554151c commit 76dc672
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/use_correct_pm.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

var rootCmd = &cobra.Command{
Use: "use-correct-pm",
Version: "1.0.0",
Version: "1.0.1",
Short: "A simple check of the usage of the correct package manager",
Long: `Check if the correct package manager is used.
Available are 'NPM', 'Yarn' and 'PNPM'.`,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "use-correct-pm",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple check of the usage of the correct package manager.",
"keywords": [
"package-manager",
Expand All @@ -16,7 +16,7 @@
"license": "MIT",
"author": "Alexander Böhm <[email protected]>",
"scripts": {
"postinstall": "'is-ci || go-npm install'",
"postinstall": "is-ci || go-npm install",
"prepare": "husky install",
"sort-package-json": "pnpm dlx sort-package-json",
"preuninstall": "go-npm uninstall"
Expand Down

0 comments on commit 76dc672

Please sign in to comment.