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

Switch to ESM #128

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Switch to ESM #128

merged 2 commits into from
Aug 27, 2024

Conversation

chotai
Copy link
Contributor

@chotai chotai commented Aug 13, 2024

No description provided.

@flurdy
Copy link
Contributor

flurdy commented Aug 13, 2024

Do we need the typescript config file?

package.json Show resolved Hide resolved
@chotai chotai force-pushed the 413968 branch 2 times, most recently from ab8b77e to fefa574 Compare August 16, 2024 11:21
@feedmypixel
Copy link
Contributor

Also can you update jsconfig.json like this - DEFRA/cdp-portal-frontend@6afd0d1

@chotai chotai marked this pull request as ready for review August 23, 2024 14:00
Copy link
Contributor

@feedmypixel feedmypixel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • LGTM - 1 comment about adding a link to the comment I made about the proxy dispatcher use.
  • Also not sure if you want to but might be handy to also add these placeholders in - DEFRA/cdp-node-frontend-template@41c05be
  • And just to make sure - this builds and runs ok in docker?

@@ -49,6 +49,7 @@ const msGraphPlugin = {
baseUrl: azureClientBaseUrl,
...(proxy && {
fetchOptions: {
// @ts-expect-error This is not typed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be worth adding this link in here - microsoftgraph/msgraph-sdk-javascript#1646 (comment)


startServer()
await startServer()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@chotai chotai merged commit ae6aa7e into main Aug 27, 2024
1 check passed
@chotai chotai deleted the 413968 branch August 27, 2024 18:29
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.

3 participants