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

Convert openai-asst-webpage-with-functions-js to TypeScript #300

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcasalaina
Copy link

Converts the OpenAI Assistants Webpage project from JavaScript to TypeScript, including updating dependencies and build configurations.

  • Renames and migrates JavaScript files to TypeScript, ensuring type safety and leveraging TypeScript features for better code management.
  • Updates the package.json to include TypeScript-specific dependencies and modifies scripts for Vite, replacing Webpack with a more modern build tool.
  • Introduces a tsconfig.json for TypeScript compiler options and a vite-env.d.ts for Vite environment types, enhancing the development environment.
  • Adjusts the HTML template to reference the new TypeScript entry point and updates the favicon link for consistency.

For more details, open the Copilot Workspace session.

Converts the OpenAI Assistants Webpage project from JavaScript to TypeScript, including updating dependencies and build configurations.

- Renames and migrates JavaScript files to TypeScript, ensuring type safety and leveraging TypeScript features for better code management.
- Updates the `package.json` to include TypeScript-specific dependencies and modifies scripts for Vite, replacing Webpack with a more modern build tool.
- Introduces a `tsconfig.json` for TypeScript compiler options and a `vite-env.d.ts` for Vite environment types, enhancing the development environment.
- Adjusts the HTML template to reference the new TypeScript entry point and updates the favicon link for consistency.


---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Azure/azure-ai-cli?shareId=b91c5c07-f488-46dd-b905-8cc14e0ec2b7).
@mcasalaina mcasalaina requested a review from robch as a code owner May 15, 2024 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant