-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Running builtin tests from vscode (#395)
* adding tests, better assertions * updated buffering options * add another test * added test ui * don't use array if not needed * add server/client * server impl * test node 20, 22 * updated promptfoo * [genai] front matter update * so * retry after parsing * better help to configure keys * indent body request * handle multiple scripts * start viewer * better handling of starting the prmpt * fix cli * updated commands * more logging * more docs * more docs * more docs updates * updated docs, added javascript * updated instructions * updated landing page
- Loading branch information
Showing
37 changed files
with
936 additions
and
259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
{ | ||
"name": "docs", | ||
"type": "module", | ||
"private": true, | ||
"version": "1.22.1", | ||
"license": "MIT", | ||
"scripts": { | ||
"dev": "astro dev --host", | ||
"start": "astro dev --host", | ||
"check": "astro check", | ||
"build": "astro build", | ||
"build:asw": "rm -Rf distasw && mkdir distasw && touch distasw/index.html && mkdir distasw/genaiscript && cp -r dist/* distasw/genaiscript", | ||
"preview": "astro preview", | ||
"astro": "astro", | ||
"genai:frontmatter": "node .genaiscript/genaiscript.cjs batch frontmatter src/**/*.md --apply-edits", | ||
"genai:technical": "node .genaiscript/genaiscript.cjs batch technical src/**/*.md --apply-edits", | ||
"genai:alt-text": "node scripts/image-alt-text.mjs" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "^0.5.9", | ||
"@astrojs/starlight": "^0.21.1", | ||
"astro": "^4.5.3", | ||
"sharp": "0.32.6", | ||
"typescript": "5.4.5" | ||
}, | ||
"devDependencies": { | ||
"zx": "^8.0.2" | ||
} | ||
"name": "docs", | ||
"type": "module", | ||
"private": true, | ||
"version": "1.22.1", | ||
"license": "MIT", | ||
"scripts": { | ||
"dev": "astro dev --host", | ||
"start": "astro dev --host", | ||
"check": "astro check", | ||
"build": "astro build", | ||
"build:asw": "rm -Rf distasw && mkdir distasw && touch distasw/index.html && mkdir distasw/genaiscript && cp -r dist/* distasw/genaiscript", | ||
"preview": "astro preview", | ||
"astro": "astro", | ||
"genai:test": "node ../packages/cli/built/genaiscript.cjs test src/**/*.md", | ||
"genai:frontmatter": "node ../packages/cli/built/genaiscript.cjs batch frontmatter src/**/*.md --apply-edits", | ||
"genai:technical": "node ../packages/cli/built/genaiscript.cjs batch technical src/**/*.md --apply-edits", | ||
"genai:alt-text": "node scripts/image-alt-text.mjs" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "^0.5.9", | ||
"@astrojs/starlight": "^0.21.1", | ||
"astro": "^4.5.3", | ||
"sharp": "0.32.6", | ||
"typescript": "5.4.5" | ||
}, | ||
"devDependencies": { | ||
"zx": "^8.0.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.