-
Notifications
You must be signed in to change notification settings - Fork 230
Update all projects dependencies #1775
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: 6e31985 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ca5979a to
b8abfa9
Compare
b8abfa9 to
1d49367
Compare
`yaml-ts` - Replace `safe*` variants with `load`/`loadall`/`dump` -> https://github.com/nodeca/js-yaml/blob/0d3ca7a27b03a6c974790a30a89e456007d62976/migrate_v3_to_v4.md#safeload-safeloadall-safedump--load-loadall-dump `immutable` - `Map([ [ 'k', 'v' ] ])` or `Map({ k: 'v' })` instead of `Map.of` -> https://github.com/immutable-js/immutable-js/blob/b3a1c9f13880048d744366ae561c39a34b26190a/CHANGELOG.md#breaking-changes - Replace `immutable.Collection<ProtocolName, string[]>` with `immutable.Collection<ProtocolName, immutable.List<string>>` `oclif/core` - Use `gluegun.prompt` instead of `ux.prompt` -> oclif/core#999 - Fix `prompt` variable assignments from object destructuring (thanks @YaroShkvorets) - Migrate to ESM -> https://oclif.io/docs/esm/ `assemblyscript/asc` - Use `assemblyscript/asc` as import - `asc.main` no longer as callback for error, uses stderr and is async -> https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 - Remove `asc.ready` -> https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 - Remove `ascMain` in `package.json` -> https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 - Replace `Promise.allSettled` with for loop in tests for resolving WASM generation promises in sequence (prevent WASM file corruption since they use same file `outputWasmPath`). `yaml` - Remove `strOptions` -> eemeli/yaml#235 `chokidar` - Import type `FSWatcher` as namespace no longer available - Remove `await` for `onTrigger` as it's no longer async `http-ipfs-client` - Migrate from `http-ipfs-client` to `kubo-rpc-client` with dynamic import as it's ESM only -> ipfs/helia#157 - Make `createCompiler` async due to dynamic import `cli/package.json` - Upgrade `moduleResolution` to `bundler`, `module` to `ESNext` and `target` to `ESNext` making it an ESM module `eslint` - Move `.eslintignore` inside config -> - Use `ESLINT_USE_FLAT_CONFIG=false` in pnpm scripts - Update config annotations `sync-request` - Deprecated, replace with async `fetch` call -> https://www.npmjs.com/package/sync-request - Make `generateTypes` async and update NEAR test snapshot `web3-eth-abi` - Import `decodeLogs` method directly as there is no more default export `vitest` - Remove `concurrent` for tests using filesystem `dockerode` - Remove dependency `tern` - Remove dependency `binary-install-raw` - Replace with `binary-install` `ethereum-basic-event-handlers` - Fix `chai` max version to `4.2.0` as `hardhat` doesn't support ESM Typescript -> https://hardhat.org/hardhat-runner/docs/advanced/using-esm#esm-and-typescript-projects - `ethers.BaseContract.address` renamed to `ethers.BaseContract.target` --------- Co-authored-by: YaroShkvorets <[email protected]>
1d49367 to
b03ae1b
Compare
- Add `node:` prefix for built-in modules - Fix `@typescript-eslint/no-this-alias` rule - Remove `eager_offset.ts`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a few changes:
- removed
packages/cli/yarn.locksince we are using pnpm throughout - removed babel.config.js
- migrated eslint config to latest standard
- reviewed eslint rules
- fixed various lint warnings
YaroShkvorets
approved these changes
Dec 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Project
@babel/core@babel/preset-env@babel/preset-typescripteslint@typescript-eslint/no-this-aliaslint ruleunicorn/prefer-node-protocollint rule (addnode:prefix for built-in modules).eslintignoreinside config withignorePatternsESLINT_USE_FLAT_CONFIG=falseinpnpmscriptsclinode:prefix for built-in modules (e.g.node:fs)dockerodeternmoduleResolutiontobundler,moduletoESNextandtargettoESNextmaking it an ESM modulebinary-install-rawbinary-installchokidarFSWatcheras namespace no longer availableawaitforonTriggeras it's no longer asynchttp-ipfs-clienthttp-ipfs-clienttokubo-rpc-clientwith dynamic import as it's ESM only1createCompilerasync due to dynamic importimmutableMap([ [ 'k', 'v' ] ])orMap({ k: 'v' })instead ofMap.of2immutable.Collection<ProtocolName, string[]>withimmutable.Collection<ProtocolName, immutable.List<string>>js-yamlsafe*variants withload/loadall/dump3oclif/coregluegun.promptinstead ofux.prompt4promptvariable assignments from object destructuring (thanks @YaroShkvorets)sync-requestfetchcall6generateTypesasync and update NEAR test snapshotvitestconcurrentfor tests using the file systemweb3-eth-abidecodeLogsmethod directly as there is no more default exportyamlstrOptions7tscommon/eager_offset.tsassemblyscript/ascassemblyscript/ascas importasc.mainno longer as callback for error, uses stderr and is async8asc.ready9ascMaininpackage.json10Promise.allSettledwith for loop in tests for resolving WASM generation promises in sequence (prevent WASM file corruption since they use same fileoutputWasmPath).websiteeslintconfigExamples
ethereum-basic-event-handlerschaimax version to4.x.xaschai 5.x.xis ESM andhardhatdoesn't support ESM Typescript projects yet12ethers.BaseContract.addresstoethers.BaseContract.target@nomiclabs/hardhat-ethers@nomiclabs/hardhat-etherscan@typechain/ethers-v5@typechain/hardhatethershardhat-gas-reportersolidity-coveragetypechainFootnotes
https://github.com/ipfs/helia/issues/157 ↩
https://github.com/immutable-js/immutable-js/blob/b3a1c9f13880048d744366ae561c39a34b26190a/CHANGELOG.md#breaking-changes ↩
https://github.com/nodeca/js-yaml/blob/0d3ca7a27b03a6c974790a30a89e456007d62976/migrate_v3_to_v4.md#safeload-safeloadall-safedump--load-loadall-dump ↩
https://github.com/oclif/core/discussions/999 ↩
https://oclif.io/docs/esm/ ↩
https://www.npmjs.com/package/sync-request ↩
https://github.com/eemeli/yaml/pull/235 ↩
https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 ↩
https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 ↩
https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.20.0 ↩
https://github.com/AssemblyScript/assemblyscript/issues/2277 ↩
https://hardhat.org/hardhat-runner/docs/advanced/using-esm#esm-and-typescript-projects ↩