Skip to content

Commit

Permalink
fix: use correct flag for postinstall auto-complete command
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Molisani <[email protected]>
  • Loading branch information
molisani committed Jan 13, 2025
1 parent 3ba9f65 commit b70bd39
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/create-app/src/impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default async function (this: LocalContext, flags: CreateProjectFlags, di
} else {
packageJson = addPostinstallScript(
packageJson,
`npx @stricli/auto-complete@latest install ${commandName} ${bashCommandName}`,
`npx @stricli/auto-complete@latest install ${commandName} --bash ${bashCommandName}`,
);
}
await writeFile("src/context.ts", localContextWithAutoCompleteText);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install test-cli __test-cli_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install test-cli --bash __test-cli_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install test __test_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install test --bash __test_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install test-cli __test-cli_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install test-cli --bash __test-cli_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install @org/test-cli __@org/test-cli_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install @org/test-cli --bash __@org/test-cli_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install test __test_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install test --bash __test_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install test-cli __test-cli_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install test-cli --bash __test-cli_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install test __test_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install test --bash __test_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install test-cli __test-cli_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install test-cli --bash __test-cli_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install @org/test-cli __@org/test-cli_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install @org/test-cli --bash __@org/test-cli_bash_complete"
},
"tsup": {
"entry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dist
"prebuild": "tsc -p src/tsconfig.json",
"build": "tsup",
"prepublishOnly": "npm run build",
"postinstall": "npx @stricli/auto-complete@latest install test __test_bash_complete"
"postinstall": "npx @stricli/auto-complete@latest install test --bash __test_bash_complete"
},
"tsup": {
"entry": [
Expand Down

0 comments on commit b70bd39

Please sign in to comment.