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

update @dcl/protocol@next #540

Merged
merged 3 commits into from
Apr 25, 2023
Merged

update @dcl/protocol@next #540

merged 3 commits into from
Apr 25, 2023

Conversation

menduz
Copy link
Member

@menduz menduz commented Apr 25, 2023

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 25, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: f4712d8
Status: ✅  Deploy successful!
Preview URL: https://937cc75b.js-sdk-toolchain.pages.dev
Branch Preview URL: https://update-protocol-6v6p.js-sdk-toolchain.pages.dev

View logs

@github-actions
Copy link
Contributor

github-actions bot commented Apr 25, 2023

Test this pull request

  • The @dcl/sdk package can be tested in scenes by running

    npm install "https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/update-protocol/dcl-sdk-7.1.9-4800449378.commit-5b76dac.tgz"
  • To test with npx init

    export SDK_COMMANDS="https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/update-protocol/dcl-sdk-commands-7.1.9-4800449378.commit-5b76dac.tgz"
    npx $SDK_COMMANDS init
  • The @dcl/inspector package can be tested by visiting this url

    • Or by installing it via NPM
    npm install "https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/update-protocol/@dcl/inspector/dcl-inspector-7.1.9-4800449378.commit-5b76dac.tgz"
  • The /changerealm command to test test in-world

    /changerealm https://sdk-team-cdn.decentraland.org/ipfs/update-protocol-e2e
    
  • You can preview this build entering:
    https://playground.decentraland.org/?sdk-branch=update-protocol

@@ -82,7 +82,7 @@ export async function bundleProject(components: BundleComponents, options: Compi
metafile: true,
absWorkingDir: options.workingDirectory,
target: 'es2020',
external: ['~system/*'],
external: ['~system/*', '@dcl/inspector' /* ban importing the inspector from the SDK */],
Copy link
Contributor

Choose a reason for hiding this comment

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

🤍

Signed-off-by: menduz <[email protected]>
@codecov
Copy link

codecov bot commented Apr 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (c0e370e) 69.58% compared to head (f4712d8) 69.58%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #540   +/-   ##
=======================================
  Coverage   69.58%   69.58%           
=======================================
  Files         224      224           
  Lines        7822     7822           
  Branches      962      962           
=======================================
  Hits         5443     5443           
  Misses       2283     2283           
  Partials       96       96           
Impacted Files Coverage Δ
packages/@dcl/sdk-commands/src/logic/bundle.ts 98.11% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -82,7 +82,7 @@ export async function bundleProject(components: BundleComponents, options: Compi
metafile: true,
absWorkingDir: options.workingDirectory,
target: 'es2020',
external: ['~system/*'],
external: ['~system/*', '@dcl/inspector', '@dcl/inspector/*' /* ban importing the inspector from the SDK */],
Copy link
Contributor

Choose a reason for hiding this comment

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

if it's marked as external, the build won't fail, but it'll fail at runtime

Copy link
Member Author

Choose a reason for hiding this comment

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

At least it will fail this way. isn't that better than allowing it and embedding babylon?

I didn't figure other solution so far, ideas?

@menduz menduz merged commit 808a4dd into main Apr 25, 2023
@menduz menduz deleted the update-protocol branch April 25, 2023 18:27
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