Skip to content

Commit

Permalink
fix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole White committed Feb 28, 2024
1 parent b591a60 commit dc89b85
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion JavaScript/openai-assistants-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"start": "dotenv -e .env -- tsx ./src/index.ts",
"start-with-prompt-sdk": "npm run gen && dotenv -e .env -- tsx ./src/index.ts",
"gen": "dotenv -e .env -- autoblocks prompts generate"
"gen": "dotenv -e .env -- prompts generate"
},
"license": "MIT",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/prompt-sdk-headless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"start": "npm run gen && dotenv -e .env -- tsx ./src/index.ts",
"gen": "dotenv -e .env -- autoblocks prompts generate"
"gen": "dotenv -e .env -- prompts generate"
},
"license": "MIT",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion JavaScript/prompt-sdk-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"start": "npm run gen && dotenv -e .env -- tsx ./src/index.ts",
"gen": "autoblocks prompts generate",
"gen": "prompts generate",
"gen:watch": "nodemon --quiet --watch prompt-templates --ext \"*\" --exec \"npm run gen\""
},
"license": "MIT",
Expand Down
4 changes: 1 addition & 3 deletions tools/make-readmes.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ const GETTING_STARTED_END_COMMENT = '<!-- getting started end -->';
);
description = JSON.parse(packageJson).description;

if (
packageJson.includes('dotenv -e .env -- autoblocks prompts generate')
) {
if (packageJson.includes('dotenv -e .env -- prompts generate')) {
includeAutoblocksAPIKeyInGettingStartedChecklist = true;
}

Expand Down

0 comments on commit dc89b85

Please sign in to comment.