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

build: update dependencies to match dapp-offer-up (agoric-upgrade-13) #965

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

Conversation

dckc
Copy link
Member

@dckc dckc commented Feb 6, 2024

 - add endo resolutions to avoid aliases
 - treat packages we're documenting (ertp etc.) as dependencies,
   not devDependencies
   - hm. bundle-source too?
   - not vats; it's only for fake board
 - also update dev tools: tsc, ava, prettier to match dapp-offer-up
   - typescript from dep to devdep
 - disable test-no-ses password exfiltration test
no longer available as @agoric/zoe/test/unitTests/setupBasicMints.js

copied from ff9515b
not packaged as @agoric/zoe/test/zoeTestHelpers.js
Copy link

cloudflare-workers-and-pages bot commented Feb 6, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 10284bb
Status: ✅  Deploy successful!
Preview URL: https://c4a407e3.documentation-7tp.pages.dev
Branch Preview URL: https://dc-test-preamble.documentation-7tp.pages.dev

View logs

Copy link
Member

@turadg turadg left a comment

Choose a reason for hiding this comment

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

I see the fix for #843 but I wonder why this is trying to deduplicate bundle IDs when documentation doesn't ship to a chain.

Hard-coding the resolutions version numbers is causing other problems,

warning Resolution field "@babel/code-frame@7.18.6" is incompatible with requested version "@babel/code-frame@^7.23.5"
warning Resolution field "@babel/code-frame@7.18.6" is incompatible with requested version "@babel/code-frame@^7.23.5"
warning Resolution field "@endo/eventual-send@0.17.2" is incompatible with requested version "@endo/eventual-send@^0.17.6"
warning Resolution field "@endo/pass-style@0.1.3" is incompatible with requested version "@endo/pass-style@^0.1.7"
warning Resolution field "@endo/eventual-send@0.17.2" is incompatible with requested version "@endo/eventual-send@^0.17.6"
warning Resolution field "@endo/nat@4.1.27" is incompatible with requested version "@endo/nat@^4.1.31"
warning Resolution field "@endo/pass-style@0.1.3" is incompatible with requested version "@endo/pass-style@^0.1.7"
warning Resolution field "@endo/promise-kit@0.2.56" is incompatible with requested version "@endo/promise-kit@^0.2.60"
warning Resolution field "ses@0.18.5" is incompatible with requested version "ses@^0.18.8"
warning Resolution field "@babel/code-frame@7.18.6" is incompatible with requested version "@babel/code-frame@^7.23.5"
warning Resolution field "@babel/code-frame@7.18.6" is incompatible with requested version "@babel/code-frame@^7.23.5"
warning Resolution field "@babel/code-frame@7.18.6" is incompatible with requested version "@babel/code-frame@^7.23.5"
warning Resolution field "@babel/code-frame@7.18.6" is incompatible with requested version "@babel/code-frame@^7.23.5"

There's also this major version incompatibility, which seems to be the cause of the CI failure:

warning " > @typescript-eslint/parser@4.33.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0".

 - reformatting following @Agoric style
 - make sure 1st await is not nested
 - Compartment global is already declared
 - use createRequire from node stdlib rather than import-meta-resolve
 - allow devDependencies to satisfy makeFakeBoard
 - avoid @agoric/assert dependency
@dckc
Copy link
Member Author

dckc commented Feb 6, 2024

I wonder why this is trying to deduplicate bundle IDs when documentation doesn't ship to a chain.

I'd like tests and such to behave the same here as in dapp-offer-up. But resolutions: ... doesn't clearly make any difference here, so ok, I punted them.

@dckc dckc mentioned this pull request Feb 8, 2024
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.

Ava configuration should init endo as necessary
2 participants