Skip to content

chore: update build to support NodeNext#455

Closed
ryanleecode wants to merge 1 commit into
mainfrom
chore/update-nodenext
Closed

chore: update build to support NodeNext#455
ryanleecode wants to merge 1 commit into
mainfrom
chore/update-nodenext

Conversation

@ryanleecode

Copy link
Copy Markdown
Contributor

No description provided.

@ryanleecode ryanleecode force-pushed the chore/update-nodenext branch from 599148d to 43fb57f Compare October 17, 2024 22:23
@ryanleecode ryanleecode force-pushed the chore/update-nodenext branch from 43fb57f to d3b4be3 Compare October 23, 2024 00:04
@ryanleecode ryanleecode changed the title [DNM] chore: update node next chore: update node next Oct 23, 2024
@ryanleecode ryanleecode changed the title chore: update node next chore: update build to support NodeNext Oct 23, 2024
@ryanleecode

Copy link
Copy Markdown
Contributor Author

@TarikGul @marshacb i have the build working here but all the other scripts are busted

/* eslint-disable @typescript-eslint/ban-ts-comment */
// https://github.com/isaacs/tshy?tab=readme-ov-file#commonjs-dialect-polyfills
// @ts-ignore suppress "Import assertions are not allowed on statements that compile to CommonJS 'require' calls."
import registry from '@substrate/asset-transfer-api-registry/docs/registry.json' assert { type: 'json' };

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

needs another release on https://github.com/paritytech/asset-transfer-api-registry to see if the change to esm style exports will fix this

@ryanleecode

Copy link
Copy Markdown
Contributor Author

I'm not sure what changed but it looks like Yarn isn't installing the transitive dependencies of @substrate/dev

@TarikGul

Copy link
Copy Markdown
Member

I'm not sure what changed but it looks like Yarn isn't installing the transitive dependencies of @substrate/dev

I think this has always been an issue. It's why the scripts access the node_modules directly.

Similar issue I filed awhile ago: yarnpkg/berry#2784

@andrew-ifrita

Copy link
Copy Markdown
Contributor

Given that this PR is stale, I am closing it in favor of #561.

If I was premature, just let me know and we can reopen this.

@andrew-ifrita andrew-ifrita deleted the chore/update-nodenext branch May 20, 2025 10:19
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