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

Feature/lit 2570 js sdk fix build #387

Merged
merged 11 commits into from
Feb 26, 2024

Conversation

Ansonhkg
Copy link
Collaborator

@Ansonhkg Ansonhkg commented Feb 26, 2024

Description

We replaced the Nx command executor with @nrwl/js:tsc for the build command, moving away from _buildTsc. This change was made because the previous setup utilized the Nx command executor to build both TypeScript and vanilla packages. However, with the removal of the responsibility for bundling vanilla packages, the use of the Nx command executor is no longer necessary.

This PR also migrated NX from version 14.5.10 to 17.3.0

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  1. yarn build
  2. DEBUG=true yarn test:e2e:node --filter=test-lit-action-1-sig.mjs

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@Ansonhkg Ansonhkg requested a review from glitch003 February 26, 2024 07:21
Copy link
Contributor

@cairomassimo cairomassimo left a comment

Choose a reason for hiding this comment

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

Good!

Just one observation: all package.json files now contain this line

  "typings": "./dist/undefined"

Can we fix it or maybe just remove it if not needed?

@Ansonhkg
Copy link
Collaborator Author

Good!

Just one observation: all package.json files now contain this line

  "typings": "./dist/undefined"

Can we fix it or maybe just remove it if not needed?

Nice catch! Thanks!

@Ansonhkg Ansonhkg merged commit 1628810 into staging/3.2.2 Feb 26, 2024
2 of 4 checks passed
@Ansonhkg Ansonhkg deleted the feature/lit-2570-js-sdk-fix-build branch February 26, 2024 13:08
@Ansonhkg Ansonhkg mentioned this pull request Feb 26, 2024
5 tasks
Ansonhkg added a commit that referenced this pull request Feb 28, 2024
* init patch

* Feature/lit 2570 js sdk fix build (#387)

* feat: make capacityTokenId optional

* chore: add test

* fix: Conditionally include nft_id

* fix: replace nx executor to @nrwl/js:tsc

* fix: replace nx executor

* feat: migrated nx to 15.9.0

* feat: migration nx from 15.9.0 -> 16.10.0

* feat: migrate nx to 17.3.0

* fix: yarn:test:unit command

* chore: log cc nft token info

* fix: undefined typings in package.json

* remove old v0 errors from js sdk.  provide error details to the user (#385)

* remove old v0 errors from js sdk.  provide error details to the user

* building now seems to consistently work

* refactored error handling to make it cleaner

* Remove unused function

* okay also added requestId in a few places

* ran the linter

* fix: replace nx executor

* feat: add gitignore

---------

Co-authored-by: Ansonhkg <[email protected]>

* feat: cache enabled

* chore: update .gitignore

* chore: enable parallel

* feat: make capacityTokenId optional (#384)

* feat: make capacityTokenId optional

* chore: add test

* fix: Conditionally include nft_id

* Update yarn.lock to match package.json changes

* fix: ReferenceError: crypto is not defined

* fix: ignore nx cache directory on linting

* fix: ignore tools directory on linting

* fix: linting

* fix: '
ReferenceError: require is not defined in ES module scope, you can use import instead'

* fix: lint

* [Release] 3.2.2

* chore: move to manual tests

---------

Co-authored-by: Chris Cassano <[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.

2 participants