Skip to content

adding with-axiom example#38300

Merged
steven-tey merged 24 commits intovercel:canaryfrom
thesollyz:canary
Sep 1, 2022
Merged

adding with-axiom example#38300
steven-tey merged 24 commits intovercel:canaryfrom
thesollyz:canary

Conversation

@thesollyz
Copy link
Copy Markdown

Documentation / Examples

  • [ X ] Make sure the linting passes by running pnpm lint
  • [ X ] The examples guidelines are followed from our contributing doc

This PR adds an example for using next.js with axiom.

@ijjk ijjk added the examples Issue was opened via the examples template. label Jul 4, 2022
Copy link
Copy Markdown
Contributor

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

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

@thesollyz
Copy link
Copy Markdown
Author

Let's convert to TypeScript. See: https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples

I have updated the PR now to be in TS, but pnpm is not working for me, it fails with GYP error. can we let it run through the CI?

@thesollyz thesollyz requested a review from balazsorban44 July 7, 2022 16:29
Comment thread examples/with-axiom/package.json Outdated
Comment thread examples/with-axiom/package.json Outdated
Comment thread examples/with-axiom/pages/_app.tsx Outdated
Comment thread examples/with-axiom/middleware.ts Outdated
Comment thread examples/with-axiom/.gitignore
Copy link
Copy Markdown
Contributor

@balazsorban44 balazsorban44 left a comment

Choose a reason for hiding this comment

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

Let's also add a tsconfig.json (running next dev will generate one)

Comment thread examples/with-axiom/README.md Outdated
@thesollyz
Copy link
Copy Markdown
Author

Let's also add a tsconfig.json (running next dev will generate one)

added. (thanks for the tip, saved my time :D)

@thesollyz thesollyz requested a review from balazsorban44 July 12, 2022 08:37
@thesollyz
Copy link
Copy Markdown
Author

@balazsorban44 is there something that needs to be updated?

steven-tey
steven-tey previously approved these changes Aug 30, 2022
Copy link
Copy Markdown
Contributor

@steven-tey steven-tey left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the PR! :)

balazsorban44
balazsorban44 previously approved these changes Sep 1, 2022
@thesollyz thesollyz dismissed stale reviews from balazsorban44 and steven-tey via 37b51f1 September 1, 2022 13:40
@steven-tey steven-tey merged commit 9d30ef1 into vercel:canary Sep 1, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

examples Issue was opened via the examples template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants