Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add more samples to be run #1859

Merged
merged 2 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions samples/js-angular/genkit-app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
3 changes: 2 additions & 1 deletion samples/js-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"genkit:dev": "concurrently npm:start:server npm:start:ng",
"start:server": "cd server && npm run genkit:dev",
"start:ng": "cd genkit-app && npm run start",
"setup": "npm i && cd server && npm i && cd ../genkit-app && npm i"
"setup": "npm i && cd server && npm i && cd ../genkit-app && npm i",
"build": "cd server && npm run build && cd ../genkit-app && npm run build"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion samples/js-schoolAgent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev": "tsx --no-warnings --watch src/terminal.ts",
"genkit:dev": "genkit start -- npm run dev",
"compile": "tsc",
"build": "npm build:clean && npm run compile",
"build": "npm run build:clean && npm run compile",
"build:clean": "rimraf ./lib",
"build:watch": "tsc --watch"
},
Expand Down
8 changes: 6 additions & 2 deletions samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"build:js-samples": "concurrently npm:build:js-chatbot npm:build:js-coffee-shop npm:build:js-character-generator",
"build:js-angular": "cd js-angular && npm run setup && npm run build",
"build:js-character-generator": "cd js-character-generator && npm install && npm run build",
"build:js-chatbot": "cd js-chatbot && npm install && npm run setup && npm run build",
"build:js-coffee-shop": "cd js-coffee-shop && npm install && npm run build",
"build:js-character-generator": "cd js-character-generator && npm install && npm run build"
"build:js-menu": "cd js-menu && npm install && npm run build",
"build:js-prompts": "cd js-prompts && npm install && npm run build",
"build:js-schoolAgent": "cd js-schoolAgent && npm install && npm run build",
"build:js-samples": "concurrently npm:build:js-angular npm:build:js-character-generator npm:build:js-chatbot npm:build:js-coffee-shop npm:build:js-menu npm:build:js-prompts npm:build:js-schoolAgent"
i2amsam marked this conversation as resolved.
Show resolved Hide resolved
},
"pre-commit": [
"format:check"
Expand Down
Loading