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: tsc-esm and moving files #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

jiito
Copy link

@jiito jiito commented Jul 21, 2022

Attempts to fixes #42

Changes

  1. Adding tsc-esm to @crossmint/solana-auth-base to compile typescript to esm
  2. Moving all files to a flat directory structure
    • This was done because tsc-esm doesn't seem to fix directory imports

Testing plan

  1. Checkout this branch
  2. Run yarn build in the root directory.
  3. cd packages/examples/nextjs-starter && yarn install
  4. You will need to update the utils/firebaseClient and add a web config from a Firebase project
  5. Also update utils/firebase to reference the correct service account.
  6. yarn dev

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.

Package doesn't work with Next.js because of invalid ESM
1 participant