Skip to content

Conversation

@licanhua
Copy link
Contributor

@licanhua licanhua commented Sep 24, 2021

Fix #6398. It addressed:

  1. react-adaptivecards are not renamed to adaptivecards-react in the whole project
  2. import defaultHostConfigJson from '../assets/default-host-config.json'. the '../' forces the build output to lib/src, so typescript project can't import the module correctly. Move assets to src/assets
  3. other changes outside of adaptivecards-react are updated automatically when I run npx lerna run build
Microsoft Reviewers: Open in CodeFlow

@ghost
Copy link

ghost commented Sep 24, 2021

Hi @licanhua. Thanks for helping make the AdaptiveCards JS renderer + tooling better. As additional verification, once the JS build succeeds, please go to the test site to test out your website/designer changes.

@licanhua licanhua changed the title Allow adaptivecards-react to be used by react typescript project [JS] Allow adaptivecards-react to be used by react typescript project Sep 28, 2021
@licanhua licanhua merged commit 0ef8b6c into main Oct 1, 2021
@licanhua licanhua deleted the canhua/reactfix branch October 1, 2021 06:36
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this pull request Nov 10, 2022
…microsoft#6405)

* Demo the error

* Fix the lib/src folder problem

* update doc

* files changed after build

* Update source/nodejs/adaptivecards-react/README.md

Co-authored-by: Paul Campbell <[email protected]>

Co-authored-by: Paul Campbell <[email protected]>
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.

Module not found: Can't resolve 'adaptivecards-react' for react typescript project

4 participants